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.CoordinateSubspaces |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveAmbientData |
| 3 | |
| 4 | /-! # Active Ambient Data -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData |
| 11 | |
| 12 | /-! Construct the original ambient transport record at the unchanged original evaluated coordinate record. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 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 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveAmbientComparisonData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveAmbientData |
| 48 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockInclusion.Square |
| 49 | |
| 50 | def originalActiveAmbientComparison : |
| 51 | ActiveAmbientComparisonData.ActiveAmbientComparison (CoordinateSubspaces.originalEvaluatedCoordinateData j hsplit labels O l hTorsionQuotient a) |
| 52 | (Evaluated.PrimeBlockInclusion.Square.evaluatedOriginalPrimeInclusion (F := L) j hsplit l (labels (0, false))) := by |
| 53 | letI := a.evaluation.scalarAlgebra R |
| 54 | letI := a.evaluation.scalarTower R |
| 55 | let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a |
| 56 | exact Evaluated.ActiveAmbientData.evaluatedActiveAmbientComparison (F := L) j hsplit labels O l v a.blockIso |
| 57 | |
| 58 | end AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData |
| 59 | |
| 60 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData.ReferenceFamily |
| 61 | |
| 62 | /-! Identify the actual ambient-family projection before evaluating any original parameter. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 65 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 66 | |
| 67 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 68 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 69 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 70 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 71 | |
| 72 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 73 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 74 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 75 | {iota : E →+* K} {κ : K →+* ℂ} |
| 76 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 77 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 78 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 79 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 80 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 81 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 82 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 83 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 84 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 85 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 86 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 87 | |
| 88 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 89 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 90 | (l.genericAction (L := L)).preservesGroup |
| 91 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 92 | |
| 93 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 94 | |
| 95 | variable (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) |
| 96 | |
| 97 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily.SourceFamilies |
| 98 | |
| 99 | def originalIntegralActiveAmbientFamily := by |
| 100 | letI := a.evaluation.scalarAlgebra R |
| 101 | letI := a.evaluation.scalarTower R |
| 102 | exact Evaluated.ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily (F := L) j hsplit labels O l |
| 103 | (ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a) a.blockIso |
| 104 | |
| 105 | omit [IsGalois ℚ E] in |
| 106 | theorem originalActiveAmbientComparison_family : |
| 107 | (originalActiveAmbientComparison j hsplit labels O l hTorsionQuotient a).family = |
| 108 | originalIntegralActiveAmbientFamily j hsplit labels O l hTorsionQuotient a := by |
| 109 | unfold originalActiveAmbientComparison originalIntegralActiveAmbientFamily |
| 110 | rfl |
| 111 | |
| 112 | end AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData.ReferenceFamily |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI |