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.Reference.ActiveParameterComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData |
| 3 | |
| 4 | /-! # Coordinate Active Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateActiveComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Expose the constructed integral active family at the unchanged original coordinate enumeration. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericActiveKernels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces.IntrinsicRationalMembership |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrimeBlockSplitting OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitKernelParameterComparison |
| 20 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 23 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 24 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 25 | {iota : E →+* K} {κ : K →+* ℂ} |
| 26 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 27 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 28 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 29 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 30 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 31 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 32 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 33 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 34 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 35 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 36 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 37 | |
| 38 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 39 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 40 | (l.genericAction (L := L)).preservesGroup |
| 41 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 42 | |
| 43 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 44 | |
| 45 | variable (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) |
| 46 | |
| 47 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 48 | |
| 49 | local instance neighborModule (w : Fin (s + 1)) : |
| 50 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 51 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i w)) := |
| 52 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) _ |
| 53 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i w) |
| 54 | |
| 55 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveParameterComparison |
| 56 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily.SourceFamilies OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData |
| 57 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveAmbientData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces |
| 58 | |
| 59 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData.ReferenceFamily |
| 60 | |
| 61 | attribute [local irreducible] Joint.KernelParameters.jointKernelParameters |
| 62 | ActiveAmbientData.ReferenceFamily.originalIntegralActiveAmbientFamily |
| 63 | |
| 64 | def originalCoordinateActiveIdentity := by |
| 65 | let f := Spec.map (CommRingCat.ofHom (algebraMap L a.evaluation.carrier)) |
| 66 | let F₀ := (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice (l.genericPolarized (L := L)).abelian |
| 67 | (O.compact x) (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient a.evaluation i p).val.subgroup |
| 68 | have h := ActiveParameterComparison.originalActiveParameter_eq j hsplit labels O l hTorsionQuotient a i p |
| 69 | rw [ActiveAmbientData.ReferenceFamily.originalActiveAmbientComparison_family] at h |
| 70 | have h' : ActiveAmbientData.ReferenceFamily.originalIntegralActiveAmbientFamily j hsplit labels O l hTorsionQuotient a |
| 71 | (CoordinateSubspaces.originalCoordinateSubspaceEquiv j hsplit labels O l hTorsionQuotient a i p).val = |
| 72 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter (Grp.mk (l.genericPolarized (L := L)).abelian.scheme) |
| 73 | (Over.mk f) F₀ := by |
| 74 | unfold CoordinateSubspaces.originalCoordinateSubspaceEquiv CoordinateSubspaces.originalCoordinateKernelParameters |
| 75 | Intrinsic.CoordinateSubspaces.nativeCoordinateKernelParameters |
| 76 | dsimp only at h |
| 77 | exact h |
| 78 | exact PLift.up h' |
| 79 | |
| 80 | theorem originalCoordinateActive_eq : |
| 81 | type_of% (originalCoordinateActiveIdentity j hsplit labels O l hTorsionQuotient a i p).down := |
| 82 | (originalCoordinateActiveIdentity j hsplit labels O l hTorsionQuotient a i p).down |
| 83 | |
| 84 | def originalActualCoordinateActiveIdentity := by |
| 85 | have h := originalCoordinateActive_eq j hsplit labels O l hTorsionQuotient a i p |
| 86 | unfold ActiveAmbientData.ReferenceFamily.originalIntegralActiveAmbientFamily at h |
| 87 | dsimp only at h |
| 88 | exact PLift.up h |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateActiveComparison |