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.ProjectiveTower.PureDuality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.DualMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.PureFunctorNaturality |
| 4 | |
| 5 | /-! # Serre -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.Serre |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pure projective Serre pairings for the fixed negative resolution |
| 12 | and its literal common refinement. Purity of the fixed dual complex |
| 13 | passes to the common refinement through the original quasi-isomorphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 25 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 26 | |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | |
| 29 | variable (M N : (Proj (homogeneousSubmodule σ R)).Modules) |
| 30 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 31 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 32 | |
| 33 | abbrev fixedTower := Projective.NegativeResolution.tower M (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B |
| 34 | |
| 35 | omit [Module.Injective R R] in |
| 36 | theorem fixed_above (q : ℕ) : |
| 37 | NegativeTerms.Above ((fixedTower M B n hn).term q) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B := |
| 38 | DualMap.fixed_term_above M (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B q |
| 39 | |
| 40 | abbrev fixedDual := ProjectiveTower.PureDuality.dualComplex (fixedTower M B n hn) n hn |
| 41 | |
| 42 | def cohomologyFunctor (i : ℕ) : (Proj (homogeneousSubmodule σ R)).Modules ⥤ AddCommGrpCat.{u} := |
| 43 | Trace.PureFunctorNaturality.cohomologyFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 44 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) i |
| 45 | |
| 46 | variable (c : ℕ) (hM : ∀ q, q ≠ c → (fixedDual M B n hn).ExactAt q) |
| 47 | |
| 48 | def pairing (i : ℕ) (hi : i + c ≤ n + 1) := |
| 49 | ProjectiveTower.PureDuality.iso (fixedTower M B n hn) B n hn |
| 50 | (fixed_above M B n hn) hB c hM i hi |
| 51 | |
| 52 | variable (f : M ⟶ N) |
| 53 | |
| 54 | omit [Module.Injective R R] in |
| 55 | include hB hM in |
| 56 | theorem common_exactAt (q : ℕ) (hq : q ≠ c) : |
| 57 | (ProjectiveTower.PureDuality.dualComplex |
| 58 | (Projective.NegativeRefinement.tower M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) n hn).ExactAt q := by |
| 59 | let := DualMap.left_quasiIso M N |
| 60 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) hB f |
| 61 | exact (exactAt_iff_of_quasiIsoAt |
| 62 | (DualMap.leftMap M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) f) q).mp |
| 63 | (hM q hq) |
| 64 | |
| 65 | def commonPairing (i : ℕ) (hi : i + c ≤ n + 1) := |
| 66 | ProjectiveTower.PureDuality.iso |
| 67 | (Projective.NegativeRefinement.tower M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) B n hn |
| 68 | (Projective.NegativeRefinement.term_above M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) hB c |
| 69 | (common_exactAt M N B n hn hB c hM f) i hi |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.Serre |