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.Smooth |
| 2 | |
| 3 | /-! # Open Neighborhoods -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.OpenNeighborhoods.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smoothness is detected on actual open neighborhoods covering the source. -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 12 | |
| 13 | theorem smooth_of_open_neighborhoods {X Y : Scheme.{0}} (f : X ⟶ Y) |
| 14 | (h : ∀ x : X, ∃ (U : Scheme.{0}) (i : U ⟶ X), |
| 15 | IsOpenImmersion i ∧ x ∈ Set.range i ∧ Smooth (i ≫ f)) : Smooth f := by |
| 16 | classical |
| 17 | let : IsZariskiLocalAtSource @Smooth := |
| 18 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.Smooth) |
| 19 | choose U i hi hx hf using h |
| 20 | let C : X.OpenCover := Scheme.Cover.mkOfCovers X U i (fun x => ⟨x, hx x⟩) hi |
| 21 | exact IsZariskiLocalAtSource.of_openCover (P := @Smooth) C hf |
| 22 | |
| 23 | end |
| 24 | |
| 25 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.OpenNeighborhoods.BundleCycles |