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.Isogenies.NeighborCounting.OrdinaryBlockRank |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralIntrinsicBlock |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OperatorSpecification |
| 4 | |
| 5 | /-! # Ordinary Source Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinarySourceRank.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The supplied ordinary splittings determine rank three on every |
| 12 | original chosen block, at every level. The conclusion is stated on the |
| 13 | literal native block used by the generic subgroup-choice construction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OperatorSpecification.Construction |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryBlockRank.Ordinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralIntrinsicBlock.Intrinsic |
| 20 | |
| 21 | theorem ordinary_heights_sum {s : ℕ} (c : Fin s → Bool) (v : Fin (s + 1)) : |
| 22 | AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45MultiplicativeHeights c v + AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45EtaleHeights c v = 3 := by |
| 23 | refine Fin.cases rfl (fun w => ?_) v |
| 24 | change (if c w then 3 else 0) + (if c w then 0 else 3) = 3 |
| 25 | cases c w <;> rfl |
| 26 | |
| 27 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 28 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 29 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 30 | {iota : E →+* K} {κ : K →+* ℂ} |
| 31 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 32 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 33 | (D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 34 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 35 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 36 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 37 | |
| 38 | include O in |
| 39 | theorem ordinaryChosenBlock_rank (x : D.OrdinaryPoint) (n : ℕ) (v : Fin (s + 1)) |
| 40 | (z : Spec (.of (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q))) : |
| 41 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ n) |
| 42 | ((D.pointDatum x.val).data.action.map (j.projector iota hsplit n (labels (v, false))))).hom.finrank z = |
| 43 | (q ^ n) ^ 3 := by |
| 44 | let : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 45 | exact (IntegralIntrinsicBlock.Intrinsic.integralNativeBlock_rank j iota hsplit (D.pointDatum x.val).data.polarized |
| 46 | (D.pointDatum x.val).data.action n (labels (v, false)) z).trans |
| 47 | (OrdinaryBlockRank.Ordinary.ordinaryBlock_rank_three (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) q n (O.splitting x n v) |
| 48 | (ordinary_heights_sum (O.compact x) v) z) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinarySourceRank.Ordinary |