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.Smooth |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |
| 3 | |
| 4 | /-! # Image Words -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Albanese.Construction.ImageWords |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 11 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 12 | |
| 13 | /-- The algebraic morphism giving the difference of two image points. -/ |
| 14 | def differenceMap (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 15 | (f : X.toOver ⟶ A.toOver) : X.toOver ⊗ X.toOver ⟶ A.toOver := |
| 16 | (fst _ _ ≫ f) / (snd _ _ ≫ f) |
| 17 | |
| 18 | @[simp] |
| 19 | theorem diagonal_difference (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 20 | (f : X.toOver ⟶ A.toOver) (x : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) : |
| 21 | lift x x ≫ differenceMap X A f = 1 := by |
| 22 | simp [differenceMap, GrpObj.comp_div] |
| 23 | |
| 24 | /-- The domain of the morphism summing `n` point differences. -/ |
| 25 | abbrev wordDomain (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : ℕ → Over Foundations.Scheme.ProjectiveSpace.complexBase |
| 26 | | 0 => Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) |
| 27 | | n + 1 => wordDomain X n ⊗ (X.toOver ⊗ X.toOver) |
| 28 | |
| 29 | instance wordDomain_smooth (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 30 | Smooth (ImageWords.wordDomain X n).hom := by |
| 31 | have : Smooth X.toOver.hom := X.smooth |
| 32 | induction n with |
| 33 | | zero => change Smooth (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase); infer_instance |
| 34 | | succ n ih => |
| 35 | change Smooth (ImageWords.wordDomain X n ⊗ (X.toOver ⊗ X.toOver)).hom |
| 36 | dsimp |
| 37 | infer_instance |
| 38 | |
| 39 | instance wordDomain_proper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 40 | IsProper (ImageWords.wordDomain X n).hom := by |
| 41 | have : IsProper X.toOver.hom := X.projective.isProper |
| 42 | induction n with |
| 43 | | zero => change IsProper (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase); infer_instance |
| 44 | | succ n ih => |
| 45 | change IsProper (ImageWords.wordDomain X n ⊗ (X.toOver ⊗ X.toOver)).hom |
| 46 | dsimp |
| 47 | infer_instance |
| 48 | |
| 49 | instance wordDomain_integral (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 50 | [ConnectedSpace X.carrier] (n : ℕ) : IsIntegral (ImageWords.wordDomain X n).left := by |
| 51 | have : IsIntegral X.toOver.left := Construction.Smooth.connected_presentation_integral X |
| 52 | have : Smooth X.toOver.hom := X.smooth |
| 53 | have : IsIntegral (X.toOver ⊗ X.toOver).left := |
| 54 | Construction.Smooth.smooth_tensor_integral X.toOver X.toOver |
| 55 | have : Smooth (X.toOver ⊗ X.toOver).hom := by dsimp; infer_instance |
| 56 | induction n with |
| 57 | | zero => change IsIntegral Foundations.Scheme.ProjectiveSpace.complexBase; infer_instance |
| 58 | | succ n ih => exact Construction.Smooth.smooth_tensor_integral (ImageWords.wordDomain X n) (X.toOver ⊗ X.toOver) |
| 59 | |
| 60 | /-- Sum of `n` image-point differences as an actual algebraic morphism. -/ |
| 61 | def wordMap (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 62 | (f : X.toOver ⟶ A.toOver) : (n : ℕ) → ImageWords.wordDomain X n ⟶ A.toOver |
| 63 | | 0 => 1 |
| 64 | | n + 1 => |
| 65 | (fst _ _ ≫ wordMap X A f n) * (snd _ _ ≫ differenceMap X A f) |
| 66 | |
| 67 | /-- Appending a diagonal pair appends a zero point difference. -/ |
| 68 | def wordInclusion (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 69 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) (n : ℕ) : |
| 70 | ImageWords.wordDomain X n ⟶ ImageWords.wordDomain X (n + 1) := |
| 71 | lift (𝟙 _) (toUnit _ ≫ lift x₀ x₀) |
| 72 | |
| 73 | @[simp] |
| 74 | theorem wordInclusion_map (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 75 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 76 | (f : X.toOver ⟶ A.toOver) (n : ℕ) : |
| 77 | wordInclusion X x₀ n ≫ ImageWords.wordMap X A f (n + 1) = ImageWords.wordMap X A f n := by |
| 78 | change wordInclusion X x₀ n ≫ |
| 79 | ((fst _ _ ≫ ImageWords.wordMap X A f n) * (snd _ _ ≫ differenceMap X A f)) = _ |
| 80 | rw [MonObj.comp_mul] |
| 81 | simp only [← Category.assoc, wordInclusion, lift_fst, lift_snd, Category.id_comp] |
| 82 | rw [Category.assoc, diagonal_difference] |
| 83 | simp |
| 84 | |
| 85 | instance wordMap_proper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 86 | (f : X.toOver ⟶ A.toOver) (n : ℕ) : IsProper (ImageWords.wordMap X A f n).left := by |
| 87 | have : IsProper A.toOver.hom := A.variety.presentation.projective.isProper |
| 88 | have : IsProper ((ImageWords.wordMap X A f n).left ≫ A.toOver.hom) := by |
| 89 | rw [Over.w] |
| 90 | infer_instance |
| 91 | exact IsProper.of_comp _ A.toOver.hom |
| 92 | |
| 93 | /-- The image of each finite-word morphism is an irreducible closed support. -/ |
| 94 | def wordSupport (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [ConnectedSpace X.carrier] |
| 95 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (f : X.toOver ⟶ A.toOver) (n : ℕ) : |
| 96 | IrreducibleCloseds A.carrier where |
| 97 | carrier := Set.range (ImageWords.wordMap X A f n).left |
| 98 | isIrreducible' := by |
| 99 | change IsIrreducible (Set.range (ImageWords.wordMap X A f n).left : Set A.toOver.left) |
| 100 | simpa only [Set.image_univ] using |
| 101 | ((IrreducibleSpace.isIrreducible_univ _).image (ImageWords.wordMap X A f n).left |
| 102 | (ImageWords.wordMap X A f n).left.continuous.continuousOn) |
| 103 | isClosed' := (ImageWords.wordMap X A f n).left.isClosedMap.isClosed_range |
| 104 | |
| 105 | theorem wordSupport_mono (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [ConnectedSpace X.carrier] |
| 106 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 107 | (f : X.toOver ⟶ A.toOver) : Monotone (wordSupport X A f) := by |
| 108 | apply monotone_nat_of_le_succ |
| 109 | intro n z hz |
| 110 | obtain ⟨x, rfl⟩ := hz |
| 111 | refine ⟨(wordInclusion X x₀ n).left x, ?_⟩ |
| 112 | change ((wordInclusion X x₀ n ≫ ImageWords.wordMap X A f (n + 1)).left) x = _ |
| 113 | rw [wordInclusion_map] |
| 114 | |
| 115 | /-- The finite-word images have two consecutive equal members before their |
| 116 | dimensions could exceed the dimension of the ambient abelian variety. -/ |
| 117 | theorem exists_wordSupport_eq_succ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 118 | [ConnectedSpace X.carrier] |
| 119 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 120 | (f : X.toOver ⟶ A.toOver) : |
| 121 | ∃ n ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap, |
| 122 | wordSupport X A f n = wordSupport X A f (n + 1) := by |
| 123 | classical |
| 124 | let D := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap |
| 125 | let d (n : ℕ) := Foundations.Scheme.SupportDimension.supportTranscendenceDimension (wordSupport X A f n) A.variety.structureMap |
| 126 | by_contra h |
| 127 | have hne (n : ℕ) (hn : n ≤ D) : wordSupport X A f n ≠ wordSupport X A f (n + 1) := by |
| 128 | intro heq |
| 129 | exact h ⟨n, hn, heq⟩ |
| 130 | have hstep (n : ℕ) (hn : n ≤ D) : d n < d (n + 1) := |
| 131 | Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt _ _ A.variety.structureMap |
| 132 | (lt_of_le_of_ne (wordSupport_mono X x₀ A f (Nat.le_succ n)) (hne n hn)) |
| 133 | have hgrowth : ∀ n, n ≤ D + 1 → n ≤ d n := by |
| 134 | intro n |
| 135 | induction n with |
| 136 | | zero => intro _; exact Nat.zero_le _ |
| 137 | | succ n ih => |
| 138 | intro hn |
| 139 | have hprev := ih (by omega) |
| 140 | have hnext := hstep n (by omega) |
| 141 | omega |
| 142 | have hlower := hgrowth (D + 1) (Nat.le_refl _) |
| 143 | have hupper : d (D + 1) ≤ D := |
| 144 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le (wordSupport X A f (D + 1)) A.variety.structureMap |
| 145 | omega |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Albanese.Construction.ImageWords |