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.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Functor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TermsAreSheaves |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationSectionComplexIso |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.Hypercohomology |
| 5 | |
| 6 | /-! # Section Unit -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionUnit.IntrinsicCechSectionUnit |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On actual Čech terms of a sheaf, the canonical sheafification unit gives a natural section-complex isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (X : Scheme.{0}) {ι : Type} (U : ι → X.Opens) |
| 17 | |
| 18 | abbrev Sheaves := Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) |
| 19 | |
| 20 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionUnit.IntrinsicCechSectionUnit.Sheaves R X |
| 21 | |
| 22 | def presheafSections : V ⥤ CochainComplex (ModuleCat.{0} R) ℕ := |
| 23 | sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) ⋙ |
| 24 | Functor.IntrinsicCechFunctor.functor R X U ⋙ |
| 25 | ((CategoryTheory.evaluation X.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ) |
| 26 | |
| 27 | def sheafSections : V ⥤ CochainComplex (ModuleCat.{0} R) ℕ := |
| 28 | Functor.IntrinsicCechFunctor.sheafFunctor R X U ⋙ |
| 29 | (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X)).mapHomologicalComplex (.up ℕ) |
| 30 | |
| 31 | def componentIso (F : V) : (presheafSections R X U).obj F ≅ (sheafSections R X U).obj F := |
| 32 | SheafificationSectionComplexIso.SheafificationSectionComplex.complexIso (Opens.grothendieckTopology X) (.up ℕ) |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.complex R X U F.obj) (op ⊤) (fun n => by |
| 34 | have : IsIso (toSheafify (Opens.grothendieckTopology X) ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.complex R X U F.obj).X n)) := |
| 35 | Cech.TermsAreSheaves.CechTermsAreSheaves.unit_isIso R X F U n |
| 36 | infer_instance) |
| 37 | |
| 38 | theorem naturality {F G : V} (f : F ⟶ G) : |
| 39 | (presheafSections R X U).map f ≫ (componentIso R X U G).hom = |
| 40 | (componentIso R X U F).hom ≫ (sheafSections R X U).map f := by |
| 41 | ext n : 1 |
| 42 | exact congrArg (fun a => a.app (op ⊤)) |
| 43 | (toSheafify_naturality (Opens.grothendieckTopology X) |
| 44 | (((Functor.IntrinsicCechFunctor.functor R X U).map f.hom).f n)) |
| 45 | |
| 46 | def iso : presheafSections R X U ≅ sheafSections R X U := |
| 47 | NatIso.ofComponents (componentIso R X U) (fun {_ _} f => naturality R X U f) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionUnit.IntrinsicCechSectionUnit |