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.FunctionMultiplication |
| 2 | import Mathlib.Geometry.Manifold.ContMDiff.Basic |
| 3 | |
| 4 | /-! # Smooth Scalar Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.SmoothScalarExtension.Godement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth scalar function on an open submanifold has an ambient representative smooth on precisely that open domain. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [TopologicalSpace M] [ChartedSpace E M] |
| 17 | |
| 18 | def openSmoothScalarExtension (O : Opens M) (f : O → ℂ) : M → ℂ := |
| 19 | Subtype.val.extend f 0 |
| 20 | |
| 21 | theorem openSmoothScalarExtension_apply (O : Opens M) (f : O → ℂ) (x : O) : |
| 22 | openSmoothScalarExtension O f x.val = f x := |
| 23 | congrFun (Function.extend_comp Subtype.val_injective f 0) x |
| 24 | |
| 25 | theorem openSmoothScalarExtension_smoothOn (O : Opens M) (f : O → ℂ) |
| 26 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) : |
| 27 | ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (openSmoothScalarExtension O f) O := by |
| 28 | intro x hx |
| 29 | have he : (fun y : O => openSmoothScalarExtension O f y.val) = f := |
| 30 | funext (openSmoothScalarExtension_apply O f) |
| 31 | have hs : ContMDiffAt 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ |
| 32 | (fun y : O => openSmoothScalarExtension O f y.val) ⟨x, hx⟩ := by |
| 33 | rw [he] |
| 34 | exact hf ⟨x, hx⟩ |
| 35 | exact (contMDiffAt_subtype_iff.mp hs).contMDiffWithinAt |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.SmoothScalarExtension.Godement |