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.RectangleCupShuffle |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RectangleDetector |
| 3 | |
| 4 | /-! # Rectangle Cup Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RectangleCupEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The mixed rectangle detector evaluates actual projection cups |
| 11 | in the tensor of the two original structure-sheaf H1 groups. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | local instance rectangleCupCohomologyAddGroup {X : TopCat.{0}} |
| 20 | (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ) : |
| 21 | AddCommGroup (CategoryTheory.Sheaf.H F n) := |
| 22 | inferInstanceAs (AddCommGroup ((CategoryTheory.Sheaf.functorH |
| 23 | (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{0}).obj F)) |
| 24 | |
| 25 | local instance rectangleCupSheafH1Module (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 26 | Module ℂ (CategoryTheory.Sheaf.H (Dual.UnitCechClasses.ringAdditiveSheaf Z.left.sheaf) 1) := |
| 27 | StructureComplexScalars.structureH1ComplexModule Z |
| 28 | |
| 29 | local instance rectangleCupH1Module (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 30 | Module ℂ (SheafCohomology.AffineH.Projective.H (HilbertConstruction.Line.Bundles.structureModule Z.left) 1) := |
| 31 | StructureComplexScalars.structureH1ComplexModule Z |
| 32 | |
| 33 | def nativeRegularPairCycle (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {I : Type} (U : I → X.left.Opens) |
| 34 | (v : ∀ i i', Γ(X.left, U i ⊓ U i')) (hv : RegularPair.Closed.RegularPairCocycle X.left U v) : |
| 35 | LinearMap.ker (Quotients.FiniteDescent.OpenCechShortComplex.Construction.CubeCech.openModuleCechD1 (Quotients.FiniteDescent.CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf X.hom) U) := |
| 36 | ⟨v, (Quotients.FiniteDescent.OpenCechShortComplex.Construction.CubeCech.openModuleCechD1_eq_zero_iff (Quotients.FiniteDescent.CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf X.hom) U v).mpr |
| 37 | (fun i i' i'' W hi hi' hi'' => Regular.CupClosedSections.regularPairCocycle_on X.left U v hv i i' i'' W hi hi' hi'')⟩ |
| 38 | |
| 39 | variable (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) {I J : Type} |
| 40 | [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J] |
| 41 | (U : I → X.left.Opens) (V : J → Y.left.Opens) |
| 42 | (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 43 | (hUU : ∀ i i', IsAffineOpen (U i ⊓ U i')) |
| 44 | (hVV : ∀ j j', IsAffineOpen (V j ⊓ V j')) |
| 45 | (v : ∀ i i', Γ(X.left, U i ⊓ U i')) (w : ∀ j j', Γ(Y.left, V j ⊓ V j')) |
| 46 | (hv : RegularPair.Closed.RegularPairCocycle X.left U v) (hw : RegularPair.Closed.RegularPairCocycle Y.left V w) |
| 47 | |
| 48 | theorem nativeRectangleMixedProjection_cup_left_right : |
| 49 | RectangleDetector.nativeRectangleMixedProjection X Y U V hcU hcV hUU hVV |
| 50 | (RectangleBoundaryShuffle.rectangleTripleShuffle X.hom Y.hom U V |
| 51 | (RegularPair.CupSymmetry.regularPairCupTriple (pullback X.hom Y.hom) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover X.hom Y.hom U V) |
| 52 | (RectangleCupShuffle.rectangleLeftRegularPair X.hom Y.hom U V v) |
| 53 | (RectangleCupShuffle.rectangleRightRegularPair X.hom Y.hom U V w))) = |
| 54 | RegularPair.Closed.regularPairSheafClass X.left U hcU v hv ⊗ₜ[ℂ] |
| 55 | RegularPair.Closed.regularPairSheafClass Y.left V hcV w hw := by |
| 56 | rw [RectangleCupShuffle.rectangleTripleShuffle_cup_left_right X.hom Y.hom U V hUU hVV v w hv] |
| 57 | have result := RectangleDetector.nativeRectangleMixedProjection_cycles X Y U V hcU hcV hUU hVV |
| 58 | (nativeRegularPairCycle X U v hv) (nativeRegularPairCycle Y V w hw) |
| 59 | convert result using 2 <;> rfl |
| 60 | |
| 61 | theorem nativeRectangleMixedProjection_cup_right_left : |
| 62 | RectangleDetector.nativeRectangleMixedProjection X Y U V hcU hcV hUU hVV |
| 63 | (RectangleBoundaryShuffle.rectangleTripleShuffle X.hom Y.hom U V |
| 64 | (RegularPair.CupSymmetry.regularPairCupTriple (pullback X.hom Y.hom) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover X.hom Y.hom U V) |
| 65 | (RectangleCupShuffle.rectangleRightRegularPair X.hom Y.hom U V w) |
| 66 | (RectangleCupShuffle.rectangleLeftRegularPair X.hom Y.hom U V v))) = |
| 67 | -(RegularPair.Closed.regularPairSheafClass X.left U hcU v hv ⊗ₜ[ℂ] |
| 68 | RegularPair.Closed.regularPairSheafClass Y.left V hcV w hw) := by |
| 69 | rw [RectangleCupShuffle.rectangleTripleShuffle_cup_right_left X.hom Y.hom U V hUU hVV v w hw, map_neg] |
| 70 | apply congrArg Neg.neg |
| 71 | convert (RectangleDetector.nativeRectangleMixedProjection_cycles X Y U V hcU hcV hUU hVV |
| 72 | (nativeRegularPairCycle X U v hv) (nativeRegularPairCycle Y V w hw)) using 2 <;> rfl |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RectangleCupEvaluation |