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.ExhaustiveSectionNaturality |
| 2 | |
| 3 | /-! # Equivalent Presheaf Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EquivalentPresheafSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: restriction along an actual site equivalence identifies presheaf sections naturally |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w z t |
| 16 | |
| 17 | variable {C D : Type u} [Category.{v} C] [Category.{v} D] |
| 18 | {A : Type w} [Category.{z} A] [Preadditive A] |
| 19 | (R : Type t) [CommRing R] [Linear R A] (E : D ⥤ C) [E.IsEquivalence] (M : A) |
| 20 | |
| 21 | def map (P : Cᵒᵖ ⥤ A) : ((Functor.const Cᵒᵖ).obj M ⟶ P) →ₗ[R] |
| 22 | ((Functor.const Dᵒᵖ).obj M ⟶ E.op ⋙ P) where |
| 23 | toFun a := Functor.whiskerLeft E.op a |
| 24 | map_add' _ _ := rfl |
| 25 | map_smul' _ _ := rfl |
| 26 | |
| 27 | theorem bijective (P : Cᵒᵖ ⥤ A) : Function.Bijective (map R E M P) := by |
| 28 | let W := (Functor.whiskeringLeft Dᵒᵖ Cᵒᵖ A).obj E.op |
| 29 | exact ⟨W.map_injective, W.map_surjective⟩ |
| 30 | |
| 31 | def linearEquiv (P : Cᵒᵖ ⥤ A) : ((Functor.const Cᵒᵖ).obj M ⟶ P) ≃ₗ[R] |
| 32 | ((Functor.const Dᵒᵖ).obj M ⟶ E.op ⋙ P) := LinearEquiv.ofBijective (map R E M P) (bijective R E M P) |
| 33 | |
| 34 | theorem naturality {P Q : Cᵒᵖ ⥤ A} (a : (Functor.const Cᵒᵖ).obj M ⟶ P) (b : P ⟶ Q) : |
| 35 | linearEquiv R E M Q (a ≫ b) = linearEquiv R E M P a ≫ Functor.whiskerLeft E.op b := rfl |
| 36 | |
| 37 | def iso : ExhaustiveSectionNaturality.globalSectionsFunctor (C := C) R M ≅ |
| 38 | (Functor.whiskeringLeft Dᵒᵖ Cᵒᵖ A).obj E.op ⋙ |
| 39 | ExhaustiveSectionNaturality.globalSectionsFunctor (C := D) R M := |
| 40 | NatIso.ofComponents (fun P => (linearEquiv R E M P).toModuleIso) (by |
| 41 | intro P Q b |
| 42 | apply ModuleCat.hom_ext |
| 43 | apply LinearMap.ext |
| 44 | intro a |
| 45 | exact naturality R E M a b) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EquivalentPresheafSections |