Documentation

CompPoly.Fields.Basic

Non-binary fields and polynomial utilities #

This module defines NonBinaryField (fields with char ≠ 2) and provides lemmas about polynomial composition with -X and .

class NonBinaryField (F : Type u_1) extends Field F :
Type u_1

A type class for fields of characteristic ≠ 2, extending Field.

Instances
    @[simp]
    theorem two_mul_inv_two {F : Type u_1} [NonBinaryField F] :
    2 * 2⁻¹ = 1
    @[simp]
    theorem inv_two_mul_two {F : Type u_1} [NonBinaryField F] :
    2⁻¹ * 2 = 1
    theorem coeffs_of_comp_minus_x {F : Type u_1} [Field F] {f : Polynomial F} {n : } :
    theorem comp_x_square_coeff {F : Type u_1} [Field F] {f : Polynomial F} {n : } :
    theorem eq_poly_deg_one {F : Type u_1} [Field F] {a b c d x₁ x₂ : F} (h1 : a + b * x₁ = c + d * x₁) (h2 : a + b * x₂ = c + d * x₂) (h1_2 : x₁ x₂) :