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.IntegralComparison.Cech.CoverRefinement |
| 2 | |
| 3 | /-! # Cover Refinement Cohomology -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementCohomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Refining an acyclic cover preserves the original comparison |
| 10 | from Čech cohomology to sheaf cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | private theorem square {C : Type*} [Category* C] |
| 15 | {A B P Q D Z : C} (a : A ⟶ P) (b : B ⟶ Q) (m : A ⟶ B) (t : P ⟶ Q) |
| 16 | (eP : D ≅ P) (eQ : D ≅ Q) (k : D ⟶ Z) |
| 17 | (hv : a ≫ t = m ≫ b) (hh : eP.hom ≫ t = eQ.hom) : |
| 18 | m ≫ (b ≫ eQ.inv ≫ k) = a ≫ eP.inv ≫ k := by |
| 19 | have h : m ≫ b ≫ eQ.inv = a ≫ eP.inv := by |
| 20 | apply (cancel_mono eQ.hom).mp |
| 21 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 22 | rw [← hh] |
| 23 | simp only [Iso.inv_hom_id_assoc] |
| 24 | exact hv.symm |
| 25 | simpa only [Category.assoc] using congrArg (fun z => z ≫ k) h |
| 26 | |
| 27 | set_option backward.isDefEq.respectTransparency false |
| 28 | set_option backward.isDefEq.respectTransparency.types false |
| 29 | |
| 30 | universe u |
| 31 | variable {X : TopCat.{u}} {ι κ : Type u} (U : ι → Opens X) (V : κ → Opens X) |
| 32 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 33 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 34 | (hU : ⨆ i, U i = ⊤) (hV : ⨆ i, V i = ⊤) |
| 35 | (haU : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic U F) (haV : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic V F) (n : ℕ) |
| 36 | |
| 37 | local instance : (AlgebraicGeometry.AbelianModuli.HilbertConstruction.TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).Additive := |
| 38 | (CategoryTheory.constantSheafΓAdj |
| 39 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).right_adjoint_additive |
| 40 | |
| 41 | theorem rightDerived : |
| 42 | HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) (n + 1) ≫ |
| 43 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveRightDerivedIso V F hV haV n).hom = |
| 44 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveRightDerivedIso U F hU haU n).hom := by |
| 45 | have hv := congrArg (fun a => HomologicalComplex.homologyMap a (n + 1)) |
| 46 | (CoverRefinement.vertical U V r F) |
| 47 | have hh := congrArg (fun a => HomologicalComplex.homologyMap a (n + 1)) |
| 48 | (CoverRefinement.horizontal U V r F) |
| 49 | simp only [HomologicalComplex.homologyMap_comp] at hv hh |
| 50 | exact square |
| 51 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveVerticalHomologyIso U F haU n).hom |
| 52 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveVerticalHomologyIso V F haV n).hom |
| 53 | (HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) (n + 1)) |
| 54 | (HomologicalComplex.homologyMap (CoverRefinement.totalMap U V r F) (n + 1)) |
| 55 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveHorizontalHomologyIso U F hU n) |
| 56 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveHorizontalHomologyIso V F hV n) |
| 57 | ((injectiveResolution F).isoRightDerivedObj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X) (n + 1)).inv hv hh |
| 58 | |
| 59 | theorem cohomology : |
| 60 | HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) (n + 1) ≫ |
| 61 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechHomologySuccIsoOfAcyclicIntersections V F hV haV n).hom = |
| 62 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechHomologySuccIsoOfAcyclicIntersections U F hU haU n).hom := by |
| 63 | let e : ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).rightDerived (n + 1)).obj F ≅ |
| 64 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := |
| 65 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.DerivedGlobalSections.DerivedSections.sheafCohomologyAddEquivRightDerived F (n + 1)).symm.toAddCommGrpIso |
| 66 | have h := congrArg |
| 67 | (fun a => a ≫ e.hom) |
| 68 | (CoverRefinementCohomology.rightDerived U V r F hU hV haU haV n) |
| 69 | simpa only [AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechHomologySuccIsoOfAcyclicIntersections, Iso.trans_hom, Category.assoc] using h |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementCohomology |