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.AbelianModuli.HilbertConstruction.Finite.FlatAffineLocalFrame |
| 2 | |
| 3 | /-! # Flat Trace Basis -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatTraceBasis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine opens on which a finite flat map has a basis of its constant rank form a topological basis. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 11 | universe u |
| 12 | |
| 13 | abbrev FiniteFlatTraceOpen {X Y : Scheme.{u}} (f : Y ⟶ X) (n : ℕ) := |
| 14 | {U : X.Opens // IsAffineOpen U ∧ |
| 15 | Nonempty (@Module.Basis (Fin n) Γ(X, U) Γ(Y, f ⁻¹ᵁ U) _ _ (f.app U).hom.toModule)} |
| 16 | |
| 17 | theorem finiteFlatTraceOpen_isBasis {X Y : Scheme.{u}} [IsLocallyNoetherian X] |
| 18 | (f : Y ⟶ X) [IsFinite f] [Flat f] {n : ℕ} (hn : ∀ x, f.finrank x = n) : |
| 19 | Opens.IsBasis (Set.range (Subtype.val : FiniteFlatTraceOpen f n → X.Opens)) := by |
| 20 | rw [Opens.isBasis_iff_nbhd] |
| 21 | intro W x hx |
| 22 | obtain ⟨U, hU, hxU, hUW⟩ := Opens.isBasis_iff_nbhd.mp X.isBasis_affineOpens hx |
| 23 | obtain ⟨V, hxV, hVU, hV, hb⟩ := FlatAffineLocalFrame.finiteFlat_exists_affineLocalBasis f hn hU x hxU |
| 24 | exact ⟨V, ⟨⟨V, hV, hb⟩, rfl⟩, hxV, hVU.trans hUW⟩ |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatTraceBasis |