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.SerreNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.UnitTrace |
| 3 | |
| 4 | /-! # Total Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.TotalTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Unit-normalized projective Serre trace before choosing a pure |
| 11 | cohomology degree. It is natural for the actual total dual map, so it |
| 12 | also applies to quotient maps onto sections of different codimension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.UnitTrace (cohomology) |
| 23 | |
| 24 | theorem traceFromNaturality (A : Type u) [CommRing A] |
| 25 | (V₁ V₂ : ℕ → ModuleCat.{u} A) (b : ∀ q, V₁ q ⟶ V₂ q) |
| 26 | {D₁ D₂ : AddCommGrpCat.{u}} {q : ℕ} |
| 27 | {p₁ : D₁ ≅ DualHomologyTransport.dualGroup A (V₁ q)} |
| 28 | {p₂ : D₂ ≅ DualHomologyTransport.dualGroup A (V₂ q)} {a : D₂ ⟶ D₁} |
| 29 | (h : a ≫ p₁.hom = p₂.hom ≫ DualTransportNaturality.dualMap A (b q)) |
| 30 | (hq : q = 0) (v₁ : V₁ 0) (v₂ : V₂ 0) (hv : b 0 v₁ = v₂) : |
| 31 | a ≫ SerreUnitTrace.trace A (IndexedSerreUnitTrace.pairing A V₁ p₁ hq) v₁ = |
| 32 | SerreUnitTrace.trace A (IndexedSerreUnitTrace.pairing A V₂ p₂ hq) v₂ := |
| 33 | IndexedSerreTraceNaturality.trace A V₁ V₂ p₁ p₂ hq a b h v₁ v₂ hv |
| 34 | |
| 35 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 36 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 37 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 38 | |
| 39 | variable (T : KernelTowerResolution.Tower (C := (Proj (homogeneousSubmodule σ R)).Modules)) |
| 40 | [∀ q, (T.object q).IsQuasicoherent] |
| 41 | [∀ q, (T.term q).IsQuasicoherent] [∀ q, (T.term q).IsFiniteType] |
| 42 | (B n : ℕ) (hn : Fintype.card σ = n + 2) |
| 43 | (hT : ∀ q, NegativeTerms.Above (T.term q) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B) |
| 44 | (hB : n + 2 ≤ B) |
| 45 | |
| 46 | def pairing := IndexedSerreUnitTrace.pairing (Projective.TopTracePairing.coefficientRing R) (UnitTrace.cohomology (T.object 0)) |
| 47 | (Total.serreIso T B n hn hT hB (n + 1) le_rfl) (Nat.sub_self _) |
| 48 | |
| 49 | def trace (v : UnitTrace.cohomology (T.object 0) 0) := |
| 50 | SerreUnitTrace.trace (Projective.TopTracePairing.coefficientRing R) (pairing T B n hn hT hB) v |
| 51 | |
| 52 | def traceIso (e : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] UnitTrace.cohomology (T.object 0) 0) := |
| 53 | SerreUnitTrace.traceIso (Projective.TopTracePairing.coefficientRing R) (pairing T B n hn hT hB) e |
| 54 | |
| 55 | theorem traceIso_hom (e : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] UnitTrace.cohomology (T.object 0) 0) : |
| 56 | (traceIso T B n hn hT hB e).hom = trace T B n hn hT hB (e 1) := |
| 57 | SerreUnitTrace.traceIso_hom _ _ e |
| 58 | |
| 59 | variable {T} {T' : KernelTowerResolution.Tower (C := (Proj (homogeneousSubmodule σ R)).Modules)} |
| 60 | [∀ q, (T'.object q).IsQuasicoherent] |
| 61 | [∀ q, (T'.term q).IsQuasicoherent] [∀ q, (T'.term q).IsFiniteType] |
| 62 | (hT' : ∀ q, NegativeTerms.Above (T'.term q) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B) |
| 63 | (a : KernelTowerMap.Hom T T') |
| 64 | |
| 65 | abbrev totalMap := InternalHomTotalNaturality.totalMap |
| 66 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 67 | (Projective.TopTracePairing.canonicalTwist (R := R) n hn) (Trace.SerreTotalNaturality.oppositeMap a.chainMap) |
| 68 | |
| 69 | abbrev naturality (v : UnitTrace.cohomology (T.object 0) 0) (v' : UnitTrace.cohomology (T'.object 0) 0) |
| 70 | (hv : (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 71 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map (a.object 0) v = v') := by |
| 72 | exact traceFromNaturality (Projective.TopTracePairing.coefficientRing R) |
| 73 | (UnitTrace.cohomology (T.object 0)) (UnitTrace.cohomology (T'.object 0)) |
| 74 | (fun q => (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 75 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) q).map (a.object 0)) |
| 76 | (SerreNaturality.naturality a B n hn hT hT' hB (n + 1) le_rfl) |
| 77 | (Nat.sub_self _) v v' hv |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.TotalTrace |