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.OrdinaryReductionProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryDeRhamFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexDiagramCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CohomologyProduct |
| 5 | |
| 6 | /-! # Ordinary Quotient Diagram Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual coefficient quotient of an ordinary de Rham diagram has |
| 13 | its induced integral wedge and its native Čech cohomology product. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction |
| 18 | universe u v w |
| 19 | variable (R : Type u) [CommRing R] (I : Ideal R) |
| 20 | {C : Type v} [Category.{w} C] (A : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 21 | |
| 22 | def diagram := A ⋙ OrdinaryDeRhamFunctor.Ordinary.functor R ⋙ |
| 23 | (Module.IdealQuotient.functor R I).mapHomologicalComplex (.up ℕ) |
| 24 | abbrev complex := Cech.ComplexDiagramCoordinates.complex (diagram R I A) |
| 25 | |
| 26 | def pairing (i j : ℕ) (V : Cᵒᵖ) : |
| 27 | ((complex R I A).X i).obj V →ₗ[R] ((complex R I A).X j).obj V →ₗ[R] |
| 28 | ((complex R I A).X (i+j)).obj V := OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.quotientPairing R I (A.obj V) i j |
| 29 | |
| 30 | theorem natural (i j : ℕ) {V W : Cᵒᵖ} (f : V ⟶ W) |
| 31 | (x : ((complex R I A).X i).obj V) (y : ((complex R I A).X j).obj V) : |
| 32 | ((complex R I A).X (i+j)).map f (pairing R I A i j V x y) = |
| 33 | pairing R I A i j W (((complex R I A).X i).map f x) (((complex R I A).X j).map f y) := |
| 34 | Module.IdealQuotientProduct.pairing_natural I (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R (A.obj V) i j) |
| 35 | (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R (A.obj W) i j) |
| 36 | ((OrdinaryDeRhamFunctor.Ordinary.map (A.map f)).f i) |
| 37 | ((OrdinaryDeRhamFunctor.Ordinary.map (A.map f)).f j) |
| 38 | ((OrdinaryDeRhamFunctor.Ordinary.map (A.map f)).f (i+j)) |
| 39 | (IntegralDeRham.WedgeNaturality.formMap_wedge (A.map f) i j) x y |
| 40 | |
| 41 | private theorem ordinary_d_apply (B : CommAlgCat.{u} R) (i : ℕ) |
| 42 | (x : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).X i) : |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).d i (i+1) x = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R B i x := by |
| 44 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex, CochainComplex.of_d] |
| 45 | rfl |
| 46 | |
| 47 | private theorem ordinary_cupInto (B : CommAlgCat.{u} R) (i j l : ℕ) (h : i+j=l) |
| 48 | (x : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).X i) (y : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).X j) : |
| 49 | Cochain.CohomologyCup.cupInto (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B) |
| 50 | (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R B) i j l h x y = |
| 51 | IntegralDeRham.WedgeSigns.degreeCast R B h (IntegralDeRham.DeRhamWedge.wedge R B i j x y) := by |
| 52 | subst l |
| 53 | rfl |
| 54 | |
| 55 | private theorem ordinary_differential (B : CommAlgCat.{u} R) (i j : ℕ) |
| 56 | (x : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).X i) (y : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).X j) : |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).d (i+j) (i+j+1) (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R B i j x y) = |
| 58 | Cochain.CohomologyCup.cupInto (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B) (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R B) |
| 59 | (i+1) j (i+j+1) (by omega) ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).d i (i+1) x) y + |
| 60 | (-1 : ℤ)^i • Cochain.CohomologyCup.cupInto (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B) |
| 61 | (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R B) i (j+1) (i+j+1) (by omega) |
| 62 | x ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R B).d j (j+1) y) := by |
| 63 | rw [ordinary_d_apply, ordinary_cupInto, ordinary_cupInto, ordinary_d_apply, ordinary_d_apply] |
| 64 | exact IntegralDeRham.Leibniz.Wedge.differential_wedge R B i j x y |
| 65 | |
| 66 | private theorem quotient_cupInto (i j l : ℕ) (h : i+j=l) (V : Cᵒᵖ) |
| 67 | (x : ((complex R I A).X i).obj V) (y : ((complex R I A).X j).obj V) : |
| 68 | Cochain.CohomologyCup.cupInto |
| 69 | (Module.IdealQuotient.complex R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (A.obj V))) |
| 70 | (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.quotientPairing R I (A.obj V)) i j l h x y = |
| 71 | Presheaf.CechProduct.sectionDegreeCast (complex R I A) h V |
| 72 | (pairing R I A i j V x y) := by |
| 73 | subst l |
| 74 | rfl |
| 75 | |
| 76 | theorem differential (i j : ℕ) (V : Cᵒᵖ) |
| 77 | (x : ((complex R I A).X i).obj V) (y : ((complex R I A).X j).obj V) : |
| 78 | ((complex R I A).d (i+j) (i+j+1)).app V (pairing R I A i j V x y) = |
| 79 | Presheaf.CechProduct.sectionDegreeCast (complex R I A) (by omega) V |
| 80 | (pairing R I A (i+1) j V (((complex R I A).d i (i+1)).app V x) y) + |
| 81 | (-1 : ℤ)^i • Presheaf.CechProduct.sectionDegreeCast (complex R I A) (by omega) V |
| 82 | (pairing R I A i (j+1) V x (((complex R I A).d j (j+1)).app V y)) := by |
| 83 | have h := IdealQuotientCochainProduct.Module.differential_complexPairing I |
| 84 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (A.obj V)) (OrdinaryReductionProduct.Geometric.OrdinaryDeRhamCoefficientReduction.ordinaryPairing R (A.obj V)) |
| 85 | (ordinary_differential R (A.obj V)) i j x y |
| 86 | exact h.trans (congrArg₂ |
| 87 | (fun x y : ((complex R I A).X (i+j+1)).obj V => x+y) |
| 88 | (quotient_cupInto R I A (i+1) j (i+j+1) (by omega) V |
| 89 | (((complex R I A).d i (i+1)).app V x) y) |
| 90 | (congrArg (fun z : ((complex R I A).X (i+j+1)).obj V => (-1 : ℤ)^i • z) |
| 91 | (quotient_cupInto R I A i (j+1) (i+j+1) (by omega) V |
| 92 | x (((complex R I A).d j (j+1)).app V y)))) |
| 93 | |
| 94 | variable [HasBinaryProducts C] {ι : Type} [Finite ι] (U : ι → C) |
| 95 | abbrev total := Presheaf.TotalCup.CechProduct.total (NonemptyCechNerve.nerve U) (complex R I A) |
| 96 | abbrev cup := Presheaf.TotalCup.CechProduct.totalCup (NonemptyCechNerve.nerve U) |
| 97 | (complex R I A) (pairing R I A) |
| 98 | abbrev cohomologyCup := Presheaf.CohomologyProduct.Cech.cohomologyCup (NonemptyCechNerve.nerve U) |
| 99 | (complex R I A) (pairing R I A) (natural R I A) (differential R I A) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary |