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 | /-! # Range Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RangeCriterion |
| 6 | |
| 7 | /-! A scheme morphism lands in an open subset precisely when its inverse image is the whole source. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | theorem range_subset_open_iff_preimage_eq_top {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 14 | Set.range f ⊆ (U : Set Y) ↔ f ⁻¹ᵁ U = ⊤ := by |
| 15 | constructor |
| 16 | · intro h |
| 17 | apply top_unique |
| 18 | intro x _ |
| 19 | exact h ⟨x, rfl⟩ |
| 20 | · intro h y hy |
| 21 | obtain ⟨x, rfl⟩ := hy |
| 22 | have hx : x ∈ f ⁻¹ᵁ U := h.symm ▸ (show x ∈ (⊤ : X.Opens) from trivial) |
| 23 | exact hx |
| 24 | |
| 25 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RangeCriterion |