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.ConstantSubpresheaf |
| 2 | |
| 3 | /-! # Injective Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.InjectiveSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: injective presheaves extend sections from incoming-closed full subcategories |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.ConstantSubpresheaf |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] (R : Type w) [Ring R] (M : ModuleCat.{w} R) |
| 20 | (P : ObjectProperty C) (hP : ∀ {U V : C}, (U ⟶ V) → P V → P U) |
| 21 | (F : Cᵒᵖ ⥤ ModuleCat.{w} R) [Injective F] |
| 22 | |
| 23 | def extend (a : (Functor.const P.FullSubcategoryᵒᵖ).obj M ⟶ P.ι.op ⋙ F) : (Functor.const Cᵒᵖ).obj M ⟶ F := |
| 24 | Injective.factorThru (ConstantSubpresheaf.lift R M P hP F a) (ConstantSubpresheaf.inclusion R M P hP) |
| 25 | |
| 26 | theorem restrict_extend (a : (Functor.const P.FullSubcategoryᵒᵖ).obj M ⟶ P.ι.op ⋙ F) : |
| 27 | Functor.whiskerLeft P.ι.op (extend R M P hP F a) = a := by |
| 28 | apply NatTrans.ext |
| 29 | funext U |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro x |
| 33 | classical |
| 34 | let y : ConstantSubpresheaf.support R M P U.unop.obj := ⟨x, by simp only [ConstantSubpresheaf.support, ite_eq_left U.unop.property, Submodule.mem_top]⟩ |
| 35 | have h := congrArg (fun t : ConstantSubpresheaf.presheaf R M P hP ⟶ F => t.app (op U.unop.obj) y) |
| 36 | (Injective.comp_factorThru (ConstantSubpresheaf.lift R M P hP F a) (ConstantSubpresheaf.inclusion R M P hP)) |
| 37 | exact h.trans (ConstantSubpresheaf.liftMap_inside R M P F a U.unop.obj U.unop.property y) |
| 38 | |
| 39 | include hP in |
| 40 | theorem restriction_surjective : Function.Surjective |
| 41 | (fun a : (Functor.const Cᵒᵖ).obj M ⟶ F => Functor.whiskerLeft P.ι.op a) := |
| 42 | fun a => ⟨extend R M P hP F a, restrict_extend R M P hP F a⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.InjectiveSections |