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.ExteriorDerivative |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.Alternatization |
| 3 | |
| 4 | /-! # Vectors -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | /-! |
| 9 | # Pullback of smooth differential forms on normed spaces |
| 10 | |
| 11 | The construction uses the actual derivative on every tangent argument and |
| 12 | commutes with mathlib's exterior derivative. It is local infrastructure for |
| 13 | forms on manifolds, not an asserted geometric comparison theorem. |
| 14 | -/ |
| 15 | |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable {E F G : Type*} |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 22 | {n : ℕ} |
| 23 | |
| 24 | /-- Pullback along a smooth map, complex-linear in the differential form. -/ |
| 25 | noncomputable def Basic.SmoothForm.pullback (f : E → F) (hf : ContDiff ℝ ∞ f) : |
| 26 | Basic.SmoothForm F n →ₗ[ℂ] Basic.SmoothForm E n where |
| 27 | toFun form := |
| 28 | ⟨fun x => (form (f x)).compContinuousLinearMap (fderiv ℝ f x), |
| 29 | Alternatization.contDiff_alternating_compContinuousLinearMap (form.smooth.comp hf) |
| 30 | (contDiff_infty_iff_fderiv.mp hf).2⟩ |
| 31 | map_add' form otherForm := by |
| 32 | apply Subtype.ext |
| 33 | funext x |
| 34 | ext v |
| 35 | rfl |
| 36 | map_smul' c form := by |
| 37 | apply Subtype.ext |
| 38 | funext x |
| 39 | ext v |
| 40 | rfl |
| 41 | |
| 42 | @[simp] theorem Basic.SmoothForm.pullback_apply (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 43 | (form : Basic.SmoothForm F n) (x : E) : |
| 44 | Basic.SmoothForm.pullback f hf form x = (form (f x)).compContinuousLinearMap (fderiv ℝ f x) := rfl |
| 45 | |
| 46 | theorem Basic.SmoothForm.pullback_apply_vectors (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 47 | (form : Basic.SmoothForm F n) (x : E) (v : Fin n → E) : |
| 48 | Basic.SmoothForm.pullback f hf form x v = form (f x) (fun i => fderiv ℝ f x (v i)) := rfl |
| 49 | |
| 50 | @[simp] theorem Basic.SmoothForm.pullback_id (form : Basic.SmoothForm E n) : |
| 51 | Basic.SmoothForm.pullback (id : E → E) contDiff_id form = form := by |
| 52 | ext x v |
| 53 | simp [Basic.SmoothForm.pullback_apply, ContinuousAlternatingMap.compContinuousLinearMap_apply] |
| 54 | |
| 55 | theorem Basic.SmoothForm.pullback_comp (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 56 | (g : F → G) (hg : ContDiff ℝ ∞ g) (form : Basic.SmoothForm G n) : |
| 57 | Basic.SmoothForm.pullback (g ∘ f) (hg.comp hf) form = Basic.SmoothForm.pullback f hf (Basic.SmoothForm.pullback g hg form) := by |
| 58 | ext x v |
| 59 | simp only [Basic.SmoothForm.pullback_apply, ContinuousAlternatingMap.compContinuousLinearMap_apply, |
| 60 | fderiv_comp x ((hg.differentiable (by simp)).differentiableAt) |
| 61 | ((hf.differentiable (by simp)).differentiableAt), |
| 62 | ContinuousLinearMap.coe_comp, Function.comp_assoc, Function.comp_apply] |
| 63 | |
| 64 | /-- Exterior differentiation commutes with pullback along a smooth map. -/ |
| 65 | theorem Basic.SmoothForm.d_pullback (f : E → F) (hf : ContDiff ℝ ∞ f) (form : Basic.SmoothForm F n) : |
| 66 | Basic.SmoothForm.d (Basic.SmoothForm.pullback f hf form) = Basic.SmoothForm.pullback f hf (Basic.SmoothForm.d form) := by |
| 67 | apply Basic.SmoothForm.ext |
| 68 | intro x |
| 69 | exact extDeriv_pullback |
| 70 | ((form.smooth.differentiable (by simp)).differentiableAt) |
| 71 | hf.contDiffAt (by |
| 72 | rw [minSmoothness_of_isRCLikeNormedField] |
| 73 | exact WithTop.coe_le_coe.mpr (show (2 : ℕ∞) ≤ ⊤ from le_top)) |
| 74 | |
| 75 | end OAI.Analysis.DifferentialForms.Manifold |