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.GenericActiveCoordinateData |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitKernelParameterComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Scheme |
| 5 | |
| 6 | /-! # Coordinate Kernel Detection -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection |
| 13 | |
| 14 | /-! A constructed coordinate record and an original parameter enumeration |
| 15 | with its proved membership formula identify the entire generic kernel. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitKernelParameterComparison |
| 22 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 23 | |
| 24 | variable {S : Scheme} {k I B : Type} [Field k] |
| 25 | {f : Spec (.of k) ⟶ S} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 26 | {q : ℕ} [Fact q.Prime] [Module (ZMod q) (Additive (Over.mk f ⟶ G.X))] |
| 27 | (C : GenericActiveCoordinateData.ActiveCoordinateData f G q) (r : ℕ) |
| 28 | (e : I ≃ {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // Module.finrank (ZMod q) J = r}) |
| 29 | (F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X (Over.mk f)) |
| 30 | (hc : ∀ i a, C.coordinates.toAddEquiv a ∈ (e i).val ↔ |
| 31 | a.toMul ∈ (F i).points (Over.mk f) (𝟙 _)) |
| 32 | |
| 33 | include hc in |
| 34 | theorem coordinateKernel_membership (i : I) (a : Additive (Over.mk f ⟶ G.X)) : |
| 35 | (∃ b : Over.mk (𝟙 (Spec (.of k))) ⟶ (C.kernel (e i).val).carrier, |
| 36 | b ≫ (C.kernel (e i).val).inclusion = GroupPointBaseChange.pointPullbackGroupEquiv f G a.toMul) ↔ |
| 37 | a.toMul ∈ (F i).points (Over.mk f) (𝟙 _) := |
| 38 | (C.membership (e i).val a).symm.trans (hc i a) |
| 39 | |
| 40 | variable [IsCommMonObj ((Over.pullback f).obj G.X)] |
| 41 | [IsFinite ((Over.pullback f).obj G.X).hom] [Etale ((Over.pullback f).obj G.X).hom] |
| 42 | (R : ∀ i, (F i).Model) |
| 43 | (split : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) B ≅ (Over.pullback f).obj G.X) |
| 44 | |
| 45 | include hc R split in |
| 46 | theorem coordinateKernel_eq_parameterSubgroup (i : I) : |
| 47 | Kernel.Base.fixedKernelFamily (P := Over.mk (𝟙 (Spec (.of k)))) (C.kernel (e i).val).inclusion = |
| 48 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G (Over.mk f) (F i) := by |
| 49 | apply SplitKernelParameterComparison.splitKernel_eq_parameterSubgroup f G split (C.kernel (e i).val) (F i) (R i) |
| 50 | intro a |
| 51 | exact coordinateKernel_membership C r e F hc i (Additive.ofMul a) |
| 52 | |
| 53 | end AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection |
| 54 | |
| 55 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection.Split |
| 56 | |
| 57 | /-! The actual finite constant splitting itself supplies all finite |
| 58 | etale geometry needed for detecting a coordinate kernel. -/ |
| 59 | |
| 60 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 61 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 62 | |
| 63 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 64 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection |
| 65 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.pulledbackGroup_commutative |
| 66 | |
| 67 | theorem finite_etale_of_constantIso {S : Scheme} {B : Type} [Finite B] {H : Over S} |
| 68 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S B ≅ H) : IsFinite H.hom ∧ Etale H.hom := by |
| 69 | have : IsIso e.inv.left := (Over.forget _).map_isIso e.inv |
| 70 | rw [← e.inv.w] |
| 71 | exact ⟨inferInstance, inferInstance⟩ |
| 72 | |
| 73 | variable {S : Scheme} {k I B : Type} [Field k] [Finite B] |
| 74 | {f : Spec (.of k) ⟶ S} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 75 | {q : ℕ} [Fact q.Prime] [Module (ZMod q) (Additive (Over.mk f ⟶ G.X))] |
| 76 | (C : GenericActiveCoordinateData.ActiveCoordinateData f G q) (r : ℕ) |
| 77 | (e : I ≃ {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // Module.finrank (ZMod q) J = r}) |
| 78 | (F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X (Over.mk f)) |
| 79 | (hc : ∀ i a, C.coordinates.toAddEquiv a ∈ (e i).val ↔ |
| 80 | a.toMul ∈ (F i).points (Over.mk f) (𝟙 _)) |
| 81 | (R : ∀ i, (F i).Model) |
| 82 | (split : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) B ≅ (Over.pullback f).obj G.X) |
| 83 | |
| 84 | include hc R split in |
| 85 | theorem coordinateKernel_eq_of_split (i : I) : |
| 86 | Kernel.Base.fixedKernelFamily (P := Over.mk (𝟙 (Spec (.of k)))) (C.kernel (e i).val).inclusion = |
| 87 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G (Over.mk f) (F i) := by |
| 88 | have hg := finite_etale_of_constantIso split |
| 89 | let : IsFinite ((Over.pullback f).obj G.X).hom := hg.1 |
| 90 | let : Etale ((Over.pullback f).obj G.X).hom := hg.2 |
| 91 | exact coordinateKernel_eq_parameterSubgroup C r e F hc R split i |
| 92 | |
| 93 | end AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection.Split |
| 94 | |
| 95 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection.Parameters |
| 96 | |
| 97 | /-! Index the original parameter enumeration by its actual coordinate |
| 98 | record, retaining the constructed subgroup models and membership proof. -/ |
| 99 | |
| 100 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 101 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 102 | |
| 103 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 104 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection.Split |
| 105 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.pulledbackGroup_commutative |
| 106 | |
| 107 | variable {S : Scheme} {k : Type} [Field k] |
| 108 | {f : Spec (.of k) ⟶ S} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 109 | {q : ℕ} [Fact q.Prime] [Module (ZMod q) (Additive (Over.mk f ⟶ G.X))] |
| 110 | |
| 111 | structure CoordinateKernelParameters (C : GenericActiveCoordinateData.ActiveCoordinateData f G q) (r : ℕ) (I : Type) |
| 112 | (F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X (Over.mk f)) where |
| 113 | enumeration : I ≃ |
| 114 | {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // Module.finrank (ZMod q) J = r} |
| 115 | membership : ∀ i a, C.coordinates.toAddEquiv a ∈ (enumeration i).val ↔ |
| 116 | a.toMul ∈ (F i).points (Over.mk f) (𝟙 _) |
| 117 | model : ∀ i, (F i).Model |
| 118 | |
| 119 | namespace CoordinateKernelParameters |
| 120 | |
| 121 | variable {C : GenericActiveCoordinateData.ActiveCoordinateData f G q} {r : ℕ} {I B : Type} |
| 122 | {F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X (Over.mk f)} |
| 123 | (D : CoordinateKernelParameters C r I F) [Finite B] |
| 124 | (split : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) B ≅ (Over.pullback f).obj G.X) |
| 125 | |
| 126 | include split in |
| 127 | theorem kernel_eq (i : I) : |
| 128 | Kernel.Base.fixedKernelFamily (P := Over.mk (𝟙 (Spec (.of k)))) (C.kernel (D.enumeration i).val).inclusion = |
| 129 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G (Over.mk f) (F i) := |
| 130 | Split.coordinateKernel_eq_of_split C r D.enumeration F D.membership D.model split i |
| 131 | |
| 132 | end CoordinateKernelParameters |
| 133 | |
| 134 | end AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection.Parameters |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI |