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.SectionTransformationExt |
| 2 | |
| 3 | /-! # Section Transformation At One -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionTransformationAtOne.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality at the literal unit principal open determines a map of |
| 10 | quasicoherent principal section diagrams. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 17 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 18 | (M N : X.Modules) [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 19 | (α β : SectionPresheaf.modules U hU M ⟶ SectionPresheaf.modules U hU N) |
| 20 | |
| 21 | theorem ext_atOne (h : α.app (op (AtOne.object U)) = |
| 22 | β.app (op (AtOne.object U))) : α = β := by |
| 23 | apply SectionTransformationExt.ext U hU M N α β |
| 24 | let p := terminal.from (AtOne.object U) |
| 25 | have ha : SectionPresheaf.arrow U hU p = eqToHom |
| 26 | ((AtOne.open_eq U).trans |
| 27 | (TerminalScalars.open_eq U hU).symm) := Subsingleton.elim _ _ |
| 28 | have : IsIso (SectionPresheaf.arrow U hU p) := by rw [ha]; infer_instance |
| 29 | have hinj := (ConcreteCategory.bijective_of_isIso |
| 30 | (N.presheaf.map (SectionPresheaf.arrow U hU p).op)).injective |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | apply hinj |
| 35 | have hα := ConcreteCategory.congr_hom (α.naturality p.op) x |
| 36 | have hβ := ConcreteCategory.congr_hom (β.naturality p.op) x |
| 37 | change α.app (op (AtOne.object U)) |
| 38 | ((SectionPresheaf.modules U hU M).map p.op x) = |
| 39 | N.presheaf.map (SectionPresheaf.arrow U hU p).op (α.app (op (⊤_ (SectionPresheaf.Index U))) x) at hα |
| 40 | change β.app (op (AtOne.object U)) |
| 41 | ((SectionPresheaf.modules U hU M).map p.op x) = |
| 42 | N.presheaf.map (SectionPresheaf.arrow U hU p).op (β.app (op (⊤_ (SectionPresheaf.Index U))) x) at hβ |
| 43 | rw [h] at hα |
| 44 | exact hα.symm.trans hβ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionTransformationAtOne.Ext |