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.Sheaf.InjectiveRestrictionSections |
| 2 | import Mathlib.CategoryTheory.Linear.FunctorCategory |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: linear restriction and extension of sections between incoming full subsites |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 19 | (M : ModuleCat.{w} R) (P Q : ObjectProperty C) (F : Cᵒᵖ ⥤ ModuleCat.{w} R) |
| 20 | |
| 21 | abbrev Sections := (Functor.const P.FullSubcategoryᵒᵖ).obj M ⟶ P.ι.op ⋙ F |
| 22 | |
| 23 | def restrict (h : P ≤ Q) : Sections R M Q F →ₗ[R] Sections R M P F where |
| 24 | toFun a := Functor.whiskerLeft (ObjectProperty.ιOfLE h).op a |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | def restrictGlobal : ((Functor.const Cᵒᵖ).obj M ⟶ F) →ₗ[R] Sections R M P F where |
| 29 | toFun a := Functor.whiskerLeft P.ι.op a |
| 30 | map_add' _ _ := rfl |
| 31 | map_smul' _ _ := rfl |
| 32 | |
| 33 | theorem restrict_restrictGlobal (h : P ≤ Q) (a : (Functor.const Cᵒᵖ).obj M ⟶ F) : |
| 34 | restrict R M P Q F h (restrictGlobal R M Q F a) = restrictGlobal R M P F a := rfl |
| 35 | |
| 36 | theorem restrict_refl (a : Sections R M P F) : restrict R M P P F le_rfl a = a := by |
| 37 | apply NatTrans.ext |
| 38 | funext U |
| 39 | rfl |
| 40 | |
| 41 | theorem restrict_comp (S : ObjectProperty C) (h : P ≤ Q) (h' : Q ≤ S) (a : Sections R M S F) : |
| 42 | restrict R M P Q F h (restrict R M Q S F h' a) = |
| 43 | restrict R M P S F (h.trans h') a := rfl |
| 44 | |
| 45 | def map {G : Cᵒᵖ ⥤ ModuleCat.{w} R} (β : F ⟶ G) : Sections R M P F →ₗ[R] Sections R M P G := |
| 46 | Linear.rightComp R _ (Functor.whiskerLeft P.ι.op β) |
| 47 | |
| 48 | theorem restrict_map {G : Cᵒᵖ ⥤ ModuleCat.{w} R} (β : F ⟶ G) (h : P ≤ Q) |
| 49 | (a : Sections R M Q F) : |
| 50 | restrict R M P Q G h (map R M Q F β a) = map R M P F β (restrict R M P Q F h a) := rfl |
| 51 | |
| 52 | variable (hP : ∀ {U V : C}, (U ⟶ V) → P V → P U) |
| 53 | |
| 54 | include hP in |
| 55 | theorem restrict_surjective [Injective F] (h : P ≤ Q) : |
| 56 | Function.Surjective (restrict R M P Q F h) := by |
| 57 | intro a |
| 58 | obtain ⟨b, hb⟩ := InjectiveSections.restriction_surjective R M P hP F a |
| 59 | exact ⟨restrictGlobal R M Q F b, hb⟩ |
| 60 | |
| 61 | include hP in |
| 62 | theorem sheaf_restrict_surjective (T : GrothendieckTopology C) |
| 63 | [HasSheafify T (ModuleCat.{w} R)] (A : Sheaf T (ModuleCat.{w} R)) [Injective A] (h : P ≤ Q) : |
| 64 | Function.Surjective (restrict R M P Q A.obj h) := by |
| 65 | let : Injective A.obj := (sheafToPresheaf T (ModuleCat.{w} R)).injective_obj A |
| 66 | exact restrict_surjective R M P Q A.obj hP h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |