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 Mathlib.AlgebraicGeometry.Scheme |
| 2 | |
| 3 | /-! # Restricted Global Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictedGlobalUnit |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restrict a unit of global functions compatibly to every open. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | def restrictedGlobalUnit {X : Scheme.{u}} (u : Γ(X, ⊤)ˣ) (U : X.Opens) : Γ(X, U)ˣ := |
| 14 | Units.map (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op).hom.toMonoidHom u |
| 15 | |
| 16 | theorem restrictedGlobalUnit_restrict {X : Scheme.{u}} (u : Γ(X, ⊤)ˣ) |
| 17 | {U V : X.Opens} (h : V ≤ U) : |
| 18 | Units.map (X.presheaf.map (homOfLE h).op).hom (restrictedGlobalUnit u U) = |
| 19 | restrictedGlobalUnit u V := by |
| 20 | apply Units.ext |
| 21 | change (X.presheaf.map (homOfLE h).op) ((X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op) (u : Γ(X, ⊤))) = _ |
| 22 | change (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op ≫ X.presheaf.map (homOfLE h).op) (u : Γ(X, ⊤)) = _ |
| 23 | rw [← X.presheaf.map_comp] |
| 24 | rfl |
| 25 | |
| 26 | theorem restrictedGlobalUnit_val {X : Scheme.{u}} (u : Γ(X, ⊤)ˣ) {n : ℕ} |
| 27 | (hu : (u : Γ(X, ⊤)) = n) (U : X.Opens) : (restrictedGlobalUnit u U : Γ(X, U)) = n := by |
| 28 | change (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op) (u : Γ(X, ⊤)) = n |
| 29 | rw [hu, map_natCast] |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictedGlobalUnit |