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.Comparison.Betti.HigherSmoothSymbols |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AlternatingCovectors |
| 3 | |
| 4 | /-! # Symbol Pointwise -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.SymbolPointwise |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pointwise exterior-covector description of every realized algebraic symbol. -/ |
| 13 | |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 18 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 19 | {A : Type*} [CommRing A] [Algebra ℂ A] |
| 20 | (φ : A →ₐ[ℂ] C(M, ℂ)) |
| 21 | (hφ : ∀ a : A, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (φ a)) |
| 22 | |
| 23 | local instance tangentNormedGroup (x : M) : NormedAddCommGroup (TangentSpace 𝓘(ℝ, E) x) := |
| 24 | inferInstanceAs (NormedAddCommGroup E) |
| 25 | |
| 26 | local instance tangentNormedSpace (x : M) : NormedSpace ℝ (TangentSpace 𝓘(ℝ, E) x) := |
| 27 | inferInstanceAs (NormedSpace ℝ E) |
| 28 | |
| 29 | /-- The one-covector is the actual exterior derivative, evaluated at the given point. -/ |
| 30 | def functionCovector (a : A) (x : M) : TangentSpace 𝓘(ℝ, E) x [⋀^Fin 1]→L[ℝ] ℂ := |
| 31 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (FormRealization.zeroFormMap φ hφ a) x |
| 32 | |
| 33 | theorem smoothSymbol_covectors : ∀ (n : ℕ) (a : Fin (n + 1) → A) (x : M), |
| 34 | HigherSmoothSymbols.smoothSymbol φ hφ n a x = |
| 35 | AlternatingCovectors.Smooth.iteratedCovectorWedge n (φ (a 0) x) (fun i => functionCovector φ hφ (a i.succ) x) := by |
| 36 | intro n |
| 37 | induction n with |
| 38 | | zero => intro a x; rfl |
| 39 | | succ n ih => |
| 40 | intro a x |
| 41 | change AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (HigherSmoothSymbols.smoothSymbol φ hφ n (Fin.init a) x) |
| 42 | (functionCovector φ hφ (a (Fin.last (n + 1))) x) = |
| 43 | AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge |
| 44 | (AlternatingCovectors.Smooth.iteratedCovectorWedge n (φ (a 0) x) |
| 45 | (Fin.init (fun i : Fin (n + 1) => functionCovector φ hφ (a i.succ) x))) |
| 46 | (functionCovector φ hφ (a (Fin.last n).succ) x) |
| 47 | rw [ih] |
| 48 | have hvec : (fun i : Fin n => functionCovector φ hφ (Fin.init a i.succ) x) = |
| 49 | Fin.init (fun i : Fin (n + 1) => functionCovector φ hφ (a i.succ) x) := by |
| 50 | funext i |
| 51 | change functionCovector φ hφ (a i.succ.castSucc) x = |
| 52 | functionCovector φ hφ (a i.castSucc.succ) x |
| 53 | rw [Fin.succ_castSucc] |
| 54 | rw [hvec] |
| 55 | rfl |
| 56 | |
| 57 | theorem functionCovector_add (a b : A) (x : M) : |
| 58 | functionCovector φ hφ (a + b) x = functionCovector φ hφ a x + functionCovector φ hφ b x := by |
| 59 | unfold functionCovector |
| 60 | rw [map_add, map_add] |
| 61 | rfl |
| 62 | |
| 63 | theorem functionCovector_smul (c : ℂ) (a : A) (x : M) : |
| 64 | functionCovector φ hφ (c • a) x = c • functionCovector φ hφ a x := by |
| 65 | unfold functionCovector |
| 66 | rw [map_smul, map_smul] |
| 67 | rfl |
| 68 | |
| 69 | /-- The scalar factors in Leibniz are actual evaluations at the same point. -/ |
| 70 | theorem functionCovector_mul (a b : A) (x : M) : |
| 71 | functionCovector φ hφ (a * b) x = |
| 72 | φ a x • functionCovector φ hφ b x + φ b x • functionCovector φ hφ a x := by |
| 73 | unfold functionCovector |
| 74 | rw [FormRealization.d_zeroFormMap_mul] |
| 75 | rfl |
| 76 | |
| 77 | theorem functionCovector_constant (c : ℂ) (x : M) : |
| 78 | functionCovector φ hφ (algebraMap ℂ A c) x = 0 := by |
| 79 | have hc : algebraMap ℂ A c = c • (1 : A) := |
| 80 | ((Algebra.smul_def c (1 : A)).trans (mul_one _)).symm |
| 81 | rw [hc, functionCovector_smul] |
| 82 | change c • (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (FormRealization.zeroFormMap φ hφ 1) x) = 0 |
| 83 | rw [FormRealization.d_zeroFormMap_one] |
| 84 | ext v |
| 85 | exact mul_zero c |
| 86 | |
| 87 | /-- Every repeated algebraic differential vanishes in the actual smooth realization. -/ |
| 88 | theorem smoothSymbol_repeated {n : ℕ} (a : Fin (n + 1) → A) |
| 89 | (i j : Fin n) (hij : i ≠ j) (ha : a i.succ = a j.succ) : |
| 90 | HigherSmoothSymbols.smoothSymbol φ hφ n a = 0 := by |
| 91 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 92 | intro x |
| 93 | rw [smoothSymbol_covectors] |
| 94 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_repeated _ _ i j hij (congrArg (fun b => functionCovector φ hφ b x) ha) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | /-! Every defining algebraic form relation vanishes in genuine smooth forms. -/ |
| 99 | |
| 100 | open scoped _root_.Manifold ContDiff |
| 101 | |
| 102 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 103 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 104 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 105 | {A : Type*} [CommRing A] [Algebra ℂ A] |
| 106 | (φ : A →ₐ[ℂ] C(M, ℂ)) |
| 107 | (hφ : ∀ a : A, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (φ a)) |
| 108 | |
| 109 | attribute [local instance] tangentNormedGroup tangentNormedSpace |
| 110 | |
| 111 | theorem covectors_update_zero {n : ℕ} (a : Fin (n + 1) → A) (b : A) (x : M) : |
| 112 | (fun i : Fin n => functionCovector φ hφ (Function.update a 0 b i.succ) x) = |
| 113 | (fun i => functionCovector φ hφ (a i.succ) x) := by |
| 114 | funext i |
| 115 | rw [Function.update_of_ne i.succ_ne_zero] |
| 116 | |
| 117 | theorem covectors_update_succ {n : ℕ} (a : Fin (n + 1) → A) (i : Fin n) (b : A) (x : M) : |
| 118 | (fun j : Fin n => functionCovector φ hφ (Function.update a i.succ b j.succ) x) = |
| 119 | Function.update (fun j => functionCovector φ hφ (a j.succ) x) i (functionCovector φ hφ b x) := by |
| 120 | change (fun b => functionCovector φ hφ b x) ∘ Fin.tail (Function.update a i.succ b) = |
| 121 | Function.update ((fun b => functionCovector φ hφ b x) ∘ Fin.tail a) i (functionCovector φ hφ b x) |
| 122 | rw [Fin.tail_update_succ, Function.comp_update] |
| 123 | |
| 124 | theorem smoothSymbol_add {n : ℕ} (a : Fin (n + 1) → A) (i : Fin (n + 1)) (b c : A) : |
| 125 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i (b + c)) = |
| 126 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i b) + HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i c) := by |
| 127 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 128 | intro x |
| 129 | change HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i (b + c)) x = |
| 130 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i b) x + HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i c) x |
| 131 | simp only [smoothSymbol_covectors] |
| 132 | refine Fin.cases ?_ (fun j => ?_) i |
| 133 | · simp only [covectors_update_zero, Function.update_self, map_add, ContinuousMap.add_apply] |
| 134 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_add_coeff _ _ _ |
| 135 | · simp only [covectors_update_succ, Function.update_of_ne (Ne.symm j.succ_ne_zero), functionCovector_add] |
| 136 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_add_slot _ _ _ _ _ |
| 137 | |
| 138 | theorem smoothSymbol_smul {n : ℕ} (a : Fin (n + 1) → A) (i : Fin (n + 1)) (c : ℂ) (b : A) : |
| 139 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i (c • b)) = |
| 140 | c • HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i b) := by |
| 141 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 142 | intro x |
| 143 | change HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i (c • b)) x = |
| 144 | c • HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i b) x |
| 145 | simp only [smoothSymbol_covectors] |
| 146 | refine Fin.cases ?_ (fun j => ?_) i |
| 147 | · simp only [covectors_update_zero, Function.update_self, map_smul, ContinuousMap.smul_apply, smul_eq_mul] |
| 148 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff _ _ _ |
| 149 | · simp only [covectors_update_succ, Function.update_of_ne (Ne.symm j.succ_ne_zero), functionCovector_smul] |
| 150 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot _ _ _ _ _ |
| 151 | |
| 152 | theorem smoothSymbol_leibniz {n : ℕ} (a : Fin (n + 1) → A) (i : Fin n) (b c : A) : |
| 153 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i.succ (b * c)) = |
| 154 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update (Function.update a 0 (a 0 * b)) i.succ c) + |
| 155 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update (Function.update a 0 (a 0 * c)) i.succ b) := by |
| 156 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 157 | intro x |
| 158 | change HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i.succ (b * c)) x = |
| 159 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update (Function.update a 0 (a 0 * b)) i.succ c) x + |
| 160 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update (Function.update a 0 (a 0 * c)) i.succ b) x |
| 161 | simp only [smoothSymbol_covectors, covectors_update_succ, covectors_update_zero, |
| 162 | Function.update_of_ne (Ne.symm i.succ_ne_zero), Function.update_self, |
| 163 | functionCovector_mul, map_mul, ContinuousMap.mul_apply] |
| 164 | erw [AlternatingCovectors.Smooth.iteratedCovectorWedge_add_slot, AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot, |
| 165 | AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot, |
| 166 | mul_comm (φ (a 0) x) (φ b x), mul_comm (φ (a 0) x) (φ c x), |
| 167 | AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff, AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff] |
| 168 | rfl |
| 169 | |
| 170 | theorem smoothSymbol_constant {n : ℕ} (a : Fin (n + 1) → A) (i : Fin n) (c : ℂ) : |
| 171 | HigherSmoothSymbols.smoothSymbol φ hφ n (Function.update a i.succ (algebraMap ℂ A c)) = 0 := by |
| 172 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 173 | intro x |
| 174 | rw [smoothSymbol_covectors, covectors_update_succ, functionCovector_constant] |
| 175 | exact AlternatingCovectors.Smooth.iteratedCovectorWedge_zero_slot _ _ _ |
| 176 | |
| 177 | /-- The complete presentation, including differential closure, is respected. -/ |
| 178 | theorem rawSmoothMap_relation_zero {n : ℕ} {r : Algebraic.Forms.RawForm A n} |
| 179 | (hr : Algebraic.Forms.FormRelation A n r) : HigherSmoothSymbols.rawSmoothMap φ hφ n r = 0 := by |
| 180 | induction hr with |
| 181 | | add n a i b c => |
| 182 | rw [map_sub, map_sub, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, |
| 183 | smoothSymbol_add] |
| 184 | abel |
| 185 | | smul n a i c b => |
| 186 | rw [map_sub, map_smul, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_smul, sub_self] |
| 187 | | leibniz n a i b c => |
| 188 | rw [map_sub, map_sub, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, |
| 189 | smoothSymbol_leibniz] |
| 190 | abel |
| 191 | | constant n a i c => rw [HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_constant] |
| 192 | | alternating n a i j hij ha => rw [HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_repeated φ hφ a i j hij ha] |
| 193 | | differential hr ih => rw [HigherSmoothSymbols.rawSmoothMap_d, ih, map_zero] |
| 194 | |
| 195 | end |
| 196 | |
| 197 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.SymbolPointwise |