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.Morphisms |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.BaseChange.Coefficients |
| 6 | |
| 7 | /-! Generalization of the proved BaseChange construction to a general |
| 8 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 9 | |
| 10 | Compatibility of coefficient enlargement with model maps and morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.NumberField |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | noncomputable def iteratedBaseChangeIso {S T U : Scheme.{u}} |
| 18 | (f : T ⟶ S) (g : U ⟶ T) (X : Over S) : |
| 19 | (Over.pullback g).obj ((Over.pullback f).obj X) ≅ |
| 20 | (Over.pullback (g ≫ f)).obj X := |
| 21 | Over.isoMk (pullbackLeftPullbackSndIso X.hom f g) |
| 22 | (pullbackLeftPullbackSndIso_hom_snd X.hom f g) |
| 23 | |
| 24 | @[reassoc] |
| 25 | theorem baseChangeCongr_hom_fst {S T : Scheme.{u}} {f g : T ⟶ S} |
| 26 | (h : f = g) (X : Over S) : |
| 27 | (ArithmeticGeometry.Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.fst X.hom g = pullback.fst X.hom f := by |
| 28 | subst g |
| 29 | exact Category.id_comp _ |
| 30 | |
| 31 | @[reassoc] |
| 32 | theorem baseChangeCongr_hom_snd {S T : Scheme.{u}} {f g : T ⟶ S} |
| 33 | (h : f = g) (X : Over S) : |
| 34 | (ArithmeticGeometry.Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.snd X.hom g = pullback.snd X.hom f := by |
| 35 | subst g |
| 36 | exact Category.id_comp _ |
| 37 | |
| 38 | variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t v : Finset K} |
| 39 | |
| 40 | theorem coefficientBaseChangeTransSquare |
| 41 | (hst : s ⊆ t) (htv : t ⊆ v) (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 42 | IsPullback |
| 43 | (pullback.fst (pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 44 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv) ≫ |
| 45 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 46 | (pullback.snd (pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 47 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv)) |
| 48 | X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htv)) := by |
| 49 | have H := (IsPullback.of_hasPullback |
| 50 | (pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 51 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv)).paste_horiz |
| 52 | (IsPullback.of_hasPullback X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 53 | erw [ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap_comp] at H |
| 54 | exact H |
| 55 | |
| 56 | noncomputable def coefficientBaseChangeTrans |
| 57 | (hst : s ⊆ t) (htv : t ⊆ v) (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 58 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv)).obj |
| 59 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).obj X₀) ≅ |
| 60 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htv))).obj X₀ := |
| 61 | Over.isoMk (coefficientBaseChangeTransSquare hst htv X₀).isoPullback |
| 62 | (coefficientBaseChangeTransSquare hst htv X₀).isoPullback_hom_snd |
| 63 | |
| 64 | @[reassoc] |
| 65 | theorem coefficientBaseChangeTrans_hom_fst |
| 66 | (hst : s ⊆ t) (htv : t ⊆ v) (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 67 | (coefficientBaseChangeTrans hst htv X₀).hom.left ≫ |
| 68 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htv)) = |
| 69 | pullback.fst (pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 70 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv) ≫ |
| 71 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) := |
| 72 | (coefficientBaseChangeTransSquare hst htv X₀).isoPullback_hom_fst |
| 73 | |
| 74 | @[reassoc] |
| 75 | theorem coefficientBaseChangeTrans_hom_snd |
| 76 | (hst : s ⊆ t) (htv : t ⊆ v) (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 77 | (coefficientBaseChangeTrans hst htv X₀).hom.left ≫ |
| 78 | pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htv)) = |
| 79 | pullback.snd (pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)) |
| 80 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htv) := |
| 81 | (coefficientBaseChangeTrans hst htv X₀).hom.w |
| 82 | |
| 83 | /-- Successive coefficient enlargement has the same generic map as direct enlargement. -/ |
| 84 | theorem genericModelLift_trans |
| 85 | {X : Over (Spec (CommRingCat.of K))} |
| 86 | (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left) |
| 87 | (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) |
| 88 | (hst : s ⊆ t) (htv : t ⊆ v) : |
| 89 | Morphisms.Coefficients.genericModelLift ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).obj X₀) |
| 90 | (Morphisms.Coefficients.genericModelLift X₀ p hp hst) (Morphisms.Coefficients.genericModelLift_snd X₀ p hp hst) htv ≫ |
| 91 | (coefficientBaseChangeTrans hst htv X₀).hom.left = |
| 92 | Morphisms.Coefficients.genericModelLift X₀ p hp (hst.trans htv) := by |
| 93 | apply pullback.hom_ext (f := X₀.hom) |
| 94 | (g := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htv)) |
| 95 | · erw [Category.assoc, coefficientBaseChangeTrans_hom_fst, ← Category.assoc, |
| 96 | Morphisms.Coefficients.genericModelLift_fst, Morphisms.Coefficients.genericModelLift_fst, Morphisms.Coefficients.genericModelLift_fst] |
| 97 | · erw [Category.assoc, coefficientBaseChangeTrans_hom_snd, |
| 98 | Morphisms.Coefficients.genericModelLift_snd, Morphisms.Coefficients.genericModelLift_snd] |
| 99 | |
| 100 | /-- Base change preserves the compatibility of a model morphism with its generic fiber. -/ |
| 101 | theorem genericModelLift_map |
| 102 | {X Y : Over (Spec (CommRingCat.of K))} |
| 103 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 104 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 105 | (hX : pX ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) |
| 106 | (hY : pY ≫ Y₀.hom = Y.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) |
| 107 | (a : X ⟶ Y) (b : X₀ ⟶ Y₀) (hab : pX ≫ b.left = a.left ≫ pY) (hst : s ⊆ t) : |
| 108 | Morphisms.Coefficients.genericModelLift X₀ pX hX hst ≫ |
| 109 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).map b).left = |
| 110 | a.left ≫ Morphisms.Coefficients.genericModelLift Y₀ pY hY hst := by |
| 111 | apply pullback.hom_ext |
| 112 | · erw [Category.assoc, pullback.lift_fst, ← Category.assoc, |
| 113 | Morphisms.Coefficients.genericModelLift_fst, hab, Category.assoc, Morphisms.Coefficients.genericModelLift_fst] |
| 114 | · erw [Category.assoc, pullback.lift_snd, Morphisms.Coefficients.genericModelLift_snd, |
| 115 | Category.assoc, Morphisms.Coefficients.genericModelLift_snd, ← Category.assoc, a.w] |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.BaseChange.Coefficients |