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.ReferenceFamily.Abelian.CupMixedBoundary |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RectangleMixedCupSum |
| 3 | |
| 4 | /-! # Cup Alternating Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CupAlternatingTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite cup boundary on a projective complex abelian variety |
| 11 | forces zero alternating tensor of the original structure-sheaf H1 |
| 12 | classes. The proof uses actual pullbacks, refinement, and affine |
| 13 | rectangle detection, with no assumed native cup comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj TensorProduct BigOperators |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | local instance alternatingCohomologyAddGroup {X : TopCat.{0}} |
| 23 | (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ) : |
| 24 | AddCommGroup (CategoryTheory.Sheaf.H F n) := |
| 25 | inferInstanceAs (AddCommGroup ((CategoryTheory.Sheaf.functorH |
| 26 | (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{0}).obj F)) |
| 27 | |
| 28 | local instance alternatingSheafH1Module (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 29 | Module ℂ (CategoryTheory.Sheaf.H (Dual.UnitCechClasses.ringAdditiveSheaf Z.left.sheaf) 1) := |
| 30 | StructureComplexScalars.structureH1ComplexModule Z |
| 31 | |
| 32 | local instance cupAlternatingH1Module (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 33 | Module ℂ (SheafCohomology.AffineH.Projective.H (HilbertConstruction.Line.Bundles.structureModule Z.left) 1) := StructureComplexScalars.structureH1ComplexModule Z |
| 34 | |
| 35 | theorem nativeCup_alternatingTensor_eq_zero |
| 36 | {n : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme n Foundations.Scheme.ProjectiveSpace.complexBase) (D : HilbertConstruction.Dual.Data.DualAbelianData A) |
| 37 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) |
| 38 | {I B : Type} [Fintype I] [DecidableEq I] [Fintype B] |
| 39 | (U : I → A.scheme.left.Opens) (hU : iSup U = ⊤) |
| 40 | (hAffine : ∀ i, IsAffineOpen (U i)) |
| 41 | (hUU : ∀ i j, IsAffineOpen (U i ⊓ U j)) |
| 42 | (v w : B → ∀ i j, Γ(A.scheme.left, U i ⊓ U j)) |
| 43 | (hv : ∀ a, RegularPair.Closed.RegularPairCocycle A.scheme.left U (v a)) |
| 44 | (hw : ∀ a, RegularPair.Closed.RegularPairCocycle A.scheme.left U (w a)) |
| 45 | (p : ∀ i j, Γ(A.scheme.left, U i ⊓ U j)) |
| 46 | (hp : Regular.BoundaryShuffle.RegularTripleBoundary A.scheme.left U p |
| 47 | (fun i j l => ∑ a, RegularPair.CupSymmetry.regularPairCupTriple A.scheme.left U (v a) (w a) i j l)) : |
| 48 | ∑ a, (RegularPair.Closed.regularPairSheafClass A.scheme.left U hU (v a) (hv a) ⊗ₜ[ℂ] |
| 49 | RegularPair.Closed.regularPairSheafClass A.scheme.left U hU (w a) (hw a) - |
| 50 | RegularPair.Closed.regularPairSheafClass A.scheme.left U hU (w a) (hw a) ⊗ₜ[ℂ] |
| 51 | RegularPair.Closed.regularPairSheafClass A.scheme.left U hU (v a) (hv a)) = 0 := by |
| 52 | let X := A.scheme |
| 53 | let Z := X ⊗ X |
| 54 | let R := Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover X.hom X.hom U U |
| 55 | let W := Abelian.CupCommonCover.abelianCupCommonCover X U |
| 56 | have hR := RectangleClassDetection.rectangleOpenCover_covers X.hom X.hom U U hU hU |
| 57 | have hW := Abelian.CupCommonCover.abelianCupCommonCover_covers X U hU |
| 58 | have : IsSeparated Z.hom := by |
| 59 | change IsSeparated (pullback.fst X.hom X.hom ≫ X.hom) |
| 60 | infer_instance |
| 61 | have ht : IsSeparated (Z.hom ≫ terminal.from Foundations.Scheme.ProjectiveSpace.complexBase) := inferInstance |
| 62 | have he : Z.hom ≫ terminal.from Foundations.Scheme.ProjectiveSpace.complexBase = terminal.from Z.left := Subsingleton.elim _ _ |
| 63 | have : (pullback X.hom X.hom).IsSeparated := ⟨he ▸ ht⟩ |
| 64 | let c : RectangleBoundaryShuffle.rectangleOrdinaryCech2 X.hom X.hom U U := fun i j l => ∑ a, |
| 65 | (RegularPair.CupSymmetry.regularPairCupTriple Z.left R (RectangleCupShuffle.rectangleLeftRegularPair X.hom X.hom U U (v a)) |
| 66 | (RectangleCupShuffle.rectangleRightRegularPair X.hom X.hom U U (w a)) i j l + |
| 67 | RegularPair.CupSymmetry.regularPairCupTriple Z.left R (RectangleCupShuffle.rectangleRightRegularPair X.hom X.hom U U (v a)) |
| 68 | (RectangleCupShuffle.rectangleLeftRegularPair X.hom X.hom U U (w a)) i j l) |
| 69 | have hc : DivisorClass.Chern.Abelian.CechCoordinates.abelianCechDelta (Dual.UnitCechClasses.ringAdditiveSheaf Z.left.sheaf).obj R 2 |
| 70 | (Regular.BoundaryShuffle.regularTripleCechCochain Z.left R c) = 0 := |
| 71 | Regular.TripleSumCocycles.regularPairMixedCupSum_cech_closed Z.left R _ _ _ _ |
| 72 | (fun a => RectangleCupShuffle.rectangleLeftRegularPair_cocycle X.hom X.hom U U (v a) (hv a)) |
| 73 | (fun a => RectangleCupShuffle.rectangleRightRegularPair_cocycle X.hom X.hom U U (w a) (hw a)) |
| 74 | (fun a => RectangleCupShuffle.rectangleRightRegularPair_cocycle X.hom X.hom U U (v a) (hv a)) |
| 75 | (fun a => RectangleCupShuffle.rectangleLeftRegularPair_cocycle X.hom X.hom U U (w a) (hw a)) |
| 76 | obtain ⟨q, hq⟩ := Abelian.CupMixedBoundary.abelianCup_common_mixedBoundary A D P U hU v w hv hw p hp |
| 77 | have hz := Regular.RefinementOperations.regularTripleSheafClass_zero_of_refinement_boundary Z.left R W Prod.fst |
| 78 | (fun _ => inf_le_left) hR hW c hc q hq |
| 79 | have hd := RectangleDetector.nativeRectangleMixedProjection_zero_of_sheafClass_zero X X U U hU hU hUU hUU |
| 80 | hAffine hAffine c hc hz |
| 81 | exact (RectangleMixedCupSum.nativeRectangleMixedProjection_mixedCupSum X X U U hU hU hUU hUU |
| 82 | v w v w hv hw hv hw).symm.trans hd |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CupAlternatingTensor |