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.ComplexMultiplication.SingularSheafBridge |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SheafClosedSupport |
| 3 | import OAI.AlgebraicTopology.Support.SectionRestrictionConeNaturality |
| 4 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels |
| 5 | |
| 6 | /-! # Scalar Closed Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ScalarClosedSupport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Forgetting scalars retains the actual sheaf of sections with closed support -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) |
| 17 | |
| 18 | local notation "J" => Opens.grothendieckTopology Y |
| 19 | local notation "G" => sheafCompose J (forget₂ (ModuleCat R) AddCommGrpCat) |
| 20 | |
| 21 | /-- Scalar forgetting preserves finite limits on the actual sheaf categories. -/ |
| 22 | instance scalarSheafCompose_preservesFiniteLimits : PreservesFiniteLimits (G) := by |
| 23 | let : PreservesFiniteLimits ((G) ⋙ sheafToPresheaf J AddCommGrpCat.{0}) := by |
| 24 | change PreservesFiniteLimits (sheafToPresheaf J (ModuleCat.{0} R) ⋙ |
| 25 | (Functor.whiskeringRight (Opens Y)ᵒᵖ (ModuleCat.{0} R) AddCommGrpCat.{0}).obj |
| 26 | (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0})) |
| 27 | infer_instance |
| 28 | exact preservesFiniteLimits_of_reflects_of_preserves (G) |
| 29 | (sheafToPresheaf J AddCommGrpCat.{0}) |
| 30 | |
| 31 | set_option backward.isDefEq.respectTransparency false in |
| 32 | /-- The original restriction-pushforward and the literal intersection model agree. -/ |
| 33 | def scalarOpenRestrictionIso (O : Opens Y) (F : TopCat.Sheaf (ModuleCat.{0} R) Y) : |
| 34 | (AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.openRestrictionPushforward Y O).obj ((G).obj F) ≅ |
| 35 | (G).obj (CycleClass.Geometric.SheafClosedSupport.Cohomology.openRestrictionPushforwardSheaf O F) := |
| 36 | (fullyFaithfulSheafToPresheaf J AddCommGrpCat.{0}).preimageIso <| |
| 37 | NatIso.ofComponents (fun U => AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.supportedOutsideIntersectionIso |
| 38 | Y O U.unop ((G).obj F)) (by |
| 39 | intro U V i |
| 40 | exact AlgebraicTopology.Support.SectionRestrictionConeNaturality.TopCat.Sheaf.supportedOutsideIntersectionIso_naturality |
| 41 | Y O i.unop ((G).obj F)) |
| 42 | |
| 43 | set_option backward.isDefEq.respectTransparency false in |
| 44 | /-- Both actual restriction maps restrict a section to the same intersection open. -/ |
| 45 | theorem scalarOpenRestrictionIso_restriction (O : Opens Y) |
| 46 | (F : TopCat.Sheaf (ModuleCat.{0} R) Y) : |
| 47 | (AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.toOpenRestrictionPushforward Y O).app ((G).obj F) ≫ |
| 48 | (scalarOpenRestrictionIso R Y O F).hom = |
| 49 | (G).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O F) := by |
| 50 | apply CategoryTheory.Sheaf.hom_ext |
| 51 | apply NatTrans.ext |
| 52 | funext U |
| 53 | exact AlgebraicTopology.Support.FlasqueSections.TopCat.Sheaf.toOpenRestrictionPushforward_intersection Y O U.unop ((G).obj F) |
| 54 | |
| 55 | set_option backward.isDefEq.respectTransparency false in |
| 56 | /-- The scalar-forgotten native support kernel is the unchanged original support kernel. -/ |
| 57 | def scalarClosedSupportIso (O : Opens Y) (F : TopCat.Sheaf (ModuleCat.{0} R) Y) : |
| 58 | (G).obj (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O F) ≅ |
| 59 | (AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutside Y O).obj ((G).obj F) := |
| 60 | PreservesKernel.iso (G) (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O F) ≪≫ |
| 61 | kernel.mapIso ((G).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O F)) |
| 62 | ((AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.toOpenRestrictionPushforward Y O).app ((G).obj F)) |
| 63 | (Iso.refl _) (scalarOpenRestrictionIso R Y O F).symm (by |
| 64 | apply (cancel_mono (scalarOpenRestrictionIso R Y O F).hom).mp |
| 65 | simp only [Category.assoc, Iso.symm_hom, Iso.inv_hom_id, Category.comp_id, |
| 66 | Iso.refl_hom, Category.id_comp] |
| 67 | exact (scalarOpenRestrictionIso_restriction R Y O F).symm) |
| 68 | |
| 69 | set_option backward.isDefEq.respectTransparency false in |
| 70 | set_option backward.isDefEq.respectTransparency.types false in |
| 71 | /-- The support comparison preserves the actual inclusion into all sections. -/ |
| 72 | theorem scalarClosedSupportIso_inclusion (O : Opens Y) |
| 73 | (F : TopCat.Sheaf (ModuleCat.{0} R) Y) : |
| 74 | (scalarClosedSupportIso R Y O F).hom ≫ |
| 75 | (AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutsideInclusion Y O).app ((G).obj F) = |
| 76 | (G).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F) := by |
| 77 | simp only [scalarClosedSupportIso, Iso.trans_hom, kernel.mapIso, |
| 78 | AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutsideInclusion, |
| 79 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion, Category.assoc, |
| 80 | kernel.lift_ι, Iso.refl_hom, Category.comp_id, PreservesKernel.iso_hom, |
| 81 | kernelComparison_comp_ι] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.ComplexMultiplication.ScalarClosedSupport |