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.BaseChange |
| 2 | |
| 3 | /-! # Finite Equations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteEquations.Coefficients |
| 6 | |
| 7 | /-! Generalization of the proved FiniteEquations construction to a general |
| 8 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 9 | |
| 10 | Simultaneous preservation of finitely many generic equations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.NumberField |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t z : Finset K} |
| 18 | |
| 19 | theorem equation_survives_enlargement |
| 20 | (hst : s ⊆ t) (htz : t ⊆ z) |
| 21 | (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (a b : X₀ ⟶ Y₀) |
| 22 | (hab : pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) ≫ a.left = |
| 23 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) ≫ b.left) : |
| 24 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htz)) ≫ a.left = |
| 25 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (hst.trans htz)) ≫ b.left := by |
| 26 | let : Epi (BaseChange.Coefficients.coefficientBaseChangeTrans hst htz X₀).hom.left := by |
| 27 | change Epi (BaseChange.Coefficients.coefficientBaseChangeTransSquare hst htz X₀).isoPullback.hom |
| 28 | infer_instance |
| 29 | apply (cancel_epi (BaseChange.Coefficients.coefficientBaseChangeTrans hst htz X₀).hom.left).mp |
| 30 | erw [← Category.assoc, BaseChange.Coefficients.coefficientBaseChangeTrans_hom_fst, |
| 31 | ← Category.assoc, BaseChange.Coefficients.coefficientBaseChangeTrans_hom_fst, Category.assoc, Category.assoc, hab] |
| 32 | |
| 33 | theorem baseChange_map_eq_of_fst_eq |
| 34 | (hst : s ⊆ t) (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (a b : X₀ ⟶ Y₀) |
| 35 | (hab : pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) ≫ a.left = |
| 36 | pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst) ≫ b.left) : |
| 37 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).map a = |
| 38 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).map b := by |
| 39 | apply Over.OverMorphism.ext |
| 40 | apply pullback.hom_ext |
| 41 | · erw [pullback.lift_fst, pullback.lift_fst] |
| 42 | exact hab |
| 43 | · erw [pullback.lift_snd, pullback.lift_snd] |
| 44 | |
| 45 | /-- Finitely many equations holding on the generic fiber hold at one common stage. -/ |
| 46 | theorem finite_equations_descend |
| 47 | {I : Type v} {E : Type w} [Finite E] |
| 48 | (src dst : E → I) |
| 49 | (X : I → Over (Spec (CommRingCat.of K))) |
| 50 | (X₀ : I → Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 51 | (hX₀ : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (X₀ i).hom) |
| 52 | (p : ∀ i, (X i).left ⟶ (X₀ i).left) |
| 53 | (hp : ∀ i, IsPullback (p i) (X i).hom (X₀ i).hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 54 | (a b : ∀ e, X₀ (src e) ⟶ X₀ (dst e)) |
| 55 | (hab : ∀ e, p (src e) ≫ (a e).left = p (src e) ≫ (b e).left) : |
| 56 | ∃ (t : Finset K) (hst : s ⊆ t), |
| 57 | ∀ e, (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).map (a e) = |
| 58 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K hst)).map (b e) := by |
| 59 | classical |
| 60 | let : Fintype E := Fintype.ofFinite E |
| 61 | choose t ht heq using fun e ↦ Morphisms.Coefficients.equation_between_models_descends |
| 62 | (X₀ (src e)) (X₀ (dst e)) (hX₀ (src e)) (hX₀ (dst e)) |
| 63 | (p (src e)) (hp (src e)) (a e) (b e) (hab e) |
| 64 | let z := s ∪ Finset.univ.biUnion t |
| 65 | have htz (e : E) : t e ⊆ z := |
| 66 | (Finset.subset_biUnion_of_mem t (Finset.mem_univ e)).trans Finset.subset_union_right |
| 67 | refine ⟨z, Finset.subset_union_left, fun e ↦ ?_⟩ |
| 68 | apply baseChange_map_eq_of_fst_eq |
| 69 | exact equation_survives_enlargement (ht e) (htz e) (X₀ (src e)) (X₀ (dst e)) |
| 70 | (a e) (b e) (heq e) |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteEquations.Coefficients |