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 | |
| 4 | /-! # Rational Point Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalPointLift.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A surjective morphism locally of finite type lifts rational points over an |
| 11 | algebraically closed field, by choosing a closed point in the actual fiber. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} |
| 18 | |
| 19 | theorem exists_rationalPoint_lift (f : X ⟶ Y) [Surjective f] [LocallyOfFiniteType f] |
| 20 | (s : Spec (CommRingCat.of K) ⟶ Y) : |
| 21 | ∃ t : Spec (CommRingCat.of K) ⟶ X, t ≫ f = s := by |
| 22 | let F := pullback f s |
| 23 | let p : F ⟶ Spec (CommRingCat.of K) := pullback.snd f s |
| 24 | have : Surjective p := inferInstanceAs (Surjective (pullback.snd f s)) |
| 25 | have : LocallyOfFiniteType p := inferInstanceAs (LocallyOfFiniteType (pullback.snd f s)) |
| 26 | have : JacobsonSpace F := LocallyOfFiniteType.jacobsonSpace p |
| 27 | obtain ⟨x, _⟩ := p.surjective (IsLocalRing.closedPoint K) |
| 28 | obtain ⟨z, _, hz⟩ := nonempty_inter_closedPoints |
| 29 | (show (Set.univ : Set F).Nonempty from ⟨x, trivial⟩) isOpen_univ.isLocallyClosed |
| 30 | let t := pointOfClosedPoint p z hz |
| 31 | refine ⟨t ≫ pullback.fst f s, ?_⟩ |
| 32 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 33 | change (t ≫ p) ≫ s = s |
| 34 | rw [show t ≫ p = 𝟙 _ from pointOfClosedPoint_comp p z hz, Category.id_comp] |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalPointLift.Construction |