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.RectangleBoundaryShuffle |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CupClosedSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.PairPullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.Refinement |
| 5 | |
| 6 | /-! # Rectangle Cup Shuffle -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RectangleCupShuffle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual projection pullbacks on a rectangle cover have cup |
| 13 | shuffles equal to the product tensor, with the reverse order negative. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem regularPairCocycle_self (X : Scheme.{0}) {I : Type} (U : I → X.Opens) |
| 22 | (v : ∀ i j, Γ(X, U i ⊓ U j)) (hv : RegularPair.Closed.RegularPairCocycle X U v) (i : I) : |
| 23 | v i i = 0 := by |
| 24 | have h := Regular.CupClosedSections.regularPairCocycle_on X U v hv i i i (U i ⊓ U i) |
| 25 | inf_le_left inf_le_left inf_le_left |
| 26 | change X.presheaf.map (𝟙 _) (v i i) + X.presheaf.map (𝟙 _) (v i i) = |
| 27 | X.presheaf.map (𝟙 _) (v i i) at h |
| 28 | simp only [X.presheaf.map_id, CommRingCat.id_apply] at h |
| 29 | exact add_eq_left.mp h |
| 30 | |
| 31 | variable {k : Type} [Field k] {X Y : Scheme.{0}} |
| 32 | (f : X ⟶ Spec (.of k)) (g : Y ⟶ Spec (.of k)) |
| 33 | {I J : Type} (U : I → X.Opens) (V : J → Y.Opens) |
| 34 | |
| 35 | def rectangleLeftRegularPair (v : ∀ i i', Γ(X, U i ⊓ U i')) : |
| 36 | Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOrdinaryCech1 f g U V := |
| 37 | RegularPair.Refinement.regularPairRefinement (pullback f g) (fun i => (pullback.fst f g) ⁻¹ᵁ U i) |
| 38 | (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) Sigma.fst (fun _ => inf_le_left) |
| 39 | (RegularPair.PairPullback.regularPairPullback (pullback.fst f g) U v) |
| 40 | |
| 41 | def rectangleRightRegularPair (w : ∀ j j', Γ(Y, V j ⊓ V j')) : |
| 42 | Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOrdinaryCech1 f g U V := |
| 43 | RegularPair.Refinement.regularPairRefinement (pullback f g) (fun j => (pullback.snd f g) ⁻¹ᵁ V j) |
| 44 | (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) (fun p => p.2) (fun _ => inf_le_right) |
| 45 | (RegularPair.PairPullback.regularPairPullback (pullback.snd f g) V w) |
| 46 | |
| 47 | theorem rectangleLeftRegularPair_cocycle |
| 48 | (v : ∀ i i', Γ(X, U i ⊓ U i')) (hv : RegularPair.Closed.RegularPairCocycle X U v) : |
| 49 | RegularPair.Closed.RegularPairCocycle (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 50 | (rectangleLeftRegularPair f g U V v) := |
| 51 | RegularPair.Refinement.regularPairRefinement_cocycle (pullback f g) _ _ _ _ _ |
| 52 | (RegularPair.PairPullback.regularPairPullback_cocycle (pullback.fst f g) U v hv) |
| 53 | |
| 54 | theorem rectangleRightRegularPair_cocycle |
| 55 | (w : ∀ j j', Γ(Y, V j ⊓ V j')) (hw : RegularPair.Closed.RegularPairCocycle Y V w) : |
| 56 | RegularPair.Closed.RegularPairCocycle (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 57 | (rectangleRightRegularPair f g U V w) := |
| 58 | RegularPair.Refinement.regularPairRefinement_cocycle (pullback f g) _ _ _ _ _ |
| 59 | (RegularPair.PairPullback.regularPairPullback_cocycle (pullback.snd f g) V w hw) |
| 60 | |
| 61 | theorem rectangleLeftRegularPair_on |
| 62 | (v : ∀ i i', Γ(X, U i ⊓ U i')) (p q : Σ _ : I, J) |
| 63 | (W : (pullback f g).Opens) |
| 64 | (hp : W ≤ Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V p) (hq : W ≤ Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V q) : |
| 65 | Regular.BoundaryShuffle.regularPairSectionOn (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 66 | (rectangleLeftRegularPair f g U V v) p q W hp hq = |
| 67 | (pullback.fst f g).appLE (U p.1 ⊓ U q.1) W |
| 68 | (le_inf (hp.trans inf_le_left) (hq.trans inf_le_left)) (v p.1 q.1) := by |
| 69 | dsimp only [Regular.BoundaryShuffle.regularPairSectionOn, rectangleLeftRegularPair, RegularPair.Refinement.regularPairRefinement, |
| 70 | RegularPair.PairPullback.regularPairPullback, Scheme.Hom.appLE] |
| 71 | erw [RegularPair.Closed.regularSectionRestrict_comp] |
| 72 | rfl |
| 73 | |
| 74 | theorem rectangleRightRegularPair_on |
| 75 | (w : ∀ j j', Γ(Y, V j ⊓ V j')) (p q : Σ _ : I, J) |
| 76 | (W : (pullback f g).Opens) |
| 77 | (hp : W ≤ Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V p) (hq : W ≤ Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V q) : |
| 78 | Regular.BoundaryShuffle.regularPairSectionOn (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 79 | (rectangleRightRegularPair f g U V w) p q W hp hq = |
| 80 | (pullback.snd f g).appLE (V p.2 ⊓ V q.2) W |
| 81 | (le_inf (hp.trans inf_le_right) (hq.trans inf_le_right)) (w p.2 q.2) := by |
| 82 | dsimp only [Regular.BoundaryShuffle.regularPairSectionOn, rectangleRightRegularPair, RegularPair.Refinement.regularPairRefinement, |
| 83 | RegularPair.PairPullback.regularPairPullback, Scheme.Hom.appLE] |
| 84 | erw [RegularPair.Closed.regularSectionRestrict_comp] |
| 85 | rfl |
| 86 | |
| 87 | variable [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J] |
| 88 | (hUU : ∀ i i', IsAffineOpen (U i ⊓ U i')) |
| 89 | (hVV : ∀ j j', IsAffineOpen (V j ⊓ V j')) |
| 90 | |
| 91 | theorem rectangleTripleShuffle_cup_left_right |
| 92 | (v : ∀ i i', Γ(X, U i ⊓ U i')) (w : ∀ j j', Γ(Y, V j ⊓ V j')) |
| 93 | (hv : RegularPair.Closed.RegularPairCocycle X U v) : |
| 94 | RectangleBoundaryShuffle.rectangleTripleShuffle f g U V |
| 95 | (RegularPair.CupSymmetry.regularPairCupTriple (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 96 | (rectangleLeftRegularPair f g U V v) (rectangleRightRegularPair f g U V w)) = |
| 97 | Quotients.FiniteDescent.CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv f g U V hUU hVV (v ⊗ₜ[k] w) := by |
| 98 | funext i i' j j' |
| 99 | dsimp only [RectangleBoundaryShuffle.rectangleTripleShuffle] |
| 100 | erw [Regular.CupClosedSections.regularPairCupTriple_on, Regular.CupClosedSections.regularPairCupTriple_on, |
| 101 | rectangleLeftRegularPair_on, rectangleRightRegularPair_on, |
| 102 | rectangleLeftRegularPair_on, rectangleRightRegularPair_on, |
| 103 | regularPairCocycle_self X U v hv i, map_zero, zero_mul, sub_zero, |
| 104 | Quotients.FiniteDescent.CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv_tmul] |
| 105 | |
| 106 | theorem rectangleTripleShuffle_cup_right_left |
| 107 | (v : ∀ i i', Γ(X, U i ⊓ U i')) (w : ∀ j j', Γ(Y, V j ⊓ V j')) |
| 108 | (hw : RegularPair.Closed.RegularPairCocycle Y V w) : |
| 109 | RectangleBoundaryShuffle.rectangleTripleShuffle f g U V |
| 110 | (RegularPair.CupSymmetry.regularPairCupTriple (pullback f g) (Quotients.FiniteDescent.CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 111 | (rectangleRightRegularPair f g U V w) (rectangleLeftRegularPair f g U V v)) = |
| 112 | -Quotients.FiniteDescent.CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv f g U V hUU hVV (v ⊗ₜ[k] w) := by |
| 113 | funext i i' j j' |
| 114 | change _ = -(Quotients.FiniteDescent.CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv f g U V hUU hVV (v ⊗ₜ[k] w) i i' j j') |
| 115 | dsimp only [RectangleBoundaryShuffle.rectangleTripleShuffle] |
| 116 | erw [Regular.CupClosedSections.regularPairCupTriple_on, Regular.CupClosedSections.regularPairCupTriple_on, |
| 117 | rectangleRightRegularPair_on, rectangleLeftRegularPair_on, |
| 118 | rectangleRightRegularPair_on, rectangleLeftRegularPair_on, |
| 119 | regularPairCocycle_self Y V w hw j, map_zero, zero_mul, zero_sub, |
| 120 | Quotients.FiniteDescent.CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv_tmul, mul_comm] |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RectangleCupShuffle |