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.Group.Abelian |
| 4 | |
| 5 | /-! # Proper Point Lifting -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProperPointLifting.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rational points lift through proper surjective morphisms over an algebraically closed field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open CartesianMonoidalCategory MonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem exists_point_lift_of_proper_surjective |
| 19 | {K : Type u} [Field K] [IsAlgClosed K] {A G : Over (Spec (.of K))} |
| 20 | (q : A ⟶ G) [IsProper q.left] [Surjective q.left] |
| 21 | (s : 𝟙_ (Over (Spec (.of K))) ⟶ G) : |
| 22 | ∃ a : 𝟙_ (Over (Spec (.of K))) ⟶ A, a ≫ q = s := by |
| 23 | let Y := pullback q.left s.left |
| 24 | let ρ : Y ⟶ Spec (.of K) := pullback.snd q.left s.left |
| 25 | have : IsProper ρ := inferInstanceAs (IsProper (pullback.snd q.left s.left)) |
| 26 | have : Surjective ρ := inferInstanceAs (Surjective (pullback.snd q.left s.left)) |
| 27 | have : JacobsonSpace Y := LocallyOfFiniteType.jacobsonSpace ρ |
| 28 | have : Nonempty Y := ⟨(ρ.surjective (IsLocalRing.closedPoint K)).choose⟩ |
| 29 | obtain ⟨y, _, hy⟩ := nonempty_inter_closedPoints (Set.univ_nonempty : (Set.univ : Set Y).Nonempty) |
| 30 | isOpen_univ.isLocallyClosed |
| 31 | let r := pointOfClosedPoint ρ y hy |
| 32 | have hr : r ≫ ρ = 𝟙 _ := pointOfClosedPoint_comp ρ y hy |
| 33 | let a₀ : Spec (.of K) ⟶ A.left := r ≫ pullback.fst q.left s.left |
| 34 | have ha₀ : a₀ ≫ q.left = s.left := by |
| 35 | change (r ≫ pullback.fst q.left s.left) ≫ q.left = _ |
| 36 | rw [Category.assoc, pullback.condition, ← Category.assoc, hr, Category.id_comp] |
| 37 | let a : 𝟙_ (Over (Spec (.of K))) ⟶ A := Over.homMk a₀ (by |
| 38 | rw [← Over.w q, ← Category.assoc, ha₀] |
| 39 | exact Over.w s) |
| 40 | exact ⟨a, Over.OverMorphism.ext ha₀⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProperPointLifting.Construction |