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.LinearAlgebra.Matrix.SchurComplement |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | import Mathlib.Algebra.Ring.Parity |
| 4 | import Mathlib.Tactic |
| 5 | |
| 6 | /-! # Wedge -/ |
| 7 | |
| 8 | namespace OAI.Analysis.HodgeTheory.Wedge.Constructions.PolarizedPairing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | PolarizedPairing: the actual coordinate determinant for the canonical-bundle wedge. |
| 14 | Rows are `dz₁,...,dzₙ,dbar(z₁),...,dbar(zₙ)` and columns are |
| 15 | `∂x₁,...,∂xₙ,∂y₁,...,∂yₙ`. The sign converts that column order to the |
| 16 | complex orientation `∂x₁,∂y₁,...,∂xₙ,∂yₙ`. |
| 17 | -/ |
| 18 | |
| 19 | def canonicalWedgeMatrix (n : ℕ) : |
| 20 | Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℂ := |
| 21 | Matrix.fromBlocks 1 (Complex.I • 1) 1 ((-Complex.I) • 1) |
| 22 | |
| 23 | theorem canonicalWedgeMatrix_det (n : ℕ) : |
| 24 | (canonicalWedgeMatrix n).det = (-2 * Complex.I) ^ n := by |
| 25 | rw [canonicalWedgeMatrix, Matrix.det_fromBlocks_one₁₁, Matrix.one_mul, |
| 26 | ← sub_smul, Matrix.det_smul, Matrix.det_one, mul_one, Fintype.card_fin] |
| 27 | congr 1 |
| 28 | ring |
| 29 | |
| 30 | theorem complex_orientation_phase (n : ℕ) : |
| 31 | (-1 : ℂ) ^ (n * (n - 1) / 2) * (-2 * Complex.I) ^ n = |
| 32 | (Complex.I ^ (n * n))⁻¹ * (2 : ℂ) ^ n := by |
| 33 | have heven : 2 * (n * (n - 1) / 2) = n * (n - 1) := |
| 34 | Nat.mul_div_cancel' (Nat.even_mul_pred_self n).two_dvd |
| 35 | have htotal : n * (n - 1) + n = n * n := by |
| 36 | cases n with |
| 37 | | zero => rfl |
| 38 | | succ k => simp only [Nat.add_sub_cancel]; ring |
| 39 | have hi : (-Complex.I) ^ 2 = (-1 : ℂ) := by norm_num |
| 40 | calc |
| 41 | (-1 : ℂ) ^ (n * (n - 1) / 2) * (-2 * Complex.I) ^ n = |
| 42 | (-Complex.I) ^ (2 * (n * (n - 1) / 2)) * |
| 43 | ((2 : ℂ) ^ n * (-Complex.I) ^ n) := by |
| 44 | rw [pow_mul, hi, ← mul_pow] |
| 45 | congr 2 |
| 46 | ring |
| 47 | _ = (-Complex.I) ^ (n * n) * (2 : ℂ) ^ n := by |
| 48 | rw [heven, mul_comm ((2 : ℂ) ^ n) ((-Complex.I) ^ n), |
| 49 | ← mul_assoc, ← pow_add, htotal] |
| 50 | _ = (Complex.I ^ (n * n))⁻¹ * (2 : ℂ) ^ n := by |
| 51 | rw [← inv_pow, Complex.inv_I] |
| 52 | |
| 53 | /-- The exterior-product coefficient relative to complex-oriented real volume. -/ |
| 54 | def topWedgeCoefficient {n : ℕ} (a b : ℂ) : ℂ := |
| 55 | ((-1 : ℂ) ^ (n * (n - 1) / 2) * (canonicalWedgeMatrix n).det) * (a * b) |
| 56 | |
| 57 | theorem topWedgeCoefficient_eq {n : ℕ} (a b : ℂ) : |
| 58 | topWedgeCoefficient (n := n) a b = |
| 59 | (Complex.I ^ (n * n))⁻¹ * (2 : ℂ) ^ n * (a * b) := by |
| 60 | rw [topWedgeCoefficient, canonicalWedgeMatrix_det, complex_orientation_phase] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.Analysis.HodgeTheory.Wedge.Constructions.PolarizedPairing |