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 OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.EqualityByParameterTests |
| 2 | import Mathlib.CategoryTheory.Subfunctor.Basic |
| 3 | |
| 4 | /-! # Parameter Overlap Ideals -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ParameterOverlapIdeals |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed parameter loci with the same geometric test condition |
| 11 | have identical defining ideals on every overlap. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {B U V W ZU ZV : Over S} |
| 17 | |
| 18 | theorem closedParameter_overlap_ideals (F : Subfunctor (yoneda.obj B)) |
| 19 | (b : U ⟶ B) (c : V ⟶ B) (i : ZU ⟶ U) (j : ZV ⟶ V) |
| 20 | [IsClosedImmersion i.left] [IsClosedImmersion j.left] |
| 21 | (hi : ∀ (T : Over S) (x : T ⟶ U), x ≫ b ∈ F.obj (.op T) ↔ ∃! y : T ⟶ ZU, y ≫ i = x) |
| 22 | (hj : ∀ (T : Over S) (x : T ⟶ V), x ≫ c ∈ F.obj (.op T) ↔ ∃! y : T ⟶ ZV, y ≫ j = x) |
| 23 | (p : W ⟶ U) (q : W ⟶ V) (hpq : p ≫ b = q ≫ c) : |
| 24 | i.left.ker.comap p.left = j.left.ker.comap q.left := by |
| 25 | apply Ideal.EqualityByParameterTests.ideal_eq_of_over_tests W |
| 26 | intro T x |
| 27 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp] |
| 28 | change i.left.ker.comap (x ≫ p).left = ⊥ ↔ j.left.ker.comap (x ≫ q).left = ⊥ |
| 29 | have he : (x ≫ p) ≫ b = (x ≫ q) ≫ c := |
| 30 | (Category.assoc _ _ _).trans |
| 31 | ((congrArg (fun f => x ≫ f) hpq).trans (Category.assoc _ _ _).symm) |
| 32 | have hm : (x ≫ p) ≫ b ∈ F.obj (.op T) ↔ (x ≫ q) ≫ c ∈ F.obj (.op T) := by rw [he] |
| 33 | exact (FactorizationCriterion.over_closed_factorization_iff_comap_bot i (x ≫ p)).symm.trans |
| 34 | ((hi T (x ≫ p)).symm.trans |
| 35 | (hm.trans ((hj T (x ≫ q)).trans (FactorizationCriterion.over_closed_factorization_iff_comap_bot j (x ≫ q))))) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ParameterOverlapIdeals |