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.Open.UnitCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.TransitionCocycle |
| 3 | |
| 4 | /-! # Transition Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.TransitionCocycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite overlap equations can be expressed on actual open |
| 11 | subschemes without changing the original regular-unit cocycle. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) |
| 16 | |
| 17 | abbrev OpenTransitionCoefficients := ∀ i j : I, Γ((U i ⊓ U j).toScheme, ⊤)ˣ |
| 18 | |
| 19 | def openTransitionOn (r : OpenTransitionCoefficients U) (i j : I) |
| 20 | (W : X.Opens) (hi : W ≤ U i) (hj : W ≤ U j) : Γ(W.toScheme, ⊤)ˣ := |
| 21 | Units.map (X.homOfLE (le_inf hi hj)).appTop.hom.toMonoidHom (r i j) |
| 22 | |
| 23 | def OpenTransitionCocycle (r : OpenTransitionCoefficients U) : Prop := |
| 24 | ∀ i j k : I, |
| 25 | openTransitionOn U r i j ((U i ⊓ U j) ⊓ U k) (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) * |
| 26 | openTransitionOn U r j k ((U i ⊓ U j) ⊓ U k) (inf_le_left.trans inf_le_right) inf_le_right = |
| 27 | openTransitionOn U r i k ((U i ⊓ U j) ⊓ U k) (inf_le_left.trans inf_le_left) inf_le_right |
| 28 | |
| 29 | def regularCoefficientsOfOpen (r : OpenTransitionCoefficients U) : Regular.TransitionCocycle.RegularTransitionCoefficients U := |
| 30 | fun i j => UnitCoordinates.openUnitToRegular (U i ⊓ U j) (r i j) |
| 31 | |
| 32 | theorem regularCoefficientsOfOpen_on (r : OpenTransitionCoefficients U) |
| 33 | (i j : I) (W : X.Opens) (hi : W ≤ U i) (hj : W ≤ U j) : |
| 34 | Regular.TransitionCocycle.regularTransitionOn U (regularCoefficientsOfOpen U r) i j W hi hj = |
| 35 | UnitCoordinates.openUnitToRegular W (openTransitionOn U r i j W hi hj) := |
| 36 | (UnitCoordinates.openUnitToRegular_restrict (le_inf hi hj) (r i j)).symm |
| 37 | |
| 38 | theorem regularCoefficientsOfOpen_cocycle_iff (r : OpenTransitionCoefficients U) : |
| 39 | Regular.TransitionCocycle.RegularTransitionCocycle U (regularCoefficientsOfOpen U r) ↔ OpenTransitionCocycle U r := by |
| 40 | constructor |
| 41 | · intro h i j k |
| 42 | apply UnitCoordinates.openUnitToRegular_injective |
| 43 | rw [map_mul, ← regularCoefficientsOfOpen_on, ← regularCoefficientsOfOpen_on, |
| 44 | ← regularCoefficientsOfOpen_on] |
| 45 | exact h i j k |
| 46 | · intro h i j k |
| 47 | rw [regularCoefficientsOfOpen_on, regularCoefficientsOfOpen_on, regularCoefficientsOfOpen_on, |
| 48 | ← map_mul, h i j k] |
| 49 | |
| 50 | def openCoefficientsOfRegular (r : Regular.TransitionCocycle.RegularTransitionCoefficients U) : OpenTransitionCoefficients U := |
| 51 | fun i j => UnitCoordinates.regularUnitToOpen (U i ⊓ U j) (r i j) |
| 52 | |
| 53 | theorem regularCoefficientsOfOpen_ofRegular (r : Regular.TransitionCocycle.RegularTransitionCoefficients U) : |
| 54 | regularCoefficientsOfOpen U (openCoefficientsOfRegular U r) = r := by |
| 55 | funext i j |
| 56 | exact UnitCoordinates.openUnitToRegular_toOpen _ _ |
| 57 | |
| 58 | theorem openCoefficientsOfRegular_cocycle (r : Regular.TransitionCocycle.RegularTransitionCoefficients U) |
| 59 | (hr : Regular.TransitionCocycle.RegularTransitionCocycle U r) : OpenTransitionCocycle U (openCoefficientsOfRegular U r) := by |
| 60 | apply (regularCoefficientsOfOpen_cocycle_iff U _).mp |
| 61 | rw [regularCoefficientsOfOpen_ofRegular] |
| 62 | exact hr |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.TransitionCocycle |