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.CoordinateKernelDetection |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.ImageComparison |
| 3 | |
| 4 | /-! # Active Ambient Comparison Data -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.Isogenies.NeighborCounting |
| 11 | |
| 12 | /-! Embed the constructed coordinate kernel through an actual source |
| 13 | group homomorphism while retaining the original parameter family. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.ImageComparison |
| 20 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 21 | |
| 22 | variable {S : Scheme} {k : Type} [Field k] |
| 23 | {f : Spec (.of k) ⟶ S} {G H : Grp (Over S)} [IsCommMonObj G.X] |
| 24 | {q : ℕ} [Fact q.Prime] [Module (ZMod q) (Additive (Over.mk f ⟶ G.X))] |
| 25 | {C : GenericActiveCoordinateData.ActiveCoordinateData f G q} {r : ℕ} {I B : Type} |
| 26 | {F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X (Over.mk f)} |
| 27 | (D : CoordinateKernelDetection.Parameters.CoordinateKernelParameters C r I F) [Finite B] |
| 28 | (split : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) B ≅ (Over.pullback f).obj G.X) |
| 29 | (g : G ⟶ H) |
| 30 | |
| 31 | local instance CoordinateKernelDetection.Parameters.CoordinateKernelParameters.pulledBackHom : IsMonHom ((Over.pullback f).map g.hom.hom) := |
| 32 | Functor.map.instIsMonHom (F := Over.pullback f) (f := g.hom.hom) G.X H.X |
| 33 | |
| 34 | include split in |
| 35 | theorem CoordinateKernelDetection.Parameters.CoordinateKernelParameters.image_kernel_eq (i : I) : |
| 36 | Kernel.Base.fixedKernelFamily (P := Over.mk (𝟙 (Spec (.of k)))) |
| 37 | ((C.kernel (D.enumeration i).val).inclusion ≫ (Over.pullback f).map g.hom.hom) = |
| 38 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter H (Over.mk f) (AbelianScheme.IsogenyQuotient.SubgroupTransport.Construction.relativeSubgroupImage g.hom.hom (F i)) := |
| 39 | Parameter.ImageComparison.parameter_kernel_image G H (Over.mk f) g (F i) (C.kernel (D.enumeration i).val).inclusion |
| 40 | (D.kernel_eq split i) |
| 41 | |
| 42 | end AlgebraicGeometry.Isogenies.NeighborCounting |
| 43 | |
| 44 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.ActiveAmbientComparisonData |
| 45 | |
| 46 | /-! Index ambient active-family transport by the same complete coordinate |
| 47 | record that constructs the original parameter kernels. -/ |
| 48 | |
| 49 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 50 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 51 | |
| 52 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData |
| 53 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 54 | |
| 55 | variable {S : Scheme} {k : Type} [Field k] {f : Spec (.of k) ⟶ S} |
| 56 | {G A : Grp (Over S)} [IsCommMonObj G.X] {q : ℕ} |
| 57 | [Module (ZMod q) (Additive (Over.mk f ⟶ G.X))] |
| 58 | (C : GenericActiveCoordinateData.ActiveCoordinateData f G q) (i : G ⟶ A) |
| 59 | |
| 60 | local instance pulledBackHom : IsMonHom ((Over.pullback f).map i.hom.hom) := |
| 61 | Functor.map.instIsMonHom (F := Over.pullback f) (f := i.hom.hom) G.X A.X |
| 62 | |
| 63 | def coordinateAmbientKernelFamily (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) : |
| 64 | AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback f).mapGrp.obj A).X (Over.mk (𝟙 (Spec (.of k)))) := by |
| 65 | let family := Kernel.Base.fixedKernelFamily (P := Over.mk (𝟙 (Spec (.of k)))) |
| 66 | ((C.kernel J).inclusion ≫ (Over.pullback f).map i.hom.hom) |
| 67 | exact family |
| 68 | |
| 69 | structure ActiveAmbientComparison where |
| 70 | family : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) → |
| 71 | AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback f).mapGrp.obj A).X (Over.mk (𝟙 (Spec (.of k)))) |
| 72 | realizes : ∀ J, family J = coordinateAmbientKernelFamily C i J |
| 73 | |
| 74 | end AlgebraicGeometry.Isogenies.NeighborCounting.ActiveAmbientComparisonData |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI |