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 OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ImmersionFactorization |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 3 | import Mathlib.AlgebraicGeometry.ResidueField |
| 4 | |
| 5 | /-! # Geometric Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.GeometricLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A locally closed locus classifies its geometric-point condition on |
| 12 | all reduced test schemes, with no noetherian restriction on the tests. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem reduced_immersion_lift_iff_geometric_points |
| 17 | {X Y Z : Scheme.{0}} (i : X ⟶ Z) [IsImmersion i] (f : Y ⟶ Z) [IsReduced Y] : |
| 18 | (∃! g : Y ⟶ X, g ≫ i = f) ↔ |
| 19 | ∀ (F : Type) [Field F] [IsAlgClosed F] (p : Spec (.of F) ⟶ Y), |
| 20 | ∃ q : Spec (.of F) ⟶ X, q ≫ i = p ≫ f := by |
| 21 | constructor |
| 22 | · rintro ⟨g, hg, _⟩ F _ _ p |
| 23 | exact ⟨p ≫ g, (Category.assoc _ _ _).trans (congrArg (p ≫ ·) hg)⟩ |
| 24 | · intro h |
| 25 | apply ImmersionFactorization.existsUnique_lift_immersion_of_range_subset i f |
| 26 | rintro _ ⟨y, rfl⟩ |
| 27 | let F := AlgebraicClosure (Y.residueField y) |
| 28 | let p : Spec (.of F) ⟶ Y := |
| 29 | Spec.map (CommRingCat.ofHom (algebraMap (Y.residueField y) F)) ≫ Y.fromSpecResidueField y |
| 30 | have hp : p (IsLocalRing.closedPoint F) = y := Y.fromSpecResidueField_apply y _ |
| 31 | obtain ⟨q, hq⟩ := h F p |
| 32 | refine ⟨q (IsLocalRing.closedPoint F), ?_⟩ |
| 33 | have he := congrArg (fun m => m (IsLocalRing.closedPoint F)) hq |
| 34 | exact he.trans (congrArg f hp) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.GeometricLocus |