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.KernelComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EmbeddedActiveFamilies |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 5 | |
| 6 | /-! # Coordinate Kernel Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CoordinateKernelComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Transport the full kernel at the actual evaluated coordinate family before original-parameter specialization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.GenericActiveKernel |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockInclusion |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.SourceGroupIso OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TransportedKernelParameterFamily.Family |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockInclusion.Square |
| 21 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 25 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 26 | {iota : E →+* K} {κ : K →+* ℂ} |
| 27 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 28 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 29 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 30 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 31 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 32 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 33 | {R F L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 34 | [Field F] [Field L] [Algebra R F] [Algebra F L] [Algebra R L] |
| 35 | [IsScalarTower R F L] |
| 36 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 37 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 38 | (v : EvaluationDVRLifts.EvaluationDVR R L) |
| 39 | {I : Type} [Finite I] |
| 40 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 41 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap F L)))).obj |
| 42 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) (((l.action).pullback |
| 43 | (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 44 | (j.projector iota hsplit 1 (labels (0, false)))))) |
| 45 | |
| 46 | variable (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) |
| 47 | |
| 48 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EmbeddedActiveFamilies OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily.SourceFamilies |
| 49 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.KernelComparison |
| 50 | |
| 51 | private theorem equalityAt (T : Type*) {x y : T} (h : x = y) : x = y := h |
| 52 | |
| 53 | def evaluatedCoordinateFullKernelComparison (n : ℕ) (c : Fin (s + 1) → Bool) |
| 54 | (F₀ : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup |
| 55 | (l.polarized.abelian.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).scheme |
| 56 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap F L))))) := by |
| 57 | let f := Spec.map (CommRingCat.ofHom (algebraMap F L)) |
| 58 | let g := Spec.map (CommRingCat.ofHom (algebraMap v.carrier L)) |
| 59 | let F₁ := EmbeddedActiveFamilies.embeddedActiveFamily (P := Over.mk g) (q ^ 1) |
| 60 | ((l.overEvaluationDVR v).action.map (j.projector iota hsplit 1 (labels (0, false)))) |
| 61 | (ActiveCoordinateEquiv.evaluatedActiveIntegralKernel j hsplit labels O l v eA J) |
| 62 | let comparison := (KernelComparison.evaluatedFullKernelComparisonFromActive (F := F) j hsplit l v |
| 63 | n (Intrinsic.KernelLabels.nativeKernelLabels labels) 0 c F₀ F₁).down |
| 64 | exact PLift.up (fun h : ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily j hsplit labels O l v eA J = |
| 65 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 66 | (Grp.mk (l.polarized.abelian.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).scheme) |
| 67 | (Over.mk f) F₀ => equalityAt |
| 68 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup (ActiveParameterFamily.SourceFamilies.evaluatedOriginalAmbientGroup (F := F) (L := L) l).X |
| 69 | (Over.mk (𝟙 (Spec (.of L))))) (comparison h)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CoordinateKernelComparison |