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.CommonStage |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteEquations |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Finiteness |
| 4 | |
| 5 | /-! # Isomorphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Isomorphisms.Coefficients |
| 8 | |
| 9 | /-! Generalization of the proved Isomorphisms construction to a general |
| 10 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 11 | |
| 12 | Isomorphisms of generic fibers descend with their inverse identities. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem isomorphism_between_models_descends |
| 20 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s : Finset K} |
| 21 | {X Y : Over (Spec (CommRingCat.of K))} |
| 22 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 23 | (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom) |
| 24 | (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom) |
| 25 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 26 | (hX : IsPullback pX X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 27 | (hY : IsPullback pY Y.hom Y₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 28 | (e : X ≅ Y) : |
| 29 | ∃ (t : Finset K) (h : s ⊆ t) |
| 30 | (e₀ : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀ ≅ |
| 31 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj Y₀), |
| 32 | Morphisms.Coefficients.genericModelLift X₀ pX hX.w h ≫ e₀.hom.left = |
| 33 | e.hom.left ≫ Morphisms.Coefficients.genericModelLift Y₀ pY hY.w h := by |
| 34 | let Z : Bool → Over (Spec (CommRingCat.of K)) | false => X | true => Y |
| 35 | let Z₀ : Bool → Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s) | false => X₀ | true => Y₀ |
| 36 | let p : ∀ i, (Z i).left ⟶ (Z₀ i).left | false => pX | true => pY |
| 37 | have hZ₀ : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (Z₀ i).hom |
| 38 | | false => hX₀ | true => hY₀ |
| 39 | have hp : ∀ i, IsPullback (p i) (Z i).hom (Z₀ i).hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) |
| 40 | | false => hX | true => hY |
| 41 | let a : ∀ i, Z i ⟶ Z (!i) | false => e.hom | true => e.inv |
| 42 | obtain ⟨t, hst, b, hb⟩ := CommonStage.Coefficients.finite_morphisms_descend id Bool.not Z Z₀ hZ₀ p hp a |
| 43 | let B := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) |
| 44 | let Z₁ : Bool → Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K t) := fun i ↦ B.obj (Z₀ i) |
| 45 | let p₁ : ∀ i, (Z i).left ⟶ (Z₁ i).left := |
| 46 | fun i ↦ Morphisms.Coefficients.genericModelLift (Z₀ i) (p i) (hp i).w hst |
| 47 | have hZ₁ : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (Z₁ i).hom := |
| 48 | fun i ↦ Finiteness.Coefficients.baseChange_finitePresentation _ _ (hZ₀ i) |
| 49 | have hp₁ : ∀ i, IsPullback (p₁ i) (Z i).hom (Z₁ i).hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) := |
| 50 | fun i ↦ Morphisms.Coefficients.genericModelLift_cartesian (Z₀ i) (p i) (hp i) hst |
| 51 | let c : ∀ i, Z₁ i ⟶ Z₁ i |
| 52 | | false => b false ≫ b true |
| 53 | | true => b true ≫ b false |
| 54 | let d : ∀ i, Z₁ i ⟶ Z₁ i := fun i ↦ 𝟙 _ |
| 55 | have hc : ∀ i, p₁ i ≫ (c i).left = p₁ i ≫ (d i).left := by |
| 56 | intro i |
| 57 | cases i |
| 58 | · change p₁ false ≫ ((b false).left ≫ (b true).left) = p₁ false ≫ 𝟙 _ |
| 59 | erw [← Category.assoc, hb false, Category.assoc, hb true, |
| 60 | ← Category.assoc, Over.hom_left_inv_left, Category.id_comp] |
| 61 | · change p₁ true ≫ ((b true).left ≫ (b false).left) = p₁ true ≫ 𝟙 _ |
| 62 | erw [← Category.assoc, hb true, Category.assoc, hb false, |
| 63 | ← Category.assoc, Over.inv_left_hom_left, Category.id_comp] |
| 64 | obtain ⟨z, htz, hz⟩ := FiniteEquations.Coefficients.finite_equations_descend id id Z Z₁ hZ₁ p₁ hp₁ c d hc |
| 65 | let C := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K htz) |
| 66 | let e₁ : C.obj (Z₁ false) ≅ C.obj (Z₁ true) := |
| 67 | { hom := C.map (b false) |
| 68 | inv := C.map (b true) |
| 69 | hom_inv_id := by |
| 70 | rw [← C.map_comp] |
| 71 | exact (hz false).trans (C.map_id _) |
| 72 | inv_hom_id := by |
| 73 | rw [← C.map_comp] |
| 74 | exact (hz true).trans (C.map_id _) } |
| 75 | let e₀ := (BaseChange.Coefficients.coefficientBaseChangeTrans hst htz X₀).symm ≪≫ e₁ ≪≫ |
| 76 | BaseChange.Coefficients.coefficientBaseChangeTrans hst htz Y₀ |
| 77 | refine ⟨z, hst.trans htz, e₀, ?_⟩ |
| 78 | exact CommonStage.Coefficients.descendedMorphismAtLargerBase_compatibility X₀ Y₀ pX pY hX.w hY.w e.hom |
| 79 | hst htz (b false) (hb false) |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Isomorphisms.Coefficients |