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.SerreComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InternalHomTotalTransport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DualHomologyTransport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.DualityHomology |
| 5 | |
| 6 | /-! # Duality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.Duality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The projective residue pairing applies to arbitrary coherent |
| 13 | kernel towers with vanishing lower term cohomology. This includes the |
| 14 | common negative refinements used for functoriality. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 25 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 26 | |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | |
| 29 | variable (T : KernelTowerResolution.Tower (C := (Proj (homogeneousSubmodule σ R)).Modules)) |
| 30 | [∀ i, (T.object i).IsQuasicoherent] |
| 31 | [∀ i, (T.term i).IsQuasicoherent] [∀ i, (T.term i).IsFiniteType] |
| 32 | (n : ℕ) (hn : Fintype.card σ = n + 2) |
| 33 | |
| 34 | abbrev topComplex := |
| 35 | KernelTowerCechHomology.complex (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 36 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) T (n + 1) |
| 37 | |
| 38 | abbrev homComplex := |
| 39 | Trace.DualityHomology.homComplex (ω := Projective.TopTracePairing.canonicalTwist (R := R) n hn) T.complex |
| 40 | |
| 41 | def complexIso : homComplex T n hn ≅ |
| 42 | ((Trace.DualityComplex.dualFunctor (Projective.TopTracePairing.coefficientRing R) |
| 43 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n)).mapHomologicalComplex |
| 44 | (.up ℕ)).obj T.complex.op := |
| 45 | Trace.DualityComplex.complexIso (Projective.TopTracePairing.coefficientRing R) |
| 46 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n) (Projective.TopTracePairing.trace (R := R) n hn) |
| 47 | (.up ℕ) T.complex.op |
| 48 | (fun i => Projective.TopDuality.pairing_bijective n hn (T.term i)) |
| 49 | |
| 50 | def zeroIso : (topComplex T n).homology 0 ≅ |
| 51 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n).obj (T.object 0) := |
| 52 | KernelTowerCechHomology.zeroIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 53 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R)) |
| 54 | T (n + 1) (by simpa using hn.le) |
| 55 | |
| 56 | def cohomologyIso |
| 57 | (hT : ∀ q < n + 1, ∀ i, IsZero |
| 58 | ((TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 59 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) q).obj (T.term i))) |
| 60 | : ∀ (d : ℕ), d ≤ n + 1 → |
| 61 | ((topComplex T n).homology d ≅ |
| 62 | (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 63 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1 - d)).obj (T.object 0)) |
| 64 | | 0, _ => zeroIso T n hn |
| 65 | | i + 1, hd => by |
| 66 | have hi : i ≤ n := by omega |
| 67 | have hi' : n - i + i = n := Nat.sub_add_cancel hi |
| 68 | have hs : n + 1 = n - i + i + 1 := by omega |
| 69 | have ht : n - i = n + 1 - (i + 1) := by omega |
| 70 | exact eqToIso (congrArg (fun r => |
| 71 | (KernelTowerCechHomology.complex (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 72 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) T r).homology (i + 1)) hs) ≪≫ |
| 73 | KernelTowerCechHomology.shiftedPositiveIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 74 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R)) |
| 75 | T (n - i) i (by simpa [hi'] using hn.le) |
| 76 | (fun q hq j => hT q (by omega) j) ≪≫ |
| 77 | eqToIso (congrArg (fun r => |
| 78 | (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 79 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) r).obj (T.object 0)) ht) |
| 80 | |
| 81 | variable [Module.Injective R R] |
| 82 | |
| 83 | def homologyDualIso (d : ℕ) : (homComplex T n hn).homology d ≅ |
| 84 | AddCommGrpCat.of (Module.Dual (Projective.TopTracePairing.coefficientRing R) ((topComplex T n).homology d)) := by |
| 85 | letI : Module.Injective (Projective.TopTracePairing.coefficientRing R) (Projective.TopTracePairing.coefficientRing R) := |
| 86 | Projective.SerreComplex.coefficient_injective |
| 87 | exact Trace.DualityHomology.homologyIso (Projective.TopTracePairing.coefficientRing R) |
| 88 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n) (Projective.TopTracePairing.trace (R := R) n hn) T.complex |
| 89 | (fun i => Projective.TopDuality.pairing_bijective n hn (T.term i)) d |
| 90 | |
| 91 | def complementaryCohomology (d : ℕ) : AddCommGrpCat.{u} := |
| 92 | AddCommGrpCat.of (Module.Dual (Projective.TopTracePairing.coefficientRing R) |
| 93 | ((TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 94 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1 - d)).obj (T.object 0))) |
| 95 | |
| 96 | def serreIso |
| 97 | (hT : ∀ q < n + 1, ∀ i, IsZero |
| 98 | ((TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 99 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) q).obj (T.term i))) |
| 100 | (d : ℕ) (hd : d ≤ n + 1) := by |
| 101 | letI : Module.Injective (Projective.TopTracePairing.coefficientRing R) (Projective.TopTracePairing.coefficientRing R) := |
| 102 | Projective.SerreComplex.coefficient_injective |
| 103 | exact Trace.DualityHomology.homologyIsoTo (Projective.TopTracePairing.coefficientRing R) |
| 104 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n) (Projective.TopTracePairing.trace (R := R) n hn) T.complex |
| 105 | (fun i => Projective.TopDuality.pairing_bijective n hn (T.term i)) d |
| 106 | (cohomologyIso T n hn hT d hd) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.Duality |