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.BoundedFrame.SheafLeibniz |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CohomologyProduct |
| 3 | |
| 4 | /-! # Sheaf Cech Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafCechProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Products on the actual bounded frame sheaf Čech total. The literal |
| 11 | coefficient-presheaf to sheaf-complex map preserves the product on cohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafLeibniz.Product |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 22 | (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafProduct.coefficientComplex f n F |
| 26 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafLeibniz.Product.underlyingComplex f n F |
| 27 | |
| 28 | def sheafificationMap : L ⟶ K where |
| 29 | f a := SheafProduct.unitMap f n F a |
| 30 | comm' a b _ := ((sheafificationAdjunction (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} R)).unit.naturality |
| 31 | ((L).d a b)).symm |
| 32 | |
| 33 | variable (N : SimplicialObject (FormalCoproduct.{u} (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n))) |
| 34 | |
| 35 | def coefficientTotal := Presheaf.TotalCup.CechProduct.total.{u + 1, u, u, u + 1, u + 1} N L |
| 36 | def total := Presheaf.TotalCup.CechProduct.total.{u + 1, u, u, u + 1, u + 1} N K |
| 37 | |
| 38 | def coefficientCup (a b : ℕ) := |
| 39 | Presheaf.CohomologyProduct.Cech.cohomologyCup.{u + 1, u, u, u + 1, u + 1} N L (SheafProduct.coefficientPairing f n F) |
| 40 | (SheafProduct.coefficientPairing_natural f n F) (CoefficientLeibniz.differential f n F) a b |
| 41 | |
| 42 | def cup (a b : ℕ) := |
| 43 | Presheaf.CohomologyProduct.Cech.cohomologyCup.{u + 1, u, u, u + 1, u + 1} N K (SheafProduct.sectionPairing f n F) |
| 44 | (SheafProduct.sectionPairing_natural f n F) (SheafLeibniz.Product.sectionPairing_differential f n F) a b |
| 45 | |
| 46 | def totalMap : coefficientTotal f n F N ⟶ total f n F N := |
| 47 | Presheaf.CechProductNaturality.totalMap.{u + 1, u, u, u + 1, u + 1} N (sheafificationMap f n F) |
| 48 | |
| 49 | theorem totalMap_cup (a b : ℕ) |
| 50 | (x : (coefficientTotal f n F N).homology a) (y : (coefficientTotal f n F N).homology b) : |
| 51 | HomologicalComplex.homologyMap (totalMap f n F N) (a + b) |
| 52 | (coefficientCup f n F N a b x y) = cup f n F N a b |
| 53 | (HomologicalComplex.homologyMap (totalMap f n F N) a x) |
| 54 | (HomologicalComplex.homologyMap (totalMap f n F N) b y) := |
| 55 | Presheaf.CohomologyProduct.Cech.totalMap_cohomologyCup.{u + 1, u, u, u + 1, u + 1} N L (SheafProduct.coefficientPairing f n F) |
| 56 | (SheafProduct.coefficientPairing_natural f n F) (CoefficientLeibniz.differential f n F) |
| 57 | K (SheafProduct.sectionPairing f n F) (SheafProduct.sectionPairing_natural f n F) (SheafLeibniz.Product.sectionPairing_differential f n F) |
| 58 | (sheafificationMap f n F) (SheafProduct.unitMap_pairing f n F) a b x y |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafCechProduct |