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.MeasureTheory.Function.L2Space |
| 2 | import Mathlib.Topology.Algebra.Support |
| 3 | |
| 4 | /-! # Lp Test Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.LpTestSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! L² pairings depend only on the source values on the support of the fixed test. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | |
| 14 | theorem memLp_real_inner_eq_on_test_support |
| 15 | {X F : Type*} [MeasurableSpace X] [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 16 | {μ : Measure X} (a b q : X → F) (ha : MemLp a 2 μ) (hb : MemLp b 2 μ) (hq : MemLp q 2 μ) |
| 17 | (heq : ∀ x ∈ Function.support q, a x = b x) : |
| 18 | inner ℝ (ha.toLp a) (hq.toLp q) = inner ℝ (hb.toLp b) (hq.toLp q) := by |
| 19 | rw [L2.inner_def, L2.inner_def] |
| 20 | apply integral_congr_ae |
| 21 | apply Filter.Eventually.mono (ha.coeFn_toLp.and (hb.coeFn_toLp.and hq.coeFn_toLp)) |
| 22 | intro x hx |
| 23 | dsimp only |
| 24 | rw [hx.1, hx.2.1, hx.2.2] |
| 25 | by_cases hqzero : q x = 0 |
| 26 | · simp only [hqzero, inner_zero_right] |
| 27 | · exact congrArg (fun v => inner ℝ v (q x)) (heq x hqzero) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.DivisorClass.Chern.LpTestSupport |