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.IntrinsicPadic.ReducedBaseTotalProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.AssemblyCoefficientCup |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RestrictScalarsCochainCup |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient |
| 5 | |
| 6 | /-! # Witt Total Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.WittTotalProduct.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Multiplicativity of the exact Witt-total isomorphism in the |
| 13 | original finite ordinary comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | private theorem inverse_pairing {R : Type*} [CommRing R] |
| 18 | {K L : CochainComplex (ModuleCat R) ℕ} (e : K ≅ L) |
| 19 | (μ : ∀ i j, K.X i →ₗ[R] K.X j →ₗ[R] K.X (i+j)) |
| 20 | (ν : ∀ i j, L.X i →ₗ[R] L.X j →ₗ[R] L.X (i+j)) |
| 21 | (h : ∀ i j x y, e.hom.f (i+j) (μ i j x y) = ν i j (e.hom.f i x) (e.hom.f j y)) |
| 22 | (i j : ℕ) (x : L.X i) (y : L.X j) : |
| 23 | e.inv.f (i+j) (ν i j x y) = μ i j (e.inv.f i x) (e.inv.f j y) := by |
| 24 | let ei := ((HomologicalComplex.eval _ _ i).mapIso e).toLinearEquiv |
| 25 | let ej := ((HomologicalComplex.eval _ _ j).mapIso e).toLinearEquiv |
| 26 | let eij := ((HomologicalComplex.eval _ _ (i+j)).mapIso e).toLinearEquiv |
| 27 | change eij.symm (ν i j x y) = μ i j (ei.symm x) (ej.symm y) |
| 28 | apply eij.injective |
| 29 | exact (eij.apply_symm_apply _).trans |
| 30 | ((congrArg₂ (fun x y => ν i j x y) (ei.apply_symm_apply x).symm |
| 31 | (ej.apply_symm_apply y).symm).trans |
| 32 | (h i j (ei.symm x) (ej.symm y)).symm) |
| 33 | |
| 34 | private theorem trans_pairing {R : Type*} [CommRing R] |
| 35 | {K L M : CochainComplex (ModuleCat R) ℕ} (e : K ≅ L) (f : L ≅ M) |
| 36 | (μ : ∀ i j, K.X i →ₗ[R] K.X j →ₗ[R] K.X (i+j)) |
| 37 | (ν : ∀ i j, L.X i →ₗ[R] L.X j →ₗ[R] L.X (i+j)) |
| 38 | (σ : ∀ i j, M.X i →ₗ[R] M.X j →ₗ[R] M.X (i+j)) |
| 39 | (he : ∀ i j x y, e.hom.f (i+j) (μ i j x y) = ν i j (e.hom.f i x) (e.hom.f j y)) |
| 40 | (hf : ∀ i j x y, f.hom.f (i+j) (ν i j x y) = σ i j (f.hom.f i x) (f.hom.f j y)) |
| 41 | (i j : ℕ) (x : K.X i) (y : K.X j) : |
| 42 | (e ≪≫ f).hom.f (i+j) (μ i j x y) = |
| 43 | σ i j ((e ≪≫ f).hom.f i x) ((e ≪≫ f).hom.f j y) := |
| 44 | (congrArg (f.hom.f (i+j)) (he i j x y)).trans (hf i j _ _) |
| 45 | |
| 46 | variable (p : ℕ) [Fact p.Prime] |
| 47 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 48 | (n : ℕ) |
| 49 | |
| 50 | local notation "W" => WittVector p (ZMod p) |
| 51 | local notation "IW" => (Ideal.span {(p : W)}) ^ (n+1) |
| 52 | local notation "IZ" => (Ideal.span {(p : ℤ_[p])}) ^ (n+1) |
| 53 | local notation "AW" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X |
| 54 | local notation "AZ" => CategoryTheory.Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left) ⋙ |
| 55 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℤ_[p] X |
| 56 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex W IW AW |
| 57 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex ℤ_[p] IZ AZ |
| 58 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing W IW AW |
| 59 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing ℤ_[p] IZ AZ |
| 60 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 61 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 62 | local instance coefficients : Algebra W ℤ_[p] := GeometricComparison.WittAlgebra.PadicWittAlgebra.coefficientAlgebra p |
| 63 | local notation "restrict" => ModuleCat.restrictScalars (algebraMap W ℤ_[p]) |
| 64 | |
| 65 | abbrev sourceCup := Presheaf.TotalCup.CechProduct.totalCup N P μ |
| 66 | abbrev targetCup := RestrictScalarsCochainCup.pairing W ℤ_[p] |
| 67 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n) (Presheaf.TotalCup.CechProduct.totalCup N Q ν) |
| 68 | abbrev middleCup := Presheaf.TotalCup.CechProduct.totalCup N |
| 69 | (GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex restrict Q) |
| 70 | (RestrictScalarsPresheafCup.pairing W ℤ_[p] Q ν) |
| 71 | |
| 72 | abbrev coefficientIso := GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso restrict N |
| 73 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n) |
| 74 | |
| 75 | theorem coefficient_cup (i j : ℕ) |
| 76 | (x : (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n).X i) |
| 77 | (y : (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n).X j) : |
| 78 | ((coefficientIso p X n).hom.f (i+j)) (targetCup p X n i j x y) = |
| 79 | middleCup p X n i j (((coefficientIso p X n).hom.f i) x) |
| 80 | (((coefficientIso p X n).hom.f j) y) := |
| 81 | Cech.AssemblyCoefficientCup.map_cup restrict (fun M => AddMonoidHom.id M) |
| 82 | (fun _ _ => rfl) N (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) |
| 83 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n) ν |
| 84 | (RestrictScalarsPresheafCup.pairing W ℤ_[p] Q ν) (fun _ _ _ _ _ => rfl) i j x y |
| 85 | |
| 86 | abbrev coefficient_inverse_cup := inverse_pairing (coefficientIso p X n) |
| 87 | (targetCup p X n) (middleCup p X n) (coefficient_cup p X n) |
| 88 | |
| 89 | theorem map_cup (i j : ℕ) (x : (GeometricComparison.IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X n).X i) |
| 90 | (y : (GeometricComparison.IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X n).X j) : |
| 91 | ((GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).hom.f (i+j)) |
| 92 | (sourceCup p X n i j x y) = |
| 93 | targetCup p X n i j |
| 94 | (((GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).hom.f i) x) |
| 95 | (((GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).hom.f j) y) := |
| 96 | trans_pairing (GeometricComparison.CechAssembly.Iso.CechAssemblyIso.totalIso N (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X n)) |
| 97 | (coefficientIso p X n).symm (sourceCup p X n) (middleCup p X n) (targetCup p X n) |
| 98 | (Presheaf.CechProductNaturality.totalMap_pairing N μ (ReducedBaseTotalProduct.Intrinsic.pairing p X n) |
| 99 | (ReducedBaseTotalProduct.Intrinsic.map p X n) |
| 100 | (ReducedBaseTotalProduct.Intrinsic.map_pairing p X n)) |
| 101 | (coefficient_inverse_cup p X n) i j x y |
| 102 | |
| 103 | abbrev source_differential := Presheaf.TotalLeibniz.CechProduct.differential_totalCup N P μ |
| 104 | (OrdinaryQuotientDiagramProduct.Ordinary.natural W IW AW) |
| 105 | (OrdinaryQuotientDiagramProduct.Ordinary.differential W IW AW) |
| 106 | |
| 107 | abbrev target_differential := RestrictScalarsCochainCup.differential W ℤ_[p] |
| 108 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n) (Presheaf.TotalCup.CechProduct.totalCup N Q ν) |
| 109 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N Q ν (OrdinaryQuotientDiagramProduct.Ordinary.natural ℤ_[p] IZ AZ) |
| 110 | (OrdinaryQuotientDiagramProduct.Ordinary.differential ℤ_[p] IZ AZ)) |
| 111 | |
| 112 | abbrev cohomologyMap_cup := Cochain.CupNaturality.Cohomology.cohomologyMap_cup |
| 113 | (sourceCup p X n) (targetCup p X n) (source_differential p X n) (target_differential p X n) |
| 114 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).hom (map_cup p X n) |
| 115 | |
| 116 | abbrev inverse_map_cup := inverse_pairing (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n) |
| 117 | (sourceCup p X n) (targetCup p X n) (map_cup p X n) |
| 118 | |
| 119 | abbrev inverse_cohomologyMap_cup := Cochain.CupNaturality.Cohomology.cohomologyMap_cup |
| 120 | (targetCup p X n) (sourceCup p X n) (target_differential p X n) (source_differential p X n) |
| 121 | (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).inv (inverse_map_cup p X n) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.WittTotalProduct.Intrinsic |