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.FactorDegreeZero |
| 2 | |
| 3 | /-! # Factor Sheaf Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FactorSheafNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction-pushforward open factors and their section comparisons are |
| 10 | natural in the underlying sheaf, as well as in the open parameter. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | universe u |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | namespace IntrinsicCech |
| 16 | variable {X : TopCat.{u}} {F G : X.Sheaf AddCommGrpCat.{u}} |
| 17 | |
| 18 | def cechOpenFactorMap (e : F ⟶ G) (A : Opens X) : |
| 19 | (IntrinsicCech.SheafComplex.cechFactorPresheaf F).obj (op A) ⟶ (IntrinsicCech.SheafComplex.cechFactorPresheaf G).obj (op A) := |
| 20 | (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 21 | TopCat.Sheaf.pushforward AddCommGrpCat A.inclusion').map e |
| 22 | |
| 23 | theorem cechOpenFactorSectionsIso_sheaf_naturality |
| 24 | (e : F ⟶ G) (A V : Opens X) : |
| 25 | (cechOpenFactorMap e A).hom.app (op V) ≫ (Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso G A V).hom = |
| 26 | (Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F A V).hom ≫ e.hom.app (op (V ⊓ A)) := by |
| 27 | change e.hom.app _ ≫ G.obj.map _ = F.obj.map _ ≫ e.hom.app _ |
| 28 | exact (e.hom.naturality _).symm |
| 29 | |
| 30 | theorem cechOpenFactorMap_restrict (e : F ⟶ G) {A B : Opens X} (h : A ≤ B) : |
| 31 | Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F h ≫ cechOpenFactorMap e A = |
| 32 | cechOpenFactorMap e B ≫ Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction G h := by |
| 33 | apply ObjectProperty.hom_ext |
| 34 | apply NatTrans.ext |
| 35 | funext V |
| 36 | change F.obj.map _ ≫ e.hom.app _ = e.hom.app _ ≫ G.obj.map _ |
| 37 | exact e.hom.naturality _ |
| 38 | |
| 39 | def cechFactorPresheafMap (e : F ⟶ G) : IntrinsicCech.SheafComplex.cechFactorPresheaf F ⟶ IntrinsicCech.SheafComplex.cechFactorPresheaf G where |
| 40 | app A := cechOpenFactorMap e A.unop |
| 41 | naturality _A _B i := cechOpenFactorMap_restrict e (leOfHom i.unop) |
| 42 | |
| 43 | theorem cechFactorTopOpenIso_sheaf_naturality (e : F ⟶ G) (A : Opens X) : |
| 44 | (cechOpenFactorMap e A).hom.app (op ⊤) ≫ (Cech.FactorDegreeZero.IntrinsicCech.cechFactorTopOpenIso G A).hom = |
| 45 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorTopOpenIso F A).hom ≫ e.hom.app (op A) := by |
| 46 | change (cechOpenFactorMap e A).hom.app (op ⊤) ≫ |
| 47 | ((Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso G A ⊤).hom ≫ G.obj.map _) = |
| 48 | ((Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F A ⊤).hom ≫ F.obj.map _) ≫ e.hom.app (op A) |
| 49 | rw [← Category.assoc, cechOpenFactorSectionsIso_sheaf_naturality, Category.assoc, |
| 50 | ← e.hom.naturality] |
| 51 | exact (Category.assoc _ _ _).symm |
| 52 | |
| 53 | private def zeroCohomologySectionsIso (F : X.Sheaf AddCommGrpCat.{u}) : |
| 54 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 0).obj F ≅ |
| 55 | F.obj.obj (op ⊤) := |
| 56 | (CategoryTheory.Sheaf.H.equiv₀ F isTerminalTop).toAddCommGrpIso |
| 57 | |
| 58 | private theorem zeroCohomology_sections_naturality (e : F ⟶ G) : |
| 59 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 0).map e ≫ |
| 60 | (zeroCohomologySectionsIso G).hom = |
| 61 | (zeroCohomologySectionsIso F).hom ≫ |
| 62 | e.hom.app (op ⊤) := by |
| 63 | apply ConcreteCategory.hom_ext |
| 64 | intro x |
| 65 | exact (CategoryTheory.Sheaf.H.equiv₀_naturality isTerminalTop e x).symm |
| 66 | |
| 67 | private theorem compose_naturality {C : Type*} [Category C] |
| 68 | {X₁ X₂ Y₁ Y₂ Z₁ Z₂ : C} |
| 69 | (a : X₁ ⟶ X₂) (b : Y₁ ⟶ Y₂) (c : Z₁ ⟶ Z₂) |
| 70 | (u₁ : X₁ ⟶ Y₁) (u₂ : X₂ ⟶ Y₂) (v₁ : Y₁ ⟶ Z₁) (v₂ : Y₂ ⟶ Z₂) |
| 71 | (hu : a ≫ u₂ = u₁ ≫ b) (hv : b ≫ v₂ = v₁ ≫ c) : |
| 72 | a ≫ (u₂ ≫ v₂) = (u₁ ≫ v₁) ≫ c := by |
| 73 | rw [← Category.assoc, hu, Category.assoc, hv, ← Category.assoc] |
| 74 | |
| 75 | private theorem zeroSections_comp_naturality |
| 76 | {A B : AddCommGrpCat.{u}} (r : F ⟶ G) (f : A ⟶ B) |
| 77 | (eF : F.obj.obj (op ⊤) ≅ A) (eG : G.obj.obj (op ⊤) ≅ B) |
| 78 | (h : r.hom.app (op ⊤) ≫ eG.hom = eF.hom ≫ f) : |
| 79 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 0).map r ≫ |
| 80 | ((zeroCohomologySectionsIso G) ≪≫ eG).hom = |
| 81 | ((zeroCohomologySectionsIso F) ≪≫ eF).hom ≫ f := |
| 82 | compose_naturality _ _ _ _ _ _ _ (zeroCohomology_sections_naturality r) h |
| 83 | |
| 84 | theorem cechFactorZeroCohomologyIso_sheaf_naturality (e : F ⟶ G) (A : Opens X) : |
| 85 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 0).map (cechOpenFactorMap e A) ≫ |
| 86 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso G A).hom = |
| 87 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso F A).hom ≫ e.hom.app (op A) := by |
| 88 | have result := zeroSections_comp_naturality |
| 89 | (cechOpenFactorMap e A) (e.hom.app (op A)) |
| 90 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorTopOpenIso F A) (Cech.FactorDegreeZero.IntrinsicCech.cechFactorTopOpenIso G A) |
| 91 | (cechFactorTopOpenIso_sheaf_naturality e A) |
| 92 | exact result |
| 93 | |
| 94 | end IntrinsicCech |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FactorSheafNaturality |