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.ConstantSections |
| 2 | |
| 3 | /-! # Section Pullback -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SectionPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original crystalline pullback in degree zero is pullback of the actual presheaf section. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ConstantSections |
| 16 | |
| 17 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 19 | |
| 20 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 21 | |
| 22 | def sheafSection (s : ConstantSections.Sections (p := p) (J := J) (δ := δ) f) : |
| 23 | BigCrystallineCohomology.constantUnit (p := p) (J := J) (δ := δ) f ⟶ BigCrystallineCohomology.structureSheaf f := |
| 24 | (presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} R)).map s |
| 25 | |
| 26 | theorem cohomology_mk₀ (s : ConstantSections.Sections (p := p) (J := J) (δ := δ) f) : |
| 27 | (ConstantSections.cohomologyEquiv f).symm s = Ext.mk₀ (sheafSection f s) := by |
| 28 | apply (ConstantSections.cohomologyEquiv f).injective |
| 29 | have h : ConstantSections.cohomologyEquiv f (Ext.mk₀ (sheafSection f s)) = s := by |
| 30 | change Sheafified.PresheafSections.homLinearEquiv R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 31 | (StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R) |
| 32 | (Ext.linearEquiv₀ (Ext.mk₀ (sheafSection f s))) = s |
| 33 | exact (congrArg (Sheafified.PresheafSections.homLinearEquiv R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 34 | (StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R)) |
| 35 | ((Ext.linearEquiv₀ («R» := R)).apply_symm_apply (sheafSection f s))).trans |
| 36 | (Sheafified.PresheafSections.homLinearEquiv_map R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 37 | (StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R) s) |
| 38 | exact ((ConstantSections.cohomologyEquiv f).apply_symm_apply s).trans h.symm |
| 39 | |
| 40 | variable {f} {Y : Scheme.{u}} {fY : Y ⟶ Spec (CommRingCat.of B)} (g : X ⟶ Y) (hg : g ≫ fY = f) |
| 41 | |
| 42 | theorem sheaf_pullback (s : ConstantSections.Sections (p := p) (J := J) (δ := δ) fY) : |
| 43 | (BigCrystallineCohomology.constantTransport g hg).inv ≫ (ExactRestriction.restriction g hg).map (sheafSection fY s) ≫ |
| 44 | (BigCrystallineCohomology.structureTransport g hg).hom = |
| 45 | sheafSection f (Functor.whiskerLeft (BigCrystallineSite.postcompose g hg).op s ≫ (BigCrystallineCohomology.presheafTransport g hg).hom) := by |
| 46 | let e := (BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg).pushforwardContinuousSheafificationCompatibility |
| 47 | (ModuleCat.{u + 1} R) BigCrystallineSite.Object.topology BigCrystallineSite.Object.topology |
| 48 | let b := (presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} R)).map |
| 49 | (Functor.whiskerLeft (BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg).op s) |
| 50 | let d := (presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} R)).map |
| 51 | (BigCrystallineCohomology.presheafTransport (p := p) (J := J) (δ := δ) g hg).hom |
| 52 | have h : b ≫ (e.app (BigCrystallineCohomology.largePresheaf fY)).hom = |
| 53 | (BigCrystallineCohomology.constantTransport g hg).inv ≫ (ExactRestriction.restriction g hg).map |
| 54 | (sheafSection fY s) := e.hom.naturality s |
| 55 | change (BigCrystallineCohomology.constantTransport g hg).inv ≫ |
| 56 | (ExactRestriction.restriction g hg).map (sheafSection fY s) ≫ |
| 57 | ((e.app (BigCrystallineCohomology.largePresheaf fY)).inv ≫ d) = _ |
| 58 | have h₁ := congrArg (fun a => a ≫ ((e.app (BigCrystallineCohomology.largePresheaf fY)).inv ≫ d)) h.symm |
| 59 | have h₂ : (b ≫ (e.app (BigCrystallineCohomology.largePresheaf fY)).hom) ≫ ((e.app (BigCrystallineCohomology.largePresheaf fY)).inv ≫ d) = b ≫ d := |
| 60 | (Category.assoc _ _ _).trans |
| 61 | (congrArg (fun a => b ≫ a) ((e.app (BigCrystallineCohomology.largePresheaf fY)).hom_inv_id_assoc d)) |
| 62 | have h₃ : b ≫ d = sheafSection f |
| 63 | (Functor.whiskerLeft (BigCrystallineSite.postcompose g hg).op s ≫ (BigCrystallineCohomology.presheafTransport g hg).hom) := |
| 64 | ((presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} R)).map_comp _ _).symm |
| 65 | exact (Category.assoc _ _ _).symm.trans (h₁.trans (h₂.trans h₃)) |
| 66 | |
| 67 | theorem cohomology_pullback (s : ConstantSections.Sections (p := p) (J := J) (δ := δ) fY) : |
| 68 | BigCrystallineCohomology.pullback g hg 0 ((ConstantSections.cohomologyEquiv fY).symm s) = |
| 69 | (ConstantSections.cohomologyEquiv f).symm |
| 70 | (Functor.whiskerLeft (BigCrystallineSite.postcompose g hg).op s ≫ (BigCrystallineCohomology.presheafTransport g hg).hom) := by |
| 71 | rw [cohomology_mk₀, cohomology_mk₀] |
| 72 | change ((Ext.mk₀ _).comp ((Ext.mk₀ _).mapExactFunctor _) (Nat.zero_add 0)).comp |
| 73 | (Ext.mk₀ _) (Nat.add_zero 0) = _ |
| 74 | rw [Ext.mapExactFunctor_mk₀, Ext.mk₀_comp_mk₀, Ext.mk₀_comp_mk₀, Category.assoc, sheaf_pullback] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SectionPullback |