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.SectionRestriction |
| 2 | |
| 3 | /-! # Property Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PropertySections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: restricting sections to a full subcategory containing every object |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 20 | (M : ModuleCat.{w} R) (P : ObjectProperty C) (hP : ∀ T, P T) |
| 21 | (F : Cᵒᵖ ⥤ ModuleCat.{w} R) |
| 22 | |
| 23 | def extend (a : Incoming.SectionRestriction.Sections R M P F) : (Functor.const Cᵒᵖ).obj M ⟶ F where |
| 24 | app U := a.app (op ⟨U.unop, hP U.unop⟩) |
| 25 | naturality U V α := a.naturality (ObjectProperty.homMk α.unop : |
| 26 | (⟨V.unop, hP V.unop⟩ : P.FullSubcategory) ⟶ ⟨U.unop, hP U.unop⟩).op |
| 27 | |
| 28 | def linearEquiv : ((Functor.const Cᵒᵖ).obj M ⟶ F) ≃ₗ[R] Incoming.SectionRestriction.Sections R M P F where |
| 29 | toFun := Incoming.SectionRestriction.restrictGlobal R M P F |
| 30 | invFun := extend R M P hP F |
| 31 | left_inv _ := NatTrans.ext (funext (fun _ => rfl)) |
| 32 | right_inv _ := NatTrans.ext (funext (fun _ => rfl)) |
| 33 | map_add' _ _ := rfl |
| 34 | map_smul' _ _ := rfl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PropertySections |