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.ProdL2 |
| 2 | |
| 3 | /-! # Hilbert Triple Sq -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HilbertTripleSq |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The Hilbert product used for a form, its Dolbeault derivative, and its adjoint derivative. -/ |
| 10 | |
| 11 | variable (A B C : Type*) [NormedAddCommGroup A] [InnerProductSpace ℂ A] |
| 12 | [NormedAddCommGroup B] [InnerProductSpace ℂ B] |
| 13 | [NormedAddCommGroup C] [InnerProductSpace ℂ C] |
| 14 | |
| 15 | abbrev HilbertTriple := WithLp 2 (A × WithLp 2 (B × C)) |
| 16 | |
| 17 | def hilbertTripleCoordinates : HilbertTriple A B C ≃L[ℂ] A × (B × C) := |
| 18 | (WithLp.prodContinuousLinearEquiv 2 ℂ A (WithLp 2 (B × C))).trans |
| 19 | ((ContinuousLinearEquiv.refl ℂ A).prodCongr (WithLp.prodContinuousLinearEquiv 2 ℂ B C)) |
| 20 | |
| 21 | def hilbertTripleFirst : HilbertTriple A B C →L[ℂ] A := |
| 22 | (ContinuousLinearMap.fst ℂ A (B × C)).comp (hilbertTripleCoordinates A B C).toContinuousLinearMap |
| 23 | |
| 24 | def hilbertTripleSecond : HilbertTriple A B C →L[ℂ] B := |
| 25 | (ContinuousLinearMap.fst ℂ B C).comp |
| 26 | ((ContinuousLinearMap.snd ℂ A (B × C)).comp (hilbertTripleCoordinates A B C).toContinuousLinearMap) |
| 27 | |
| 28 | def hilbertTripleThird : HilbertTriple A B C →L[ℂ] C := |
| 29 | (ContinuousLinearMap.snd ℂ B C).comp |
| 30 | ((ContinuousLinearMap.snd ℂ A (B × C)).comp (hilbertTripleCoordinates A B C).toContinuousLinearMap) |
| 31 | |
| 32 | theorem hilbertTriple_inner (z w : HilbertTriple A B C) : |
| 33 | inner ℂ z w = |
| 34 | inner ℂ (hilbertTripleFirst A B C z) (hilbertTripleFirst A B C w) + |
| 35 | inner ℂ (hilbertTripleSecond A B C z) (hilbertTripleSecond A B C w) + |
| 36 | inner ℂ (hilbertTripleThird A B C z) (hilbertTripleThird A B C w) := by |
| 37 | change inner ℂ z w = inner ℂ z.fst w.fst + inner ℂ z.snd.fst w.snd.fst + inner ℂ z.snd.snd w.snd.snd |
| 38 | rw [WithLp.prod_inner_apply, WithLp.prod_inner_apply, add_assoc] |
| 39 | rfl |
| 40 | |
| 41 | theorem hilbertTriple_norm_sq (z : HilbertTriple A B C) : |
| 42 | ‖z‖ ^ 2 = ‖hilbertTripleFirst A B C z‖ ^ 2 + |
| 43 | ‖hilbertTripleSecond A B C z‖ ^ 2 + ‖hilbertTripleThird A B C z‖ ^ 2 := by |
| 44 | change ‖z‖ ^ 2 = ‖z.fst‖ ^ 2 + ‖z.snd.fst‖ ^ 2 + ‖z.snd.snd‖ ^ 2 |
| 45 | rw [WithLp.prod_norm_sq_eq_of_L2, WithLp.prod_norm_sq_eq_of_L2, add_assoc] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HilbertTripleSq |