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.IntegralDeRham.WedgeAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CohomologyProduct |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId |
| 4 | |
| 5 | /-! # Cech Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.CechProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The integral symbol product on the original ordinary de Rham |
| 12 | presheaf and its actual Čech total complex. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 19 | |
| 20 | local notation "P" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X |
| 21 | |
| 22 | def sectionPairing (a b : ℕ) (U : X.left.Opensᵒᵖ) : |
| 23 | ((P).X a).obj U →ₗ[R] ((P).X b).obj U →ₗ[R] ((P).X (a + b)).obj U := |
| 24 | (DeRhamWedge.wedge R Γ(X.left, U.unop) a b).restrictScalars₁₂ R R |
| 25 | |
| 26 | theorem sectionPairing_natural (a b : ℕ) {U V : X.left.Opensᵒᵖ} (f : U ⟶ V) |
| 27 | (x : ((P).X a).obj U) (y : ((P).X b).obj U) : |
| 28 | ((P).X (a + b)).map f (sectionPairing R X a b U x y) = |
| 29 | sectionPairing R X a b V (((P).X a).map f x) (((P).X b).map f y) := |
| 30 | WedgeNaturality.formMap_wedge ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map f) a b x y |
| 31 | |
| 32 | theorem sectionPairing_apply (a b : ℕ) (U : X.left.Opensᵒᵖ) |
| 33 | (x : ((P).X a).obj U) (y : ((P).X b).obj U) : |
| 34 | sectionPairing R X a b U x y = DeRhamWedge.wedge R Γ(X.left, U.unop) a b x y := rfl |
| 35 | |
| 36 | theorem differential_apply (a : ℕ) (U : X.left.Opensᵒᵖ) (x : ((P).X a).obj U) : |
| 37 | ((P).d a (a + 1)).app U x = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R Γ(X.left, U.unop) a x := by |
| 38 | exact congrArg (fun d : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X a ⟶ |
| 39 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X (a + 1) => d.app U x) |
| 40 | (CochainComplex.of_d (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X) |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X) a) |
| 42 | |
| 43 | theorem sectionDegreeCast_apply {a b : ℕ} (e : a = b) (U : X.left.Opensᵒᵖ) |
| 44 | (x : ((P).X a).obj U) : |
| 45 | Presheaf.CechProduct.sectionDegreeCast P e U x = |
| 46 | WedgeSigns.degreeCast R Γ(X.left, U.unop) e x := by |
| 47 | subst b |
| 48 | rfl |
| 49 | |
| 50 | theorem sectionPairing_differential (a b : ℕ) (U : X.left.Opensᵒᵖ) |
| 51 | (x : ((P).X a).obj U) (y : ((P).X b).obj U) : |
| 52 | ((P).d (a + b) (a + b + 1)).app U (sectionPairing R X a b U x y) = |
| 53 | Presheaf.CechProduct.sectionDegreeCast P (by omega : (a + 1) + b = a + b + 1) U |
| 54 | (sectionPairing R X (a + 1) b U (((P).d a (a + 1)).app U x) y) + |
| 55 | (-1 : ℤ) ^ a • Presheaf.CechProduct.sectionDegreeCast P |
| 56 | (by omega : a + (b + 1) = a + b + 1) U |
| 57 | (sectionPairing R X a (b + 1) U x (((P).d b (b + 1)).app U y)) := by |
| 58 | have hproduct := @Leibniz.Wedge.differential_wedge R Γ(X.left, U.unop) _ _ |
| 59 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U.unop) a b x y |
| 60 | rw [differential_apply, sectionPairing_apply, |
| 61 | sectionDegreeCast_apply, sectionDegreeCast_apply, |
| 62 | sectionPairing_apply, sectionPairing_apply, differential_apply, differential_apply] |
| 63 | exact hproduct |
| 64 | |
| 65 | variable (N : SimplicialObject (FormalCoproduct.{u} X.left.Opens)) |
| 66 | |
| 67 | def total : CochainComplex (ModuleCat.{u} R) ℕ := Presheaf.TotalCup.CechProduct.total N P |
| 68 | |
| 69 | def totalCup (a b : ℕ) : |
| 70 | (total R X N).X a →ₗ[R] (total R X N).X b →ₗ[R] (total R X N).X (a + b) := |
| 71 | Presheaf.TotalCup.CechProduct.totalCup N P (sectionPairing R X) a b |
| 72 | |
| 73 | def cohomologyCup (a b : ℕ) : |
| 74 | (total R X N).homology a →ₗ[R] (total R X N).homology b →ₗ[R] (total R X N).homology (a + b) := by |
| 75 | refine Presheaf.CohomologyProduct.Cech.cohomologyCup N P (sectionPairing R X) ?_ ?_ a b |
| 76 | · intro i j U V f x y |
| 77 | exact sectionPairing_natural R X i j f x y |
| 78 | · intro i j U x y |
| 79 | exact sectionPairing_differential R X i j U x y |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.CechProduct |