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.PELModuli.IntegralModel.Arithmetic.Albanese |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConstructionCapstone |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.MultiplicationQuotient |
| 4 | |
| 5 | /-! # Albanese Extension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.AlbaneseExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Construct the arithmetic Albanese and its exact complex realization |
| 14 | directly from the native source geometry. Construction and HodgeComparison are proved inputs. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | variable {R : Type} [Field R] [NumberField R] [Algebra R ℂ] |
| 21 | |
| 22 | structure ArithmeticAlbaneseRealization |
| 23 | (X : Over (Spec (.of R))) (x₀ : 𝟙_ (Over (Spec (.of R))) ⟶ X) |
| 24 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 25 | (a : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X ⟶ A.toOver) where |
| 26 | base : Base.ArithmeticBaseExtension R (algebraMap R ℂ) |
| 27 | model : Quotients.FiniteDescent.AbelianQuotient.Construction.AbelianScheme (Spec (.of base.extension.carrier)) |
| 28 | map : (Over.pullback base.fieldExtension).obj X ⟶ model.toOver |
| 29 | sourceIso : (Over.pullback (Spec.map (CommRingCat.ofHom base.embedding))).obj |
| 30 | ((Over.pullback base.fieldExtension).obj X) ≅ |
| 31 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X |
| 32 | targetIso : (Over.pullback (Spec.map (CommRingCat.ofHom base.embedding))).obj model.toOver ≅ A.toOver |
| 33 | groupComparison : IsMonHom targetIso.hom |
| 34 | pointed : Section.Comparisons.mappedSection (Over.pullback base.fieldExtension) x₀ ≫ map = 1 |
| 35 | sourcePoint : Section.Comparisons.mappedSection (Over.pullback (Spec.map (CommRingCat.ofHom base.embedding))) |
| 36 | (Section.Comparisons.mappedSection (Over.pullback base.fieldExtension) x₀) ≫ sourceIso.hom = |
| 37 | Section.Comparisons.mappedSection (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) x₀ |
| 38 | comparison : (Over.pullback (Spec.map (CommRingCat.ofHom base.embedding))).map map ≫ targetIso.hom = |
| 39 | sourceIso.hom ≫ a |
| 40 | |
| 41 | theorem arithmetic_albanese_realization_exists |
| 42 | (X : Over (Spec (.of R))) [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 43 | (x₀ : 𝟙_ (Over (Spec (.of R))) ⟶ X) |
| 44 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation |
| 45 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X).left |
| 46 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X).hom) |
| 47 | (N : ℕ) (hN : N ≠ 0) : |
| 48 | ∃ (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 49 | (a : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X ⟶ A.toOver) |
| 50 | (D : ArithmeticAlbaneseRealization X x₀ A a), |
| 51 | Albanese.IsAlbaneseMap (AlbaneseArithmeticIsogeny.complexSourcePresentation X P) |
| 52 | (Section.Comparisons.mappedSection (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) x₀) A a ∧ |
| 53 | D.base.denominator = N ∧ |
| 54 | Function.Bijective (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 |
| 55 | ((Over.pullback (Spec.map (CommRingCat.ofHom D.base.embedding))).map D.map)).hom := by |
| 56 | let V := Albanese.complexSourceVariety X P |
| 57 | let x : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ V.toOver := |
| 58 | Section.Comparisons.mappedSection (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) x₀ |
| 59 | have : ConnectedSpace V.presentation.carrier := inferInstanceAs (ConnectedSpace V.carrier) |
| 60 | obtain ⟨A, a, ha⟩ := ConstructionCapstone.provedConstructionInput V.presentation x |
| 61 | obtain ⟨B, Y, r, eX, eY, hB, heY, hp, hs, hr⟩ := |
| 62 | EffectiveAlbaneseDescent.effective_arithmetic_albanese_descent X x₀ P A a ha N hN |
| 63 | let D : ArithmeticAlbaneseRealization X x₀ A a := { |
| 64 | base := B |
| 65 | model := Y |
| 66 | map := r |
| 67 | sourceIso := eX |
| 68 | targetIso := eY |
| 69 | groupComparison := heY |
| 70 | pointed := hp |
| 71 | sourcePoint := hs |
| 72 | comparison := hr } |
| 73 | exact ⟨A, a, D, ha, hB, |
| 74 | Albanese.arithmetic_albanese_h1_of_exact_comparison X x₀ P A a ha B Y.toOver r eX eY hr⟩ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! An arithmetic Albanese realization extends to a common finite field |
| 79 | while retaining its actual pointed map and specified complex realization. -/ |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false |
| 82 | set_option backward.isDefEq.respectTransparency.types false |
| 83 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 84 | open _root_.CategoryTheory.MonoidalCategory |
| 85 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 86 | |
| 87 | def ArithmeticAlbaneseRealization.extend |
| 88 | {R : Type} [Field R] [NumberField R] [Algebra R ℂ] |
| 89 | {X : Over (Spec (.of R))} {x₀ : 𝟙_ (Over (Spec (.of R))) ⟶ X} |
| 90 | {A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 91 | {a : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X ⟶ A.toOver} |
| 92 | (D : ArithmeticAlbaneseRealization X x₀ A a) |
| 93 | (B : Base.ArithmeticBaseExtension R (algebraMap R ℂ)) |
| 94 | (φ : D.base.extension.carrier →+* B.extension.carrier) |
| 95 | (hφ : φ.comp (algebraMap R D.base.extension.carrier) = algebraMap R B.extension.carrier) |
| 96 | (hφC : B.embedding.comp φ = D.base.embedding) : |
| 97 | ArithmeticAlbaneseRealization X x₀ A a := by |
| 98 | let α := Spec.map (CommRingCat.ofHom φ) |
| 99 | let β := Spec.map (CommRingCat.ofHom B.embedding) |
| 100 | have hα : α ≫ D.base.fieldExtension = B.fieldExtension := by |
| 101 | change Spec.map (CommRingCat.ofHom φ) ≫ |
| 102 | Spec.map (CommRingCat.ofHom (algebraMap R D.base.extension.carrier)) = |
| 103 | Spec.map (CommRingCat.ofHom (algebraMap R B.extension.carrier)) |
| 104 | rw [← Spec.map_comp] |
| 105 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) hφ |
| 106 | have hβ : β ≫ α = Spec.map (CommRingCat.ofHom D.base.embedding) := by |
| 107 | change Spec.map (CommRingCat.ofHom B.embedding) ≫ Spec.map (CommRingCat.ofHom φ) = _ |
| 108 | rw [← Spec.map_comp] |
| 109 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) hφC |
| 110 | let F := Over.pullback D.base.fieldExtension |
| 111 | let G := Over.pullback α |
| 112 | let H := Over.pullback B.fieldExtension |
| 113 | let Q := Over.pullback β |
| 114 | let P := Over.pullback (Spec.map (CommRingCat.ofHom D.base.embedding)) |
| 115 | let cs : F ⋙ G ≅ H := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso D.base.fieldExtension α B.fieldExtension hα |
| 116 | let ct : G ⋙ Q ≅ P := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso α β |
| 117 | (Spec.map (CommRingCat.ofHom D.base.embedding)) hβ |
| 118 | let : GrpObj (G.obj D.model.toOver) := Functor.grpObjObj (F := G) |
| 119 | let : GrpObj (Q.obj (G.obj D.model.toOver)) := Functor.grpObjObj (F := Q) |
| 120 | let Y := D.model.baseChange α |
| 121 | let r : H.obj X ⟶ Y.toOver := (cs.app X).inv ≫ G.map D.map |
| 122 | let cx : Q.obj (H.obj X) ≅ |
| 123 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))).obj X := |
| 124 | (Q.mapIso (cs.app X)).symm ≪≫ ct.app (F.obj X) ≪≫ D.sourceIso |
| 125 | let cy : Q.obj Y.toOver ≅ A.toOver := ct.app D.model.toOver ≪≫ D.targetIso |
| 126 | have hs : Section.Comparisons.mappedSection H x₀ ≫ (cs.app X).inv = Section.Comparisons.mappedSection G (Section.Comparisons.mappedSection F x₀) := by |
| 127 | apply (cancel_mono (cs.app X).hom).mp |
| 128 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 129 | exact (Section.Comparisons.mappedSection_comp_naturality F G H cs.hom x₀).symm |
| 130 | have hp : Section.Comparisons.mappedSection H x₀ ≫ r = 1 := by |
| 131 | change Section.Comparisons.mappedSection H x₀ ≫ ((cs.app X).inv ≫ G.map D.map) = 1 |
| 132 | rw [← Category.assoc, hs, Section.Comparisons.mappedSection_map, D.pointed, Section.Comparisons.mappedSection_one] |
| 133 | have hcx : Section.Comparisons.mappedSection Q (Section.Comparisons.mappedSection H x₀) ≫ cx.hom = |
| 134 | Section.Comparisons.mappedSection (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) x₀ := by |
| 135 | have h₀ : Section.Comparisons.mappedSection Q (Section.Comparisons.mappedSection H x₀) ≫ Q.map (cs.app X).inv = |
| 136 | Section.Comparisons.mappedSection Q (Section.Comparisons.mappedSection G (Section.Comparisons.mappedSection F x₀)) := by |
| 137 | rw [Section.Comparisons.mappedSection_map, hs] |
| 138 | change Section.Comparisons.mappedSection Q (Section.Comparisons.mappedSection H x₀) ≫ |
| 139 | (Q.map (cs.app X).inv ≫ (ct.app (F.obj X)).hom ≫ D.sourceIso.hom) = _ |
| 140 | have h₁ : Section.Comparisons.mappedSection Q (Section.Comparisons.mappedSection G (Section.Comparisons.mappedSection F x₀)) ≫ |
| 141 | (ct.app (F.obj X)).hom = Section.Comparisons.mappedSection P (Section.Comparisons.mappedSection F x₀) := |
| 142 | Section.Comparisons.mappedSection_comp_naturality G Q P ct.hom (Section.Comparisons.mappedSection F x₀) |
| 143 | rw [← Category.assoc, ← Category.assoc, h₀, h₁, D.sourcePoint] |
| 144 | have hcy : IsMonHom cy.hom := by |
| 145 | have hc : IsMonHom (show Q.obj (G.obj D.model.toOver) ⟶ P.obj D.model.toOver from |
| 146 | (ct.app D.model.toOver).hom) := |
| 147 | Section.Comparisons.iterated_comparison_isMonHom G Q P ct D.model.toOver |
| 148 | have : IsMonHom D.targetIso.hom := D.groupComparison |
| 149 | change IsMonHom ((show Q.obj (G.obj D.model.toOver) ⟶ P.obj D.model.toOver from |
| 150 | (ct.app D.model.toOver).hom) ≫ D.targetIso.hom) |
| 151 | exact CategoryTheory.instIsMonHomComp _ _ |
| 152 | have hr : Q.map r ≫ cy.hom = cx.hom ≫ a := by |
| 153 | have hn := ct.hom.naturality D.map |
| 154 | change Q.map (G.map D.map) ≫ (ct.app D.model.toOver).hom = |
| 155 | (ct.app (F.obj X)).hom ≫ P.map D.map at hn |
| 156 | change Q.map ((cs.app X).inv ≫ G.map D.map) ≫ |
| 157 | ((ct.app D.model.toOver).hom ≫ D.targetIso.hom) = |
| 158 | (Q.map (cs.app X).inv ≫ (ct.app (F.obj X)).hom ≫ D.sourceIso.hom) ≫ a |
| 159 | rw [Functor.map_comp] |
| 160 | simp only [Category.assoc] |
| 161 | rw [← Category.assoc (Q.map (G.map D.map)), hn, Category.assoc, D.comparison] |
| 162 | exact { |
| 163 | base := B |
| 164 | model := Y |
| 165 | map := r |
| 166 | sourceIso := cx |
| 167 | targetIso := cy |
| 168 | groupComparison := hcy |
| 169 | pointed := hp |
| 170 | sourcePoint := hcx |
| 171 | comparison := hr } |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.AlbaneseExtension |