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.AlgClosed.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 4 | |
| 5 | /-! # Proper Rational -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperRational |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A rational point lifts through a proper surjection over an |
| 12 | algebraically closed field. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.ProperRationalLift |
| 21 | |
| 22 | theorem exists_lift {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} |
| 23 | (q : X ⟶ Y) [IsProper q] [Surjective q] (p : Spec (.of K) ⟶ Y) : |
| 24 | ∃ s : Spec (.of K) ⟶ X, s ≫ q = p := by |
| 25 | let f := pullback.snd q p |
| 26 | have : IsProper f := inferInstanceAs (IsProper (pullback.snd q p)) |
| 27 | have : Surjective f := inferInstanceAs (Surjective (pullback.snd q p)) |
| 28 | have : Nonempty (pullback q p : Scheme.{u}) := by |
| 29 | obtain ⟨z, _⟩ := f.surjective (IsLocalRing.closedPoint K) |
| 30 | exact ⟨z⟩ |
| 31 | have : JacobsonSpace (pullback q p : Scheme.{u}) := LocallyOfFiniteType.jacobsonSpace f |
| 32 | obtain ⟨z, _, hz⟩ := nonempty_inter_closedPoints |
| 33 | (Set.univ_nonempty : (Set.univ : Set (pullback q p : Scheme.{u})).Nonempty) isOpen_univ.isLocallyClosed |
| 34 | let s := pointOfClosedPoint f z hz |
| 35 | refine ⟨s ≫ pullback.fst q p, ?_⟩ |
| 36 | rw [Category.assoc, pullback.condition, ← Category.assoc, pointOfClosedPoint_comp, Category.id_comp] |
| 37 | |
| 38 | end Construction.ProperRationalLift |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperRational |