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.BoundaryShuffle |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.CupSymmetry |
| 3 | |
| 4 | /-! # Cup Closed Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CupClosedSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The product of two original regular pair cocycles satisfies the |
| 11 | degree-two cocycle identity on every common algebraic open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) |
| 16 | |
| 17 | theorem regularPairCocycle_on |
| 18 | (v : ∀ i j, Γ(X, U i ⊓ U j)) (hv : RegularPair.Closed.RegularPairCocycle X U v) |
| 19 | (a b c : I) (W : X.Opens) (ha : W ≤ U a) (hb : W ≤ U b) (hc : W ≤ U c) : |
| 20 | BoundaryShuffle.regularPairSectionOn X U v a b W ha hb + BoundaryShuffle.regularPairSectionOn X U v b c W hb hc = |
| 21 | BoundaryShuffle.regularPairSectionOn X U v a c W ha hc := by |
| 22 | have h := congrArg (fun s => X.presheaf.map (homOfLE (le_inf (le_inf ha hb) hc)).op s) |
| 23 | (hv a b c) |
| 24 | rw [map_add, RegularPair.Closed.regularSectionRestrict_comp, RegularPair.Closed.regularSectionRestrict_comp, |
| 25 | RegularPair.Closed.regularSectionRestrict_comp] at h |
| 26 | exact h |
| 27 | |
| 28 | theorem regularPairCupTriple_on |
| 29 | (v w : ∀ i j, Γ(X, U i ⊓ U j)) |
| 30 | (a b c : I) (W : X.Opens) (ha : W ≤ U a) (hb : W ≤ U b) (hc : W ≤ U c) : |
| 31 | BoundaryShuffle.regularTripleSectionOn X U (RegularPair.CupSymmetry.regularPairCupTriple X U v w) a b c W ha hb hc = |
| 32 | BoundaryShuffle.regularPairSectionOn X U v a b W ha hb * BoundaryShuffle.regularPairSectionOn X U w b c W hb hc := by |
| 33 | dsimp only [BoundaryShuffle.regularTripleSectionOn, RegularPair.CupSymmetry.regularPairCupTriple, BoundaryShuffle.regularPairSectionOn] |
| 34 | rw [map_mul, RegularPair.Closed.regularSectionRestrict_comp, RegularPair.Closed.regularSectionRestrict_comp] |
| 35 | |
| 36 | theorem regularPairCupTriple_quadruple |
| 37 | (v w : ∀ i j, Γ(X, U i ⊓ U j)) |
| 38 | (hv : RegularPair.Closed.RegularPairCocycle X U v) (hw : RegularPair.Closed.RegularPairCocycle X U w) |
| 39 | (a b c d : I) (W : X.Opens) |
| 40 | (ha : W ≤ U a) (hb : W ≤ U b) (hc : W ≤ U c) (hd : W ≤ U d) : |
| 41 | BoundaryShuffle.regularTripleSectionOn X U (RegularPair.CupSymmetry.regularPairCupTriple X U v w) b c d W hb hc hd - |
| 42 | BoundaryShuffle.regularTripleSectionOn X U (RegularPair.CupSymmetry.regularPairCupTriple X U v w) a c d W ha hc hd + |
| 43 | BoundaryShuffle.regularTripleSectionOn X U (RegularPair.CupSymmetry.regularPairCupTriple X U v w) a b d W ha hb hd - |
| 44 | BoundaryShuffle.regularTripleSectionOn X U (RegularPair.CupSymmetry.regularPairCupTriple X U v w) a b c W ha hb hc = 0 := by |
| 45 | rw [regularPairCupTriple_on, regularPairCupTriple_on, regularPairCupTriple_on, |
| 46 | regularPairCupTriple_on, ← regularPairCocycle_on X U v hv a b c W ha hb hc, |
| 47 | ← regularPairCocycle_on X U w hw b c d W hb hc hd] |
| 48 | ring |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CupClosedSections |