Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.PeriodCoordinates |
| 2 | import Mathlib.LinearAlgebra.Countable |
| 3 | |
| 4 | /-! # Rational Coefficient Labels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.RationalCoefficientLabels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A rational marking and Hermitian matrix form a countable label. |
| 11 | A complex normalizer is chosen once for each matrix label. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 16 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 17 | |
| 18 | def RationalCoefficientLabel (n : ℕ) := |
| 19 | {q : ((Fin n → ℚ) ≃ₗ[ℚ] (Fin 3 → E)) × Matrix (Fin 3) (Fin 3) E // |
| 20 | (∀ i j, q.2 i j = NumberField.IsCMField.complexConj E (q.2 j i)) ∧ |
| 21 | ∃ e : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec, ∀ x y, |
| 22 | AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ q.2 (e x) (e y) = |
| 23 | AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y} |
| 24 | |
| 25 | instance rationalCoefficientLabel_countable (n : ℕ) : Countable (RationalCoefficientLabel P n) := by |
| 26 | let : Countable E := Finsupp.Countable.of_moduleFinite (R := ℚ) |
| 27 | let : Countable ((Fin n → ℚ) →ₗ[ℚ] (Fin 3 → E)) := |
| 28 | Finsupp.Countable.of_moduleFinite (R := ℚ) |
| 29 | let : Countable ((Fin n → ℚ) ≃ₗ[ℚ] (Fin 3 → E)) := |
| 30 | Function.Injective.countable (f := fun e => e.toLinearMap) (fun _ _ h => LinearEquiv.toLinearMap_injective h) |
| 31 | let : Countable (Matrix (Fin 3) (Fin 3) E) := inferInstanceAs (Countable (Fin 3 → Fin 3 → E)) |
| 32 | exact Function.Injective.countable (f := fun i : RationalCoefficientLabel P n => i.val) |
| 33 | Subtype.val_injective |
| 34 | |
| 35 | namespace RationalCoefficientLabel |
| 36 | |
| 37 | variable {P} {n : ℕ} (i : RationalCoefficientLabel P n) |
| 38 | |
| 39 | def normalizer : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec := i.property.2.choose |
| 40 | |
| 41 | theorem normalizer_spec (x y : Geometry.ComplexBall.PrescribedSignsB.Vec) : |
| 42 | AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ i.val.2 (i.normalizer x) (i.normalizer y) = |
| 43 | AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y := |
| 44 | i.property.2.choose_spec x y |
| 45 | |
| 46 | def coordinates (hP : P.IsAdmissible) : (Fin n → ℂ) ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) := |
| 47 | (TensorProduct.piScalarRight ℚ ℂ ℂ (Fin n)).symm.trans |
| 48 | ((i.val.1.baseChange ℚ ℂ _ _).trans (PeriodCoordinates.cmPeriodCoordinates P hP)) |
| 49 | |
| 50 | end RationalCoefficientLabel |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.RationalCoefficientLabels |