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.BoundedCrystalline.CrystallineSections |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantRestrictionCoherence |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.SectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual bounded crystalline Ext restriction in degree zero restricts the original presheaf section. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 20 | |
| 21 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 22 | |
| 23 | def boundedHomEquiv : |
| 24 | (CrystallineCohomology.constantUnit (p := p) (J := J) (δ := δ) f n ⟶ |
| 25 | CrystallineCohomology.structureSheaf f n) ≃ₗ[R] |
| 26 | CrystallineSections.Sections (p := p) (J := J) (δ := δ) f n := |
| 27 | (LinearAdjunction.homLinearEquiv R |
| 28 | (sheafificationAdjunction (Site.topology f n) (ModuleCat.{u + 1} R)) |
| 29 | ((Functor.const (Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ).obj |
| 30 | (ModuleCat.of R R)) (CrystallineCohomology.structureSheaf f n)).trans |
| 31 | (Linear.homCongr R (Iso.refl _) (Bounded.CohomologyTorsion.structurePresheafIso f n).symm) |
| 32 | |
| 33 | theorem hom (a : BigCrystallineCohomology.constantUnit (p := p) (J := J) (δ := δ) f ⟶ BigCrystallineCohomology.structureSheaf f) : |
| 34 | boundedHomEquiv f n ((CrystallineCohomology.constantUnitIso f n).inv ≫ |
| 35 | (Site.restriction f n).map a) = |
| 36 | CrystallineSections.restriction f n |
| 37 | (Sheafified.PresheafSections.homLinearEquiv R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 38 | (Crystalline.StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R) a) := by |
| 39 | have h := PeriodInvariants.ConstantRestrictionCoherence.transport_generator |
| 40 | (Site.topology f n) BigCrystallineSite.Object.topology |
| 41 | (Site.inclusion (p := p) (J := J) (δ := δ) f n) (ModuleCat.of R R) |
| 42 | change (toSheafify (Site.topology f n) |
| 43 | ((Functor.const _).obj (ModuleCat.of R R))) ≫ |
| 44 | (CrystallineCohomology.constantUnitIso f n).inv.hom = |
| 45 | Functor.whiskerLeft (Site.inclusion f n).op |
| 46 | (toSheafify BigCrystallineSite.Object.topology ((Functor.const _).obj (ModuleCat.of R R))) at h |
| 47 | apply NatTrans.ext |
| 48 | funext U |
| 49 | apply ModuleCat.hom_ext |
| 50 | apply LinearMap.ext |
| 51 | intro x |
| 52 | have hv := congrArg (fun t => t.app U x) h |
| 53 | change (Crystalline.StructureDescent.structurePresheafIso f).inv.app (op U.unop.obj) |
| 54 | (a.hom.app (op U.unop.obj) |
| 55 | ((CrystallineCohomology.constantUnitIso f n).inv.hom.app U |
| 56 | ((toSheafify (Site.topology f n) |
| 57 | ((Functor.const _).obj (ModuleCat.of R R))).app U x))) = |
| 58 | (Crystalline.StructureDescent.structurePresheafIso f).inv.app (op U.unop.obj) |
| 59 | (a.hom.app (op U.unop.obj) |
| 60 | ((toSheafify BigCrystallineSite.Object.topology ((Functor.const _).obj (ModuleCat.of R R))).app |
| 61 | (op U.unop.obj) x)) |
| 62 | exact congrArg (fun y => (Crystalline.StructureDescent.structurePresheafIso f).inv.app |
| 63 | (op U.unop.obj) (a.hom.app (op U.unop.obj) y)) hv |
| 64 | |
| 65 | theorem cohomology (x : BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f 0) : |
| 66 | CrystallineSections.cohomologyEquiv f n |
| 67 | (CrystallineCohomology.restriction f n 0 x) = |
| 68 | CrystallineSections.restriction f n (Crystalline.ConstantSections.cohomologyEquiv f x) := by |
| 69 | obtain ⟨a, rfl⟩ := (Ext.mk₀_bijective _ _).surjective x |
| 70 | change CrystallineSections.cohomologyEquiv f n |
| 71 | (((Ext.mk₀ _).comp ((Ext.mk₀ a).mapExactFunctor _) (Nat.zero_add 0)).comp |
| 72 | (Ext.mk₀ (𝟙 _)) (Nat.add_zero 0)) = _ |
| 73 | rw [Ext.mapExactFunctor_mk₀, Ext.mk₀_comp_mk₀, Ext.mk₀_comp_mk₀, Category.comp_id] |
| 74 | change boundedHomEquiv f n (Ext.linearEquiv₀ (Ext.mk₀ _)) = |
| 75 | CrystallineSections.restriction f n |
| 76 | (Sheafified.PresheafSections.homLinearEquiv R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 77 | (Crystalline.StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R) |
| 78 | (Ext.linearEquiv₀ (Ext.mk₀ a))) |
| 79 | exact (congrArg (boundedHomEquiv f n) |
| 80 | ((Ext.linearEquiv₀ («R» := R)).apply_symm_apply |
| 81 | ((CrystallineCohomology.constantUnitIso f n).inv ≫ |
| 82 | (Site.restriction f n).map a))).trans |
| 83 | ((SectionRestriction.hom f n a).trans (congrArg (fun b => CrystallineSections.restriction f n |
| 84 | (Sheafified.PresheafSections.homLinearEquiv R BigCrystallineSite.Object.topology (BigCrystallineCohomology.largePresheaf f) |
| 85 | (Crystalline.StructureDescent.largePresheaf_isSheaf f) (ModuleCat.of R R) b)) |
| 86 | ((Ext.linearEquiv₀ («R» := R)).apply_symm_apply a).symm)) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.SectionRestriction |