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.SesquilinearForm |
| 2 | import Mathlib.Basic.Complex.BigOperators |
| 3 | import Mathlib.Tactic |
| 4 | |
| 5 | /-! # Hermitian Matrix Form -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.HermitianMatrixForm |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal matrix expression used by ReferenceFamily is a bundled Hermitian |
| 12 | form, linear in its first argument and conjugate-linear in its second. -/ |
| 13 | |
| 14 | def complexHermitianMatrixForm (H : Matrix (Fin 3) (Fin 3) ℂ) : |
| 15 | (Fin 3 → ℂ) →ₗ[ℂ] (Fin 3 → ℂ) →ₗ⋆[ℂ] ℂ := |
| 16 | Matrix.toLinearMap₂'Aux (RingHom.id ℂ) (starRingEnd ℂ) H |
| 17 | |
| 18 | theorem complexHermitianMatrixForm_apply (H : Matrix (Fin 3) (Fin 3) ℂ) (x y : Fin 3 → ℂ) : |
| 19 | complexHermitianMatrixForm H x y = ∑ i, ∑ j, x i * H i j * star (y j) := by |
| 20 | change (∑ i, ∑ j, star (y j) • (x i) • H i j) = _ |
| 21 | apply Finset.sum_congr rfl |
| 22 | intro i _ |
| 23 | apply Finset.sum_congr rfl |
| 24 | intro j _ |
| 25 | change star (y j) * (x i * H i j) = _ |
| 26 | ring |
| 27 | |
| 28 | theorem complexHermitianMatrixForm_symmetry (H : Matrix (Fin 3) (Fin 3) ℂ) |
| 29 | (hH : ∀ i j, H i j = star (H j i)) (x y : Fin 3 → ℂ) : |
| 30 | complexHermitianMatrixForm H y x = star (complexHermitianMatrixForm H x y) := by |
| 31 | rw [complexHermitianMatrixForm_apply, complexHermitianMatrixForm_apply] |
| 32 | simp only [star_sum, star_mul, star_star] |
| 33 | rw [Finset.sum_comm] |
| 34 | apply Finset.sum_congr rfl |
| 35 | intro j _ |
| 36 | apply Finset.sum_congr rfl |
| 37 | intro i _ |
| 38 | rw [hH i j] |
| 39 | ring |
| 40 | |
| 41 | def restrictHermitianForm {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 42 | (F : V →ₗ[ℂ] V →ₗ⋆[ℂ] ℂ) (P : Submodule ℂ V) : P →ₗ[ℂ] P →ₗ⋆[ℂ] ℂ := |
| 43 | (F.comp P.subtype).compl₂ P.subtype |
| 44 | |
| 45 | theorem restrictHermitianForm_apply {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 46 | (F : V →ₗ[ℂ] V →ₗ⋆[ℂ] ℂ) (P : Submodule ℂ V) (x y : P) : |
| 47 | restrictHermitianForm F P x y = F x.val y.val := rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.HermitianMatrixForm |