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.Topology.Algebra.Module.Basic |
| 2 | import Mathlib.Analysis.Normed.Operator.ContinuousLinearMap |
| 3 | import Mathlib.Analysis.InnerProductSpace.Basic |
| 4 | import Mathlib.Analysis.SpecialFunctions.Sqrt |
| 5 | |
| 6 | /-! # Energy Coercivity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.EnergyCoercivity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A genuine squared-norm energy estimate passes from a linear range to its topological closure. -/ |
| 13 | |
| 14 | variable {S H X Y Z : Type*} [AddCommGroup S] [Module ℂ S] |
| 15 | [NormedAddCommGroup H] [NormedSpace ℂ H] |
| 16 | [NormedAddCommGroup X] [NormedSpace ℂ X] |
| 17 | [NormedAddCommGroup Y] [NormedSpace ℂ Y] |
| 18 | [NormedAddCommGroup Z] [NormedSpace ℂ Z] |
| 19 | |
| 20 | theorem linearRangeClosure_inclusion_dense (L : S →ₗ[ℂ] H) : |
| 21 | DenseRange (L.codRestrict (LinearMap.range L).topologicalClosure |
| 22 | (fun s => (LinearMap.range L).le_topologicalClosure ⟨s, rfl⟩)) := by |
| 23 | have hd : DenseRange (Set.inclusion (show Set.range L ⊆ closure (Set.range L) from subset_closure)) := |
| 24 | (denseRange_inclusion_iff subset_closure).mpr Set.Subset.rfl |
| 25 | exact hd.comp (Set.rangeFactorization_surjective (f := L)).denseRange (continuous_inclusion subset_closure) |
| 26 | |
| 27 | theorem energyCoercivity_on_range_closure (L : S →ₗ[ℂ] H) |
| 28 | (A : H →L[ℂ] X) (B : H →L[ℂ] Y) (C : H →L[ℂ] Z) |
| 29 | (hL : ∀ s, ‖A (L s)‖ ^ 2 ≤ ‖B (L s)‖ ^ 2 + ‖C (L s)‖ ^ 2) |
| 30 | {v : H} (hv : v ∈ (LinearMap.range L).topologicalClosure) : |
| 31 | ‖A v‖ ^ 2 ≤ ‖B v‖ ^ 2 + ‖C v‖ ^ 2 := by |
| 32 | have hclosed : IsClosed {w : H | ‖A w‖ ^ 2 ≤ ‖B w‖ ^ 2 + ‖C w‖ ^ 2} := |
| 33 | isClosed_le (A.continuous.norm.pow 2) ((B.continuous.norm.pow 2).add (C.continuous.norm.pow 2)) |
| 34 | apply closure_minimal (s := (LinearMap.range L : Set H)) _ hclosed hv |
| 35 | rintro _ ⟨s, rfl⟩ |
| 36 | exact hL s |
| 37 | |
| 38 | theorem energySource_opNorm_of_twice_sq (A : H →L[ℂ] X) |
| 39 | (hA : ∀ v, 2 * ‖A v‖ ^ 2 ≤ ‖v‖ ^ 2) : ‖A‖ ≤ Real.sqrt (1 / 2) := by |
| 40 | apply ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg _) |
| 41 | intro v |
| 42 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg v))).mp |
| 43 | rw [mul_pow, Real.sq_sqrt (by norm_num : (0 : ℝ) ≤ 1 / 2)] |
| 44 | have hh := hA v |
| 45 | linarith only [hh] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.DivisorClass.Chern.EnergyCoercivity |