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.HilbertScheme.Presentations.Polynomial.TopResidue |
| 2 | import Mathlib.RingTheory.Finiteness.Basic |
| 3 | |
| 4 | /-! # Polynomial Residues -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialResidues.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous polynomial Čech residues lie in an explicit finite coefficient module. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] |
| 15 | variable (R : Type v) [CommRing R] |
| 16 | |
| 17 | def polynomialResidueCoefficientModule (d : ℤ) : Submodule R ((σ → ℤ) →₀ R) := |
| 18 | Finsupp.supported R R {a | LaurentDegree.ProjectiveCech.exponentDegree a = d ∧ ∀ i, a i < 0} |
| 19 | |
| 20 | def polynomialResidueCoefficientEquiv (d : ℤ) : |
| 21 | polynomialResidueCoefficientModule (σ := σ) R d ≃ₗ[R] (NegativeDegree.ProjectiveCech.NegativeDegreeExponents (σ := σ) d →₀ R) := |
| 22 | Finsupp.supportedEquivFinsupp _ |
| 23 | |
| 24 | instance polynomialResidueCoefficient_finite (d : ℤ) : |
| 25 | Module.Finite R (polynomialResidueCoefficientModule (σ := σ) R d) := by |
| 26 | let : Fintype (NegativeDegree.ProjectiveCech.NegativeDegreeExponents (σ := σ) d) := Fintype.ofFinite _ |
| 27 | exact Module.Finite.of_surjective (polynomialResidueCoefficientEquiv (σ := σ) R d).symm.toLinearMap |
| 28 | (polynomialResidueCoefficientEquiv (σ := σ) R d).symm.surjective |
| 29 | |
| 30 | def polynomialResidueAssembly (d : ℤ) : |
| 31 | polynomialResidueCoefficientModule (σ := σ) R d →ₗ[R] Polynomial.Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R := |
| 32 | LinearMap.pi (fun s => if s = Finset.univ then |
| 33 | (LaurentCoordinates.ProjectiveCech.chartOfCoordinates R s).comp (polynomialResidueCoefficientModule (σ := σ) R d).subtype else 0) |
| 34 | |
| 35 | theorem polynomialTopResidue_mem_finite_range (d : ℤ) (f : Polynomial.Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) |
| 36 | (hf : Polynomial.Cech.ProjectiveCech.CechHomogeneous R d f) : Polynomial.TopResidue.ProjectiveCech.polynomialTopResidue R f ∈ (polynomialResidueAssembly (σ := σ) R d).range := by |
| 37 | have hc : Polynomial.TopResidue.ProjectiveCech.polynomialTopResidueCoefficients R f Finset.univ ∈ polynomialResidueCoefficientModule (σ := σ) R d := by |
| 38 | intro a ha |
| 39 | obtain ⟨hasupport, haneg⟩ := Finset.mem_filter.mp ha |
| 40 | refine ⟨?_, fun i => lt_of_not_ge (fun hi => haneg ⟨i, hi⟩)⟩ |
| 41 | by_contra hd |
| 42 | exact (Finsupp.mem_support_iff.mp hasupport) |
| 43 | (LaurentCoordinates.ProjectiveCech.chartCoordinates_degree R Finset.univ d _ (hf Finset.univ) a hd) |
| 44 | refine ⟨⟨Polynomial.TopResidue.ProjectiveCech.polynomialTopResidueCoefficients R f Finset.univ, hc⟩, ?_⟩ |
| 45 | funext s |
| 46 | by_cases hs : s = Finset.univ |
| 47 | · subst s |
| 48 | simp only [polynomialResidueAssembly, LinearMap.pi_apply] |
| 49 | rfl |
| 50 | · simp only [polynomialResidueAssembly, LinearMap.pi_apply, ite_eq_right hs, LinearMap.zero_apply] |
| 51 | exact (Polynomial.TopResidue.ProjectiveCech.polynomialTopResidue_of_not_univ R f s hs).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialResidues.ProjectiveCech |