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.Comparison.Betti.Exterior.ModuleSheaf |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | |
| 4 | /-! # Standard Smooth Opens -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.StandardSmoothOpens |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every point of a smooth complex scheme has an actual standard smooth affine neighborhood. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] |
| 15 | |
| 16 | theorem exists_standardSmooth_affineOpen (x : X.left) : |
| 17 | ∃ (U : X.left.Opens), IsAffineOpen U ∧ x ∈ U ∧ |
| 18 | (letI := Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℂ X U |
| 19 | Algebra.IsStandardSmooth ℂ Γ(X.left, U)) := by |
| 20 | obtain ⟨W, hW, U, hU, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth X.hom x |
| 21 | have hWtop : W = ⊤ := by |
| 22 | have : Subsingleton Foundations.Scheme.ProjectiveSpace.complexBase := inferInstanceAs (Subsingleton (PrimeSpectrum ℂ)) |
| 23 | apply top_unique |
| 24 | intro z hz |
| 25 | have hz' : z = X.hom x := Subsingleton.elim _ _ |
| 26 | rw [hz'] |
| 27 | exact e hx |
| 28 | subst W |
| 29 | refine ⟨U, hU, hx, ?_⟩ |
| 30 | change ((Scheme.ΓSpecIso (CommRingCat.of ℂ)).inv ≫ X.hom.appLE ⊤ U le_top).hom.IsStandardSmooth |
| 31 | exact (RingHom.isStandardSmooth_respectsIso.cancel_left_isIso |
| 32 | (Scheme.ΓSpecIso (CommRingCat.of ℂ)).inv (X.hom.appLE ⊤ U le_top)).mpr hstd |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Comparison.Betti.StandardSmoothOpens |