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.Affine |
| 2 | |
| 3 | /-! # Point Affine -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointAffine |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every field-valued point of an arbitrary scheme is an affine morphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem fieldPoint_isAffineHom {K : Type u} [Field K] {X : Scheme.{u}} |
| 16 | (a : Spec (.of K) ⟶ X) : IsAffineHom a := by |
| 17 | constructor |
| 18 | intro U _ |
| 19 | by_cases h : Nonempty (a ⁻¹ᵁ U) |
| 20 | · obtain ⟨x⟩ := h |
| 21 | have he : a ⁻¹ᵁ U = ⊤ := by |
| 22 | apply top_unique |
| 23 | intro y _ |
| 24 | exact (Subsingleton.elim x.val y) ▸ x.property |
| 25 | exact (congrArg IsAffineOpen he).mpr (isAffineOpen_top (Spec (.of K))) |
| 26 | · have he : a ⁻¹ᵁ U = ⊥ := by |
| 27 | apply le_antisymm |
| 28 | · intro x hx |
| 29 | exact (h ⟨⟨x, hx⟩⟩).elim |
| 30 | · exact bot_le |
| 31 | exact (congrArg IsAffineOpen he).mpr (isAffineOpen_bot (Spec (.of K))) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointAffine |