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.Regular.CupClassAddition |
| 2 | |
| 3 | /-! # Cup Mixed Boundary -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CupMixedBoundary |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Literal regular boundary witnesses can be added, subtracted and |
| 12 | summed. Equal original H1 classes give an actual boundary for the |
| 13 | difference of their cups on the same cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) |
| 19 | |
| 20 | theorem regularTripleBoundary_add |
| 21 | (p q : ∀ i j, Γ(X, U i ⊓ U j)) |
| 22 | (v w : ∀ i j l, Γ(X, (U i ⊓ U j) ⊓ U l)) |
| 23 | (hp : BoundaryShuffle.RegularTripleBoundary X U p v) (hq : BoundaryShuffle.RegularTripleBoundary X U q w) : |
| 24 | BoundaryShuffle.RegularTripleBoundary X U (fun i j => p i j + q i j) |
| 25 | (fun i j l => v i j l + w i j l) := by |
| 26 | intro i j l |
| 27 | simp only [map_add] |
| 28 | have h := congrArg₂ (· + ·) (hp i j l) (hq i j l) |
| 29 | convert h using 1 |
| 30 | abel |
| 31 | |
| 32 | theorem regularTripleBoundary_sub |
| 33 | (p q : ∀ i j, Γ(X, U i ⊓ U j)) |
| 34 | (v w : ∀ i j l, Γ(X, (U i ⊓ U j) ⊓ U l)) |
| 35 | (hp : BoundaryShuffle.RegularTripleBoundary X U p v) (hq : BoundaryShuffle.RegularTripleBoundary X U q w) : |
| 36 | BoundaryShuffle.RegularTripleBoundary X U (fun i j => p i j - q i j) |
| 37 | (fun i j l => v i j l - w i j l) := by |
| 38 | intro i j l |
| 39 | simp only [map_sub] |
| 40 | have h := congrArg₂ (· - ·) (hp i j l) (hq i j l) |
| 41 | convert h using 1 |
| 42 | abel |
| 43 | |
| 44 | theorem regularTripleBoundary_sum {B : Type} (t : Finset B) |
| 45 | (p : B → ∀ i j, Γ(X, U i ⊓ U j)) |
| 46 | (v : B → ∀ i j l, Γ(X, (U i ⊓ U j) ⊓ U l)) |
| 47 | (hp : ∀ a ∈ t, BoundaryShuffle.RegularTripleBoundary X U (p a) (v a)) : |
| 48 | BoundaryShuffle.RegularTripleBoundary X U (fun i j => ∑ a ∈ t, p a i j) |
| 49 | (fun i j l => ∑ a ∈ t, v a i j l) := by |
| 50 | intro i j l |
| 51 | simp only [map_sum] |
| 52 | rw [← Finset.sum_sub_distrib, ← Finset.sum_add_distrib] |
| 53 | exact Finset.sum_congr rfl (fun a ha => hp a ha i j l) |
| 54 | |
| 55 | theorem regularPairCup_differenceBoundary (hU : iSup U = ⊤) |
| 56 | (v v' w w' : ∀ i j, Γ(X, U i ⊓ U j)) |
| 57 | (hv : RegularPair.Closed.RegularPairCocycle X U v) (hv' : RegularPair.Closed.RegularPairCocycle X U v') |
| 58 | (hw : RegularPair.Closed.RegularPairCocycle X U w) (hw' : RegularPair.Closed.RegularPairCocycle X U w') |
| 59 | (hvv' : RegularPair.Closed.regularPairSheafClass X U hU v hv = RegularPair.Closed.regularPairSheafClass X U hU v' hv') |
| 60 | (hww' : RegularPair.Closed.regularPairSheafClass X U hU w hw = RegularPair.Closed.regularPairSheafClass X U hU w' hw') : |
| 61 | ∃ p : ∀ i j, Γ(X, U i ⊓ U j), BoundaryShuffle.RegularTripleBoundary X U p |
| 62 | (fun i j l => RegularPair.CupSymmetry.regularPairCupTriple X U v w i j l - RegularPair.CupSymmetry.regularPairCupTriple X U v' w' i j l) := by |
| 63 | obtain ⟨s, hs⟩ := CupClassAddition.regularPairPrimitive_of_sheafClass_eq X U hU v v' hv hv' hvv' |
| 64 | obtain ⟨t, ht⟩ := CupClassAddition.regularPairPrimitive_of_sheafClass_eq X U hU w w' hw hw' hww' |
| 65 | have hl := RegularPair.CupPrimitives.regularPairCup_leftPrimitive X U (fun i j => v i j - v' i j) w s hs hw |
| 66 | have hr := RegularPair.CupPrimitives.regularPairCup_rightPrimitive X U v' (fun i j => w i j - w' i j) t hv' ht |
| 67 | refine ⟨fun i j => -RegularPair.CupPrimitives.regularCupFrontPair X U s w i j + RegularPair.CupPrimitives.regularCupBackPair X U v' t i j, ?_⟩ |
| 68 | have h := regularTripleBoundary_add X U _ _ _ _ hl hr |
| 69 | intro i j l |
| 70 | refine (h i j l).trans ?_ |
| 71 | dsimp only [RegularPair.CupSymmetry.regularPairCupTriple] |
| 72 | rw [map_sub, map_sub] |
| 73 | ring |
| 74 | |
| 75 | end |
| 76 | |
| 77 | /-! On a common cover, primitive degree-one pullback classes and |
| 78 | the three actual diagonal cup boundaries force a literal mixed cup |
| 79 | boundary. This step uses only the original regular sections. -/ |
| 80 | |
| 81 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 82 | open scoped BigOperators |
| 83 | |
| 84 | set_option backward.isDefEq.respectTransparency false |
| 85 | set_option backward.isDefEq.respectTransparency.types false |
| 86 | |
| 87 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) |
| 88 | |
| 89 | local instance mixedBoundaryH1Group : |
| 90 | AddCommGroup (CategoryTheory.Sheaf.H (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) 1) := |
| 91 | Cech.Add.cechClassAddCommGroup (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) 1 |
| 92 | |
| 93 | theorem regularCupMixedBoundary_of_three_boundaries |
| 94 | (hU : iSup U = ⊤) {B : Type} [Fintype B] |
| 95 | (v₀ v₁ v₂ w₀ w₁ w₂ : B → ∀ i j, Γ(X, U i ⊓ U j)) |
| 96 | (hv₀ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (v₀ a)) |
| 97 | (hv₁ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (v₁ a)) |
| 98 | (hv₂ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (v₂ a)) |
| 99 | (hw₀ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (w₀ a)) |
| 100 | (hw₁ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (w₁ a)) |
| 101 | (hw₂ : ∀ a, RegularPair.Closed.RegularPairCocycle X U (w₂ a)) |
| 102 | (hv : ∀ a, RegularPair.Closed.regularPairSheafClass X U hU (v₀ a) (hv₀ a) = |
| 103 | RegularPair.Closed.regularPairSheafClass X U hU (v₁ a) (hv₁ a) + |
| 104 | RegularPair.Closed.regularPairSheafClass X U hU (v₂ a) (hv₂ a)) |
| 105 | (hw : ∀ a, RegularPair.Closed.regularPairSheafClass X U hU (w₀ a) (hw₀ a) = |
| 106 | RegularPair.Closed.regularPairSheafClass X U hU (w₁ a) (hw₁ a) + |
| 107 | RegularPair.Closed.regularPairSheafClass X U hU (w₂ a) (hw₂ a)) |
| 108 | (p₀ p₁ p₂ : ∀ i j, Γ(X, U i ⊓ U j)) |
| 109 | (hp₀ : BoundaryShuffle.RegularTripleBoundary X U p₀ |
| 110 | (fun i j l => ∑ a, RegularPair.CupSymmetry.regularPairCupTriple X U (v₀ a) (w₀ a) i j l)) |
| 111 | (hp₁ : BoundaryShuffle.RegularTripleBoundary X U p₁ |
| 112 | (fun i j l => ∑ a, RegularPair.CupSymmetry.regularPairCupTriple X U (v₁ a) (w₁ a) i j l)) |
| 113 | (hp₂ : BoundaryShuffle.RegularTripleBoundary X U p₂ |
| 114 | (fun i j l => ∑ a, RegularPair.CupSymmetry.regularPairCupTriple X U (v₂ a) (w₂ a) i j l)) : |
| 115 | ∃ p : ∀ i j, Γ(X, U i ⊓ U j), BoundaryShuffle.RegularTripleBoundary X U p |
| 116 | (fun i j l => ∑ a, (RegularPair.CupSymmetry.regularPairCupTriple X U (v₁ a) (w₂ a) i j l + |
| 117 | RegularPair.CupSymmetry.regularPairCupTriple X U (v₂ a) (w₁ a) i j l)) := by |
| 118 | classical |
| 119 | have hdiff (a : B) : ∃ q : ∀ i j, Γ(X, U i ⊓ U j), BoundaryShuffle.RegularTripleBoundary X U q |
| 120 | (fun i j l => RegularPair.CupSymmetry.regularPairCupTriple X U (v₀ a) (w₀ a) i j l - |
| 121 | RegularPair.CupSymmetry.regularPairCupTriple X U (fun i j => v₁ a i j + v₂ a i j) |
| 122 | (fun i j => w₁ a i j + w₂ a i j) i j l) := by |
| 123 | apply regularPairCup_differenceBoundary X U hU (v₀ a) _ (w₀ a) _ |
| 124 | (hv₀ a) (RegularPair.ClassAddition.regularPairCocycle_add X U (v₁ a) (v₂ a) (hv₁ a) (hv₂ a)) |
| 125 | (hw₀ a) (RegularPair.ClassAddition.regularPairCocycle_add X U (w₁ a) (w₂ a) (hw₁ a) (hw₂ a)) |
| 126 | · exact (hv a).trans |
| 127 | (RegularPair.ClassAddition.regularPairSheafClass_add X U (v₁ a) (v₂ a) hU (hv₁ a) (hv₂ a)).symm |
| 128 | · exact (hw a).trans |
| 129 | (RegularPair.ClassAddition.regularPairSheafClass_add X U (w₁ a) (w₂ a) hU (hw₁ a) (hw₂ a)).symm |
| 130 | choose q hq using hdiff |
| 131 | have hs := regularTripleBoundary_sum X U Finset.univ q _ (fun a _ => hq a) |
| 132 | have h₀ := regularTripleBoundary_sub X U _ _ _ _ hp₀ hs |
| 133 | have h₁ := regularTripleBoundary_sub X U _ _ _ _ h₀ hp₁ |
| 134 | have h₂ := regularTripleBoundary_sub X U _ _ _ _ h₁ hp₂ |
| 135 | refine ⟨fun i j => ((p₀ i j - ∑ a, q a i j) - p₁ i j) - p₂ i j, ?_⟩ |
| 136 | intro i j l |
| 137 | refine (h₂ i j l).trans ?_ |
| 138 | dsimp only |
| 139 | rw [← Finset.sum_sub_distrib, ← Finset.sum_sub_distrib, ← Finset.sum_sub_distrib] |
| 140 | apply Finset.sum_congr rfl |
| 141 | intro a _ |
| 142 | dsimp only [RegularPair.CupSymmetry.regularPairCupTriple] |
| 143 | rw [map_add, map_add] |
| 144 | ring |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CupMixedBoundary |