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.RelativeCrystalline.Product |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CohomologyProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.AugmentationProduct |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.AugmentationCohomology |
| 5 | import Mathlib.Algebra.Algebra.Bilinear |
| 6 | |
| 7 | /-! # Cech Product -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.CechProduct |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Products and the coefficient-ring Čech augmentation for the original |
| 14 | relative crystalline form complexes. All pairings use native PD forms. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Product |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 23 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 24 | {f : X ⟶ Spec (CommRingCat.of B)} |
| 25 | (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) |
| 26 | (N : SimplicialObject (FormalCoproduct.{u} C)) |
| 27 | |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.ModuleComplex.complex H Q π |
| 29 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.ModuleComplex.ambientPresheaf Q |
| 30 | local notation "ι" => OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.ModuleComplex.augmentationZero H Q π |
| 31 | |
| 32 | def total : CochainComplex (ModuleCat.{u} B) ℕ := Presheaf.TotalCup.CechProduct.total N P |
| 33 | |
| 34 | def totalCup (a b : ℕ) : |
| 35 | (total H Q π N).X a →ₗ[B] (total H Q π N).X b →ₗ[B] (total H Q π N).X (a + b) := |
| 36 | Presheaf.TotalCup.CechProduct.totalCup N P (Product.sectionPairing H Q π) a b |
| 37 | |
| 38 | def cohomologyCup (a b : ℕ) : |
| 39 | (total H Q π N).homology a →ₗ[B] (total H Q π N).homology b →ₗ[B] |
| 40 | (total H Q π N).homology (a + b) := by |
| 41 | refine Presheaf.CohomologyProduct.Cech.cohomologyCup N P (Product.sectionPairing H Q π) ?_ ?_ a b |
| 42 | · intro i j U V α x y |
| 43 | exact Product.sectionPairing_natural H Q π i j α x y |
| 44 | · intro i j U x y |
| 45 | exact Product.sectionPairing_differential H Q π i j U x y |
| 46 | |
| 47 | def coefficientPairing (U : Cᵒᵖ) : (A).obj U →ₗ[B] (A).obj U →ₗ[B] (A).obj U := by |
| 48 | letI := (Q.obj U.unop).base.toAlgebra |
| 49 | exact LinearMap.mul B (Q.obj U.unop).ring |
| 50 | |
| 51 | theorem coefficientPairing_natural {U V : Cᵒᵖ} (α : U ⟶ V) (x y : (A).obj U) : |
| 52 | (A).map α (coefficientPairing Q U x y) = |
| 53 | coefficientPairing Q V ((A).map α x) ((A).map α y) := |
| 54 | (Q.map α.unop).ringMap.toRingHom.map_mul x y |
| 55 | |
| 56 | def coefficientComplex : CochainComplex (ModuleCat.{u} B) ℕ := |
| 57 | Presheaf.AugmentationProduct.source N A |
| 58 | |
| 59 | def coefficientCup (a b : ℕ) : |
| 60 | (coefficientComplex Q N).X a →ₗ[B] (coefficientComplex Q N).X b →ₗ[B] |
| 61 | (coefficientComplex Q N).X (a + b) := |
| 62 | Presheaf.AugmentationProduct.sourceCup N A (coefficientPairing Q) a b |
| 63 | |
| 64 | def coefficientCohomologyCup (a b : ℕ) : |
| 65 | (coefficientComplex Q N).homology a →ₗ[B] (coefficientComplex Q N).homology b →ₗ[B] |
| 66 | (coefficientComplex Q N).homology (a + b) := |
| 67 | Presheaf.AugmentationCohomology.Product.sourceCohomologyCup N A (coefficientPairing Q) |
| 68 | (coefficientPairing_natural Q) a b |
| 69 | |
| 70 | theorem augmentation_closed : ι ≫ (P).d 0 1 = 0 := by |
| 71 | rw [ModuleComplex.complex_d] |
| 72 | exact ModuleComplex.augmentationZero_differential H Q π |
| 73 | |
| 74 | def augmentation : coefficientComplex Q N ⟶ total H Q π N := |
| 75 | Presheaf.AugmentationProduct.map N P A ι (augmentation_closed H Q π) |
| 76 | |
| 77 | theorem augmentation_cup (a b : ℕ) |
| 78 | (x : (coefficientComplex Q N).X a) (y : (coefficientComplex Q N).X b) : |
| 79 | (augmentation H Q π N).f (a + b) (coefficientCup Q N a b x y) = |
| 80 | totalCup H Q π N a b ((augmentation H Q π N).f a x) ((augmentation H Q π N).f b y) := |
| 81 | Presheaf.AugmentationProduct.map_cup N P A ι (augmentation_closed H Q π) |
| 82 | (Product.sectionPairing H Q π) (coefficientPairing Q) |
| 83 | (Product.augmentationZero_mul H Q π) a b x y |
| 84 | |
| 85 | theorem augmentation_cohomologyCup (a b : ℕ) |
| 86 | (x : (coefficientComplex Q N).homology a) (y : (coefficientComplex Q N).homology b) : |
| 87 | HomologicalComplex.homologyMap (augmentation H Q π N) (a + b) |
| 88 | (coefficientCohomologyCup Q N a b x y) = |
| 89 | cohomologyCup H Q π N a b |
| 90 | (HomologicalComplex.homologyMap (augmentation H Q π N) a x) |
| 91 | (HomologicalComplex.homologyMap (augmentation H Q π N) b y) := by |
| 92 | exact Presheaf.AugmentationCohomology.Product.cohomologyMap_cup N A (coefficientPairing Q) |
| 93 | (coefficientPairing_natural Q) P ι (augmentation_closed H Q π) |
| 94 | (Product.sectionPairing H Q π) |
| 95 | (fun i j {U V} α s t => Product.sectionPairing_natural H Q π i j α s t) |
| 96 | (fun i j U s t => Product.sectionPairing_differential H Q π i j U s t) |
| 97 | (fun U s t => Product.augmentationZero_mul H Q π U s t) a b x y |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.CechProduct |