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.ReferenceFamily.Cech.TermRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 3 | import Mathlib.Algebra.Module.TransferInstance |
| 4 | |
| 5 | /-! # Term Modules -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Cech.TermModules |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original sheaf-level Cech terms of regular functions retain |
| 12 | their actual module structure over the algebraic structure sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 15 | open _root_.TopCat.Sheaf |
| 16 | |
| 17 | def structureAbelianSheaf (X : Scheme.{0}) : TopCat.Sheaf AddCommGrpCat.{0} X := |
| 18 | (SheafOfModules.toSheaf X.ringCatSheaf).obj (HilbertConstruction.Line.Bundles.structureModule X) |
| 19 | |
| 20 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) (n : ℕ) |
| 21 | |
| 22 | local instance restrictedRegularModule (V A : X.Opens) : |
| 23 | Module Γ(X, V) ((structureAbelianSheaf X).obj.obj (op (V ⊓ A))) := |
| 24 | Module.compHom Γ(X, V ⊓ A) (X.presheaf.map (homOfLE (show V ⊓ A ≤ V from inf_le_left)).op).hom |
| 25 | |
| 26 | instance cechTermSectionModule (V : X.Opens) : |
| 27 | Module Γ(X, V) ((SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.obj (op V)) := |
| 28 | (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n V).module Γ(X, V) |
| 29 | |
| 30 | theorem cechTermCoordinates_smul (V : X.Opens) (a : Γ(X, V)) |
| 31 | (c : (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.obj (op V)) (i : Fin (n + 1) → I) : |
| 32 | SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n V (a • c) i = |
| 33 | X.presheaf.map (homOfLE (show V ⊓ (∏ᶜ fun k : Fin (n + 1) => U (i k)) ≤ V from inf_le_left)).op a * |
| 34 | (show Γ(X, V ⊓ (∏ᶜ fun k : Fin (n + 1) => U (i k))) from |
| 35 | SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n V c i) := by |
| 36 | exact congrArg (fun q => q i) |
| 37 | ((SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n V).apply_symm_apply (a • |
| 38 | SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n V c)) |
| 39 | |
| 40 | theorem cechTerm_map_smul {V W : X.Opens} (h : W ≤ V) (a : Γ(X, V)) |
| 41 | (c : (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.obj (op V)) : |
| 42 | (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.map (homOfLE h).op (a • c) = |
| 43 | X.presheaf.map (homOfLE h).op a • (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.map (homOfLE h).op c := by |
| 44 | apply (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (structureAbelianSheaf X) U n W).injective |
| 45 | funext i |
| 46 | rw [TermRestriction.cechTermCoordinates_restrict, cechTermCoordinates_smul, cechTermCoordinates_smul, |
| 47 | TermRestriction.cechTermCoordinates_restrict] |
| 48 | let A := ∏ᶜ fun k : Fin (n + 1) => U (i k) |
| 49 | change X.presheaf.map (homOfLE (inf_le_inf_right A h)).op |
| 50 | (X.presheaf.map (homOfLE (show V ⊓ A ≤ V from inf_le_left)).op a * _) = |
| 51 | X.presheaf.map (homOfLE (show W ⊓ A ≤ W from inf_le_left)).op (X.presheaf.map (homOfLE h).op a) * _ |
| 52 | rw [map_mul] |
| 53 | congr 1 |
| 54 | exact ConcreteCategory.congr_hom |
| 55 | ((X.presheaf.map_comp _ _).symm.trans |
| 56 | ((congrArg X.presheaf.map (Subsingleton.elim _ _)).trans (X.presheaf.map_comp _ _))) a |
| 57 | |
| 58 | local instance cechTermRingSectionModule (V : X.Opensᵒᵖ) : |
| 59 | Module (X.ringCatSheaf.obj.obj V) ((SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj.obj V) := |
| 60 | cechTermSectionModule X U n V.unop |
| 61 | |
| 62 | def cechTermModule : X.Modules where |
| 63 | val := PresheafOfModules.ofPresheaf (R := X.ringCatSheaf.obj) |
| 64 | (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).obj |
| 65 | (fun {_ _} f a c => cechTerm_map_smul X U n (leOfHom f.unop) a c) |
| 66 | isSheaf := (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTerm (structureAbelianSheaf X) U n).property |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Cech.TermModules |