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.OpenImmersion |
| 2 | import Mathlib.AlgebraicGeometry.ResidueField |
| 3 | |
| 4 | /-! # Field Point Open Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldPointOpenLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A field-valued point lifts to any open containing its unique image point. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem exists_field_point_open_lift {S : Scheme.{0}} (U : S.Opens) |
| 15 | {k : Type} [Field k] (q : Spec (.of k) ⟶ S) |
| 16 | (hq : q (IsLocalRing.closedPoint k) ∈ U) : |
| 17 | ∃ v : Spec (.of k) ⟶ U.toScheme, v ≫ U.ι = q := by |
| 18 | have hr : Set.range q ⊆ Set.range U.ι := by |
| 19 | rintro _ ⟨x, rfl⟩ |
| 20 | have hx : x = IsLocalRing.closedPoint k := Subsingleton.elim _ _ |
| 21 | refine ⟨⟨q x, ?_⟩, rfl⟩ |
| 22 | exact hx.symm ▸ hq |
| 23 | exact ⟨IsOpenImmersion.lift U.ι q hr, IsOpenImmersion.lift_fac U.ι q hr⟩ |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldPointOpenLift |