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.TorsionFactorIso |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.FlattenTorsionFactors |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryCM |
| 4 | |
| 5 | /-! # Ordinary From Factorization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFromFactorization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original polarized fiber is ordinary whenever its actual |
| 12 | prime-to-q scalar splitting has full height-one coefficient factors. |
| 13 | No polarizations on the auxiliary factors are required. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem ordinary_count_of_scalar_factor_heightOne |
| 18 | {k E K I : Type} [Field k] [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | [IsGalois ℚ E] [Field K] [NumberField K] [Fintype I] |
| 20 | {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] [IsAlgClosed k] [CharP k q] |
| 21 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 22 | {g N : ℕ} {δ : Fin g → ℕ} {d : I → ℕ} |
| 23 | (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 24 | (B : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (d i) (Spec (.of k))) |
| 25 | (ρ : ∀ i, AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (B i)) |
| 26 | (D : TorsionFactorIso.AbelianScalarFactorization P.abelian B) |
| 27 | (hgood : q.Coprime (∏ i, δ i)) (hD : q.Coprime D.multiplier) |
| 28 | (hdegree : Fintype.card I * Module.finrank ℚ E = 2 * g) |
| 29 | (hh : ∀ i τ, BlocksProjectors.BlockHasHeight (B i) (ρ i) (j.localCharacter iota τ) 1) : |
| 30 | Nat.card (P.abelian.torsionPoints q (Over.mk (𝟙 (Spec (.of k))))) = q ^ g := by |
| 31 | let : Fintype Gal(E/ℚ) := Fintype.ofFinite _ |
| 32 | have hex (i : I) := OrdinaryCM.torsion_heightOne_decomposition j iota hsplit (B i) (ρ i) |
| 33 | (PolarizedTorsionFiniteness.scalar_factor_torsion_finite_locally_free D |
| 34 | (PolarizedTorsionFiniteness.polarized_torsion_finite_locally_free P (Fact.out : q.Prime).pos) hD i) (hh i) |
| 35 | choose G he using hex |
| 36 | let e (i : I) := Classical.choice (he i) |
| 37 | let ef := FlattenTorsionFactors.flattenPiGroupIso (fun i => TorsionFactorIso.torsionCommFunctor (B i) q) |
| 38 | (fun i τ => OrdinaryFromFactors.finiteGroupPointFunctor ((G i τ).level 1)) e |
| 39 | have hcard : Fintype.card (I × Gal(E/ℚ)) = 2 * g := by |
| 40 | rw [Fintype.card_prod] |
| 41 | have hG : Fintype.card Gal(E/ℚ) = Module.finrank ℚ E := |
| 42 | Fintype.card_eq_nat_card.trans (IsGalois.card_aut_eq_finrank ℚ E) |
| 43 | rw [hG] |
| 44 | exact hdegree |
| 45 | exact OrdinaryFromFactors.ordinary_count_of_torsion_heightOne_decomposition P hgood |
| 46 | (fun z : I × Gal(E/ℚ) => G z.1 z.2) hcard (D.torsionFactorIso q hD ≪≫ ef) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFromFactorization |