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 Mathlib.Analysis.Calculus.DifferentialForm.Basic |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | |
| 5 | /-! # Coefficients -/ |
| 6 | |
| 7 | namespace OAI.Analysis.DifferentialForms.Manifold.Coefficients.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Real and imaginary components of actual complex differential forms |
| 13 | |
| 14 | Postcomposition by a continuous real-linear map preserves smoothness and |
| 15 | commutes with exterior differentiation. The latter statement requires actual |
| 16 | differentiability, because the totalized derivative of a nondifferentiable map |
| 17 | need not commute with a noninjective projection. |
| 18 | -/ |
| 19 | |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {E F G : Type*} |
| 23 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 26 | {n : ℕ} |
| 27 | |
| 28 | /-- Change the values of a real differential form by a continuous linear map. -/ |
| 29 | def postcomposeForm (T : F →L[ℝ] G) (form : E → E [⋀^Fin n]→L[ℝ] F) : |
| 30 | E → E [⋀^Fin n]→L[ℝ] G := |
| 31 | fun x => T.compContinuousAlternatingMap (form x) |
| 32 | |
| 33 | @[simp] |
| 34 | theorem postcomposeForm_apply (T : F →L[ℝ] G) |
| 35 | (form : E → E [⋀^Fin n]→L[ℝ] F) (x : E) (v : Fin n → E) : |
| 36 | postcomposeForm T form x v = T (form x v) := rfl |
| 37 | |
| 38 | /-- Smoothness of the original form implies smoothness of its components. -/ |
| 39 | theorem contDiff_postcomposeForm (T : F →L[ℝ] G) |
| 40 | (form : E → E [⋀^Fin n]→L[ℝ] F) {r : WithTop ℕ∞} |
| 41 | (hform : ContDiff ℝ r form) : ContDiff ℝ r (postcomposeForm T form) := |
| 42 | (ContinuousLinearMap.compContinuousAlternatingMapCLM ℝ E F G (Fin n) T).contDiff.comp hform |
| 43 | |
| 44 | /-- Exterior differentiation commutes with a fixed map on the coefficients. -/ |
| 45 | theorem extDeriv_postcomposeForm (T : F →L[ℝ] G) |
| 46 | (form : E → E [⋀^Fin n]→L[ℝ] F) {x : E} |
| 47 | (hform : DifferentiableAt ℝ form x) : |
| 48 | extDeriv (postcomposeForm T form) x = T.compContinuousAlternatingMap (extDeriv form x) := by |
| 49 | let L := ContinuousLinearMap.compContinuousAlternatingMapCLM ℝ E F G (Fin n) T |
| 50 | have hd : fderiv ℝ (postcomposeForm T form) x = L.comp (fderiv ℝ form x) := |
| 51 | (L.hasFDerivAt.comp x hform.hasFDerivAt).fderiv |
| 52 | ext v |
| 53 | simp [extDeriv, hd, ContinuousAlternatingMap.alternatizeUncurryFin_apply, L] |
| 54 | |
| 55 | /-- The real component of a complex-valued real differential form. -/ |
| 56 | def realForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) : E → E [⋀^Fin n]→L[ℝ] ℝ := |
| 57 | postcomposeForm Complex.reCLM form |
| 58 | |
| 59 | /-- The imaginary component of a complex-valued real differential form. -/ |
| 60 | def imagForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) : E → E [⋀^Fin n]→L[ℝ] ℝ := |
| 61 | postcomposeForm Complex.imCLM form |
| 62 | |
| 63 | @[simp] |
| 64 | theorem realForm_apply (form : E → E [⋀^Fin n]→L[ℝ] ℂ) (x : E) (v : Fin n → E) : |
| 65 | realForm form x v = (form x v).re := rfl |
| 66 | |
| 67 | @[simp] |
| 68 | theorem imagForm_apply (form : E → E [⋀^Fin n]→L[ℝ] ℂ) (x : E) (v : Fin n → E) : |
| 69 | imagForm form x v = (form x v).im := rfl |
| 70 | |
| 71 | theorem contDiff_realForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) {r : WithTop ℕ∞} |
| 72 | (hform : ContDiff ℝ r form) : ContDiff ℝ r (realForm form) := |
| 73 | contDiff_postcomposeForm Complex.reCLM form hform |
| 74 | |
| 75 | theorem contDiff_imagForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) {r : WithTop ℕ∞} |
| 76 | (hform : ContDiff ℝ r form) : ContDiff ℝ r (imagForm form) := |
| 77 | contDiff_postcomposeForm Complex.imCLM form hform |
| 78 | |
| 79 | theorem extDeriv_realForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) {x : E} |
| 80 | (hform : DifferentiableAt ℝ form x) : |
| 81 | extDeriv (realForm form) x = realForm (extDeriv form) x := |
| 82 | extDeriv_postcomposeForm Complex.reCLM form hform |
| 83 | |
| 84 | theorem extDeriv_imagForm (form : E → E [⋀^Fin n]→L[ℝ] ℂ) {x : E} |
| 85 | (hform : DifferentiableAt ℝ form x) : |
| 86 | extDeriv (imagForm form) x = imagForm (extDeriv form) x := |
| 87 | extDeriv_postcomposeForm Complex.imCLM form hform |
| 88 | |
| 89 | /-- Both real component equations are necessary and sufficient for equality. -/ |
| 90 | theorem complexForm_ext {form other : E → E [⋀^Fin n]→L[ℝ] ℂ} |
| 91 | (hre : realForm form = realForm other) (him : imagForm form = imagForm other) : form = other := by |
| 92 | funext x |
| 93 | ext v |
| 94 | apply Complex.ext |
| 95 | · exact congrFun (congrFun (congrArg (fun f => fun y w => f y w) hre) x) v |
| 96 | · exact congrFun (congrFun (congrArg (fun f => fun y w => f y w) him) x) v |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.Analysis.DifferentialForms.Manifold.Coefficients.Comparison |