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.Algebra.Homology.DerivedCategory.SmallShiftedHom |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveBasic |
| 3 | import Mathlib.Algebra.Homology.Embedding.ExtendHomotopy |
| 4 | |
| 5 | /-! # Projective Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CochainComplex |
| 12 | |
| 13 | /- Adapted to HilbertConstruction-local theorem names. Retain the comparison of |
| 14 | quasi-isomorphisms and homotopy equivalences between K-projective complexes. -/ |
| 15 | |
| 16 | universe w v u |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 21 | |
| 22 | open Localization DerivedCategory |
| 23 | |
| 24 | open _root_.HomologicalComplex |
| 25 | |
| 26 | lemma ProjectiveBasic.CochainComplex.IsKProjective.Qh_map_bijective [HasDerivedCategory C] |
| 27 | (K : CochainComplex C ℤ) (L : HomotopyCategory C (.up ℤ)) |
| 28 | [ProjectiveBasic.CochainComplex.IsKProjective K] : |
| 29 | Function.Bijective (DerivedCategory.Qh.map : |
| 30 | ((HomotopyCategory.quotient _ _).obj K ⟶ L) → _) := |
| 31 | (ProjectiveBasic.CochainComplex.IsKProjective.leftOrthogonal K).map_bijective_of_isTriangulated _ _ |
| 32 | |
| 33 | attribute [local instance] HasDerivedCategory.standard in |
| 34 | lemma ProjectiveBasic.CochainComplex.IsKProjective.quasiIso_iff {K L : CochainComplex C ℤ} [ProjectiveBasic.CochainComplex.IsKProjective K] [ProjectiveBasic.CochainComplex.IsKProjective L] (f : K ⟶ L) : |
| 35 | QuasiIso f ↔ homotopyEquivalences C (.up ℤ) f := by |
| 36 | refine ⟨fun _ ↦ ?_, fun hf ↦ homotopyEquivalences_le_quasiIso _ _ _ hf⟩ |
| 37 | rw [← HomotopyCategory.inverseImage_quotient_isomorphisms, |
| 38 | MorphismProperty.inverseImage_iff, MorphismProperty.isomorphisms.iff] |
| 39 | obtain ⟨g, hg⟩ := (ProjectiveBasic.CochainComplex.IsKProjective.Qh_map_bijective _ _).surjective |
| 40 | ((quotientCompQhIso C).hom.app L ≫ inv (Q.map f) ≫ (quotientCompQhIso C).inv.app K) |
| 41 | refine ⟨g, (ProjectiveBasic.CochainComplex.IsKProjective.Qh_map_bijective _ _).injective ?_, (ProjectiveBasic.CochainComplex.IsKProjective.Qh_map_bijective _ _).injective ?_⟩ |
| 42 | · simp [hg] |
| 43 | · simp [hg, ← quotientCompQhIso_inv_naturality f, -NatTrans.naturality] |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |