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.Functions |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ExteriorDerivative |
| 3 | |
| 4 | /-! # Degree Zero -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Degree-zero forms are smooth functions |
| 12 | |
| 13 | This identifies actual smooth complex-valued functions on a real normed space |
| 14 | with its smooth zero-forms. Under this identification the exterior derivative |
| 15 | is exactly the Fréchet derivative, viewed as a one-form. |
| 16 | -/ |
| 17 | |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | |
| 22 | section |
| 23 | |
| 24 | /-- Regard a smooth function as a smooth zero-form. -/ |
| 25 | def Functions.SmoothFunction.toZeroForm (f : Functions.SmoothFunction E) : Basic.SmoothForm E 0 := |
| 26 | ⟨fun x => ContinuousAlternatingMap.constOfIsEmpty ℝ E (Fin 0) (f x), by |
| 27 | change ContDiff ℝ ∞ |
| 28 | ((ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)) ∘ (f : E → ℂ)) |
| 29 | exact (ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)).contDiff.comp |
| 30 | f.smooth⟩ |
| 31 | |
| 32 | @[simp] |
| 33 | theorem Functions.SmoothFunction.toZeroForm_apply (f : Functions.SmoothFunction E) (x : E) (v : Fin 0 → E) : |
| 34 | f.toZeroForm x v = f x := rfl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | section |
| 39 | |
| 40 | /-- Evaluate the unique empty tuple of tangent vectors in a zero-form. -/ |
| 41 | def Basic.SmoothForm.toSmoothFunction (form : Basic.SmoothForm E 0) : Functions.SmoothFunction E := |
| 42 | ⟨fun x => form x 0, by |
| 43 | change ContDiff ℝ ∞ |
| 44 | ((ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)).symm ∘ (form : Basic.RawForm E 0)) |
| 45 | exact (ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)).symm.contDiff.comp |
| 46 | form.smooth⟩ |
| 47 | |
| 48 | @[simp] |
| 49 | theorem Basic.SmoothForm.toSmoothFunction_apply (form : Basic.SmoothForm E 0) (x : E) : |
| 50 | form.toSmoothFunction x = form x 0 := rfl |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-- Smooth zero-forms and smooth functions are canonically complex-linearly equivalent. -/ |
| 55 | def DegreeZero.smoothFunctionZeroFormEquiv : Functions.SmoothFunction E ≃ₗ[ℂ] Basic.SmoothForm E 0 where |
| 56 | toFun := Functions.SmoothFunction.toZeroForm |
| 57 | invFun := Basic.SmoothForm.toSmoothFunction |
| 58 | left_inv f := by |
| 59 | apply Functions.SmoothFunction.ext |
| 60 | intro x |
| 61 | rfl |
| 62 | right_inv form := by |
| 63 | apply Basic.SmoothForm.ext |
| 64 | intro x |
| 65 | apply ContinuousAlternatingMap.ext |
| 66 | intro v |
| 67 | change form x 0 = form x v |
| 68 | congr 1 |
| 69 | exact Subsingleton.elim _ _ |
| 70 | map_add' f g := by |
| 71 | apply Basic.SmoothForm.ext |
| 72 | intro x |
| 73 | apply ContinuousAlternatingMap.ext |
| 74 | intro v |
| 75 | rfl |
| 76 | map_smul' c f := by |
| 77 | apply Basic.SmoothForm.ext |
| 78 | intro x |
| 79 | apply ContinuousAlternatingMap.ext |
| 80 | intro v |
| 81 | rfl |
| 82 | |
| 83 | section |
| 84 | |
| 85 | /-- Converting a function to a zero-form and evaluating the empty tuple recovers it. -/ |
| 86 | @[simp] |
| 87 | theorem Functions.SmoothFunction.toSmoothFunction_toZeroForm (f : Functions.SmoothFunction E) : |
| 88 | f.toZeroForm.toSmoothFunction = f := |
| 89 | DegreeZero.smoothFunctionZeroFormEquiv.left_inv f |
| 90 | |
| 91 | /-- The derivative of a zero-form is the one-form determined by `fderiv`. -/ |
| 92 | theorem Functions.SmoothFunction.d_toZeroForm (f : Functions.SmoothFunction E) (x : E) : |
| 93 | Basic.SmoothForm.d f.toZeroForm x = |
| 94 | ContinuousAlternatingMap.ofSubsingleton ℝ E ℂ (0 : Fin 1) |
| 95 | (fderiv ℝ (f : E → ℂ) x) := |
| 96 | extDeriv_constOfIsEmpty (f : E → ℂ) x |
| 97 | |
| 98 | /-- Evaluate the exterior derivative of a smooth function on a tangent vector. -/ |
| 99 | @[simp] |
| 100 | theorem Functions.SmoothFunction.d_toZeroForm_apply (f : Functions.SmoothFunction E) (x : E) (v : Fin 1 → E) : |
| 101 | Basic.SmoothForm.d f.toZeroForm x v = fderiv ℝ (f : E → ℂ) x (v 0) := by |
| 102 | rw [Functions.SmoothFunction.d_toZeroForm] |
| 103 | rfl |
| 104 | |
| 105 | end |
| 106 | |
| 107 | /-- Evaluating a zero-form and reconstructing its empty alternating map recovers it. -/ |
| 108 | @[simp] |
| 109 | theorem Basic.SmoothForm.toZeroForm_toSmoothFunction (form : Basic.SmoothForm E 0) : |
| 110 | form.toSmoothFunction.toZeroForm = form := |
| 111 | DegreeZero.smoothFunctionZeroFormEquiv.right_inv form |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.Analysis.DifferentialForms.Manifold |