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.ProjectiveRefinement.Serre |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.RefinementTrace |
| 3 | |
| 4 | /-! # Pure Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PureTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized trace of a pure coherent sheaf is the top Serre |
| 11 | pairing evaluated on a specified degree-zero class. Actual coherent |
| 12 | maps preserving that class commute with this trace. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 24 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 25 | |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | |
| 28 | variable (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 29 | [M.IsQuasicoherent] [M.IsFiniteType] |
| 30 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 31 | (c : ℕ) (hM : ∀ q, q ≠ c → (ProjectiveRefinement.Serre.fixedDual M B n hn).ExactAt q) |
| 32 | |
| 33 | abbrev cohomology (j : ℕ) : ModuleCat.{u} (TopTracePairing.coefficientRing R) := |
| 34 | ProjectiveTower.UnitTrace.cohomology M j |
| 35 | |
| 36 | def pairing (i : ℕ) (hi : i + c = n + 1) := |
| 37 | ProjectiveTower.UnitTrace.pairing (ProjectiveRefinement.Serre.fixedTower M B n hn) |
| 38 | B n hn (ProjectiveRefinement.Serre.fixed_above M B n hn) hB c hM i hi |
| 39 | |
| 40 | def trace (i : ℕ) (hi : i + c = n + 1) (v : cohomology M 0) := |
| 41 | SerreUnitTrace.trace (TopTracePairing.coefficientRing R) (pairing M B n hn hB c hM i hi) v |
| 42 | |
| 43 | def traceIso (i : ℕ) (hi : i + c = n + 1) |
| 44 | (e : (TopTracePairing.coefficientRing R) ≃ₗ[TopTracePairing.coefficientRing R] cohomology M 0) := |
| 45 | SerreUnitTrace.traceIso (TopTracePairing.coefficientRing R) (pairing M B n hn hB c hM i hi) e |
| 46 | |
| 47 | variable (N : (Proj (homogeneousSubmodule σ R)).Modules) |
| 48 | [N.IsQuasicoherent] [N.IsFiniteType] |
| 49 | (hN : ∀ q, q ≠ c → (ProjectiveRefinement.Serre.fixedDual N B n hn).ExactAt q) |
| 50 | (f : M ⟶ N) |
| 51 | |
| 52 | theorem naturality (i : ℕ) (hi : i + c = n + 1) (vM : cohomology M 0) (vN : cohomology N 0) |
| 53 | (hv : (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map f vM = vN) : |
| 55 | let a := NegativeRefinement.leftHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f; |
| 56 | let b := NegativeRefinement.rightHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f; |
| 57 | let : QuasiIso ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map |
| 58 | a.chainMap.op) := ProjectiveRefinement.DualMap.left_quasiIso M N |
| 59 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) hB f; |
| 60 | let : IsIso (HomologicalComplex.homologyMap |
| 61 | ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) c) := |
| 62 | (isoOfQuasiIsoAt |
| 63 | ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) c).isIso_hom; |
| 64 | (Trace.PureFunctorNaturality.cohomologyFunctor |
| 65 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) i).map |
| 66 | (Trace.PureRefinement.map (TopTracePairing.canonicalTwist (R := R) n hn) a.chainMap b.chainMap c) ≫ |
| 67 | trace M B n hn hB c hM i hi vM = trace N B n hn hB c hN i hi vN := by |
| 68 | let a := NegativeRefinement.leftHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f |
| 69 | let b := NegativeRefinement.rightHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f |
| 70 | let : QuasiIso ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map |
| 71 | a.chainMap.op) := ProjectiveRefinement.DualMap.left_quasiIso M N |
| 72 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) hB f |
| 73 | let : IsIso (HomologicalComplex.homologyMap |
| 74 | ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) c) := |
| 75 | (isoOfQuasiIsoAt |
| 76 | ((Affine.LocalDualInvariance.functor (TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) c).isIso_hom |
| 77 | exact ProjectiveTower.RefinementTrace.naturality B n hn |
| 78 | (NegativeRefinement.term_above M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) |
| 79 | (ProjectiveRefinement.Serre.fixed_above M B n hn) |
| 80 | (ProjectiveRefinement.Serre.fixed_above N B n hn) hB c |
| 81 | (ProjectiveRefinement.Serre.common_exactAt M N B n hn hB c hM f) hM hN |
| 82 | a b i hi vM vM vN |
| 83 | (by |
| 84 | change (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 85 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map (𝟙 M) vM = vM |
| 86 | rw [CategoryTheory.Functor.map_id] |
| 87 | rfl) |
| 88 | hv |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PureTrace |