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.Evaluated.ActiveCoordinateEquiv |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.OrdinaryCoordinates |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedSubspaces |
| 6 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration |
| 7 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces |
| 8 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 9 | |
| 10 | /-! # Coordinate Subspaces -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! The original finite parameter labels enumerate standard active |
| 17 | subspaces through the actual evaluated integral ordinary coordinates. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCoordinates |
| 25 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 26 | |
| 27 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ 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 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 38 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 39 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 40 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 41 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 42 | |
| 43 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 44 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 45 | (l.genericAction (L := L)).preservesGroup |
| 46 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 47 | |
| 48 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 49 | |
| 50 | def originalEvaluatedCoordinateData : |
| 51 | GenericActiveCoordinateData.ActiveCoordinateData |
| 52 | (Spec.map (CommRingCat.ofHom (algebraMap L a.evaluation.carrier))) |
| 53 | (Grp.mk (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map |
| 54 | (j.projector iota hsplit 1 (labels (0, false)))))) q := by |
| 55 | letI := a.evaluation.scalarAlgebra R |
| 56 | letI := a.evaluation.scalarTower R |
| 57 | exact GenericActiveCoordinateData.evaluatedActiveCoordinateData (F := L) j hsplit labels O l |
| 58 | (ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a) a.blockIso |
| 59 | |
| 60 | abbrev originalEvaluatedLinearCoordinates : |
| 61 | Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L a.evaluation.carrier))) ⟶ |
| 62 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map (j.projector iota hsplit 1 (labels (0, false))))) ≃ₗ[ZMod q] |
| 63 | ((Fin 2 → ZMod q) × ZMod q) := |
| 64 | (originalEvaluatedCoordinateData j hsplit labels O l hTorsionQuotient a).coordinates |
| 65 | |
| 66 | def originalParameterCoordinateData (i : Fin 3) := |
| 67 | Intrinsic.CoordinateSubspaces.nativeParameterCoordinateData |
| 68 | j hsplit labels O l hTorsionQuotient a.evaluation i |
| 69 | (AlgebraicClosure a.evaluation.carrier) |
| 70 | (algebraMap a.evaluation.carrier (AlgebraicClosure a.evaluation.carrier)) |
| 71 | (originalEvaluatedCoordinateData j hsplit labels O l hTorsionQuotient a).coordinates.toAddEquiv |
| 72 | |
| 73 | def originalCoordinateKernelParameters (i : Fin 3) := |
| 74 | Intrinsic.CoordinateSubspaces.nativeCoordinateKernelParameters |
| 75 | j hsplit labels O l hTorsionQuotient a.evaluation i |
| 76 | (AlgebraicClosure a.evaluation.carrier) |
| 77 | (algebraMap a.evaluation.carrier (AlgebraicClosure a.evaluation.carrier)) |
| 78 | (originalEvaluatedCoordinateData j hsplit labels O l hTorsionQuotient a) |
| 79 | |
| 80 | abbrev originalCoordinateSubspaceEquiv (i : Fin 3) : |
| 81 | ULift (Fin (a.evaluation.count (some i))) ≃ |
| 82 | {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // |
| 83 | Module.finrank (ZMod q) J = HeckeExponents.neighborLevel i} := |
| 84 | (originalCoordinateKernelParameters j hsplit labels O l hTorsionQuotient a i).enumeration |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces |