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.Affine.TestFactorization |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ParameterIsoFactorization |
| 3 | |
| 4 | /-! # Spectrum Test Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SpectrumTestFactorization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Testing factorizations on spectra of rings suffices to test them |
| 11 | on every affine scheme, including its actual structure map to the base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {M Z : Over S} |
| 17 | |
| 18 | theorem affine_lifts_of_spectrum_tests (F : Subfunctor (yoneda.obj M)) (j : Z ⟶ M) |
| 19 | (hspec : ∀ (A : Type u) [CommRing A] (a : Spec (CommRingCat.of A) ⟶ S) |
| 20 | (x : Over.mk a ⟶ M), x ∈ F.obj (.op (Over.mk a)) ↔ ∃ y : Over.mk a ⟶ Z, y ≫ j = x) |
| 21 | (T : Over S) [IsAffine T.left] (x : T ⟶ M) : |
| 22 | x ∈ F.obj (.op T) ↔ ∃ y : T ⟶ Z, y ≫ j = x := by |
| 23 | let e₀ := T.left.isoSpec |
| 24 | let V : Over S := Over.mk (e₀.inv ≫ T.hom) |
| 25 | let e : T ≅ V := Over.isoMk e₀ (Iso.hom_inv_id_assoc e₀ T.hom) |
| 26 | have h := hspec Γ(T.left, ⊤) (e₀.inv ≫ T.hom) (e.inv ≫ x) |
| 27 | exact (ParameterIsoFactorization.subfunctor_mem_comp_iso_iff F e.symm x).symm.trans |
| 28 | (h.trans (ParameterIsoFactorization.exists_lift_comp_iso_iff e.symm j x)) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SpectrumTestFactorization |