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.BaseChange |
| 2 | |
| 3 | /-! # Common Stage -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.CommonStage.Constructions.Foundations |
| 6 | |
| 7 | /-! Combining independently descended morphisms at one finite coefficient stage. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 10 | open scoped _root_.NumberField |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | variable {K : Type u} [Field K] {s t z : Finset K} |
| 15 | |
| 16 | theorem genericModelLift_trans_inv |
| 17 | {X : Over (Spec (CommRingCat.of K))} |
| 18 | (X₀ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)) (p : X.left ⟶ X₀.left) |
| 19 | (hp : p ≫ X₀.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 20 | (hst : s ⊆ t) (htz : t ⊆ z) : |
| 21 | ModelMorphisms.Constructions.Foundations.genericModelLift X₀ p hp (hst.trans htz) ≫ |
| 22 | (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz X₀).inv.left = |
| 23 | ModelMorphisms.Constructions.Foundations.genericModelLift ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst)).obj X₀) |
| 24 | (ModelMorphisms.Constructions.Foundations.genericModelLift X₀ p hp hst) (ModelMorphisms.Constructions.Foundations.genericModelLift_snd X₀ p hp hst) htz := by |
| 25 | apply (cancel_mono (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz X₀).hom.left).mp |
| 26 | erw [Category.assoc, Over.inv_left_hom_left, Category.comp_id, BaseChange.Constructions.Foundations.genericModelLift_trans] |
| 27 | |
| 28 | noncomputable def descendedMorphismAtLargerBase |
| 29 | (hst : s ⊆ t) (htz : t ⊆ z) |
| 30 | {X₀ Y₀ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)} |
| 31 | (b : (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst)).obj X₀ ⟶ |
| 32 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst)).obj Y₀) : |
| 33 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K (hst.trans htz))).obj X₀ ⟶ |
| 34 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K (hst.trans htz))).obj Y₀ := |
| 35 | (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz X₀).inv ≫ |
| 36 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K htz)).map b ≫ |
| 37 | (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Y₀).hom |
| 38 | |
| 39 | theorem descendedMorphismAtLargerBase_compatibility |
| 40 | {X Y : Over (Spec (CommRingCat.of K))} |
| 41 | (X₀ Y₀ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)) |
| 42 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 43 | (hX : pX ≫ X₀.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 44 | (hY : pY ≫ Y₀.hom = Y.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 45 | (a : X ⟶ Y) (hst : s ⊆ t) (htz : t ⊆ z) |
| 46 | (b : (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst)).obj X₀ ⟶ |
| 47 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst)).obj Y₀) |
| 48 | (hb : ModelMorphisms.Constructions.Foundations.genericModelLift X₀ pX hX hst ≫ b.left = |
| 49 | a.left ≫ ModelMorphisms.Constructions.Foundations.genericModelLift Y₀ pY hY hst) : |
| 50 | ModelMorphisms.Constructions.Foundations.genericModelLift X₀ pX hX (hst.trans htz) ≫ |
| 51 | (descendedMorphismAtLargerBase hst htz b).left = |
| 52 | a.left ≫ ModelMorphisms.Constructions.Foundations.genericModelLift Y₀ pY hY (hst.trans htz) := by |
| 53 | change ModelMorphisms.Constructions.Foundations.genericModelLift X₀ pX hX (hst.trans htz) ≫ |
| 54 | ((BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz X₀).inv.left ≫ |
| 55 | ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K htz)).map b).left ≫ |
| 56 | (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Y₀).hom.left) = _ |
| 57 | erw [← Category.assoc, ← Category.assoc, genericModelLift_trans_inv] |
| 58 | erw [BaseChange.Constructions.Foundations.genericModelLift_map _ _ _ _ _ _ a b hb htz, Category.assoc, BaseChange.Constructions.Foundations.genericModelLift_trans] |
| 59 | exact ModelMorphisms.Constructions.Foundations.genericModelLift_snd Y₀ pY hY hst |
| 60 | |
| 61 | /-- Finitely many generic morphisms between fixed models descend simultaneously. -/ |
| 62 | theorem finite_morphisms_descend |
| 63 | {I : Type v} {E : Type w} [Finite E] |
| 64 | (src dst : E → I) |
| 65 | (X : I → Over (Spec (CommRingCat.of K))) |
| 66 | (X₀ : I → Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)) |
| 67 | (hX₀ : ∀ i, Scheme.Constructions.Foundations.FinitePresentationMorphism (X₀ i).hom) |
| 68 | (p : ∀ i, (X i).left ⟶ (X₀ i).left) |
| 69 | (hp : ∀ i, IsPullback (p i) (X i).hom (X₀ i).hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)) |
| 70 | (a : ∀ e, X (src e) ⟶ X (dst e)) : |
| 71 | ∃ (t : Finset K) (h : s ⊆ t) |
| 72 | (b : ∀ e, (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h)).obj (X₀ (src e)) ⟶ |
| 73 | (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h)).obj (X₀ (dst e))), |
| 74 | ∀ e, ModelMorphisms.Constructions.Foundations.genericModelLift (X₀ (src e)) (p (src e)) (hp (src e)).w h ≫ (b e).left = |
| 75 | (a e).left ≫ ModelMorphisms.Constructions.Foundations.genericModelLift (X₀ (dst e)) (p (dst e)) (hp (dst e)).w h := by |
| 76 | classical |
| 77 | let : Fintype E := Fintype.ofFinite E |
| 78 | choose t ht b hb using fun e ↦ ModelMorphisms.Constructions.Foundations.morphism_between_models_descends |
| 79 | (X₀ (src e)) (X₀ (dst e)) (hX₀ (src e)) (hX₀ (dst e)) |
| 80 | (p (src e)) (p (dst e)) (hp (src e)) (hp (dst e)) (a e) |
| 81 | let z := s ∪ Finset.univ.biUnion t |
| 82 | have htz (e : E) : t e ⊆ z := |
| 83 | (Finset.subset_biUnion_of_mem t (Finset.mem_univ e)).trans Finset.subset_union_right |
| 84 | refine ⟨z, Finset.subset_union_left, |
| 85 | (fun e ↦ descendedMorphismAtLargerBase (ht e) (htz e) (b e)), ?_⟩ |
| 86 | intro e |
| 87 | exact descendedMorphismAtLargerBase_compatibility |
| 88 | (X₀ (src e)) (X₀ (dst e)) (p (src e)) (p (dst e)) (hp (src e)).w (hp (dst e)).w |
| 89 | (a e) (ht e) (htz e) (b e) (hb e) |
| 90 | |
| 91 | end OAI.ArithmeticGeometry.Models.CommonStage.Constructions.Foundations |