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 | /-! # Real Inner Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Complex.RealInnerSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The two original real inner products along a complex line recover the complex inner-product norm and its Cauchy--Schwarz bound. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] |
| 17 | attribute [local instance] InnerProductSpace.complexToReal |
| 18 | |
| 19 | theorem real_inner_rotation_sq (x v : E) : |
| 20 | (inner ℝ x v) ^ 2 + (inner ℝ x (Complex.I • v)) ^ 2 = ‖inner ℂ x v‖ ^ 2 := by |
| 21 | rw [real_inner_eq_re_inner ℂ, real_inner_eq_re_inner ℂ, inner_smul_right, Complex.sq_norm] |
| 22 | change (inner ℂ x v).re ^ 2 + (Complex.I * inner ℂ x v).re ^ 2 = Complex.normSq (inner ℂ x v) |
| 23 | simp only [Complex.mul_re, Complex.I_re, Complex.I_im, zero_mul, one_mul, zero_sub, |
| 24 | Complex.normSq_apply, pow_two] |
| 25 | ring |
| 26 | |
| 27 | theorem real_inner_rotation_sq_le (x v : E) : |
| 28 | (inner ℝ x v) ^ 2 + (inner ℝ x (Complex.I • v)) ^ 2 ≤ ‖x‖ ^ 2 * ‖v‖ ^ 2 := by |
| 29 | rw [real_inner_rotation_sq] |
| 30 | exact ((sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg x) (norm_nonneg v))).mpr |
| 31 | (norm_inner_le_norm x v)).trans_eq (mul_pow ‖x‖ ‖v‖ 2) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Complex.RealInnerSquare |