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.AcyclicResolutionDimensionShift |
| 2 | |
| 3 | /-! # Boundary Cokernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! If the middle term of a short exact sheaf sequence has vanishing first cohomology, its section cokernel is the actual first cohomology of the left term. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 11 | universe u |
| 12 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology |
| 13 | variable {X : TopCat.{u}} |
| 14 | {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{u} X)} (hS : S.ShortExact) |
| 15 | |
| 16 | private def sheafSectionsEquiv (F : TopCat.Sheaf AddCommGrpCat.{u} X) : |
| 17 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 0 : |
| 18 | _ ⥤ AddCommGrpCat.{u}).obj F) ≃+ F.obj.obj (op ⊤) := |
| 19 | CategoryTheory.Sheaf.H.equiv₀ F isTerminalTop |
| 20 | |
| 21 | include hS |
| 22 | |
| 23 | def sheafSectionBoundary : S.X₃.obj.obj (op ⊤) →+ ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 24 | _ ⥤ AddCommGrpCat.{u}).obj S.X₁) := |
| 25 | (CohomologyExact.SheafCohomologyExact.Cohomology.δ.{u} hS 0 1 rfl).comp (sheafSectionsEquiv S.X₃).symm.toAddMonoidHom |
| 26 | |
| 27 | theorem sheafSectionBoundary_comp (x : S.X₂.obj.obj (op ⊤)) : |
| 28 | sheafSectionBoundary hS (S.g.hom.app (op ⊤) x) = 0 := by |
| 29 | change CohomologyExact.SheafCohomologyExact.Cohomology.δ.{u} hS 0 1 rfl ((sheafSectionsEquiv S.X₃).symm |
| 30 | (S.g.hom.app (op ⊤) x)) = 0 |
| 31 | dsimp only [sheafSectionsEquiv] |
| 32 | erw [← CategoryTheory.Sheaf.H.equiv₀_symm_naturality] |
| 33 | exact CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_comp_zero₃.{u} hS 0 1 rfl _ |
| 34 | |
| 35 | def sheafSectionBoundaryShortComplex : ShortComplex AddCommGrpCat.{u} := |
| 36 | ShortComplex.mk (S.g.hom.app (op ⊤)) (AddCommGrpCat.ofHom (sheafSectionBoundary hS)) (by |
| 37 | ext x |
| 38 | exact sheafSectionBoundary_comp hS x) |
| 39 | |
| 40 | theorem sheafSectionBoundary_exact : (sheafSectionBoundaryShortComplex hS).Exact := by |
| 41 | rw [ShortComplex.ab_exact_iff] |
| 42 | intro x hx |
| 43 | exact CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_equiv₀_exact₃.{u} hS isTerminalTop x hx |
| 44 | |
| 45 | theorem sheafSectionBoundary_surjective |
| 46 | (hH : Subsingleton (((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 47 | _ ⥤ AddCommGrpCat.{u}).obj S.X₂))) : |
| 48 | Function.Surjective (sheafSectionBoundary hS) := by |
| 49 | let : Subsingleton (((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 50 | _ ⥤ AddCommGrpCat.{u}).obj S.X₂)) := hH |
| 51 | intro y |
| 52 | have hz : ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 53 | _ ⥤ AddCommGrpCat.{u}).map S.f) y = 0 := Subsingleton.elim _ _ |
| 54 | obtain ⟨x, hx⟩ := CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_exact₁_explicit.{u} hS 0 1 rfl y hz |
| 55 | refine ⟨sheafSectionsEquiv S.X₃ x, ?_⟩ |
| 56 | change CohomologyExact.SheafCohomologyExact.Cohomology.δ.{u} hS 0 1 rfl ((sheafSectionsEquiv S.X₃).symm |
| 57 | (sheafSectionsEquiv S.X₃ x)) = y |
| 58 | exact (congrArg (CohomologyExact.SheafCohomologyExact.Cohomology.δ.{u} hS 0 1 rfl) |
| 59 | ((sheafSectionsEquiv S.X₃).symm_apply_apply x)).trans hx |
| 60 | |
| 61 | def sheafSectionBoundaryCokernelIso |
| 62 | (hH : Subsingleton (((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 63 | _ ⥤ AddCommGrpCat.{u}).obj S.X₂))) : |
| 64 | cokernel (S.g.hom.app (op ⊤)) ≅ AddCommGrpCat.of (((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) 1 : |
| 65 | _ ⥤ AddCommGrpCat.{u}).obj S.X₁)) := by |
| 66 | let T := sheafSectionBoundaryShortComplex hS |
| 67 | have : Epi T.g := (AddCommGrpCat.epi_iff_surjective T.g).mpr (sheafSectionBoundary_surjective hS hH) |
| 68 | exact IsColimit.coconePointUniqueUpToIso (cokernelIsCokernel T.f) |
| 69 | (sheafSectionBoundary_exact hS).gIsCokernel |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech |