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.Projective.PurityConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.ComplementNeighborhood |
| 3 | |
| 4 | /-! # Pointed Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PointedPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pointwise regular equations along the actual closed subscheme give |
| 11 | global concentration of its dual resolution. The complementary opens |
| 12 | are supplied by the closed immersion itself. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 21 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 26 | (j : σ) (B b : ℕ) (hb : b ≤ B) (c : ℕ) |
| 27 | |
| 28 | include hb in |
| 29 | omit [LinearOrder σ] in |
| 30 | theorem exactAt |
| 31 | (hpoint : ∀ x : X, ∃ (i : σ) (V : (Proj (homogeneousSubmodule σ R)).Opens) |
| 32 | (_ : IsAffineOpen V), V ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i ∧ f x ∈ V ∧ |
| 33 | ∃ rs : List Γ(Proj (homogeneousSubmodule σ R), V), |
| 34 | RingHom.ker (f.app V).hom = Ideal.ofList rs ∧ |
| 35 | RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), V) rs ∧ |
| 36 | rs.length = c) |
| 37 | (n : ℕ) (hn : n ≠ c) : (ClosedImmersionPurity.internalComplex f j B b).ExactAt n := by |
| 38 | classical |
| 39 | have hlocal (y : Proj (homogeneousSubmodule σ R)) : |
| 40 | ∃ (V : (Proj (homogeneousSubmodule σ R)).Opens) (_ : IsAffineOpen V), y ∈ V ∧ |
| 41 | ∃ i : σ, V ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i ∧ |
| 42 | (RingHom.ker (f.app V).hom = ⊤ ∨ |
| 43 | ∃ rs : List Γ(Proj (homogeneousSubmodule σ R), V), |
| 44 | RingHom.ker (f.app V).hom = Ideal.ofList rs ∧ |
| 45 | RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), V) rs ∧ |
| 46 | rs.length = c) := by |
| 47 | by_cases hy : y ∈ Set.range f |
| 48 | · obtain ⟨x, rfl⟩ := hy |
| 49 | obtain ⟨i, V, hV, hVi, hx, rs, hrs, hreg, hlen⟩ := hpoint x |
| 50 | exact ⟨V, hV, hx, i, hVi, Or.inr ⟨rs, hrs, hreg, hlen⟩⟩ |
| 51 | · have hy' : y ∈ ⨆ i : σ, AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i := by |
| 52 | rw [AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top] |
| 53 | trivial |
| 54 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hy' |
| 55 | obtain ⟨V, hV, hVi, hyV, hunit⟩ := |
| 56 | Closed.ComplementNeighborhood.exists_affine f (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) y hi hy |
| 57 | exact ⟨V, hV, hyV, i, hVi, Or.inl hunit⟩ |
| 58 | choose U hAffine hmem i hi heq using hlocal |
| 59 | have hcover : iSup U = ⊤ := by |
| 60 | apply top_unique |
| 61 | intro y _ |
| 62 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨y, hmem y⟩ |
| 63 | exact PurityConcentration.exactAt_of_cover f j B b hb U hcover hAffine |
| 64 | (fun a => ⟨i a, hi a⟩) c heq n hn |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PointedPurity |