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.Coefficient.Models |
| 2 | import OAI.ArithmeticGeometry.Models.Descent |
| 3 | |
| 4 | /-! # Morphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Morphisms.Coefficients |
| 7 | |
| 8 | /-! Generalization of the proved ModelMorphisms construction to a general |
| 9 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 10 | |
| 11 | Descent of morphisms between schemes with specified coefficient models. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | open OAI.ArithmeticGeometry.Models.Descent.Constructions.Foundations |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] |
| 21 | variable {s t : Finset K} {X : Over (Spec (CommRingCat.of K))} |
| 22 | |
| 23 | /-- The generic-fiber map into a base-changed model. -/ |
| 24 | noncomputable def genericModelLift |
| 25 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 26 | (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) : |
| 27 | X.left ⟶ ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).left := |
| 28 | pullback.lift p (X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) (by |
| 29 | erw [hp, Category.assoc, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap_comp]) |
| 30 | |
| 31 | @[reassoc] |
| 32 | theorem genericModelLift_fst |
| 33 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 34 | (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) : |
| 35 | genericModelLift X₀ p hp h ≫ pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) = p := |
| 36 | pullback.lift_fst _ _ _ |
| 37 | |
| 38 | @[reassoc] |
| 39 | theorem genericModelLift_snd |
| 40 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 41 | (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) : |
| 42 | genericModelLift X₀ p hp h ≫ pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) = |
| 43 | X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t := |
| 44 | pullback.lift_snd _ _ _ |
| 45 | |
| 46 | theorem genericModelLift_cartesian |
| 47 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 48 | (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) (h : s ⊆ t) : |
| 49 | IsPullback (genericModelLift X₀ p hp.w h) X.hom |
| 50 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).hom |
| 51 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) := by |
| 52 | apply IsPullback.of_right ?_ (genericModelLift_snd X₀ p hp.w h) |
| 53 | (IsPullback.of_hasPullback X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)) |
| 54 | erw [genericModelLift_fst, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap_comp] |
| 55 | exact hp |
| 56 | |
| 57 | /-- Relate the two orders of pullback used by canonical base change and the limit cone. -/ |
| 58 | theorem genericModelLift_to_expansion |
| 59 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 60 | (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 61 | (i : Over (op s)) : |
| 62 | genericModelLift X₀ p hp.w (leOfHom i.hom.unop) ≫ |
| 63 | (pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (leOfHom i.hom.unop))).hom = |
| 64 | hp.flip.isoPullback.hom ≫ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i := by |
| 65 | apply pullback.hom_ext |
| 66 | · erw [Category.assoc, pullbackSymmetry_hom_comp_fst, genericModelLift_snd] |
| 67 | change X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K i.left.unop = |
| 68 | hp.flip.isoPullback.hom ≫ |
| 69 | (pullback.lift _ _ _ ≫ pullback.fst _ _) |
| 70 | erw [pullback.lift_fst, ← Category.assoc, hp.flip.isoPullback_hom_fst] |
| 71 | rfl |
| 72 | · erw [Category.assoc, pullbackSymmetry_hom_comp_snd, genericModelLift_fst] |
| 73 | change p = hp.flip.isoPullback.hom ≫ |
| 74 | (pullback.lift _ _ _ ≫ pullback.snd _ _) |
| 75 | erw [pullback.lift_snd, hp.flip.isoPullback_hom_snd] |
| 76 | |
| 77 | /-- Extend a generic morphism to a larger model of its source, keeping the |
| 78 | map to the original target model. -/ |
| 79 | theorem morphism_to_model_descends |
| 80 | {Y : Over (Spec (CommRingCat.of K))} |
| 81 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 82 | (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom) |
| 83 | (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom) |
| 84 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 85 | (hX : IsPullback pX X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 86 | (hY : IsPullback pY Y.hom Y₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 87 | (a : X ⟶ Y) : |
| 88 | ∃ (t : Finset K) (h : s ⊆ t) |
| 89 | (b : ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).left ⟶ Y₀.left), |
| 90 | genericModelLift X₀ pX hX.w h ≫ b = a.left ≫ pY ∧ |
| 91 | b ≫ Y₀.hom = pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫ |
| 92 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h := by |
| 93 | let : QuasiCompact X₀.hom := hX₀.2.1 |
| 94 | let : QuasiSeparated X₀.hom := hX₀.2.2 |
| 95 | let : LocallyOfFinitePresentation Y₀.hom := hY₀.1 |
| 96 | let e : X.left ≅ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).pt := hX.flip.isoPullback |
| 97 | let a₀ := e.inv ≫ a.left ≫ pY |
| 98 | have ha₀ : a₀ ≫ Y₀.hom = (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).pt.hom ≫ X₀.hom := by |
| 99 | dsimp [a₀] |
| 100 | erw [Category.assoc, Category.assoc, hY.w, ← Category.assoc a.left, a.w, |
| 101 | ← Category.assoc, hX.flip.isoPullback_inv_fst] |
| 102 | exact pullback.condition |
| 103 | obtain ⟨i, g, hg, hgbase⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.generic_morphism_descends R₀ K s X₀ Y₀ a₀ ha₀ |
| 104 | let h : s ⊆ i.left.unop := leOfHom i.hom.unop |
| 105 | let σ := pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) |
| 106 | refine ⟨i.left.unop, h, σ.hom ≫ g, ?_, ?_⟩ |
| 107 | · erw [← Category.assoc, genericModelLift_to_expansion X₀ pX hX i, Category.assoc, hg] |
| 108 | change e.hom ≫ e.inv ≫ a.left ≫ pY = a.left ≫ pY |
| 109 | erw [Iso.hom_inv_id_assoc] |
| 110 | · erw [Category.assoc, hgbase] |
| 111 | change σ.hom ≫ pullback.snd _ X₀.hom ≫ X₀.hom = |
| 112 | pullback.snd X₀.hom _ ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h |
| 113 | erw [← Category.assoc, pullbackSymmetry_hom_comp_snd] |
| 114 | exact pullback.condition |
| 115 | |
| 116 | /-- Both source and target may be enlarged together so the descended morphism |
| 117 | is a morphism over one common finite coefficient ring. -/ |
| 118 | theorem morphism_between_models_descends |
| 119 | {Y : Over (Spec (CommRingCat.of K))} |
| 120 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 121 | (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom) |
| 122 | (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom) |
| 123 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 124 | (hX : IsPullback pX X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 125 | (hY : IsPullback pY Y.hom Y₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 126 | (a : X ⟶ Y) : |
| 127 | ∃ (t : Finset K) (h : s ⊆ t) |
| 128 | (b : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀ ⟶ |
| 129 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj Y₀), |
| 130 | genericModelLift X₀ pX hX.w h ≫ b.left = |
| 131 | a.left ≫ genericModelLift Y₀ pY hY.w h := by |
| 132 | obtain ⟨t, h, b, hb, hbbase⟩ := |
| 133 | morphism_to_model_descends X₀ Y₀ hX₀ hY₀ pX pY hX hY a |
| 134 | let f := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h |
| 135 | let b' : (Over.pullback f).obj X₀ ⟶ (Over.pullback f).obj Y₀ := |
| 136 | Over.homMk (pullback.lift b (pullback.snd X₀.hom f) hbbase) |
| 137 | (pullback.lift_snd b (pullback.snd X₀.hom f) hbbase) |
| 138 | refine ⟨t, h, b', ?_⟩ |
| 139 | apply pullback.hom_ext |
| 140 | · change genericModelLift X₀ pX hX.w h ≫ b'.left ≫ pullback.fst Y₀.hom f = |
| 141 | (a.left ≫ genericModelLift Y₀ pY hY.w h) ≫ pullback.fst Y₀.hom f |
| 142 | erw [pullback.lift_fst, hb, Category.assoc, genericModelLift_fst] |
| 143 | · change genericModelLift X₀ pX hX.w h ≫ b'.left ≫ pullback.snd Y₀.hom f = |
| 144 | (a.left ≫ genericModelLift Y₀ pY hY.w h) ≫ pullback.snd Y₀.hom f |
| 145 | erw [pullback.lift_snd, genericModelLift_snd, Category.assoc, |
| 146 | genericModelLift_snd, ← Category.assoc, a.w] |
| 147 | |
| 148 | /-- An equality of two model morphisms that holds on the generic fiber holds |
| 149 | after a further common enlargement of the coefficient ring. -/ |
| 150 | theorem equation_between_models_descends |
| 151 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 152 | (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom) |
| 153 | (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom) |
| 154 | (p : X.left ⟶ X₀.left) |
| 155 | (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 156 | (a b : X₀ ⟶ Y₀) (hab : p ≫ a.left = p ≫ b.left) : |
| 157 | ∃ (t : Finset K) (h : s ⊆ t), |
| 158 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫ a.left = |
| 159 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫ b.left := by |
| 160 | let : QuasiCompact X₀.hom := hX₀.2.1 |
| 161 | let : LocallyOfFinitePresentation Y₀.hom := hY₀.1 |
| 162 | let i : Over (op s) := Over.mk (𝟙 (op s)) |
| 163 | let q := ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj i).hom |
| 164 | have ha : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionToBase R₀ K s X₀).app i = (q ≫ a.left) ≫ Y₀.hom := by |
| 165 | change q ≫ X₀.hom = (q ≫ a.left) ≫ Y₀.hom |
| 166 | rw [Category.assoc, a.w] |
| 167 | have hb : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionToBase R₀ K s X₀).app i = (q ≫ b.left) ≫ Y₀.hom := by |
| 168 | change q ≫ X₀.hom = (q ≫ b.left) ≫ Y₀.hom |
| 169 | rw [Category.assoc, b.w] |
| 170 | have hc : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i ≫ (q ≫ a.left) = |
| 171 | (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i ≫ (q ≫ b.left) := by |
| 172 | have H := congrArg (fun z ↦ hp.flip.isoPullback.inv ≫ z) hab |
| 173 | erw [← Category.assoc, hp.flip.isoPullback_inv_snd, |
| 174 | ← Category.assoc, hp.flip.isoPullback_inv_snd] at H |
| 175 | erw [← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).π.app i).w, |
| 176 | ← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).π.app i).w] |
| 177 | exact H |
| 178 | obtain ⟨j, hji, hj⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.generic_equation_descends R₀ K s X₀ Y₀ (q ≫ a.left) (q ≫ b.left) |
| 179 | ha hb hc |
| 180 | have H : ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj j).hom ≫ a.left = |
| 181 | ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj j).hom ≫ b.left := by |
| 182 | erw [← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).map hji).w, |
| 183 | ← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).map hji).w] at hj |
| 184 | exact hj |
| 185 | let h : s ⊆ j.left.unop := leOfHom j.hom.unop |
| 186 | refine ⟨j.left.unop, h, ?_⟩ |
| 187 | have H' := congrArg (fun z ↦ (pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).hom ≫ z) H |
| 188 | erw [← Category.assoc, pullbackSymmetry_hom_comp_snd, |
| 189 | ← Category.assoc, pullbackSymmetry_hom_comp_snd] at H' |
| 190 | exact H' |
| 191 | |
| 192 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Morphisms.Coefficients |