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.Cech.SheafTermCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.SheafFactorRestriction |
| 3 | |
| 4 | /-! # Factor Degree Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.FactorDegreeZero.IntrinsicCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-zero cohomology of the restriction-pushforward open factors is |
| 11 | the original sheaf of sections, naturally in the open set. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | universe u |
| 14 | variable {X : TopCat.{u}} (F : X.Sheaf AddCommGrpCat.{u}) |
| 15 | |
| 16 | def cechFactorTopOpenIso (A : Opens X) : |
| 17 | ((IntrinsicCech.SheafComplex.cechFactorPresheaf F).obj (op A)).obj.obj (op ⊤) ≅ F.obj.obj (op A) := |
| 18 | SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F A ⊤ ≪≫ F.obj.mapIso (eqToIso (congrArg op (top_inf_eq A))) |
| 19 | |
| 20 | theorem cechFactorTopOpenIso_naturality {A B : Opens X} (h : A ≤ B) : |
| 21 | (SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F h).hom.app (op ⊤) ≫ (cechFactorTopOpenIso F A).hom = |
| 22 | (cechFactorTopOpenIso F B).hom ≫ F.obj.map (homOfLE h).op := by |
| 23 | have he : (SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F h).hom.app (op ⊤) ≫ |
| 24 | (SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F A ⊤).hom = |
| 25 | (SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F B ⊤).hom ≫ |
| 26 | F.obj.map (homOfLE (inf_le_inf_left ⊤ h)).op := by |
| 27 | apply ConcreteCategory.hom_ext |
| 28 | intro x |
| 29 | exact SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction_sections_mapIso F h ⊤ x |
| 30 | change (SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F h).hom.app (op ⊤) ≫ |
| 31 | ((SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F A ⊤).hom ≫ F.obj.map _) = |
| 32 | ((SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F B ⊤).hom ≫ F.obj.map _) ≫ F.obj.map _ |
| 33 | rw [← Category.assoc, he, Category.assoc, Category.assoc] |
| 34 | congr 1 |
| 35 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 36 | exact F.obj.congr_map (Subsingleton.elim _ _) |
| 37 | |
| 38 | private def zeroCohomologySectionsIso (G : X.Sheaf AddCommGrpCat.{u}) : |
| 39 | (SheafTermCohomology.IntrinsicCech.nativeSheafCohomologyFunctor X 0).obj G ≅ G.obj.obj (op ⊤) := |
| 40 | (CategoryTheory.Sheaf.H.equiv₀ G |
| 41 | (isTerminalTop : IsTerminal (⊤ : Opens X))).toAddCommGrpIso |
| 42 | |
| 43 | private theorem zeroCohomologySectionsIso_naturality |
| 44 | {G H : X.Sheaf AddCommGrpCat.{u}} (r : G ⟶ H) : |
| 45 | (SheafTermCohomology.IntrinsicCech.nativeSheafCohomologyFunctor X 0).map r ≫ (zeroCohomologySectionsIso H).hom = |
| 46 | (zeroCohomologySectionsIso G).hom ≫ r.hom.app (op ⊤) := by |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro x |
| 49 | exact (CategoryTheory.Sheaf.H.equiv₀_naturality isTerminalTop r x).symm |
| 50 | |
| 51 | def cechFactorZeroCohomologyIso (A : Opens X) : |
| 52 | (SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf F 0).obj (op A) ≅ F.obj.obj (op A) := |
| 53 | zeroCohomologySectionsIso ((IntrinsicCech.SheafComplex.cechFactorPresheaf F).obj (op A)) ≪≫ cechFactorTopOpenIso F A |
| 54 | |
| 55 | theorem cechFactorZeroCohomologyIso_naturality {A B : Opens X} (h : A ≤ B) : |
| 56 | (SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf F 0).map (homOfLE h).op ≫ |
| 57 | (cechFactorZeroCohomologyIso F A).hom = |
| 58 | (cechFactorZeroCohomologyIso F B).hom ≫ F.obj.map (homOfLE h).op := by |
| 59 | let r := SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F h |
| 60 | let zA := zeroCohomologySectionsIso ((IntrinsicCech.SheafComplex.cechFactorPresheaf F).obj (op A)) |
| 61 | let zB := zeroCohomologySectionsIso ((IntrinsicCech.SheafComplex.cechFactorPresheaf F).obj (op B)) |
| 62 | have hz : (SheafTermCohomology.IntrinsicCech.nativeSheafCohomologyFunctor X 0).map r ≫ zA.hom = |
| 63 | zB.hom ≫ r.hom.app (op ⊤) := zeroCohomologySectionsIso_naturality r |
| 64 | change (SheafTermCohomology.IntrinsicCech.nativeSheafCohomologyFunctor X 0).map r ≫ |
| 65 | (zA.hom ≫ (cechFactorTopOpenIso F A).hom) = |
| 66 | (zB.hom ≫ (cechFactorTopOpenIso F B).hom) ≫ F.obj.map (homOfLE h).op |
| 67 | exact (Category.assoc _ _ _).symm.trans |
| 68 | ((congrArg (fun k => k ≫ (cechFactorTopOpenIso F A).hom) hz).trans |
| 69 | ((Category.assoc _ _ _).trans |
| 70 | ((congrArg (fun k => zB.hom ≫ k) (cechFactorTopOpenIso_naturality F h)).trans |
| 71 | (Category.assoc _ _ _).symm))) |
| 72 | |
| 73 | def cechFactorZeroCohomologyPresheafIso : SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf F 0 ≅ F.obj := |
| 74 | NatIso.ofComponents (fun A => cechFactorZeroCohomologyIso F A.unop) |
| 75 | (fun {A B} i => cechFactorZeroCohomologyIso_naturality F |
| 76 | (A := B.unop) (B := A.unop) (leOfHom i.unop)) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.FactorDegreeZero.IntrinsicCech |