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.GeneratedClosed |
| 2 | |
| 3 | /-! # Generating Words -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Albanese.Construction.GeneratingWords |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 11 | open scoped Pointwise |
| 12 | |
| 13 | /-- In a generated target, every point is a sum of at most `dim A` point |
| 14 | differences. The bound follows from strict dimension growth before stabilization. -/ |
| 15 | theorem generating_wordPointImage_eq_univ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 16 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 17 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (ha : GeneratedClosed.Generates X A a) |
| 18 | (m : ℕ) (hm : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap ≤ m) : |
| 19 | WordPoints.wordPointImage X A a m = Set.univ := by |
| 20 | obtain ⟨n, hn, hstable⟩ := WordPoints.exists_differencePointImage_pow_eq_succ X x₀ A a |
| 21 | let S := WordPoints.differencePointImage X A a |
| 22 | have h1 : 1 ∈ S := WordPoints.one_mem_differencePointImage X x₀ A a |
| 23 | have hinv : ∀ z ∈ S, z⁻¹ ∈ S := fun z hz => WordPoints.differencePointImage_inv_mem X A a hz |
| 24 | have hclosure := SetPowers.stablePowerSubgroup_eq_closure S h1 hinv n hstable |
| 25 | have htop : S ^ n = Set.univ := by |
| 26 | have hgroup : SetPowers.stablePowerSubgroup S h1 hinv n hstable = ⊤ := hclosure.trans ha |
| 27 | exact congrArg (fun H : Subgroup (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A.toOver) => |
| 28 | (H : Set (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A.toOver))) hgroup |
| 29 | rw [WordPoints.wordPointImage_eq_pow] |
| 30 | change S ^ m = Set.univ |
| 31 | obtain ⟨k, rfl⟩ := Nat.exists_eq_add_of_le (hn.trans hm) |
| 32 | rw [SetPowers.setPow_stable_add S n hstable, htop] |
| 33 | |
| 34 | /-- The dimension bound gives a surjection on complex points from one fixed |
| 35 | finite product of the source. -/ |
| 36 | theorem generating_word_point_surjective (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 37 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 38 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (ha : GeneratedClosed.Generates X A a) |
| 39 | (m : ℕ) (hm : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap ≤ m) : |
| 40 | Function.Surjective (fun p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ ImageWords.wordDomain X m => |
| 41 | p ≫ ImageWords.wordMap X A a m) := by |
| 42 | intro q |
| 43 | have hq : q ∈ WordPoints.wordPointImage X A a m := by |
| 44 | rw [generating_wordPointImage_eq_univ X x₀ A a ha m hm] |
| 45 | trivial |
| 46 | exact hq |
| 47 | |
| 48 | /-- The same word morphism is surjective on the actual scheme, including |
| 49 | nonclosed points. -/ |
| 50 | theorem generating_word_surjective (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 51 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 52 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (ha : GeneratedClosed.Generates X A a) |
| 53 | (m : ℕ) (hm : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap ≤ m) : |
| 54 | Surjective (ImageWords.wordMap X A a m).left := by |
| 55 | have : LocallyOfFiniteType A.toOver.hom := |
| 56 | inferInstanceAs (LocallyOfFiniteType A.variety.structureMap) |
| 57 | let w := ImageWords.wordMap X A a m |
| 58 | have hfull : Set.range (𝟙 A.toOver : A.toOver ⟶ A.toOver).left ⊆ Set.range w.left := by |
| 59 | apply ReducedFactor.range_subset_closed_of_points A.toOver A.toOver (𝟙 A.toOver) |
| 60 | ⟨Set.range w.left, w.left.isClosedMap.isClosed_range⟩ |
| 61 | intro q |
| 62 | obtain ⟨p, hp⟩ := generating_word_point_surjective X x₀ A a ha m hm q |
| 63 | refine ⟨p.left (IsLocalRing.closedPoint ℂ), ?_⟩ |
| 64 | exact congrArg (fun r : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A.toOver => |
| 65 | r.left (IsLocalRing.closedPoint ℂ)) hp |
| 66 | exact ⟨fun q => hfull ⟨q, rfl⟩⟩ |
| 67 | |
| 68 | /-- Word morphisms commute with homomorphisms of target abelian varieties. -/ |
| 69 | theorem wordMap_comp (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 70 | (a : X.toOver ⟶ A.toOver) (φ : A.toOver ⟶ B.toOver) [IsMonHom φ] (n : ℕ) : |
| 71 | ImageWords.wordMap X A a n ≫ φ = ImageWords.wordMap X B (a ≫ φ) n := by |
| 72 | induction n with |
| 73 | | zero => simp [ImageWords.wordMap] |
| 74 | | succ n ih => |
| 75 | simp [ImageWords.wordMap, MonObj.mul_comp, Category.assoc, ih, ImageWords.differenceMap, GrpObj.div_comp] |
| 76 | |
| 77 | /-- Agreement after a generating source map determines a homomorphism. -/ |
| 78 | theorem generating_hom_ext (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 79 | (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (ha : GeneratedClosed.Generates X A a) |
| 80 | (φ ψ : A.toOver ⟶ B.toOver) [IsMonHom φ] [IsMonHom ψ] |
| 81 | (h : a ≫ φ = a ≫ ψ) : φ = ψ := by |
| 82 | have : IsClosedImmersion (𝟙 A.toOver : A.toOver ⟶ A.toOver).left := by |
| 83 | change IsClosedImmersion (𝟙 A.carrier) |
| 84 | infer_instance |
| 85 | apply GeneratedClosed.generated_hom_ext X A A B a a (𝟙 A.toOver) (by simp) _ φ ψ h |
| 86 | intro q |
| 87 | rw [ha] |
| 88 | exact ⟨fun _ => Subgroup.mem_top _, fun _ => ⟨q, by simp⟩⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Albanese.Construction.GeneratingWords |