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.ConeReferenceQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GlobalSectionTop |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CechConeGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionCechNaturality |
| 5 | |
| 6 | /-! # Open Cech Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.OpenCechQuasiIso.Global |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The literal global-section restriction of the original bounded |
| 13 | crystalline injective resolution is a quasi-isomorphism onto its open |
| 14 | Čech total. The source is identified with top-open sections canonically. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u v w |
| 22 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 23 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 24 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 25 | (p := p) (J := J) (δ := δ) fY n)) |
| 26 | {C : Type v} [Category.{w} C] [HasBinaryProducts C] (F : C ⥤ Y.Opens) |
| 27 | {ι : Type} [Finite ι] (U : ι → C) |
| 28 | [∀ (q : ℕ) (t : Fin (q+1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 29 | |
| 30 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 31 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections |
| 32 | (p := p) (J := J) (δ := δ) fY n |
| 33 | |
| 34 | def opens := BoundedOpen.SectionComplex.functor |
| 35 | (p := p) (J := J) (δ := δ) fY n ⋙ |
| 36 | (Functor.whiskeringLeft Cᵒᵖ Y.Opensᵒᵖ (ModuleCat.{u+2} R)).obj F.op |
| 37 | |
| 38 | instance opens_additive : (opens (p := p) (J := J) (δ := δ) fY n F).Additive := by |
| 39 | dsimp only [opens] |
| 40 | infer_instance |
| 41 | |
| 42 | def restriction : G ⋙ Functor.const Cᵒᵖ ⟶ opens (p := p) (J := J) (δ := δ) fY n F := |
| 43 | Functor.whiskerRight (GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation |
| 44 | (p := p) (J := J) (δ := δ) fY n) |
| 45 | ((Functor.whiskeringLeft Cᵒᵖ Y.Opensᵒᵖ (ModuleCat.{u+2} R)).obj F.op) |
| 46 | |
| 47 | def cone : |
| 48 | ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj |
| 49 | (((G).mapHomologicalComplex (.up ℕ)).obj I.cocomplex) ⟶ |
| 50 | ((opens (p := p) (J := J) (δ := δ) fY n F).mapHomologicalComplex (.up ℕ)).obj I.cocomplex := |
| 51 | ((restriction (p := p) (J := J) (δ := δ) fY n F).mapHomologicalComplex (.up ℕ)).app I.cocomplex |
| 52 | |
| 53 | omit [HasBinaryProducts C] in |
| 54 | theorem cone_eq : cone fY n I F = |
| 55 | ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).map |
| 56 | (GlobalSectionTop.complexIso fY n I.cocomplex).hom ≫ |
| 57 | GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.cone fY n I F := by |
| 58 | apply HomologicalComplex.Hom.ext |
| 59 | funext q |
| 60 | apply NatTrans.ext |
| 61 | funext V |
| 62 | exact (GlobalSectionTop.component fY n I.cocomplex q (F.obj V.unop)).symm |
| 63 | |
| 64 | variable (hU : iSup (F.obj ∘ U) = ⊤) |
| 65 | |
| 66 | include hU in |
| 67 | theorem quasiIso : QuasiIso (Presheaf.ConeQuasiIso.map.{v, w, u + 3, u + 2} |
| 68 | (A := ModuleCat.{u+2} R) |
| 69 | (M := ((G).mapHomologicalComplex (.up ℕ)).obj I.cocomplex) |
| 70 | U (cone.{u, v, w} fY n I F)) := Presheaf.ConeReferenceQuasiIso.Reference.quasiIso.{v, w, u + 3, u + 2} U |
| 71 | (cone fY n I F) (GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.cone fY n I F) |
| 72 | (GlobalSectionTop.complexIso fY n I.cocomplex) (cone_eq fY n I F) |
| 73 | (GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.quasiIso fY n I F U hU) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.OpenCechQuasiIso.Global |