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.ContDiff.Operations |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | |
| 4 | /-! # Functions -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold.Functions |
| 7 | |
| 8 | /-! |
| 9 | # Smooth complex-valued functions on a real normed space |
| 10 | |
| 11 | The carrier consists of actual functions with mathlib's `ContDiff ℝ ∞` |
| 12 | property. It is the degree-zero coefficient space for the local de Rham |
| 13 | complex, not a replacement for forms on an algebraic variety. |
| 14 | -/ |
| 15 | |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | |
| 20 | /-- The complex submodule of smooth complex-valued functions. -/ |
| 21 | def smoothFunctions : Submodule ℂ (E → ℂ) where |
| 22 | carrier := {f | ContDiff ℝ ∞ f} |
| 23 | zero_mem' := by |
| 24 | change ContDiff ℝ ∞ (fun _ : E => (0 : ℂ)) |
| 25 | exact contDiff_const |
| 26 | add_mem' := by |
| 27 | intro f g hf hg |
| 28 | change ContDiff ℝ ∞ f at hf |
| 29 | change ContDiff ℝ ∞ g at hg |
| 30 | change ContDiff ℝ ∞ (fun x => f x + g x) |
| 31 | exact hf.add hg |
| 32 | smul_mem' := by |
| 33 | intro c f hf |
| 34 | change ContDiff ℝ ∞ f at hf |
| 35 | change ContDiff ℝ ∞ (fun x => c • f x) |
| 36 | exact hf.const_smul c |
| 37 | |
| 38 | /-- A smooth complex-valued function on the underlying real normed space. -/ |
| 39 | abbrev SmoothFunction := ↥(smoothFunctions E) |
| 40 | |
| 41 | namespace SmoothFunction |
| 42 | |
| 43 | variable {E} |
| 44 | |
| 45 | instance : CoeFun (SmoothFunction E) (fun _ => E → ℂ) := ⟨Subtype.val⟩ |
| 46 | |
| 47 | /-- A bundled smooth function has the stated smoothness property. -/ |
| 48 | theorem smooth (f : SmoothFunction E) : ContDiff ℝ ∞ (f : E → ℂ) := f.property |
| 49 | |
| 50 | @[ext] |
| 51 | theorem ext {f g : SmoothFunction E} (h : ∀ x, f x = g x) : f = g := |
| 52 | Subtype.ext (funext h) |
| 53 | |
| 54 | @[simp] |
| 55 | theorem zero_apply (x : E) : (0 : SmoothFunction E) x = 0 := rfl |
| 56 | |
| 57 | @[simp] |
| 58 | theorem add_apply (f g : SmoothFunction E) (x : E) : (f + g) x = f x + g x := rfl |
| 59 | |
| 60 | @[simp] |
| 61 | theorem smul_apply (c : ℂ) (f : SmoothFunction E) (x : E) : (c • f) x = c * f x := rfl |
| 62 | |
| 63 | /-- The constant smooth function with a prescribed complex value. -/ |
| 64 | def const (c : ℂ) : SmoothFunction E := ⟨fun _ => c, by |
| 65 | change ContDiff ℝ ∞ (fun _ : E => c) |
| 66 | exact contDiff_const⟩ |
| 67 | |
| 68 | @[simp] |
| 69 | theorem const_apply (c : ℂ) (x : E) : (const c : SmoothFunction E) x = c := rfl |
| 70 | |
| 71 | end SmoothFunction |
| 72 | |
| 73 | end OAI.Analysis.DifferentialForms.Manifold.Functions |