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.CentralAction.PoweredDualQuotients |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.QuotientPoincareDescent |
| 3 | |
| 4 | /-! # Powered Side Finite -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.AbelianScheme.CentralAction.PoweredSideFinite |
| 11 | |
| 12 | /-! The powered scalar quotient is an isomorphism of the complete PEL |
| 13 | family, including the raw Poincare bundle and full finite marking. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.NumberField |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [IsCMField E] |
| 23 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 24 | |
| 25 | theorem fiber_scalar_quotient_poincare |
| 26 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) |
| 27 | (β : 𝓞 E) (n : ℕ) (hn : n ≠ 0) |
| 28 | (hnorm : β * IsCMField.ringOfIntegersComplexConj E β = n) |
| 29 | (hmark : Marking.Construction.levelReduction E D.level β = 1) |
| 30 | {k : Type} [Field k] [IsAlgClosed k] (b : Spec (.of k) ⟶ Spec (.of K)) |
| 31 | (x y : D.GeometricPoint b) |
| 32 | (f : TateComparison.PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b y) n) |
| 33 | (j : (D.fiberFamily b y).abelian.scheme ≅ (D.fiberFamily b x).abelian.scheme) |
| 34 | [IsMonHom j.hom] (hj : f.isogeny.hom ≫ j.hom = Scalar.Construction.scalarMap (D.fiberFamily b x) β) : |
| 35 | QuotientPoincareDescent.Construction.QuotientPoincareCompatible (D.fiberFamily b x) (D.fiberFamily b y) j := by |
| 36 | let g := PoweredQuotients.Construction.fiberScalarIsogeny D hgeometry β n hn hnorm hmark b x |
| 37 | have hd := PoweredDualQuotients.Construction.fiber_scalar_quotient_dual_polarization D hgeometry β n hn hnorm hmark b x y f j hj |
| 38 | have hpol := (GenericModuli.Construction.generic_family_polarizationType D hgeometry).pullback x.left |
| 39 | have hf : Etale f.isogeny.hom.left := PolarizationEtale.Construction.pelIsogeny_etale_of_polarization_type f |
| 40 | D.reference.polarizationType hpol (ScalarIsogeny.Construction.nat_unit_on_charZero_scheme b n hn) |
| 41 | have hfac : f.isogeny.hom ≫ j.hom = g.isogeny.hom := |
| 42 | hj.trans (PoweredQuotients.Construction.fiberScalarIsogeny_hom D hgeometry β n hn hnorm hmark b x).symm |
| 43 | exact QuotientPoincareDescent.Construction.quotient_poincare_descent f g j hfac hd |
| 44 | |
| 45 | theorem exists_powered_side_pel_isomorphisms |
| 46 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) |
| 47 | (hgood : D.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) |
| 48 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (A : Interface.Construction.ActionData D) |
| 49 | (hTateComparison : Interface.Construction.Conclusion D hgeometry hgood hIsogenyQuotient A) |
| 50 | (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) (side : Fin s → Bool) : |
| 51 | ∃ n : ℕ, 0 < n ∧ |
| 52 | ∀ (k : Type) [Field k] [IsAlgClosed k] (b : Spec (.of k) ⟶ Spec (.of K)) |
| 53 | (x : D.GeometricPoint b), |
| 54 | ∃ y : D.GeometricPoint b, |
| 55 | y = x ≫ Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison |
| 56 | (PoweredKernels.Construction.sideChosenExponent side) 1 (PoweredKernels.Construction.sideChosenExponent_le_one side) ^ n ∧ |
| 57 | Nonempty (TateComparison.PELModuli.PELFamilyIso (D.fiberFamily b y) (D.fiberFamily b x)) := by |
| 58 | obtain ⟨n, β, hn, _, hnorm, hmark, hh⟩ := |
| 59 | PoweredQuotients.Construction.exists_powered_side_scalar_quotients D hgeometry hgood hdegree hIsogenyQuotient A hTateComparison hFiniteness side |
| 60 | refine ⟨n, hn, ?_⟩ |
| 61 | intro k _ _ b x |
| 62 | obtain ⟨y, f, j, hy, hj, hfac, hact, hlevel⟩ := hh k b x |
| 63 | have hnq : q ^ n ≠ 0 := pow_ne_zero _ (Fact.out : q.Prime).ne_zero |
| 64 | have hnorm' : β * IsCMField.ringOfIntegersComplexConj E β = (q ^ n : ℕ) := by |
| 65 | simpa only [Nat.cast_pow] using hnorm |
| 66 | have hd := PoweredDualQuotients.Construction.fiber_scalar_quotient_dual_polarization D hgeometry β (q ^ n) hnq |
| 67 | hnorm' hmark b x y f j hfac |
| 68 | have hp := fiber_scalar_quotient_poincare D hgeometry β (q ^ n) hnq hnorm' hmark b x y f j hfac |
| 69 | refine ⟨y, hy, ⟨{ |
| 70 | abelian := j |
| 71 | dual := (DualPicard.Construction.dualUnderlyingIso (D.fiberFamily b y).dual (D.fiberFamily b x).dual j).symm |
| 72 | abelianGroup := hj |
| 73 | dualGroup := hd.1 |
| 74 | polarization := hd.2 |
| 75 | poincare := hp |
| 76 | equivariant := hact |
| 77 | marking := hlevel }⟩⟩ |
| 78 | |
| 79 | end Construction |
| 80 | |
| 81 | end AlgebraicGeometry.AbelianScheme.CentralAction.PoweredSideFinite |
| 82 | |
| 83 | namespace AlgebraicGeometry.AbelianScheme.CentralAction.PoweredSideFinite.Construction |
| 84 | open _root_.CategoryTheory |
| 85 | open _root_.CategoryTheory.Limits |
| 86 | open _root_.AlgebraicGeometry |
| 87 | open _root_.NumberField |
| 88 | section |
| 89 | |
| 90 | /-! A uniform principal scalar power fixes the complete fine moduli |
| 91 | scheme, including every component, by the proved full PEL isomorphisms. -/ |
| 92 | |
| 93 | variable {E K : Type} [Field E] [NumberField E] [IsCMField E] |
| 94 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 95 | |
| 96 | theorem exists_powered_side_identity |
| 97 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) |
| 98 | (hgood : D.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) |
| 99 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (A : Interface.Construction.ActionData D) |
| 100 | (hTateComparison : Interface.Construction.Conclusion D hgeometry hgood hIsogenyQuotient A) |
| 101 | (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) (side : Fin s → Bool) : |
| 102 | ∃ n : ℕ, 0 < n ∧ |
| 103 | Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison |
| 104 | (PoweredKernels.Construction.sideChosenExponent side) 1 (PoweredKernels.Construction.sideChosenExponent_le_one side) ^ n = 1 := by |
| 105 | obtain ⟨n, hn, hh⟩ := |
| 106 | exists_powered_side_pel_isomorphisms D hgeometry hgood hdegree hIsogenyQuotient A hTateComparison hFiniteness side |
| 107 | refine ⟨n, hn, ?_⟩ |
| 108 | have : Smooth D.model.space.hom := hgeometry.smooth |
| 109 | have : IsProper D.model.space.hom := hgeometry.proper |
| 110 | have : Smooth D.space.hom := inferInstanceAs |
| 111 | (Smooth (pullback.snd D.model.space.hom D.generic)) |
| 112 | have : IsProper D.space.hom := inferInstanceAs |
| 113 | (IsProper (pullback.snd D.model.space.hom D.generic)) |
| 114 | have : IsReduced D.space.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced D.space.hom |
| 115 | apply TateComparison.GeometricExt.over_hom_ext_geometric |
| 116 | intro k _ _ b x |
| 117 | have : IsReduced (Over.mk b).left := inferInstanceAs (IsReduced (Spec (.of k))) |
| 118 | obtain ⟨y, hy, ⟨e⟩⟩ := hh k b x |
| 119 | have hxy : y = x := GenericModuli.Construction.generic_classifying_maps_eq_of_pelIso D hgeometry y x e |
| 120 | exact hy.symm.trans (hxy.trans (Category.comp_id x).symm) |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! All integral central moduli maps are commuting products of the |
| 125 | selected-side maps, so they have finite order on the whole moduli scheme. -/ |
| 126 | |
| 127 | variable {E K : Type} [Field E] [NumberField E] [IsCMField E] |
| 128 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 129 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) |
| 130 | (hgood : D.IsGoodCompletelySplitPrime) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (A : Interface.Construction.ActionData D) |
| 131 | (hTateComparison : Interface.Construction.Conclusion D hgeometry hgood hIsogenyQuotient A) |
| 132 | |
| 133 | theorem natCentralMap_commute (a b : Fin s → ℕ) (h k : ℕ) |
| 134 | (ha : ∀ v, a v ≤ h) (hb : ∀ v, b v ≤ k) : |
| 135 | Commute (Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison a h ha) |
| 136 | (Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison b k hb) := by |
| 137 | change _ ≫ _ = _ ≫ _ |
| 138 | rw [Automorphisms.Construction.natCentralMap_comp, Automorphisms.Construction.natCentralMap_comp] |
| 139 | simp only [Nat.add_comm] |
| 140 | |
| 141 | theorem natCentralMap_isOfFinOrder |
| 142 | (hdegree : Module.finrank ℚ E = 2 * s) (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) |
| 143 | (a : Fin s → ℕ) (h : ℕ) (ha : ∀ v, a v ≤ h) : |
| 144 | IsOfFinOrder (Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison a h ha) := by |
| 145 | classical |
| 146 | induction h generalizing a with |
| 147 | | zero => |
| 148 | have hzero : a = fun _ => 0 := funext (fun v => Nat.eq_zero_of_le_zero (ha v)) |
| 149 | subst a |
| 150 | rw [Automorphisms.Construction.natCentralMap_zero] |
| 151 | exact isOfFinOrder_iff_pow_eq_one.mpr ⟨1, Nat.one_pos, one_pow 1⟩ |
| 152 | | succ h ih => |
| 153 | let side : Fin s → Bool := fun v => decide (a v = 0) |
| 154 | let b := PoweredKernels.Construction.sideChosenExponent side |
| 155 | let c : Fin s → ℕ := fun v => a v - b v |
| 156 | have hb (v : Fin s) : b v ≤ a v := by |
| 157 | by_cases hz : a v = 0 |
| 158 | · simp [b, side, PoweredKernels.Construction.sideChosenExponent, hz] |
| 159 | · simp only [b, side, PoweredKernels.Construction.sideChosenExponent, decide_eq_false hz, Bool.false_eq_true, |
| 160 | ↓reduceIte] |
| 161 | omega |
| 162 | have hc (v : Fin s) : c v ≤ h := by |
| 163 | have hav := ha v |
| 164 | by_cases hz : a v = 0 |
| 165 | · simp [c, hz] |
| 166 | · simp only [c, b, side, PoweredKernels.Construction.sideChosenExponent, decide_eq_false hz, Bool.false_eq_true, |
| 167 | ↓reduceIte] |
| 168 | omega |
| 169 | have hbf : IsOfFinOrder (Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison b 1 |
| 170 | (PoweredKernels.Construction.sideChosenExponent_le_one side)) := |
| 171 | isOfFinOrder_iff_pow_eq_one.mpr |
| 172 | (exists_powered_side_identity D hgeometry hgood hdegree hIsogenyQuotient A hTateComparison hFiniteness side) |
| 173 | have hcf := ih c hc |
| 174 | have hf := (natCentralMap_commute D hgeometry hgood hIsogenyQuotient A hTateComparison b c 1 h |
| 175 | (PoweredKernels.Construction.sideChosenExponent_le_one side) hc).isOfFinOrder_mul hbf hcf |
| 176 | change IsOfFinOrder (End.of (Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison c h hc ≫ |
| 177 | Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison b 1 (PoweredKernels.Construction.sideChosenExponent_le_one side))) at hf |
| 178 | rw [Automorphisms.Construction.natCentralMap_comp] at hf |
| 179 | have hsum : (fun v => c v + b v) = a := funext (fun v => Nat.sub_add_cancel (hb v)) |
| 180 | simpa only [hsum] using hf |
| 181 | |
| 182 | end AlgebraicGeometry.AbelianScheme.CentralAction.PoweredSideFinite.Construction |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI |