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 | /-! # Basic -/ |
| 6 | |
| 7 | namespace OAI.Analysis.DifferentialForms.Manifold.Basic |
| 8 | |
| 9 | /-! |
| 10 | # Smooth complex-valued real differential forms on a normed space |
| 11 | |
| 12 | The tangent space of a real normed vector space is canonically the vector space |
| 13 | itself. A differential form is therefore a smoothly varying continuous real |
| 14 | alternating multilinear map. The coefficients are complex, and scalar |
| 15 | multiplication acts on these coefficients, not on the real tangent arguments. |
| 16 | -/ |
| 17 | |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | |
| 22 | /-- The value of a complex-valued real differential form at one point. -/ |
| 23 | abbrev FormValue (n : ℕ) := E [⋀^Fin n]→L[ℝ] ℂ |
| 24 | |
| 25 | /-- An unbundled complex-valued real differential form. -/ |
| 26 | abbrev RawForm (n : ℕ) := E → FormValue E n |
| 27 | |
| 28 | /-- Actual infinitely differentiable forms form a complex linear subspace. -/ |
| 29 | def smoothFormSubmodule (n : ℕ) : Submodule ℂ (RawForm E n) where |
| 30 | carrier := {form | ContDiff ℝ ∞ form} |
| 31 | zero_mem' := by |
| 32 | change ContDiff ℝ ∞ (fun _ : E => (0 : FormValue E n)) |
| 33 | exact contDiff_const |
| 34 | add_mem' := by |
| 35 | intro form otherForm hform hotherForm |
| 36 | change ContDiff ℝ ∞ form at hform |
| 37 | change ContDiff ℝ ∞ otherForm at hotherForm |
| 38 | change ContDiff ℝ ∞ (fun x => form x + otherForm x) |
| 39 | exact hform.add hotherForm |
| 40 | smul_mem' := by |
| 41 | intro c form hform |
| 42 | change ContDiff ℝ ∞ form at hform |
| 43 | change ContDiff ℝ ∞ (fun x => c • form x) |
| 44 | exact hform.const_smul c |
| 45 | |
| 46 | /-- A bundled smooth complex-valued real differential form. -/ |
| 47 | abbrev SmoothForm (n : ℕ) := ↥(smoothFormSubmodule E n) |
| 48 | |
| 49 | namespace SmoothForm |
| 50 | |
| 51 | variable {E} {n : ℕ} |
| 52 | |
| 53 | instance : CoeFun (SmoothForm E n) (fun _ => RawForm E n) := ⟨fun form => form.1⟩ |
| 54 | |
| 55 | /-- The smoothness proof is part of the subtype, with its usual analytic meaning. -/ |
| 56 | theorem smooth (form : SmoothForm E n) : ContDiff ℝ ∞ (form : RawForm E n) := form.2 |
| 57 | |
| 58 | /-- Bundle a genuinely smooth form. -/ |
| 59 | def ofSmooth (form : RawForm E n) (hform : ContDiff ℝ ∞ form) : SmoothForm E n := ⟨form, hform⟩ |
| 60 | |
| 61 | @[simp] theorem ofSmooth_apply (form : RawForm E n) (hform : ContDiff ℝ ∞ form) (x : E) : |
| 62 | ofSmooth form hform x = form x := rfl |
| 63 | |
| 64 | @[ext] theorem ext {form otherForm : SmoothForm E n} (h : ∀ x, form x = otherForm x) : form = otherForm := |
| 65 | Subtype.ext (funext h) |
| 66 | |
| 67 | @[simp] theorem zero_apply (x : E) : (0 : SmoothForm E n) x = 0 := rfl |
| 68 | |
| 69 | @[simp] theorem add_apply (form otherForm : SmoothForm E n) (x : E) : |
| 70 | (form + otherForm) x = form x + otherForm x := rfl |
| 71 | |
| 72 | @[simp] theorem neg_apply (form : SmoothForm E n) (x : E) : (-form) x = -form x := rfl |
| 73 | |
| 74 | @[simp] theorem sub_apply (form otherForm : SmoothForm E n) (x : E) : |
| 75 | (form - otherForm) x = form x - otherForm x := rfl |
| 76 | |
| 77 | @[simp] theorem smul_apply (c : ℂ) (form : SmoothForm E n) (x : E) : |
| 78 | (c • form) x = c • form x := rfl |
| 79 | |
| 80 | /-- Evaluation of a form at a point is complex linear. -/ |
| 81 | def eval (x : E) : SmoothForm E n →ₗ[ℂ] FormValue E n where |
| 82 | toFun := fun form => form x |
| 83 | map_add' := fun _ _ => rfl |
| 84 | map_smul' := fun _ _ => rfl |
| 85 | |
| 86 | @[simp] theorem eval_apply (x : E) (form : SmoothForm E n) : eval x form = form x := rfl |
| 87 | |
| 88 | end SmoothForm |
| 89 | |
| 90 | end OAI.Analysis.DifferentialForms.Manifold.Basic |