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.AbelianScheme.FrobeniusKernel.CMPointsKernels |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsSplittingPoints |
| 3 | |
| 4 | /-! # CM Points Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsAction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Explicit coordinates of the full embedded native paired subgroup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 20 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) |
| 21 | variable (hsplit : j.HasSplitCoordinates iota) |
| 22 | variable {k : Type} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | variable (PEL : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 24 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) PEL.abelian) |
| 25 | variable (n s : ℕ) (labels : (Fin s × Bool) ≃ Gal(E/ℚ)) |
| 26 | variable (P : ∀ v : Fin s, CartierModel.Construction.CartierCoordinates (.of k) |
| 27 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n)) |
| 28 | variable (H : ∀ v : Fin s, FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 29 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n)) |
| 30 | variable (hdual : ∀ v : Fin s, PELModuli.CMPoints.DualityPairing.PolarizationDuality PEL ρ |
| 31 | (j.localCharacter iota (labels (v, false))) (j.localCharacter iota (labels (v, true)))) |
| 32 | |
| 33 | abbrev l45PairedChosenFamily (v : Fin s) := |
| 34 | (P v).pairedKernel (H v).coordinates (H v).inclusion |
| 35 | |
| 36 | abbrev l45ChosenOppositeInclusion (v : Fin s) := |
| 37 | (P v).oppositeInclusion (H v).coordinates (H v).inclusion |
| 38 | (CMPointsAt.Construction.l45PairingAtLevel j iota hsplit PEL ρ (labels (v, false)) (labels (v, true)) (hdual v) n (P v)) |
| 39 | |
| 40 | abbrev l45FullChosenBlockMap := |
| 41 | BlockProducts.Construction.groupBlockProductMap s (l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H) |
| 42 | (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit PEL.abelian ρ n s labels) |
| 43 | (fun v => (H v).inclusion ⊗ₘ l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v) |
| 44 | |
| 45 | def l45FullChosenPointBlocks (T : Over (Spec (.of k))) |
| 46 | (a : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X) := |
| 47 | CMPointsSplitting.Construction.l45FullBlockCharacters j iota hsplit PEL.abelian ρ n s labels T |
| 48 | (a ≫ (l45FullChosenBlockMap j iota hsplit PEL ρ n s labels P H hdual).hom.hom) |
| 49 | |
| 50 | local instance : Fintype Gal(E/ℚ) := Fintype.ofFinite _ |
| 51 | |
| 52 | theorem l45FullChosenKernelInclusion_point (T : Over (Spec (.of k))) |
| 53 | (a : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X) : |
| 54 | a ≫ CMPointsKernels.Construction.l45FullChosenKernelInclusion j iota hsplit PEL ρ n s labels P H hdual = |
| 55 | ∏ τ : Gal(E/ℚ), (l45FullChosenPointBlocks j iota hsplit PEL ρ n s labels P H hdual T a τ).val := by |
| 56 | let f := (l45FullChosenBlockMap j iota hsplit PEL ρ n s labels P H hdual).hom.hom |
| 57 | let b := (CMPointsSplitting.Construction.l45FullTorsionSplitting j iota hsplit PEL.abelian ρ n s labels).inv.hom.hom |
| 58 | change a ≫ ((f ≫ b) ≫ PEL.abelian.torsionInclusion (q ^ n)) = _ |
| 59 | exact (Category.assoc a (f ≫ b) (PEL.abelian.torsionInclusion (q ^ n))).symm.trans |
| 60 | ((congrArg (fun z => z ≫ PEL.abelian.torsionInclusion (q ^ n)) |
| 61 | (Category.assoc a f b).symm).trans |
| 62 | (CMPointsSplittingPoints.Construction.l45FullTorsionSplitting_inv_inclusion j iota hsplit PEL.abelian ρ n s labels T (a ≫ f))) |
| 63 | |
| 64 | theorem l45FullChosenPointBlocks_false (T : Over (Spec (.of k))) |
| 65 | (a : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X) (v : Fin s) : |
| 66 | l45FullChosenPointBlocks j iota hsplit PEL ρ n s labels P H hdual T a (labels (v, false)) = |
| 67 | (CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit PEL.abelian ρ n (labels (v, false))).hom.app (op T) |
| 68 | ((ProductPoints.Construction.groupBlockProductPointsEquiv s (l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H) |
| 69 | T a v ≫ fst _ _) ≫ (H v).inclusion.hom.hom) := by |
| 70 | let D := l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H |
| 71 | let B := CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit PEL.abelian ρ n s labels |
| 72 | let f := fun v => (H v).inclusion ⊗ₘ |
| 73 | l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v |
| 74 | have hm := ProductPoints.Construction.groupBlockProductPointsEquiv_map s D B f T a v |
| 75 | let b := ProductPoints.Construction.groupBlockProductPointsEquiv s D T a v |
| 76 | have hp := (congrArg (fun z => z ≫ fst |
| 77 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n).X |
| 78 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, true)) n).X) hm).trans |
| 79 | ((Category.assoc b (f v).hom.hom (fst _ _)).trans |
| 80 | ((congrArg (fun z => b ≫ z) (tensorHom_fst (H v).inclusion.hom.hom |
| 81 | (l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v).hom.hom)).trans |
| 82 | (Category.assoc b (fst _ _) (H v).inclusion.hom.hom).symm)) |
| 83 | exact (CMPointsSplitting.Construction.l45FullBlockCharacters_false j iota hsplit PEL.abelian ρ n s labels T |
| 84 | (a ≫ (l45FullChosenBlockMap j iota hsplit PEL ρ n s labels P H hdual).hom.hom) v).trans |
| 85 | (congrArg ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit PEL.abelian ρ n (labels (v, false))).hom.app (op T)) hp) |
| 86 | |
| 87 | theorem l45FullChosenPointBlocks_true (T : Over (Spec (.of k))) |
| 88 | (a : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X) (v : Fin s) : |
| 89 | l45FullChosenPointBlocks j iota hsplit PEL ρ n s labels P H hdual T a (labels (v, true)) = |
| 90 | (CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit PEL.abelian ρ n (labels (v, true))).hom.app (op T) |
| 91 | ((ProductPoints.Construction.groupBlockProductPointsEquiv s (l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H) |
| 92 | T a v ≫ snd _ _) ≫ |
| 93 | (l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v).hom.hom) := by |
| 94 | let D := l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H |
| 95 | let B := CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit PEL.abelian ρ n s labels |
| 96 | let f := fun v => (H v).inclusion ⊗ₘ |
| 97 | l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v |
| 98 | have hm := ProductPoints.Construction.groupBlockProductPointsEquiv_map s D B f T a v |
| 99 | let b := ProductPoints.Construction.groupBlockProductPointsEquiv s D T a v |
| 100 | have hp := (congrArg (fun z => z ≫ snd |
| 101 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n).X |
| 102 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, true)) n).X) hm).trans |
| 103 | ((Category.assoc b (f v).hom.hom (snd _ _)).trans |
| 104 | ((congrArg (fun z => b ≫ z) (tensorHom_snd (H v).inclusion.hom.hom |
| 105 | (l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v).hom.hom)).trans |
| 106 | (Category.assoc b (snd _ _) |
| 107 | (l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual v).hom.hom).symm)) |
| 108 | exact (CMPointsSplitting.Construction.l45FullBlockCharacters_true j iota hsplit PEL.abelian ρ n s labels T |
| 109 | (a ≫ (l45FullChosenBlockMap j iota hsplit PEL ρ n s labels P H hdual).hom.hom) v).trans |
| 110 | (congrArg ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit PEL.abelian ρ n (labels (v, true))).hom.app (op T)) hp) |
| 111 | |
| 112 | end |
| 113 | |
| 114 | /-! |
| 115 | The full native paired kernel is stable under the integral action. |
| 116 | Each chosen and opposite factor is a subgroup of its actual scalar |
| 117 | block; their proved stability assembles on arbitrary test schemes. |
| 118 | -/ |
| 119 | |
| 120 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 121 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 122 | open scoped _root_.CategoryTheory.MonObj |
| 123 | |
| 124 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 125 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 126 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) |
| 127 | variable (hsplit : j.HasSplitCoordinates iota) |
| 128 | variable {k : Type} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 129 | variable (PEL : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 130 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) PEL.abelian) |
| 131 | variable (n s : ℕ) (labels : (Fin s × Bool) ≃ Gal(E/ℚ)) |
| 132 | variable (P : ∀ v : Fin s, CartierModel.Construction.CartierCoordinates (.of k) |
| 133 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n)) |
| 134 | variable (H : ∀ v : Fin s, FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 135 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n)) |
| 136 | variable (hdual : ∀ v : Fin s, PELModuli.CMPoints.DualityPairing.PolarizationDuality PEL ρ |
| 137 | (j.localCharacter iota (labels (v, false))) (j.localCharacter iota (labels (v, true)))) |
| 138 | |
| 139 | local instance : Fintype Gal(E/ℚ) := Fintype.ofFinite _ |
| 140 | |
| 141 | theorem l45FullChosenKernel_stable (r : NumberField.RingOfIntegers E) |
| 142 | (T : Over (Spec (.of k))) |
| 143 | (a : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X) : |
| 144 | ∃ a' : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit PEL ρ n s labels P H).X, |
| 145 | a' ≫ CMPointsKernels.Construction.l45FullChosenKernelInclusion j iota hsplit PEL ρ n s labels P H hdual = |
| 146 | (a ≫ CMPointsKernels.Construction.l45FullChosenKernelInclusion j iota hsplit PEL ρ n s labels P H hdual) ≫ ρ.map r := by |
| 147 | classical |
| 148 | let D := l45PairedChosenFamily j iota hsplit PEL ρ n s labels P H |
| 149 | let ec := ProductPoints.Construction.groupBlockProductPointsEquiv s D T |
| 150 | let J := fun v => (P v).annihilatorGroup (H v).coordinates (H v).inclusion |
| 151 | let f := l45ChosenOppositeInclusion j iota hsplit PEL ρ n s labels P H hdual |
| 152 | have h0 := fun v => CMPointsAt.Construction.l45BlockSubgroup_stable j iota hsplit PEL.abelian ρ n |
| 153 | (labels (v, false)) (H v).group (H v).inclusion r T (ec a v ≫ fst (H v).group.X (J v).X) |
| 154 | have h1 := fun v => CMPointsAt.Construction.l45BlockSubgroup_stable j iota hsplit PEL.abelian ρ n |
| 155 | (labels (v, true)) (J v) (f v) r T (ec a v ≫ snd (H v).group.X (J v).X) |
| 156 | choose b0 hb0 using h0 |
| 157 | choose b1 hb1 using h1 |
| 158 | let a' := ec.symm (fun v => lift (b0 v) (b1 v)) |
| 159 | have hcoord (v : Fin s) : ec a' v = lift (b0 v) (b1 v) := |
| 160 | congrFun (ec.apply_symm_apply _) v |
| 161 | have hc : ∀ τ : Gal(E/ℚ), |
| 162 | (l45FullChosenPointBlocks j iota hsplit PEL ρ n s labels P H hdual T a' τ).val = |
| 163 | (l45FullChosenPointBlocks j iota hsplit PEL ρ n s labels P H hdual T a τ).val ≫ ρ.map r := by |
| 164 | intro τ |
| 165 | obtain ⟨⟨v, b⟩, rfl⟩ := labels.surjective τ |
| 166 | cases b with |
| 167 | | false => |
| 168 | let inc := (H v).inclusion.hom.hom |
| 169 | let bi := CMPointsAt.Construction.l45BlockInclusion j iota hsplit PEL.abelian ρ n (labels (v, false)) |
| 170 | have hp : ec a' v ≫ fst (H v).group.X (J v).X = b0 v := |
| 171 | (congrArg (fun z => z ≫ fst (H v).group.X (J v).X) (hcoord v)).trans (lift_fst _ _) |
| 172 | have hs := congrArg Subtype.val |
| 173 | (l45FullChosenPointBlocks_false j iota hsplit PEL ρ n s labels P H hdual T a v) |
| 174 | have ht := congrArg Subtype.val |
| 175 | (l45FullChosenPointBlocks_false j iota hsplit PEL ρ n s labels P H hdual T a' v) |
| 176 | exact ht.trans ((congrArg (fun z => (z ≫ inc) ≫ bi) hp).trans |
| 177 | ((Category.assoc (b0 v) inc bi).trans ((hb0 v).trans |
| 178 | (congrArg (fun z => z ≫ ρ.map r) |
| 179 | ((Category.assoc (ec a v ≫ fst (H v).group.X (J v).X) inc bi).symm.trans hs.symm))))) |
| 180 | | true => |
| 181 | let inc := (f v).hom.hom |
| 182 | let bi := CMPointsAt.Construction.l45BlockInclusion j iota hsplit PEL.abelian ρ n (labels (v, true)) |
| 183 | have hp : ec a' v ≫ snd (H v).group.X (J v).X = b1 v := |
| 184 | (congrArg (fun z => z ≫ snd (H v).group.X (J v).X) (hcoord v)).trans (lift_snd _ _) |
| 185 | have hs := congrArg Subtype.val |
| 186 | (l45FullChosenPointBlocks_true j iota hsplit PEL ρ n s labels P H hdual T a v) |
| 187 | have ht := congrArg Subtype.val |
| 188 | (l45FullChosenPointBlocks_true j iota hsplit PEL ρ n s labels P H hdual T a' v) |
| 189 | exact ht.trans ((congrArg (fun z => (z ≫ inc) ≫ bi) hp).trans |
| 190 | ((Category.assoc (b1 v) inc bi).trans ((hb1 v).trans |
| 191 | (congrArg (fun z => z ≫ ρ.map r) |
| 192 | ((Category.assoc (ec a v ≫ snd (H v).group.X (J v).X) inc bi).symm.trans hs.symm))))) |
| 193 | refine ⟨a', ?_⟩ |
| 194 | exact (l45FullChosenKernelInclusion_point j iota hsplit PEL ρ n s labels P H hdual T a').trans |
| 195 | ((Finset.prod_congr rfl (fun τ _ => hc τ)).trans |
| 196 | ((map_prod (IsMonHom.monoidHom (ρ.map r) T) _ _).symm.trans |
| 197 | (congrArg (fun z => z ≫ ρ.map r) |
| 198 | (l45FullChosenKernelInclusion_point j iota hsplit PEL ρ n s labels P H hdual T a).symm))) |
| 199 | |
| 200 | variable [IsAlgClosed k] |
| 201 | |
| 202 | /-- The integral action on the actual full-kernel quotient is descended |
| 203 | from the source; subgroup stability is a theorem above. -/ |
| 204 | def l45FullChosenQuotientAction : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) |
| 205 | (CMPointsKernels.Construction.l45FullChosenKernelQuotient j iota hsplit PEL ρ n s labels P H hdual).abelian := |
| 206 | (CMPointsKernels.Construction.l45FullChosenKernelQuotient j iota hsplit PEL ρ n s labels P H hdual).action ρ |
| 207 | (l45FullChosenKernel_stable j iota hsplit PEL ρ n s labels P H hdual) |
| 208 | |
| 209 | theorem l45FullChosenQuotientAction_intertwines (r : NumberField.RingOfIntegers E) : |
| 210 | (CMPointsKernels.Construction.l45FullChosenQuotientIsogeny j iota hsplit PEL ρ n s labels P H hdual).hom ≫ |
| 211 | (l45FullChosenQuotientAction j iota hsplit PEL ρ n s labels P H hdual).map r = |
| 212 | ρ.map r ≫ (CMPointsKernels.Construction.l45FullChosenQuotientIsogeny j iota hsplit PEL ρ n s labels P H hdual).hom := |
| 213 | QuotientActionBase.Construction.quotientAction_intertwines ρ |
| 214 | (CMPointsKernels.Construction.l45FullChosenQuotientIsogeny j iota hsplit PEL ρ n s labels P H hdual) |
| 215 | ((CMPointsKernels.Construction.l45FullChosenKernelQuotient j iota hsplit PEL ρ n s labels P H hdual).actionStableKernel_of_subgroup |
| 216 | ρ (l45FullChosenKernel_stable j iota hsplit PEL ρ n s labels P H hdual)) r |
| 217 | |
| 218 | end |
| 219 | |
| 220 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsAction.Construction |