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.InnerProductSpace.Basic |
| 2 | import Mathlib.Tactic |
| 3 | |
| 4 | /-! # Hilbert Coercive Energy Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HilbertCoerciveEnergyBound |
| 7 | |
| 8 | /-! The original coercive energy identity bounds each energy component by the source norm. -/ |
| 9 | |
| 10 | theorem hilbert_coercive_energy_component_bound |
| 11 | {H P Q : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] |
| 12 | [NormedAddCommGroup P] [InnerProductSpace ℂ P] |
| 13 | [NormedAddCommGroup Q] [InnerProductSpace ℂ Q] |
| 14 | (v f : H) (p : P) (q : Q) |
| 15 | (hc : ‖v‖ ^ 2 ≤ ‖p‖ ^ 2 + ‖q‖ ^ 2) |
| 16 | (he : inner ℂ v f = inner ℂ p p + inner ℂ q q) : ‖q‖ ≤ ‖f‖ := by |
| 17 | have he' : (inner ℂ v f).re = ‖p‖ ^ 2 + ‖q‖ ^ 2 := |
| 18 | (congrArg Complex.re he).trans ((Complex.add_re _ _).trans |
| 19 | (congrArg₂ (fun x y : ℝ => x + y) |
| 20 | (inner_self_eq_norm_sq (𝕜 := ℂ) p) (inner_self_eq_norm_sq (𝕜 := ℂ) q))) |
| 21 | have hcs := (Complex.re_le_norm (inner ℂ v f)).trans (norm_inner_le_norm v f) |
| 22 | have hv : ‖v‖ ≤ ‖f‖ := by |
| 23 | nlinarith only [hc, he', hcs, norm_nonneg v, norm_nonneg f] |
| 24 | have hm := mul_le_mul_of_nonneg_right hv (norm_nonneg f) |
| 25 | nlinarith only [he', hcs, hm, sq_nonneg ‖p‖, norm_nonneg q, norm_nonneg f] |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HilbertCoerciveEnergyBound |