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.HilbertConstruction.MapAllStalkDetection |
| 2 | |
| 3 | /-! # Ring Pullback Map Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.RingPullbackMapDetection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality after every local-ring-valued base change detects arbitrary scheme maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem schemeMap_eq_of_localRingPullbacks {X S Y : Scheme.{u}} |
| 16 | (p : X ⟶ S) (f g : X ⟶ Y) |
| 17 | (h : ∀ (A : Type u) [CommRing A] [IsLocalRing A] (b : Spec (.of A) ⟶ S), |
| 18 | pullback.fst p b ≫ f = pullback.fst p b ≫ g) : f = g := by |
| 19 | apply MapAllStalkDetection.schemeMap_eq_of_allStalkPoints |
| 20 | intro x |
| 21 | have hlocal : IsLocalRing (X.presheaf.stalk x) := X.toLocallyRingedSpace.isLocalRing x |
| 22 | let r := X.fromSpecStalk x |
| 23 | let b := r ≫ p |
| 24 | let l := pullback.lift r (𝟙 _) (Category.id_comp b).symm |
| 25 | have hl : l ≫ pullback.fst p b = r := pullback.lift_fst _ _ _ |
| 26 | have H := congrArg (fun q => l ≫ q) (@h (X.presheaf.stalk x) _ hlocal b) |
| 27 | change l ≫ pullback.fst p b ≫ f = l ≫ pullback.fst p b ≫ g at H |
| 28 | rw [← Category.assoc, ← Category.assoc, hl] at H |
| 29 | exact H |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.RingPullbackMapDetection |