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.Crystalline.CoefficientPairing |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.CochainUnit |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafTensor |
| 4 | |
| 5 | /-! # Sheaf Complex Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SheafComplexProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native crystalline coefficient lifting and sheafification preserve |
| 12 | a presheaf-complex product and its actual graded differential rule. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v w |
| 17 | variable {D : Type v} [Category.{w} D] (B : Type u) [CommRing B] |
| 18 | (J : GrothendieckTopology D) |
| 19 | [HasSheafify J (ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B)))] |
| 20 | (P : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{u} B) ℕ) |
| 21 | |
| 22 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | |
| 24 | abbrev coefficients := (Functor.whiskeringRight Dᵒᵖ (ModuleCat.{u} B) (ModuleCat.{u + 1} CR)).obj |
| 25 | (RelativeResolution.coefficientFunctor (B := B)) |
| 26 | |
| 27 | def coefficientComplex := ((coefficients B).mapHomologicalComplex (.up ℕ)).obj P |
| 28 | |
| 29 | variable (μ : ∀ a b (T : Dᵒᵖ), (P.X a).obj T →ₗ[B] (P.X b).obj T →ₗ[B] (P.X (a + b)).obj T) |
| 30 | (hμ : ∀ a b {T T' : Dᵒᵖ} (α : T ⟶ T') x y, |
| 31 | (P.X (a + b)).map α (μ a b T x y) = μ a b T' ((P.X a).map α x) ((P.X b).map α y)) |
| 32 | |
| 33 | def coefficientPairing (a b : ℕ) (T : Dᵒᵖ) := CoefficientPairing.lift B |
| 34 | ((P.X a).obj T) ((P.X b).obj T) ((P.X (a + b)).obj T) (μ a b T) |
| 35 | |
| 36 | include hμ in |
| 37 | theorem coefficientPairing_natural (a b : ℕ) {T T' : Dᵒᵖ} (α : T ⟶ T') |
| 38 | (x : ((coefficientComplex B P).X a).obj T) (y : ((coefficientComplex B P).X b).obj T) : |
| 39 | ((coefficientComplex B P).X (a + b)).map α (coefficientPairing B P μ a b T x y) = |
| 40 | coefficientPairing B P μ a b T' |
| 41 | (((coefficientComplex B P).X a).map α x) (((coefficientComplex B P).X b).map α y) := |
| 42 | CoefficientPairing.map_lift B _ _ _ (P.X a |>.map α) (P.X b |>.map α) |
| 43 | (P.X (a + b) |>.map α) (μ a b T) (μ a b T') (hμ a b α) x y |
| 44 | |
| 45 | theorem degreeCast_down {a b : ℕ} (h : a = b) (T : Dᵒᵖ) |
| 46 | (x : ((coefficientComplex B P).X a).obj T) : |
| 47 | (Presheaf.CechProduct.sectionDegreeCast (coefficientComplex B P) h T x).down = |
| 48 | Presheaf.CechProduct.sectionDegreeCast P h T x.down := by |
| 49 | subst b |
| 50 | rfl |
| 51 | |
| 52 | variable (dμ : ∀ a b (T : Dᵒᵖ) x y, |
| 53 | (P.d (a + b) (a + b + 1)).app T (μ a b T x y) = |
| 54 | Presheaf.CechProduct.sectionDegreeCast P (by omega : (a + 1) + b = a + b + 1) T |
| 55 | (μ (a + 1) b T ((P.d a (a + 1)).app T x) y) + |
| 56 | (-1 : ℤ) ^ a • Presheaf.CechProduct.sectionDegreeCast P |
| 57 | (by omega : a + (b + 1) = a + b + 1) T (μ a (b + 1) T x ((P.d b (b + 1)).app T y))) |
| 58 | |
| 59 | include dμ in |
| 60 | theorem coefficientPairing_differential (a b : ℕ) (T : Dᵒᵖ) |
| 61 | (x : ((coefficientComplex B P).X a).obj T) (y : ((coefficientComplex B P).X b).obj T) : |
| 62 | ((coefficientComplex B P).d (a + b) (a + b + 1)).app T (coefficientPairing B P μ a b T x y) = |
| 63 | Presheaf.CechProduct.sectionDegreeCast (coefficientComplex B P) |
| 64 | (by omega : (a + 1) + b = a + b + 1) T |
| 65 | (coefficientPairing B P μ (a + 1) b T (((coefficientComplex B P).d a (a + 1)).app T x) y) + |
| 66 | (-1 : ℤ) ^ a • Presheaf.CechProduct.sectionDegreeCast (coefficientComplex B P) |
| 67 | (by omega : a + (b + 1) = a + b + 1) T |
| 68 | (coefficientPairing B P μ a (b + 1) T x (((coefficientComplex B P).d b (b + 1)).app T y)) := by |
| 69 | apply ULift.ext |
| 70 | change (P.d (a + b) (a + b + 1)).app T (μ a b T x.down y.down) = |
| 71 | (Presheaf.CechProduct.sectionDegreeCast (coefficientComplex B P) |
| 72 | (by omega : (a + 1) + b = a + b + 1) T |
| 73 | (coefficientPairing B P μ (a + 1) b T (((coefficientComplex B P).d a (a + 1)).app T x) y)).down + |
| 74 | (-1 : ℤ) ^ a • (Presheaf.CechProduct.sectionDegreeCast (coefficientComplex B P) |
| 75 | (by omega : a + (b + 1) = a + b + 1) T |
| 76 | (coefficientPairing B P μ a (b + 1) T x (((coefficientComplex B P).d b (b + 1)).app T y))).down |
| 77 | erw [degreeCast_down, degreeCast_down] |
| 78 | exact dμ a b T x.down y.down |
| 79 | |
| 80 | variable [hmonoidal : (J.W (A := ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B)))).IsMonoidal] |
| 81 | |
| 82 | def underlyingComplex := Sheafified.CochainPairing.complex J CR (coefficientComplex B P) |
| 83 | def sectionPairing := Sheafified.CochainPairing.pairing J CR (coefficientComplex B P) |
| 84 | (coefficientPairing B P μ) (coefficientPairing_natural B P μ hμ) |
| 85 | abbrev sectionPairing_natural := Sheafified.CochainUnit.Pairing.pairing_natural.{v,w,u + 1} J CR (coefficientComplex B P) |
| 86 | (coefficientPairing B P μ) (coefficientPairing_natural B P μ hμ) |
| 87 | abbrev sectionPairing_differential := Sheafified.CochainPairing.differential J CR (coefficientComplex B P) |
| 88 | (coefficientPairing B P μ) (coefficientPairing_natural B P μ hμ) |
| 89 | (coefficientPairing_differential B P μ dμ) |
| 90 | abbrev unit_pairing := Sheafified.CochainUnit.Pairing.unit_pairing.{v,w,u + 1} J CR (coefficientComplex B P) |
| 91 | (coefficientPairing B P μ) (coefficientPairing_natural B P μ hμ) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SheafComplexProduct |