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.Morphisms.Etale |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | |
| 4 | /-! # Stalk Properties -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.StalkProperties |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual etale open neighborhood gives flatness, formal |
| 11 | unramifiedness, and essential finite type for the original stalk map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem of_open {X Y : Scheme.{u}} (f : X ⟶ Y) (U : X.Opens) |
| 20 | [Etale (U.ι ≫ f)] (x : X) (hx : x ∈ U) : |
| 21 | (f.stalkMap x).hom.Flat ∧ (f.stalkMap x).hom.FormallyUnramified ∧ |
| 22 | (f.stalkMap x).hom.EssFiniteType := by |
| 23 | let y : U := ⟨x, hx⟩ |
| 24 | have hflat := Flat.stalkMap (U.ι ≫ f) y |
| 25 | have hun := FormallyUnramified.stalkMap (U.ι ≫ f) y |
| 26 | have hft := LocallyOfFiniteType.stalkMap (U.ι ≫ f) y |
| 27 | rw [Scheme.Hom.stalkMap_comp] at hflat hun hft |
| 28 | exact ⟨(RingHom.Flat.respectsIso.cancel_right_isIso (f.stalkMap x) (U.ι.stalkMap y)).mp hflat, |
| 29 | (RingHom.FormallyUnramified.respectsIso.cancel_right_isIso (f.stalkMap x) (U.ι.stalkMap y)).mp hun, |
| 30 | (RingHom.EssFiniteType.respectsIso.cancel_right_isIso (f.stalkMap x) (U.ι.stalkMap y)).mp hft⟩ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.StalkProperties |