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.Lifted.OrdinaryCoordinates |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinaryCoordinateModel |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.LiftBlockIso |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedBlockSplitting |
| 5 | |
| 6 | /-! # Evaluation DVR Ordinary Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVROrdinaryCoordinates.Ordinary |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ordinary coordinates over an arbitrary evaluation DVR, constructed |
| 13 | from the original generic block splitting and the actual evaluated lift. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinarySplitting.Ordinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupOrdinaryCoordinates.Ordinary |
| 19 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 24 | {iota : E →+* K} {κ : K →+* ℂ} |
| 25 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 26 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 27 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 28 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 29 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 30 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 31 | {R F L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 32 | [Field F] [Field L] [Algebra R F] [Algebra F L] [Algebra R L] |
| 33 | [IsScalarTower R F L] |
| 34 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 35 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 36 | (v : EvaluationDVRLifts.EvaluationDVR R L) |
| 37 | {I : Type} [Finite I] |
| 38 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 39 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap F L)))).obj |
| 40 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) (((l.action).pullback |
| 41 | (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 42 | (j.projector iota hsplit 1 (labels (0, false)))))) |
| 43 | |
| 44 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.LiftBlockIso OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedBlockSplitting OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinaryCoordinates.Ordinary |
| 45 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinaryCoordinateModel.Ordinary |
| 46 | |
| 47 | def evaluationDVRActiveSplitting := |
| 48 | Intrinsic.EvaluatedBlockSplitting.nativeEvaluatedBlockSplitting j iota hsplit R F L l.polarized.abelian l.action |
| 49 | v 1 (labels (0, false)) eA (Evaluated.LiftBlockIso.evaluatedLiftBlockIso j hsplit l v 1 (labels (0, false))) |
| 50 | |
| 51 | def evaluationDVRIdentityCoordinates := |
| 52 | Lifted.OrdinaryCoordinates.Ordinary.liftedOrdinaryIdentityCoordinates (D := D) (R := v.carrier) (L := L) (x := x) |
| 53 | j hsplit labels O (l.overEvaluationDVR v) |
| 54 | (evaluationDVRActiveSplitting j hsplit labels l v eA) |
| 55 | |
| 56 | def evaluationDVRIntegralSplit := |
| 57 | Lifted.OrdinaryCoordinates.Ordinary.liftedOrdinaryIntegralSplit (D := D) (R := v.carrier) (L := L) (x := x) |
| 58 | j hsplit labels O (l.overEvaluationDVR v) |
| 59 | (evaluationDVRActiveSplitting j hsplit labels l v eA) |
| 60 | |
| 61 | def evaluationDVRCoordinateModel := |
| 62 | Lifted.OrdinaryCoordinateModel.Ordinary.liftedOrdinaryCoordinateModel (D := D) (R := v.carrier) (L := L) (x := x) |
| 63 | j hsplit labels O (l.overEvaluationDVR v) |
| 64 | (evaluationDVRActiveSplitting j hsplit labels l v eA) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVROrdinaryCoordinates.Ordinary |