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 | /-! # Open Conditions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.OpenConditions |
| 6 | |
| 7 | /-! Finite intersections of conditional open conditions detect their simultaneous range conditions. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | theorem range_subset_finite_conditional_opens {X Y : Scheme.{u}} {ι : Type v} [Finite ι] |
| 14 | (f : X ⟶ Y) (P : ι → Prop) [DecidablePred P] (U : ι → Y.Opens) : |
| 15 | Set.range f ⊆ ((⨅ i, if P i then U i else ⊤ : Y.Opens) : Set Y) ↔ |
| 16 | ∀ i, P i → Set.range f ⊆ (U i : Set Y) := by |
| 17 | rw [TopologicalSpace.Opens.coe_iInf, Set.subset_iInter_iff] |
| 18 | constructor |
| 19 | · intro h i hi |
| 20 | simpa only [ite_eq_left hi] using h i |
| 21 | · intro h i |
| 22 | by_cases hi : P i |
| 23 | · simpa only [ite_eq_left hi] using h i hi |
| 24 | · rw [ite_eq_right hi] |
| 25 | exact Set.subset_univ _ |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.OpenConditions |