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.Analysis.DifferentialForms.Manifold.Derivative |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.DegreeTransport |
| 3 | |
| 4 | /-! # Manifold Degree Transport -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | /-! Equality transport of actual manifold forms and compatibility with differentiation. -/ |
| 9 | |
| 10 | open scoped _root_.Manifold ContDiff |
| 11 | |
| 12 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] {n m k : ℕ} |
| 14 | |
| 15 | section |
| 16 | |
| 17 | /-- Change only the natural-number degree index, using a proved equality. -/ |
| 18 | def Algebra.RawManifoldForm.castDegree (h : n = m) (form : Algebra.RawManifoldForm E M n) : Algebra.RawManifoldForm E M m := h ▸ form |
| 19 | |
| 20 | @[simp] |
| 21 | theorem Algebra.RawManifoldForm.castDegree_apply (h : n = m) (form : Algebra.RawManifoldForm E M n) (x : M) |
| 22 | (v : Fin m → TangentSpace 𝓘(ℝ, E) x) : |
| 23 | Algebra.RawManifoldForm.castDegree h form x v = form x (fun i => v (Fin.cast h i)) := by |
| 24 | cases h |
| 25 | rfl |
| 26 | |
| 27 | @[simp] |
| 28 | theorem Algebra.RawManifoldForm.castDegree_inChart (h : n = m) (form : Algebra.RawManifoldForm E M n) |
| 29 | (e : OpenPartialHomeomorph M E) (y : E) : |
| 30 | (Algebra.RawManifoldForm.castDegree h form).inChart e y = Basic.FormValue.castDegree h (form.inChart e y) := by |
| 31 | cases h |
| 32 | rfl |
| 33 | |
| 34 | @[simp] |
| 35 | theorem Algebra.RawManifoldForm.castDegree_self (h : n = n) (form : Algebra.RawManifoldForm E M n) : |
| 36 | Algebra.RawManifoldForm.castDegree h form = form := by |
| 37 | cases h |
| 38 | rfl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem Algebra.RawManifoldForm.castDegree_castDegree (h : n = m) (g : m = k) (form : Algebra.RawManifoldForm E M n) : |
| 42 | Algebra.RawManifoldForm.castDegree g (Algebra.RawManifoldForm.castDegree h form) = Algebra.RawManifoldForm.castDegree (h.trans g) form := by |
| 43 | cases h |
| 44 | cases g |
| 45 | rfl |
| 46 | |
| 47 | @[simp] |
| 48 | theorem Algebra.RawManifoldForm.castDegree_add (h : n = m) (form other : Algebra.RawManifoldForm E M n) : |
| 49 | Algebra.RawManifoldForm.castDegree h (form + other) = Algebra.RawManifoldForm.castDegree h form + Algebra.RawManifoldForm.castDegree h other := by |
| 50 | cases h |
| 51 | rfl |
| 52 | |
| 53 | @[simp] |
| 54 | theorem Algebra.RawManifoldForm.castDegree_smul (h : n = m) (c : ℂ) (form : Algebra.RawManifoldForm E M n) : |
| 55 | Algebra.RawManifoldForm.castDegree h (c • form) = c • Algebra.RawManifoldForm.castDegree h form := by |
| 56 | cases h |
| 57 | rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-- Canonical equality transport of a genuine smooth manifold form. -/ |
| 62 | def Algebra.SmoothManifoldForm.castDegree (h : n = m) (form : Algebra.SmoothManifoldForm E M n) : Algebra.SmoothManifoldForm E M m := h ▸ form |
| 63 | |
| 64 | @[simp] |
| 65 | theorem Algebra.SmoothManifoldForm.castDegree_coe (h : n = m) (form : Algebra.SmoothManifoldForm E M n) : |
| 66 | (Algebra.SmoothManifoldForm.castDegree h form : Algebra.RawManifoldForm E M m) = |
| 67 | Algebra.RawManifoldForm.castDegree h (form : Algebra.RawManifoldForm E M n) := by |
| 68 | cases h |
| 69 | rfl |
| 70 | |
| 71 | @[simp] |
| 72 | theorem Algebra.SmoothManifoldForm.castDegree_self (h : n = n) (form : Algebra.SmoothManifoldForm E M n) : |
| 73 | Algebra.SmoothManifoldForm.castDegree h form = form := by |
| 74 | cases h |
| 75 | rfl |
| 76 | |
| 77 | @[simp] |
| 78 | theorem Algebra.SmoothManifoldForm.castDegree_castDegree (h : n = m) (g : m = k) (form : Algebra.SmoothManifoldForm E M n) : |
| 79 | Algebra.SmoothManifoldForm.castDegree g (Algebra.SmoothManifoldForm.castDegree h form) = Algebra.SmoothManifoldForm.castDegree (h.trans g) form := by |
| 80 | cases h |
| 81 | cases g |
| 82 | rfl |
| 83 | |
| 84 | @[simp] |
| 85 | theorem Algebra.SmoothManifoldForm.castDegree_add (h : n = m) (form other : Algebra.SmoothManifoldForm E M n) : |
| 86 | Algebra.SmoothManifoldForm.castDegree h (form + other) = Algebra.SmoothManifoldForm.castDegree h form + Algebra.SmoothManifoldForm.castDegree h other := by |
| 87 | cases h |
| 88 | rfl |
| 89 | |
| 90 | @[simp] |
| 91 | theorem Algebra.SmoothManifoldForm.castDegree_smul (h : n = m) (c : ℂ) (form : Algebra.SmoothManifoldForm E M n) : |
| 92 | Algebra.SmoothManifoldForm.castDegree h (c • form) = c • Algebra.SmoothManifoldForm.castDegree h form := by |
| 93 | cases h |
| 94 | rfl |
| 95 | |
| 96 | variable [IsManifold 𝓘(ℝ, E) ∞ M] |
| 97 | |
| 98 | @[simp] |
| 99 | theorem Algebra.SmoothManifoldForm.d_castDegree (h : n = m) (form : Algebra.SmoothManifoldForm E M n) : |
| 100 | Algebra.SmoothManifoldForm.d (Algebra.SmoothManifoldForm.castDegree h form) = Algebra.SmoothManifoldForm.castDegree (congrArg (fun l => l + 1) h) (Algebra.SmoothManifoldForm.d form) := by |
| 101 | cases h |
| 102 | rfl |
| 103 | |
| 104 | end OAI.Analysis.DifferentialForms.Manifold |