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