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.Incoming.SectionSubsite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 3 | |
| 4 | /-! # Section Subsite -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original bounded crystalline sections over opens inside one fixed |
| 11 | open are sections of the restricted crystalline sheaf, naturally in |
| 12 | the whole family of opens and in the coefficient sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 22 | (V : Y.Opens) {D : Type v} [Preorder D] (F : D →o Y.Opens) |
| 23 | (hF : ∀ d, F d ≤ V) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 26 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite.property (p := p) (J := J) (δ := δ) fY V.ι n |
| 27 | |
| 28 | def familyProperty (d : D) := SectionPresheaf.property |
| 29 | (p := p) (J := J) (δ := δ) fY n (F d) |
| 30 | |
| 31 | theorem family_monotone : Monotone (familyProperty (p := p) (J := J) (δ := δ) fY n F) := by |
| 32 | intro a b hab |
| 33 | exact SectionPresheaf.monotone fY n (F.monotone hab) |
| 34 | |
| 35 | include hF in |
| 36 | theorem family_le (d : D) : familyProperty (p := p) (J := J) (δ := δ) fY n F d ≤ P := |
| 37 | SectionPresheaf.monotone fY n (hF d) |
| 38 | |
| 39 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.familyProperty (p := p) (J := J) (δ := δ) fY n F |
| 40 | local notation "hQ" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.family_monotone (p := p) (J := J) (δ := δ) fY n F |
| 41 | |
| 42 | def localSections : Subsite.ModuleSheaf |
| 43 | (p := p) (J := J) (δ := δ) fY V.ι n ⥤ Dᵒᵖ ⥤ ModuleCat.{u + 2} R := |
| 44 | sheafToPresheaf (Subsite.topology fY V.ι n) (ModuleCat.{u + 1} R) ⋙ |
| 45 | Incoming.SectionPresheaf.functor R (ModuleCat.of R R) |
| 46 | (Incoming.SectionSubsite.nested P Q) (Incoming.SectionSubsite.nested_monotone P Q hQ) ⋙ |
| 47 | (Functor.whiskeringRight Dᵒᵖ (ModuleCat.{u + 1} R) (ModuleCat.{u + 2} R)).obj |
| 48 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R) |
| 49 | |
| 50 | instance localSections_additive : (localSections (p := p) (J := J) (δ := δ) fY n V F).Additive := by |
| 51 | dsimp only [localSections] |
| 52 | infer_instance |
| 53 | |
| 54 | def globalSections : BoundedCrystalline.Site.ModuleSheaf |
| 55 | (p := p) (J := J) (δ := δ) fY n ⥤ Dᵒᵖ ⥤ ModuleCat.{u + 2} R := |
| 56 | SectionComplex.functor fY n ⋙ |
| 57 | (Functor.whiskeringLeft Dᵒᵖ Y.Opensᵒᵖ (ModuleCat.{u + 2} R)).obj F.toFunctor.op |
| 58 | |
| 59 | instance globalSections_additive : (globalSections (p := p) (J := J) (δ := δ) fY n F).Additive := by |
| 60 | dsimp only [globalSections] |
| 61 | infer_instance |
| 62 | |
| 63 | def iso : globalSections (p := p) (J := J) (δ := δ) fY n F ≅ |
| 64 | Subsite.restriction fY V.ι n ⋙ localSections fY n V F := |
| 65 | NatIso.ofComponents (fun M => |
| 66 | ((Functor.whiskeringRight Dᵒᵖ (ModuleCat.{u + 1} R) (ModuleCat.{u + 2} R)).obj |
| 67 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R)).mapIso |
| 68 | (Incoming.SectionSubsite.presheafIso R (ModuleCat.of R R) P Q hQ |
| 69 | (family_le fY n V F hF) M.obj)) (by |
| 70 | intro M N a |
| 71 | apply NatTrans.ext |
| 72 | funext d |
| 73 | apply ModuleCat.hom_ext |
| 74 | apply LinearMap.ext |
| 75 | intro x |
| 76 | apply ULift.ext |
| 77 | apply NatTrans.ext |
| 78 | funext T |
| 79 | rfl) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite |