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.KernelMembership |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockComparison |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TransportedGenericKernel |
| 4 | |
| 5 | /-! # Generic Active Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.GenericActiveKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The integral ordinary active kernel gives an actual finite flat |
| 12 | kernel in the original generic q-block. Its points are precisely the |
| 13 | prescribed standard subspace in the constructed coordinates. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.KernelMembership |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TransportedGenericKernel |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 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 | def evaluatedGenericActiveKernel : |
| 49 | Kernel.Properties.FiniteFlatKernel ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap F L)))).obj |
| 50 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.action.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 51 | (j.projector iota hsplit 1 (labels (0, false)))))) := |
| 52 | TransportedGenericKernel.transportedGenericKernel (Spec.map (CommRingCat.ofHom (algebraMap F L))) |
| 53 | (Spec.map (CommRingCat.ofHom (algebraMap v.carrier L))) _ _ |
| 54 | (PrimeBlockComparison.evaluatedPrimeBlockGroupIso (F := F) j hsplit l v (labels (0, false))) |
| 55 | (ActiveCoordinateEquiv.evaluatedActiveIntegralKernel j hsplit labels O l v eA J) |
| 56 | |
| 57 | theorem evaluatedGenericActiveKernel_membership |
| 58 | (a : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap F L))) ⟶ |
| 59 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.action.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 60 | (j.projector iota hsplit 1 (labels (0, false)))))) : |
| 61 | ActiveCoordinateEquiv.evaluatedActivePointLinearEquiv j hsplit labels O l v eA a ∈ J ↔ |
| 62 | ∃ b : Over.mk (𝟙 (Spec (.of L))) ⟶ |
| 63 | (evaluatedGenericActiveKernel j hsplit labels O l v eA J).carrier, |
| 64 | b ≫ (evaluatedGenericActiveKernel j hsplit labels O l v eA J).inclusion = |
| 65 | GroupPointBaseChange.pointPullbackGroupEquiv (Spec.map (CommRingCat.ofHom (algebraMap F L))) |
| 66 | (Grp.mk (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q |
| 67 | ((l.action.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 68 | (j.projector iota hsplit 1 (labels (0, false)))))) a.toMul := by |
| 69 | have ht := TransportedGenericKernel.transportedGenericKernel_membership |
| 70 | (Spec.map (CommRingCat.ofHom (algebraMap F L))) |
| 71 | (Spec.map (CommRingCat.ofHom (algebraMap v.carrier L))) _ _ |
| 72 | (PrimeBlockComparison.evaluatedPrimeBlockGroupIso (F := F) j hsplit l v (labels (0, false))) |
| 73 | (ActiveCoordinateEquiv.evaluatedActiveIntegralKernel j hsplit labels O l v eA J) a.toMul |
| 74 | rw [PrimeBlockComparison.evaluatedActivePrimeBlockGroupIso_points] at ht |
| 75 | exact (KernelMembership.evaluatedActiveKernel_membership j hsplit labels O l v eA J a).trans ht.symm |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.GenericActiveKernel |