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.BoundedOpen.Covering |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.CoverDescent |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Section Sheaf -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: geometric open sections form a sheaf for the original bounded crystalline coefficients |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Support |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 19 | |
| 20 | universe u |
| 21 | |
| 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 | (F : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n) |
| 25 | |
| 26 | theorem isSheaf : Presheaf.IsSheaf (Opens.grothendieckTopology Y) |
| 27 | ((SectionPresheaf.functor fY n).obj F) := by |
| 28 | let : Limits.HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 29 | ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 30 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing |
| 31 | (C := ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) (X := Y.carrier) |
| 32 | ((SectionPresheaf.functor fY n).obj F)).mpr |
| 33 | intro ι V a ha |
| 34 | let P := fun i => SectionPresheaf.property (p := p) (J := J) (δ := δ) fY n (V i) |
| 35 | let Q := SectionPresheaf.property (p := p) (J := J) (δ := δ) fY n (iSup V) |
| 36 | have hP : ∀ i {U T : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n}, |
| 37 | (U ⟶ T) → P i T → P i U := fun i {_ _} α => SectionPresheaf.incoming fY n (V i) α |
| 38 | have hPQ : ∀ i, P i ≤ Q := fun i => SectionPresheaf.monotone fY n (le_iSup V i) |
| 39 | have hcover : ∀ T, Q T → Incoming.CoverFamily.Family.sieve P hP T ∈ |
| 40 | BoundedCrystalline.Site.topology fY n T := by |
| 41 | intro T hT |
| 42 | change Covering.sieve V T ∈ BoundedCrystalline.Site.topology fY n T |
| 43 | apply Covering.covering V T |
| 44 | intro z |
| 45 | have hz : T.obj.mapToX z ∈ iSup V := |
| 46 | (Support.property_iff_range_subset fY n T (iSup V)).mp hT ⟨z, rfl⟩ |
| 47 | exact TopologicalSpace.Opens.mem_iSup.mp hz |
| 48 | have hac : Incoming.CoverFamily.Family.Compatible (Crystalline.ExactRestriction.Coeff (B := B)) |
| 49 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) P F.obj a := by |
| 50 | intro i j T hi hj |
| 51 | have hT : SectionPresheaf.property fY n (V i ⊓ V j) T := (Support.property_inf fY n T (V i) (V j)).mpr ⟨hi, hj⟩ |
| 52 | exact congrArg (fun t : Incoming.SectionRestriction.Sections (Crystalline.ExactRestriction.Coeff (B := B)) |
| 53 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) (SectionPresheaf.property fY n (V i ⊓ V j)) F.obj => |
| 54 | t.app (op ⟨T, hT⟩)) (ha i j) |
| 55 | exact Incoming.CoverDescent.existsUnique (Crystalline.ExactRestriction.Coeff (B := B)) |
| 56 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) P hP Q hPQ |
| 57 | (BoundedCrystalline.Site.topology fY n) hcover F a hac |
| 58 | |
| 59 | def sheaf : Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 60 | ⟨(SectionPresheaf.functor fY n).obj F, isSheaf fY n F⟩ |
| 61 | |
| 62 | omit F in |
| 63 | def functor : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 64 | Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 65 | ObjectProperty.lift _ (SectionPresheaf.functor fY n) (isSheaf fY n) |
| 66 | |
| 67 | omit F in |
| 68 | instance functor_additive : (functor (p := p) (J := J) (δ := δ) fY n).Additive where |
| 69 | map_add := by intros; rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSheaf |