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.Quotients.FiniteDescent.AffineCover |
| 2 | import Mathlib.Order.ULift |
| 3 | |
| 4 | /-! # Pointed Affine Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PointedAffineCover.Construction.PointedFiniteAffineCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite ordered affine cover with a chosen member containing a |
| 11 | rational point, indexed in the universe of the schemes. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 18 | |
| 19 | structure Data (s : Spec (.of K) ⟶ X) where |
| 20 | I : Type u |
| 21 | fintype : Fintype I |
| 22 | linearOrder : LinearOrder I |
| 23 | opens : I → X.Opens |
| 24 | affine : ∀ i, IsAffineOpen (opens i) |
| 25 | covers : iSup opens = ⊤ |
| 26 | distinguished : I |
| 27 | point_in : ⊤ ≤ s ⁻¹ᵁ opens distinguished |
| 28 | |
| 29 | def ofIntegral [IsIntegral X] [CompactSpace X] (s : Spec (.of K) ⟶ X) : Data s := by |
| 30 | classical |
| 31 | let D := AffineCover.Construction.FiniteAffineCover.ofIntegral X |
| 32 | let i := Classical.choose (D.covers (s (IsLocalRing.closedPoint K))) |
| 33 | have hi := Classical.choose_spec (D.covers (s (IsLocalRing.closedPoint K))) |
| 34 | refine ⟨ULift.{u} (Fin D.n), inferInstance, inferInstance, (fun j => D.opens j.down), |
| 35 | (fun j => D.affine j.down), ?_, ⟨i⟩, ?_⟩ |
| 36 | · apply top_unique |
| 37 | intro x _ |
| 38 | obtain ⟨j, hj⟩ := D.covers x |
| 39 | exact Opens.mem_iSup.mpr ⟨⟨j⟩, hj⟩ |
| 40 | · intro z _ |
| 41 | have hz : z = IsLocalRing.closedPoint K := Subsingleton.elim _ _ |
| 42 | exact hz ▸ hi |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PointedAffineCover.Construction.PointedFiniteAffineCover |