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.Presheaf.AugmentationCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ModuleCup |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange |
| 4 | |
| 5 | /-! # Comm Algebraic Cech Pairing -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CommAlgebraicCechPairing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical algebra-to-module Čech comparison preserves the |
| 12 | literal section multiplication and the Alexander–Whitney product. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | open scoped Simplicial |
| 16 | |
| 17 | universe u v w t r |
| 18 | |
| 19 | variable {R : Type r} [CommRing R] {C : Type u} [Category.{v} C] |
| 20 | |
| 21 | abbrev forgetModule : CommAlgCat.{t} R ⥤ ModuleCat.{t} R := |
| 22 | forget₂ (CommAlgCat R) (AlgCat R) ⋙ forget₂ (AlgCat R) (ModuleCat R) |
| 23 | |
| 24 | def modulePresheaf (P : Cᵒᵖ ⥤ CommAlgCat.{t} R) := P ⋙ forgetModule.{t, r} |
| 25 | |
| 26 | def multiplication (P : Cᵒᵖ ⥤ CommAlgCat.{t} R) (U : Cᵒᵖ) : |
| 27 | (modulePresheaf P).obj U →ₗ[R] (modulePresheaf P).obj U →ₗ[R] (modulePresheaf P).obj U := |
| 28 | LinearMap.mul R (P.obj U) |
| 29 | |
| 30 | theorem multiplication_natural (P : Cᵒᵖ ⥤ CommAlgCat.{t} R) |
| 31 | {U V : Cᵒᵖ} (α : U ⟶ V) (x y : (modulePresheaf P).obj U) : |
| 32 | (modulePresheaf P).map α (multiplication P U x y) = |
| 33 | multiplication P V ((modulePresheaf P).map α x) ((modulePresheaf P).map α y) := |
| 34 | map_mul (P.map α).hom (show P.obj U from x) (show P.obj U from y) |
| 35 | |
| 36 | variable [HasProducts.{w} (CommAlgCat.{max w t} R)] |
| 37 | [PreservesLimitsOfSize.{w, w} (forgetModule.{max w t, r} (R := R))] |
| 38 | (N : SimplicialObject (FormalCoproduct.{w} C)) (P : Cᵒᵖ ⥤ CommAlgCat.{max w t} R) |
| 39 | |
| 40 | local instance moduleProducts : HasProducts.{w} (ModuleCat.{max w t} R) := |
| 41 | fun T => (ModuleCat.hasLimitsOfSize.{w, w, max w t, r}).has_limits_of_shape (Discrete T) |
| 42 | |
| 43 | def algebraObject := (FormalCoproduct.cosimplicialObjectFunctor N).obj P |
| 44 | def comparison := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.cosimplicialIso (forgetModule.{max w t, r}) N P |
| 45 | |
| 46 | theorem projection_comparison (n : SimplexCategory) (i : (N.obj (op n)).I) |
| 47 | (x : (algebraObject.{u, v, w, t, r} N P).obj n) : |
| 48 | Cech.BilinearPairing.projection N (modulePresheaf.{u, v, max w t, r} P) n i ((comparison.{u, v, w, t, r} N P).hom.app n x) = |
| 49 | (Pi.π (fun j => P.obj (op ((N.obj (op n)).obj j))) i).hom x := |
| 50 | ConcreteCategory.congr_hom (piComparison_comp_π (forgetModule.{max w t, r}) |
| 51 | (fun j => P.obj (op ((N.obj (op n)).obj j))) i) x |
| 52 | |
| 53 | theorem comparison_mul (n : SimplexCategory) (x y : (algebraObject.{u, v, w, t, r} N P).obj n) : |
| 54 | (comparison.{u, v, w, t, r} N P).hom.app n (x * y) = |
| 55 | Cech.BilinearPairing.pairing N (modulePresheaf.{u, v, max w t, r} P) (modulePresheaf.{u, v, max w t, r} P) (modulePresheaf.{u, v, max w t, r} P) |
| 56 | (multiplication.{u, v, max w t, r} P) n ((comparison.{u, v, w, t, r} N P).hom.app n x) ((comparison.{u, v, w, t, r} N P).hom.app n y) := by |
| 57 | apply Module.ProductScalarKernel.element_ext |
| 58 | (fun i => (modulePresheaf.{u, v, max w t, r} P).obj (op ((N.obj (op n)).obj i))) |
| 59 | intro i |
| 60 | change Cech.BilinearPairing.projection N (modulePresheaf.{u, v, max w t, r} P) n i _ = |
| 61 | Cech.BilinearPairing.projection N (modulePresheaf.{u, v, max w t, r} P) n i _ |
| 62 | erw [Cech.BilinearPairing.projection_pairing, projection_comparison, |
| 63 | projection_comparison, projection_comparison] |
| 64 | exact map_mul (Pi.π (fun j => P.obj (op ((N.obj (op n)).obj j))) i).hom x y |
| 65 | |
| 66 | def complexIso : Cosimplicial.ModuleComplex.complex (algebraObject.{u, v, w, t, r} N P) ≅ |
| 67 | Presheaf.AugmentationProduct.source N (modulePresheaf.{u, v, max w t, r} P) := |
| 68 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat.{max w t} R)).mapIso |
| 69 | (comparison.{u, v, w, t, r} N P) |
| 70 | |
| 71 | theorem cochain_cup (p q : ℕ) (x : (algebraObject.{u, v, w, t, r} N P).obj ⦋p⦌) |
| 72 | (y : (algebraObject.{u, v, w, t, r} N P).obj ⦋q⦌) : |
| 73 | (complexIso.{u, v, w, t, r} N P).hom.f (p + q) |
| 74 | (Cosimplicial.Cup.cup (Cosimplicial.ModuleComplex.ringObject (algebraObject.{u, v, w, t, r} N P)) x y) = |
| 75 | Presheaf.AugmentationProduct.sourceCup N (modulePresheaf.{u, v, max w t, r} P) (multiplication.{u, v, max w t, r} P) p q |
| 76 | ((complexIso.{u, v, w, t, r} N P).hom.f p x) ((complexIso.{u, v, w, t, r} N P).hom.f q y) := by |
| 77 | change (comparison.{u, v, w, t, r} N P).hom.app ⦋p + q⦌ |
| 78 | (((algebraObject.{u, v, w, t, r} N P).map (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion p q) x) * |
| 79 | ((algebraObject.{u, v, w, t, r} N P).map (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion p q) y)) = |
| 80 | Cech.BilinearPairing.pairing N (modulePresheaf.{u, v, max w t, r} P) |
| 81 | (modulePresheaf.{u, v, max w t, r} P) (modulePresheaf.{u, v, max w t, r} P) |
| 82 | (multiplication.{u, v, max w t, r} P) ⦋p + q⦌ |
| 83 | ((Cech.BilinearPairing.cosimplicial N (modulePresheaf.{u, v, max w t, r} P)).map |
| 84 | (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion p q) ((comparison.{u, v, w, t, r} N P).hom.app ⦋p⦌ x)) |
| 85 | ((Cech.BilinearPairing.cosimplicial N (modulePresheaf.{u, v, max w t, r} P)).map |
| 86 | (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion p q) ((comparison.{u, v, w, t, r} N P).hom.app ⦋q⦌ y)) |
| 87 | have h₁ := ConcreteCategory.congr_hom ((comparison.{u, v, w, t, r} N P).hom.naturality (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion p q)) x |
| 88 | have h₂ := ConcreteCategory.congr_hom ((comparison.{u, v, w, t, r} N P).hom.naturality (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion p q)) y |
| 89 | exact (comparison_mul.{u, v, w, t, r} N P ⦋p + q⦌ |
| 90 | ((algebraObject.{u, v, w, t, r} N P).map (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion p q) x) |
| 91 | ((algebraObject.{u, v, w, t, r} N P).map (OAI.AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion p q) y)).trans |
| 92 | (congrArg₂ (fun a b : (Cech.BilinearPairing.cosimplicial N |
| 93 | (modulePresheaf.{u, v, max w t, r} P)).obj ⦋p + q⦌ => |
| 94 | Cech.BilinearPairing.pairing N (modulePresheaf.{u, v, max w t, r} P) |
| 95 | (modulePresheaf.{u, v, max w t, r} P) (modulePresheaf.{u, v, max w t, r} P) |
| 96 | (multiplication.{u, v, max w t, r} P) ⦋p + q⦌ a b) h₁ h₂) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CommAlgebraicCechPairing |