Rank criteria for the Hasse–Minkowski invariant #
This file ports the local representability criteria of HassePrinciple's
QuadraticForm/HasseMinkowskiInvariant.lean, connecting the discriminant of a quadratic form
with the Hasse–Minkowski invariant:
- over a rank-two space, a nondegenerate form
Qrepresentsaexactly when(a, -discr Q) = ε(Q); - over a rank-three space, a nondegenerate form
Qis isotropic exactly when(-1, -discr Q) = ε(Q).
The proofs rest on the rank-three isotropy criterion
weightedSumSquares_isotropic_iff_hilbertSym_eq_one and the Hilbert-symbol square-class
computation hilbertSym_mul_mul, both of which are proved unconditionally here.
The well-definedness of hasseMinkowskiInv (that equivalent diagonal forms have the same
invariant) is not available in this project, so no theorem at the level of that form-level
invariant is stated. The invariant-free (diagonal) forms of the criteria are stated and proved
with hasseMinkowskiInvAux and need no such hypothesis.
Provenance #
This file is a derived work. It is based on QuadraticForm/HasseMinkowskiInvariant.lean of the
HassePrinciple project (https://github.com/mariainesdff/HassePrinciple,
Apache-2.0, Copyright (c) 2026 Nirvana Coppola,
María Inés de Frutos-Fernández), a Women in Numbers 7 collaboration.
It has been modified: the statements and proofs were rewritten for Lean 4.33 /
Mathlib without upstream's module system, and the development is extended beyond
what upstream proves. Upstream declaration names are kept so that the two
developments can be compared side by side. See the repository NOTICE file.