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.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedCodimension |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PointedPurity |
| 3 | |
| 4 | /-! # Smooth Dual Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SmoothDualPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual dual negative-twist resolution of a smooth closed |
| 11 | subscheme of projective space is concentrated in its geometric codimension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 20 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 25 | (j : σ) (B b : ℕ) (hb : b ≤ B) (g : ℕ) |
| 26 | [SmoothOfRelativeDimension g (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 27 | |
| 28 | include hb in |
| 29 | omit [LinearOrder σ] in |
| 30 | theorem exactAt (n : ℕ) (hn : n ≠ Fintype.card σ - 1 - g) : |
| 31 | (ClosedImmersionPurity.internalComplex f j B b).ExactAt n := by |
| 32 | apply PointedPurity.exactAt f j B b hb (Fintype.card σ - 1 - g) _ n hn |
| 33 | intro x |
| 34 | obtain ⟨i, V, hV, hVi, hxV, rs, hrs, hreg, hlen⟩ := |
| 35 | Smooth.ClosedCodimension.projective_neighborhood f g x |
| 36 | exact ⟨i, V, hV, hVi, hxV, rs, hrs, hreg.toIsWeaklyRegular, hlen⟩ |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SmoothDualPurity |