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.Albanese.Construction.FiniteRefinements |
| 2 | |
| 3 | /-! # Refinement Bound -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Albanese.Construction.RefinementBound |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 10 | open scoped _root_.CategoryTheory.MonObj |
| 11 | |
| 12 | /-- Each fiber of a word morphism is a Noetherian scheme. -/ |
| 13 | theorem wordFiber_noetherian (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 14 | (a : X.toOver ⟶ A.toOver) (n : ℕ) (y : A.toOver.left) : |
| 15 | IsNoetherian ((ImageWords.wordMap X A a n).left.fiber y) := by |
| 16 | have : LocallyOfFiniteType ((ImageWords.wordMap X A a n).left.fiberToSpecResidueField y) := by |
| 17 | change LocallyOfFiniteType (Limits.pullback.snd (ImageWords.wordMap X A a n).left |
| 18 | (A.toOver.left.fromSpecResidueField y)) |
| 19 | infer_instance |
| 20 | have : IsLocallyNoetherian ((ImageWords.wordMap X A a n).left.fiber y) := |
| 21 | LocallyOfFiniteType.isLocallyNoetherian |
| 22 | ((ImageWords.wordMap X A a n).left.fiberToSpecResidueField y) |
| 23 | exact {} |
| 24 | |
| 25 | /-- The number of irreducible components of a fixed word fiber. This natural |
| 26 | number bounds all equal-dimensional generated refinements of this target. -/ |
| 27 | def wordFiberComponentCount (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 28 | (b : X.toOver ⟶ B.toOver) (y : B.toOver.left) : ℕ := |
| 29 | Nat.card (irreducibleComponents |
| 30 | ((ImageWords.wordMap X B b (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.variety.structureMap)).left.fiber y)) |
| 31 | |
| 32 | /-- The sizes of the finite fibers of all equal-dimensional generated |
| 33 | refinements are bounded by one fixed source fiber, independently of the |
| 34 | refining abelian variety. -/ |
| 35 | theorem refinement_fiber_card_bound (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 36 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 37 | (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (b : X.toOver ⟶ B.toOver) |
| 38 | (φ : A.toOver ⟶ B.toOver) [IsMonHom φ] (hφ : a ≫ φ = b) |
| 39 | (ha : GeneratedClosed.Generates X A a) (hb : GeneratedClosed.Generates X B b) |
| 40 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap = |
| 41 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.variety.structureMap) (y : B.toOver.left) : |
| 42 | Nat.card (φ.left.fiber y) ≤ wordFiberComponentCount X B b y := by |
| 43 | let m := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.variety.structureMap |
| 44 | have : Surjective (ImageWords.wordMap X A a m).left := |
| 45 | GeneratingWords.generating_word_surjective X x₀ A a ha m hd.le |
| 46 | have : IsFinite φ.left := FiniteRefinements.refinement_finite X A B a b φ hφ hb hd |
| 47 | have hword : (ImageWords.wordMap X A a m).left ≫ φ.left = (ImageWords.wordMap X B b m).left := by |
| 48 | have h := GeneratingWords.wordMap_comp X A B a φ m |
| 49 | rw [hφ] at h |
| 50 | exact congrArg Over.Hom.left h |
| 51 | have : IsNoetherian ((ImageWords.wordMap X B b m).left.fiber y) := wordFiber_noetherian X B b m y |
| 52 | have : Finite (irreducibleComponents (((ImageWords.wordMap X A a m).left ≫ φ.left).fiber y)) := by |
| 53 | rw [hword] |
| 54 | exact NoetherianSpace.finite_irreducibleComponents |
| 55 | have hbound := FiniteRefinements.fiber_card_le_components_of_factor (ImageWords.wordMap X A a m).left φ.left y |
| 56 | rw! [hword] at hbound |
| 57 | exact hbound |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Albanese.Construction.RefinementBound |