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.Frame.DeRhamProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexDiagramCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CohomologyProduct |
| 4 | |
| 5 | /-! # Diagram Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.DiagramProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual frame PD de Rham diagrams carry the native all-degree |
| 12 | Čech total cup and its categorical cohomology product. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 17 | universe u v w |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 20 | {C : Type v} [Category.{w} C] |
| 21 | (H : Cᵒᵖ ⥤ (BigCrystallineSite.Object p B J δ f)ᵒᵖ) |
| 22 | |
| 23 | abbrev diagram := H ⋙ GeometricComparison.Crystalline.FrameComplexFunctor.CrystallineFrameComplexFunctor.functor f |
| 24 | abbrev complex := Cech.ComplexDiagramCoordinates.complex (diagram f H) |
| 25 | |
| 26 | def pairing (a b : ℕ) (V : Cᵒᵖ) := |
| 27 | RelativeFrame.Product.framePairing (H.obj V).unop a b |
| 28 | |
| 29 | theorem natural (a b : ℕ) {U V : Cᵒᵖ} (α : U ⟶ V) |
| 30 | (x : ((complex f H).X a).obj U) (y : ((complex f H).X b).obj U) : |
| 31 | ((complex f H).X (a+b)).map α (pairing f H a b U x y) = |
| 32 | pairing f H a b V (((complex f H).X a).map α x) (((complex f H).X b).map α y) := |
| 33 | DeRhamProduct.natural f a b (H.map α) x y |
| 34 | |
| 35 | private theorem cast (V : Cᵒᵖ) {a b : ℕ} (h : a=b) |
| 36 | (x : ((complex f H).X a).obj V) : |
| 37 | Presheaf.CechProduct.sectionDegreeCast (complex f H) h V x = |
| 38 | Cochain.CohomologyCup.degreeCast ((diagram f H).obj V) h x := by |
| 39 | subst b |
| 40 | rfl |
| 41 | |
| 42 | theorem differential (a b : ℕ) (V : Cᵒᵖ) |
| 43 | (x : ((complex f H).X a).obj V) (y : ((complex f H).X b).obj V) : |
| 44 | ((complex f H).d (a+b) (a+b+1)).app V (pairing f H a b V x y) = |
| 45 | Presheaf.CechProduct.sectionDegreeCast (complex f H) (by omega) V |
| 46 | (pairing f H (a+1) b V (((complex f H).d a (a+1)).app V x) y) + |
| 47 | (-1 : ℤ)^a • Presheaf.CechProduct.sectionDegreeCast (complex f H) (by omega) V |
| 48 | (pairing f H a (b+1) V x (((complex f H).d b (b+1)).app V y)) := by |
| 49 | exact (DeRhamProduct.differential f a b (H.obj V) x y).trans |
| 50 | (congrArg₂ (fun x y => x + (-1 : ℤ)^a • y) |
| 51 | (cast f H V (by omega : (a+1)+b = a+b+1) _).symm |
| 52 | (cast f H V (by omega : a+(b+1) = a+b+1) _).symm) |
| 53 | |
| 54 | variable [HasBinaryProducts C] {ι : Type} [Finite ι] (U : ι → C) |
| 55 | |
| 56 | abbrev total := Presheaf.TotalCup.CechProduct.total (NonemptyCechNerve.nerve U) (complex f H) |
| 57 | abbrev cup := Presheaf.TotalCup.CechProduct.totalCup (NonemptyCechNerve.nerve U) (complex f H) |
| 58 | (pairing f H) |
| 59 | abbrev differential_cup := Presheaf.TotalLeibniz.CechProduct.differential_totalCup |
| 60 | (NonemptyCechNerve.nerve U) (complex f H) (pairing f H) (natural f H) (differential f H) |
| 61 | abbrev cohomologyCup := Presheaf.CohomologyProduct.Cech.cohomologyCup |
| 62 | (NonemptyCechNerve.nerve U) (complex f H) (pairing f H) (natural f H) (differential f H) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.DiagramProduct |