Isometry classes of regular quadratic forms #
Over a field in which 2 is invertible, every nondegenerate quadratic form on a
finite-dimensional space is isometric to a weighted sum of squares whose weights are units. This
file turns that diagonalization into a carrier for the isometry classes themselves: a diagonal
presentation is a rank n together with a tuple w : Fin n → Kˣ, presenting the form
⟨w 0, …, w (n - 1)⟩, and TauCeti.RegularFormClass K is the quotient of the presentations by
isometry of the forms they present.
Presenting classes by tuples of units, rather than by quotienting quadratic forms on arbitrary
finite-dimensional spaces, keeps the carrier in a single universe and makes the type a plain
Quotient of a sigma type. Mathlib's QuadraticMap.Equivalent already compares forms living on
different spaces, so nothing is lost: two regular forms are isometric exactly when their classes
agree, and only presentations of equal rank are ever related.
Concatenating weight tuples presents the orthogonal sum of the presented forms, which makes the classes an additive commutative monoid whose zero is the class of the empty presentation and whose rank is additive.
Main definitions #
TauCeti.RegularFormPresentation: a rank together with a tuple of unit weights.TauCeti.presentedForm: the weighted sum of squares a presentation stands for.TauCeti.RegularFormClass: isometry classes of regular finite-dimensional quadratic forms.TauCeti.RegularFormClass.rank: the common rank of the presentations in a class.TauCeti.RegularFormPresentation.append: concatenation of presentations.TauCeti.formClass: the class of a regular form on a finite-dimensional space.
Main results #
TauCeti.RegularFormPresentation.ext: presentations with the same rank and weights agree.TauCeti.nondegenerate_presentedForm: a presented form is nondegenerate.QuadraticForm.orthogonalPairIsometryEquiv: two orthogonal anisotropic vectors identify their span with the corresponding diagonal plane.TauCeti.exists_presentedForm_equivalent: every regular form has a diagonal presentation.TauCeti.formClass_mk: the class of a form is computed by any of its diagonalizations.TauCeti.formClass_eq_iff: two regular forms are isometric exactly when their classes agree.TauCeti.formClass_eq_zero_iff: a regular form has zero class exactly when its space has dimension zero.TauCeti.formClass_lift_radical_eq_of_equivalent: equivalent forms have equal regular quotient classes.TauCeti.formClass_lift_radical_eq: a zero-plus-regular splitting computes the regular quotient class.TauCeti.RegularFormPresentation.prod_append: concatenation multiplies the weight products.TauCeti.presentedFormAppendIsometryEquiv: concatenating weights presents the orthogonal sum.TauCeti.presentedFormConsIsometryEquiv: peeling the first weight off presents the form as a line orthogonal to the presentation of the remaining weights.TauCeti.presentedForm_tail_isRepresentedBy: the tail of a diagonal presentation is represented by the full form.TauCeti.formClass_prod: the class of an orthogonal product is the sum of the classes.TauCeti.RegularFormClass.mk_succ_eq_mk_rankOne_add: the class of a presentation of positive rank is the rank-one class of its first weight plus the class of the remaining weights.TauCeti.RegularFormClass.induction_on_rankOne: every class is a sum of rank-one classes.TauCeti.RegularFormClass.exists_eq_add_mk_rankOneandTauCeti.RegularFormClass.exists_eq_mk_binary_add: a class of positive rank splits off a line, and one of rank at least two splits off a binary plane.
References #
- T. Y. Lam, Introduction to Quadratic Forms over Fields (2005), Chapter I §2 and §5.
Diagonal presentations #
A diagonal presentation: a rank n together with a tuple of units, read as the diagonal
form ⟨w 0, …, w (n - 1)⟩. The presented form is regular when 2 is invertible in K
(TauCeti.nondegenerate_presentedForm); in characteristic two its polar form vanishes, so it need
not be nondegenerate.
Instances For
Two presentations agree as soon as they have the same rank and, at every index read through that identification, the same weight.
The form presented by (n, w), namely the weighted sum of squares with weights w.
Instances For
The presented form evaluates as the weighted sum of the squares of the coordinates.
The presented form is Mathlib's weighted sum of squares taken with the Kˣ-action, which is
the shape produced by QuadraticForm.equivalent_weightedSumSquares_units_of_nondegenerate'.
A binary presented form ⟨w₀, w₁⟩ is the weighted sum of squares with the two coerced weights
w₀, w₁, which is the shape in which the binary value and classification criteria are stated.
A presented form is regular: all its weights are units, so its radical vanishes.
Two orthogonal anisotropic vectors span a copy of the diagonal plane ⟨Q x, Q y⟩.
Instances For
The carrier #
Two presentations are related when the forms they present are isometric. Mathlib's
QuadraticMap.Equivalent already compares forms on different spaces, so presentations of
different ranks may be compared; TauCeti.fst_eq_of_presentedForm_equivalent shows that only
presentations of equal rank are ever related.
The relation defining the setoid, unfolded.
Isometry classes of diagonal presentations. When 2 is invertible in K every presented
form is regular and every regular form on a finite-dimensional space is presented, so this is
exactly the set of isometry classes of regular finite-dimensional quadratic forms; over a field
of characteristic two it is only the quotient of the diagonal presentations by isometry.
Instances For
Two presentations have the same class exactly when they present isometric forms.
Isometric presented forms have the same number of weights, because an isometry is in particular a linear equivalence of the underlying coordinate spaces.
The rank of an isometry class.
Instances For
The rank of the class of a presentation is the length of its weight tuple.
The orthogonal sum #
The orthogonal sum of two diagonal presentations, obtained by concatenating the two weight tuples.
Instances For
Concatenation restricts to the first tuple on the initial coordinates.
Concatenation restricts to the second tuple on the final coordinates.
Appending presentations concatenates their weight tuples.
Concatenating the weight tuples presents the orthogonal sum of the two presented forms.
Instances For
The forward map of TauCeti.presentedFormAppendIsometryEquiv splits the coordinates into
the two concatenated halves.
The inverse map of TauCeti.presentedFormAppendIsometryEquiv concatenates the two coordinate
tuples.
The form presented by a concatenation is isometric to the orthogonal sum of the two presented forms.
The form presented by m + n weights is isometric to the orthogonal sum of the forms
presented by its first m and by its last n weights.
Peeling the first weight off a presentation of positive rank exhibits the presented form as
the orthogonal sum of the line ⟨w 0⟩ and the presentation of the remaining weights:
⟨w 0⟩ ⊥ ⟨w 1, …, w n⟩ ≅ ⟨w 0, …, w n⟩. The first factor is carried by K itself rather than by
Fin 1 → K, which is what makes it a line spanned by 1.
Instances For
The tail of a diagonal presentation is represented by the full presented form.
A diagonal form ⟨w₀, w₁, …, wₙ⟩ is isotropic exactly when ⟨w₁, …, wₙ⟩ represents
-w₀.
A diagonal form ⟨w₀, w₁, w₂, …⟩ of rank 2 + n with n ≠ 0 is isotropic exactly when some
unit value x of its binary head ⟨w₀, w₁⟩ has -x a value of its tail ⟨w₂, …⟩. The head is
stated as a weighted sum of squares, the shape in which the binary value criteria are stated.
The forward map of TauCeti.presentedFormConsIsometryEquiv prepends the line coordinate.
The inverse map of TauCeti.presentedFormConsIsometryEquiv separates the first coordinate
from the remaining coordinates.
Concatenation of presentations respects isometry in each argument.
Concatenation of presentations is commutative up to isometry.
Concatenation of presentations is associative up to isometry.
Prepending an empty presentation does not change the form up to isometry.
Orthogonal sum of isometry classes.
The class of the rank-zero form.
Orthogonal sum makes the isometry classes a commutative monoid. This is the additive half of the semiring structure that carries the Witt-Grothendieck ring.
A regular-form class has rank zero exactly when it is the zero class.
Induction on the rank #
Every isometry class of regular forms is built from the zero class by adjoining rank-one classes one at a time. This is the induction principle behind every statement proved by diagonalizing and working one weight at a time.
A class of positive rank splits off a line: it is y + ⟨a⟩ for some unit a and a
class y of rank one less.
A class of rank at least two splits off a binary plane: it is ⟨a, b⟩ + y for some
units a, b and a class y of rank two less.
The class of a regular form #
Every regular form on a finite-dimensional space has a diagonal presentation.
The isometry class of a regular form on a finite-dimensional space.
Instances For
The class of a regular form is computed by any of its diagonalizations.
Two regular forms are isometric exactly when their classes agree.
Isometric forms, including degenerate ones, have the same isometry class after quotienting by their radicals.
The class of the regular part of Q is the class of the regular summand in any splitting of
Q as the orthogonal sum of a zero form and a regular form.
The class of a presented form is the class of its presentation.
The rank of the class of a regular form is the dimension of its space.
A regular quadratic form has zero isometry class exactly when its underlying space has dimension zero.
The class of an orthogonal product is the sum of the classes.