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.SpreadingOut |
| 2 | |
| 3 | /-! # Map Stalk Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MapStalkDetection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps from a locally noetherian scheme are detected on its actual |
| 10 | local spectra. The proof spreads stalkwise equalities to an open cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem schemeHom_eq_of_fromSpecStalk {X Y : Scheme.{u}} [IsLocallyNoetherian X] |
| 17 | (f g : X ⟶ Y) (h : ∀ x : X, X.fromSpecStalk x ≫ f = X.fromSpecStalk x ≫ g) : f = g := by |
| 18 | choose U hU he using fun x => spread_out_unique_of_isGermInjective' f g (h x) |
| 19 | let C : X.OpenCover.{u} := { |
| 20 | I₀ := X |
| 21 | X := fun x => (U x).toScheme |
| 22 | f := fun x => (U x).ι |
| 23 | mem₀ := by |
| 24 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 25 | exact ⟨fun x => ⟨x, ⟨x, hU x⟩, rfl⟩, inferInstance⟩ } |
| 26 | exact C.hom_ext f g he |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MapStalkDetection |