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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafCechSheafDifferential.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.Differential |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafSectionCoordinates |
| 9 | |
| 10 | /-! # Sheaf Factor Restriction -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.SheafFactorRestriction.IntrinsicCech |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 17 | universe u |
| 18 | variable {X : TopCat.{u}} |
| 19 | variable (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 20 | |
| 21 | theorem cechTermFactorRestrictionLE {A B : Opens X} (h : A ≤ B) |
| 22 | (V : Opens X) : |
| 23 | A.isOpenEmbedding.functor.obj ((Opens.map A.inclusion').obj V) ≤ |
| 24 | B.isOpenEmbedding.functor.obj ((Opens.map B.inclusion').obj V) := by |
| 25 | simpa only [Opens.functor_map_eq_inf] using inf_le_inf_left V h |
| 26 | |
| 27 | /-- Restriction from the restriction-pushforward factor for `B` to the factor for a |
| 28 | smaller open `A`. -/ |
| 29 | noncomputable def cechTermFactorRestriction {A B : Opens X} (h : A ≤ B) : |
| 30 | (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat B.isOpenEmbedding ⋙ |
| 31 | TopCat.Sheaf.pushforward AddCommGrpCat B.inclusion').obj F ⟶ |
| 32 | (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 33 | TopCat.Sheaf.pushforward AddCommGrpCat A.inclusion').obj F := |
| 34 | ObjectProperty.homMk |
| 35 | { app := fun V => |
| 36 | F.obj.map (homOfLE (cechTermFactorRestrictionLE h V.unop)).op |
| 37 | naturality := by |
| 38 | intro V W f |
| 39 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ ≫ F.obj.map _ |
| 40 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 41 | rfl } |
| 42 | |
| 43 | noncomputable def cechOpenFactorSectionsIso (A V : Opens X) : |
| 44 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 45 | TopCat.Sheaf.pushforward AddCommGrpCat A.inclusion').obj F).obj.obj (op V) ≅ |
| 46 | F.obj.obj (op (V ⊓ A)) := |
| 47 | F.obj.mapIso (eqToIso (congrArg op (Opens.functor_map_eq_inf A V))) |
| 48 | |
| 49 | theorem cechOpenFactorSectionsIso_hom (A V : Opens X) : |
| 50 | (cechOpenFactorSectionsIso F A V).hom = |
| 51 | ((eqToIso (by rw [TopologicalSheafRestriction.IntrinsicCech.toRestrict_obj_obj_obj, Opens.functor_map_eq_inf])) : |
| 52 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 53 | TopCat.Sheaf.pushforward AddCommGrpCat A.inclusion').obj F).obj.obj (op V) ≅ |
| 54 | F.obj.obj (op (V ⊓ A))).hom := by |
| 55 | rw [cechOpenFactorSectionsIso, Functor.mapIso_hom, eqToIso.hom, eqToIso.hom, |
| 56 | eqToHom_map] |
| 57 | cat_disch |
| 58 | |
| 59 | theorem cechTermFactorRestriction_sections_mapIso {A B : Opens X} |
| 60 | (h : A ≤ B) (V : Opens X) |
| 61 | (x : ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat B.isOpenEmbedding ⋙ |
| 62 | TopCat.Sheaf.pushforward AddCommGrpCat B.inclusion').obj F).obj.obj (op V)) : |
| 63 | (cechOpenFactorSectionsIso F A V).hom |
| 64 | ((cechTermFactorRestriction F h).hom.app (op V) x) = |
| 65 | F.obj.map (homOfLE (inf_le_inf_left V h)).op |
| 66 | ((cechOpenFactorSectionsIso F B V).hom x) := by |
| 67 | have hmorph : |
| 68 | F.obj.map (homOfLE (cechTermFactorRestrictionLE h V)).op ≫ |
| 69 | F.obj.map (eqToHom (congrArg op (Opens.functor_map_eq_inf A V))) = |
| 70 | F.obj.map (eqToHom (congrArg op (Opens.functor_map_eq_inf B V))) ≫ |
| 71 | F.obj.map (homOfLE (inf_le_inf_left V h)).op := by |
| 72 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 73 | exact congrArg F.obj.map (Subsingleton.elim _ _) |
| 74 | change (F.obj.map (homOfLE (cechTermFactorRestrictionLE h V)).op ≫ |
| 75 | F.obj.map (eqToHom (congrArg op (Opens.functor_map_eq_inf A V)))) x = |
| 76 | (F.obj.map (eqToHom (congrArg op (Opens.functor_map_eq_inf B V))) ≫ |
| 77 | F.obj.map (homOfLE (inf_le_inf_left V h)).op) x |
| 78 | exact ConcreteCategory.congr_hom hmorph x |
| 79 | |
| 80 | /-- On sections over `V`, `cechTermFactorRestriction` is the usual restriction |
| 81 | `F(V ∩ B) → F(V ∩ A)`. -/ |
| 82 | theorem cechTermFactorRestriction_apply {A B : Opens X} (h : A ≤ B) (V : Opens X) |
| 83 | (x : ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat B.isOpenEmbedding ⋙ |
| 84 | TopCat.Sheaf.pushforward AddCommGrpCat B.inclusion').obj F).obj.obj (op V)) : |
| 85 | ((eqToIso (by rw [TopologicalSheafRestriction.IntrinsicCech.toRestrict_obj_obj_obj, Opens.functor_map_eq_inf])) : |
| 86 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 87 | TopCat.Sheaf.pushforward AddCommGrpCat A.inclusion').obj F).obj.obj (op V) ≅ |
| 88 | F.obj.obj (op (V ⊓ A))).hom |
| 89 | ((cechTermFactorRestriction F h).hom.app (op V) x) = |
| 90 | F.obj.map (homOfLE (inf_le_inf_left V h)).op |
| 91 | (((eqToIso (by rw [TopologicalSheafRestriction.IntrinsicCech.toRestrict_obj_obj_obj, Opens.functor_map_eq_inf])) : |
| 92 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat B.isOpenEmbedding ⋙ |
| 93 | TopCat.Sheaf.pushforward AddCommGrpCat B.inclusion').obj F).obj.obj (op V) ≅ |
| 94 | F.obj.obj (op (V ⊓ B))).hom x) := by |
| 95 | rw [← cechOpenFactorSectionsIso_hom, ← cechOpenFactorSectionsIso_hom] |
| 96 | exact cechTermFactorRestriction_sections_mapIso F h V x |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.SheafFactorRestriction.IntrinsicCech |