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.Principal.TerminalScalars |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ModuleFunctor |
| 3 | |
| 4 | /-! # Section Transformation Ext -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionTransformationExt |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A transformation between actual quasicoherent principal section |
| 11 | diagrams is determined by its original terminal component. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 18 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | (M N : X.Modules) [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 20 | (α β : SectionPresheaf.modules U hU M ⟶ SectionPresheaf.modules U hU N) |
| 21 | |
| 22 | include hU in |
| 23 | theorem ext (h : α.app (op (⊤_ (SectionPresheaf.Index U))) = β.app (op (⊤_ (SectionPresheaf.Index U)))) : α = β := by |
| 24 | apply NatTrans.ext |
| 25 | funext r |
| 26 | apply ModuleCat.hom_ext |
| 27 | let rM := AffinePrincipal.Sections.restriction U r.unop.val M |
| 28 | let rN := AffinePrincipal.Sections.restriction U r.unop.val N |
| 29 | let : IsLocalizedModule.Away r.unop.val rM := |
| 30 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize M ⟨U, hU⟩ r.unop.val |
| 31 | let : IsLocalizedModule.Away r.unop.val rN := |
| 32 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize N ⟨U, hU⟩ r.unop.val |
| 33 | apply IsLocalizedModule.linearMap_ext (Submonoid.powers r.unop.val) rM rN |
| 34 | apply LinearMap.ext |
| 35 | intro x |
| 36 | let p := terminal.from r.unop |
| 37 | let x₀ : (SectionPresheaf.modules U hU M).obj (op (⊤_ (SectionPresheaf.Index U))) := |
| 38 | M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op x |
| 39 | have hm : (SectionPresheaf.modules U hU M).map p.op x₀ = rM x := by |
| 40 | change M.presheaf.map (SectionPresheaf.arrow U hU p).op |
| 41 | (M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op x) = |
| 42 | M.presheaf.map (SectionPresheaf.inclusion U r.unop).op x |
| 43 | rw [← ConcreteCategory.comp_apply, ← M.presheaf.map_comp] |
| 44 | rfl |
| 45 | have hα := ConcreteCategory.congr_hom (α.naturality p.op) x₀ |
| 46 | have hβ := ConcreteCategory.congr_hom (β.naturality p.op) x₀ |
| 47 | change α.app r ((SectionPresheaf.modules U hU M).map p.op x₀) = |
| 48 | (SectionPresheaf.modules U hU N).map p.op (α.app (op (⊤_ (SectionPresheaf.Index U))) x₀) at hα |
| 49 | change β.app r ((SectionPresheaf.modules U hU M).map p.op x₀) = |
| 50 | (SectionPresheaf.modules U hU N).map p.op (β.app (op (⊤_ (SectionPresheaf.Index U))) x₀) at hβ |
| 51 | rw [hm, h] at hα |
| 52 | rw [hm] at hβ |
| 53 | exact hα.trans hβ.symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionTransformationExt |