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.Projection |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | import Mathlib.LinearAlgebra.SesquilinearForm.Basic |
| 4 | |
| 5 | /-! # Complement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Complement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A positive summand detects its orthogonal complementary summand. |
| 12 | Thus a Hermitian isometry carrying the positive summand onto the |
| 13 | positive summand also carries their complements into each other. -/ |
| 14 | |
| 15 | variable {V W : Type*} [AddCommGroup V] [Module ℂ V] [AddCommGroup W] [Module ℂ W] |
| 16 | |
| 17 | theorem mem_complement_of_orthogonal |
| 18 | (F : V →ₗ[ℂ] V →ₗ⋆[ℂ] ℂ) (P Q : Submodule ℂ V) (hPQ : IsCompl P Q) |
| 19 | (hpos : ∀ p ∈ P, p ≠ 0 → 0 < (F p p).re) |
| 20 | (horth : ∀ p ∈ P, ∀ q ∈ Q, F p q = 0) |
| 21 | (v : V) (hv : ∀ p ∈ P, F p v = 0) : v ∈ Q := by |
| 22 | obtain ⟨p, q, hpq, _⟩ := Submodule.existsUnique_add_of_isCompl hPQ v |
| 23 | have hz := hv p p.property |
| 24 | rw [← hpq, map_add, horth p p.property q q.property, add_zero] at hz |
| 25 | have hp : (p : V) = 0 := by |
| 26 | by_contra hp |
| 27 | have h := hpos p p.property hp |
| 28 | rw [hz, Complex.zero_re] at h |
| 29 | exact (lt_irrefl 0) h |
| 30 | rw [← hpq, hp, zero_add] |
| 31 | exact q.property |
| 32 | |
| 33 | theorem hermitianMap_complement |
| 34 | (F : V →ₗ[ℂ] V →ₗ⋆[ℂ] ℂ) (G : W →ₗ[ℂ] W →ₗ⋆[ℂ] ℂ) |
| 35 | (P Q : Submodule ℂ V) (P' Q' : Submodule ℂ W) (hP'Q' : IsCompl P' Q') |
| 36 | (hpos : ∀ p ∈ P', p ≠ 0 → 0 < (G p p).re) |
| 37 | (horth : ∀ p ∈ P, ∀ q ∈ Q, F p q = 0) |
| 38 | (horth' : ∀ p ∈ P', ∀ q ∈ Q', G p q = 0) |
| 39 | (f : V →ₗ[ℂ] W) (hf : ∀ x y, G (f x) (f y) = F x y) |
| 40 | (hP : ∀ p' ∈ P', ∃ p ∈ P, f p = p') |
| 41 | (q : V) (hq : q ∈ Q) : f q ∈ Q' := by |
| 42 | apply mem_complement_of_orthogonal G P' Q' hP'Q' hpos horth' |
| 43 | intro p' hp' |
| 44 | obtain ⟨p, hp, rfl⟩ := hP p' hp' |
| 45 | exact (hf p q).trans (horth p hp q hq) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Complement |