Binary quadratic forms and CM points (Phase C, Track 3) #
This file develops the elementary theory of integral binary quadratic forms
f = (a, b, c) (meaning a X² + b XY + c Y²) together with their action of
GL₂(ℤ)/SL₂(ℤ), the discriminant and content, and the correspondence with
CM points — points τ ∈ ℍ satisfying a τ² + b τ + c = 0.
It is the arithmetic input to FormReduction.lean (the reduction algorithm and the
decide-enumeration of reduced forms of discriminant −163) and to the three-prime
rationality argument of PhaseC-PLAN.md §4.2, whose chunk (C5) consumes:
- the discriminant
disc f = b² − 4acand its invariance underSL₂(disc_act); - primitivity (
IsPrimitive) and its preservation underGL₂(ℤ)(IsPrimitive.act); - the fixed-point /
ℚ[Λ]-algebra classification: an integer matrix fixing a CM pointτof a primitive form isp·I + k·(form matrix), withdet = p² + b p k + a c k²(fixes_iff,det_of_fixes).
Conventions match ComplexMult.lean: at τ₁₆₃ the CM relation is 41 − τ + τ² = 0,
i.e. the form (a, b, c) = (1, −1, 41), disc = −163.
The GL₂ action is the classical right action on forms,
(f · M)(X, Y) = f(pX + qY, rX + sY) for M = ![![p, q], ![r, s]]; it is packaged as
BQF.act f p q r s taking the four entries directly (avoiding matrix-coercion churn).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A form is positive definite when a > 0 and disc < 0 (then c > 0 too).
Equations
- Chudnovsky.QF.IsPosDef f = (0 < f.a ∧ Chudnovsky.QF.disc f < 0)
Instances For
The right GL₂-action on forms: (f · ![![p,q],![r,s]]).
Equations
Instances For
The identity matrix acts trivially.
Primitivity is preserved by SL₂ (indeed GL₂(ℤ)).
CM points: roots of a form in the upper half-plane #
Uniqueness of the CM point of a positive-definite form. Two roots in ℍ of the
same positive-definite form are equal (both are the root with positive imaginary part).
The fixed-point (ℚ[Λ]) algebra #
An integer matrix ![![p,q],![r,s]] fixes τ ∈ ℍ (as a Möbius transformation) when
p τ + q = τ (r τ + s), i.e. r τ² + (s − p) τ − q = 0. For a root τ of a primitive
positive-definite form f = (a,b,c), the fixing matrices are exactly p·I + k·M_f where
M_f = ![![0,−c],![a,b]] is the companion matrix of f; the determinant is the norm form
p² + b p k + a c k². This is the ℚ[Λ]-algebra fact consumed by PhaseC-PLAN.md
§4.2 (C5) and §5.1 step 4.
The fixing relation p τ + q = τ (r τ + s), division-free.
Instances For
Fixed-matrix classification. If an integer matrix ![![p,q],![r,s]] fixes a root
τ of a primitive positive-definite form f, then there is k : ℤ with
r = k·a, s − p = k·b, q = −k·c.
Determinant is the norm form. For a fixing matrix as classified above,
det = p s − q r = p² + b p k + a c k² — the value of the norm form of the order at
(p, k), with disc = b² − 4ac.