The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.QuadraticForm.Radical

21 declarations. Mathlib docs · Source

The radical of a quadratic form

We define the radical of a quadratic form. This is a standard construction if 2 is invertible in the coefficient ring, but is more fiddly otherwise. We follow the account in Chapter II, §7 of [elman-karpenko-merkurjev-2008].

theorem LinearMap.liftQ₂.congr_simp E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} {M : Type u_5} {N : Type u_6} {P : Type u_7}
  [inst : Ring R] [inst_1 : Ring R₂] [inst_2 : Ring S] [inst_3 : Ring S₂] [inst_4 : AddCommGroup M]
  [inst_5 : AddCommGroup N] [inst_6 : AddCommGroup P] [inst_7 : Module R M] [inst_8 : Module S N] [inst_9 : Module R₂ P]
  [inst_10 : Module S₂ P] [inst_11 : SMulCommClass R₂ S₂ P] {ρ : R →+* R₂} {σ : S →+* S₂} (M' : Submodule R M)
  (N' : Submodule S N) (f f_1 : M →ₛₗ[ρ] N →ₛₗ[σ] P) (e_f : f = f_1) (hM' : M' ≤ f.ker) (hN' : N' ≤ f.flip.ker),
  LinearMap.liftQ₂ M' N' f hM' hN' = LinearMap.liftQ₂ M' N' f_1 ⋯ ⋯

theorem Pi.spanSubset.congr_simp E1 #

∀ (R : Type u_2) {η : Type u_4} [inst : Semiring R] [inst_1 : Finite η] (s s_1 : Set η),
  s = s_1 → Pi.spanSubset R s = Pi.spanSubset R s_1

def QuadraticMap.radical E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {P : Type u_4} →
      [inst : AddCommGroup M] →
        [inst_1 : AddCommGroup P] →
          [inst_2 : CommRing R] → [inst_3 : Module R M] → [inst_4 : Module R P] → QuadraticMap R M P → Submodule R M

The radical of a quadratic form Q on M.

This is the largest submodule N such that Q lifts to a quadratic form on M ⧸ N; see Submodule.le_radical_iff for this characterization.

See also [elman-karpenko-merkurjev-2008], Chapter II, §7.

theorem QuadraticMap.mem_radical_iff' E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} {m : M},
  m ∈ Q.radical ↔ Q m = 0 ∧ ∀ (n : M), Q (m + n) = Q n

theorem QuadraticMap.IsometryEquiv.map_radical E0 #

∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup M']
  [inst_2 : AddCommGroup P] [inst_3 : CommRing R] [inst_4 : Module R M] [inst_5 : Module R M'] [inst_6 : Module R P]
  {Q : QuadraticMap R M P} {Q' : QuadraticMap R M' P} (e : Q.IsometryEquiv Q'),
  Submodule.map (↑e.toLinearEquiv) Q.radical = Q'.radical

The radical of a quadratic form is preserved by isometry equivalences.

theorem QuadraticMap.Equivalent.rank_radical_eq E0 #

∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup M']
  [inst_2 : AddCommGroup P] [inst_3 : CommRing R] [inst_4 : Module R M] [inst_5 : Module R M'] [inst_6 : Module R P]
  {Q : QuadraticMap R M P} {Q' : QuadraticMap R M' P},
  Q.Equivalent Q' → Module.finrank R ↥Q.radical = Module.finrank R ↥Q'.radical

The rank of the radical of a quadratic map is invariant under equivalences.

def QuadraticMap.lift E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {P : Type u_4} →
      [inst : AddCommGroup M] →
        [inst_1 : AddCommGroup P] →
          [inst_2 : CommRing R] →
            [inst_3 : Module R M] →
              [inst_4 : Module R P] →
                (Q : QuadraticMap R M P) → (N : Submodule R M) → N ≤ Q.radical → QuadraticMap R (M ⧸ N) P

Lift a quadratic map on M to M ⧸ N, where N is contained in the radical.

theorem QuadraticMap.lift_mk E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} {N : Submodule R M} (hN : N ≤ Q.radical) (m : M),
  (Q.lift N hN) (Submodule.Quotient.mk m) = Q m

theorem QuadraticMap.le_radical_iff E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} {N : Submodule R M},
  N ≤ Q.radical ↔ ∃ Q', Q'.comp N.mkQ = Q

Universal property of the radical of a quadratic form: Q.radical is the largest subspace N such that Q factors through a quadratic form on M ⧸ N.

theorem QuadraticMap.radical_le_ker_polarBilin E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P}, Q.radical ≤ LinearMap.ker Q.polarBilin

The radical of a quadratic map is contained in the kernel of its polar bilinear map.

See radical_eq_ker_polarBilin for the equality when 2 is invertible in the coefficient ring.

structure QuadraticMap.Nondegenerate E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {P : Type u_4} →
      [inst : AddCommGroup M] →
        [inst_1 : AddCommGroup P] →
          [inst_2 : CommRing R] → [inst_3 : Module R M] → [inst_4 : Module R P] → {Q : QuadraticMap R M P} → Prop

A quadratic map is said to be nondegenerate if its radical is 0, and the radical of its associated polar form has rank ≤ 1. (The second condition is automatic if 2 is invertible in R, but not in general.)

See [elman-karpenko-merkurjev-2008], Chapter II, §7.

ctor QuadraticMap.Nondegenerate.mk E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P},
  Q.radical = ⊥ → Module.rank R ↥(LinearMap.ker Q.polarBilin) ≤ 1 → QuadraticMap.Nondegenerate

theorem QuadraticMap.Nondegenerate.radical_eq_bot E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P}, QuadraticMap.Nondegenerate → Q.radical = ⊥

theorem QuadraticMap.Nondegenerate.rank_rad_polar_le E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P},
  QuadraticMap.Nondegenerate → Module.rank R ↥(LinearMap.ker Q.polarBilin) ≤ 1

theorem QuadraticMap.radical_eq_ker_polarBilin E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} [Invertible 2],
  Q.radical = LinearMap.ker Q.polarBilin

If 2 is invertible in the coefficient ring, the radical of a quadratic map is the kernel of its polar bilinear map.

theorem QuadraticMap.radical_eq_ker_associated E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} [inst_5 : Invertible 2],
  Q.radical = LinearMap.ker (QuadraticMap.associated Q)

If 2 is invertible in the coefficient ring, the radical of a quadratic map is the kernel of its associated bilinear map.

theorem QuadraticMap.nondegenerate_iff_radical_eq_bot E1 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} [Invertible 2],
  QuadraticMap.Nondegenerate ↔ Q.radical = ⊥

If 2 is invertible in the coefficient ring, a quadratic map is nondegenerate iff its radical is 0. (Use QuadraticMap.Nondegenerate.radical_eq_bot for the one-way implication in all characteristics.)

theorem QuadraticMap.nondegenerate_associated_iff E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} [inst_5 : Invertible 2],
  LinearMap.Nondegenerate (QuadraticMap.associated Q) ↔ QuadraticMap.Nondegenerate

If 2 is invertible in the coefficient ring, a quadratic map is nondegenerate iff its associated bilinear map is nondegenerate.

theorem QuadraticMap.nondegenerate_polar_iff E0 #

∀ {R : Type u_1} {M : Type u_2} {P : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup P] [inst_2 : CommRing R]
  [inst_3 : Module R M] [inst_4 : Module R P] {Q : QuadraticMap R M P} [Invertible 2],
  LinearMap.Nondegenerate Q.polarBilin ↔ QuadraticMap.Nondegenerate

If 2 is invertible in the coefficient ring, a quadratic map is nondegenerate iff its polar bilinear map is nondegenerate.

theorem QuadraticForm.radical_weightedSumSquares E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} [inst : Field 𝕜] [NeZero 2] [inst_2 : Fintype ι] {w : ι → 𝕜},
  (QuadraticMap.weightedSumSquares 𝕜 w).radical = Pi.spanSubset 𝕜 {i | w i = 0}

Over a field of characteristic different from 2, the radical of a weighted-sum-of-squares quadratic form is the number of zero weights.

theorem QuadraticForm.finrank_radical_of_equiv_weightedSumSquares E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} [inst : Field 𝕜] [NeZero 2] [inst_2 : Fintype ι] {w : ι → 𝕜} {M : Type u_3}
  [inst_3 : AddCommGroup M] [inst_4 : Module 𝕜 M] {Q : QuadraticForm 𝕜 M},
  QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares 𝕜 w) →
    Module.finrank 𝕜 ↥(QuadraticMap.radical Q) = {i | w i = 0}.ncard

If the quadratic form Q is equivalent to a weighted sum of squares with weights w, then the rank of Q.radical is equal to the number of zero weights.