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.AbelianModuli.HilbertConstruction.InjectiveOpenSectionsCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.TwoOpenSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.CochainProducts |
| 4 | |
| 5 | /-! # Injective Two Open Complex -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveTwoOpenComplex.IntrinsicCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section sequence on two opens gives a short exact sequence of actual injective-resolution section complexes. If the second open and overlap have zero cohomology, restriction to the first open is a quasi-isomorphism. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | universe u |
| 14 | variable {X : TopCat.{u}} (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 15 | |
| 16 | def injectiveOpenSectionsRestriction {U V : Opens X} (h : U ≤ V) : |
| 17 | InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V ⟶ InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F U where |
| 18 | f n := ((injectiveResolution F).cocomplex.X n).obj.map (homOfLE h).op |
| 19 | comm' i j _hij := ((injectiveResolution F).cocomplex.d i j).hom.naturality (homOfLE h).op |
| 20 | |
| 21 | variable (U V : Opens X) |
| 22 | |
| 23 | def injectiveTwoOpenRestriction : InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F (U ⊔ V) ⟶ |
| 24 | Additive.CochainProducts.additiveCochainProduct (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F U) (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V) where |
| 25 | f n := AddCommGrpCat.ofHom (HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSectionsRestriction ((injectiveResolution F).cocomplex.X n) U V) |
| 26 | comm' i j _hij := by |
| 27 | ext x |
| 28 | exact (HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSectionsRestriction_naturality ((injectiveResolution F).cocomplex.X i) U V |
| 29 | ((injectiveResolution F).cocomplex.d i j) x).symm |
| 30 | |
| 31 | def injectiveTwoOpenDifference : |
| 32 | Additive.CochainProducts.additiveCochainProduct (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F U) (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V) ⟶ |
| 33 | InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F (U ⊓ V) where |
| 34 | f n := AddCommGrpCat.ofHom (HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSectionsDifference ((injectiveResolution F).cocomplex.X n) U V) |
| 35 | comm' i j _hij := by |
| 36 | ext x |
| 37 | exact HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSectionsDifference_naturality ((injectiveResolution F).cocomplex.X i) U V |
| 38 | ((injectiveResolution F).cocomplex.d i j) x |
| 39 | |
| 40 | def injectiveTwoOpenShortComplex : ShortComplex (CochainComplex AddCommGrpCat.{u} ℕ) := |
| 41 | ShortComplex.mk (injectiveTwoOpenRestriction F U V) (injectiveTwoOpenDifference F U V) (by |
| 42 | ext n x |
| 43 | exact HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSections_comp ((injectiveResolution F).cocomplex.X n) U V x) |
| 44 | |
| 45 | theorem injectiveTwoOpen_shortExact : (injectiveTwoOpenShortComplex F U V).ShortExact := by |
| 46 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 47 | intro n |
| 48 | have : TopCat.Sheaf.IsFlasque ((injectiveResolution F).cocomplex.X n) := |
| 49 | @TopologicalSheafCohomology.IntrinsicCech.injectiveSheaf_flasque X ((injectiveResolution F).cocomplex.X n) ((injectiveResolution F).injective n) |
| 50 | exact HilbertConstruction.Sheaf.TwoOpenSections.IntrinsicCech.twoOpenSections_shortExact ((injectiveResolution F).cocomplex.X n) U V |
| 51 | |
| 52 | theorem injectiveOpenSections_acyclic_of_cohomology_zero (W : Opens X) |
| 53 | (hW : ∀ q, Subsingleton (CategoryTheory.Sheaf.H ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat W.isOpenEmbedding).obj F) q)) : |
| 54 | (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F W).Acyclic := by |
| 55 | intro q |
| 56 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 57 | let e := InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsCohomologyIso F W q |
| 58 | have hi : Function.Injective e.hom := (AddCommGrpCat.mono_iff_injective e.hom).mp inferInstance |
| 59 | exact AddCommGrpCat.isZero_iff_subsingleton.mpr ⟨fun x y => hi ((hW q).elim _ _)⟩ |
| 60 | |
| 61 | theorem injectiveOpenSectionsRestriction_quasiIso |
| 62 | (hV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj F) q)) |
| 63 | (hUV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 64 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat (U ⊓ V).isOpenEmbedding).obj F) q)) : |
| 65 | QuasiIso (injectiveOpenSectionsRestriction F (show U ≤ U ⊔ V from le_sup_left)) := by |
| 66 | have : QuasiIso (injectiveTwoOpenRestriction F U V) := |
| 67 | Cochain.AcyclicSideComparison.cochain_quasiIso_f_of_acyclic_last (injectiveTwoOpen_shortExact F U V) |
| 68 | (injectiveOpenSections_acyclic_of_cohomology_zero F (U ⊓ V) hUV) |
| 69 | have : QuasiIso (Additive.CochainProducts.additiveCochainProductFst (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F U) |
| 70 | (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V)) := |
| 71 | Additive.CochainProducts.additiveCochainProductFst_quasiIso _ _ (injectiveOpenSections_acyclic_of_cohomology_zero F V hV) |
| 72 | have h : injectiveTwoOpenRestriction F U V ≫ |
| 73 | Additive.CochainProducts.additiveCochainProductFst (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F U) (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V) = |
| 74 | injectiveOpenSectionsRestriction F (show U ≤ U ⊔ V from le_sup_left) := by |
| 75 | ext n x |
| 76 | rfl |
| 77 | rw [← h] |
| 78 | exact quasiIso_comp _ _ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveTwoOpenComplex.IntrinsicCech |