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.Koszul.TerminalScalars |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne |
| 3 | |
| 4 | /-! # Terminal Scalars -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalScalars |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The terminal object of the genuine principal-open diagram has |
| 11 | exactly the original sections. In particular, the literal scalar map |
| 12 | in its dual Koszul complex is invertible. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | |
| 21 | include hU in |
| 22 | theorem open_eq : SectionPresheaf.openSubset U (⊤_ (SectionPresheaf.Index U)) = U := by |
| 23 | apply le_antisymm (X.basicOpen_le _) |
| 24 | exact (AtOne.open_eq U).symm.le.trans |
| 25 | ((AffinePrincipal.Diagram.functor X U hU).map |
| 26 | (terminal.from (AtOne.object U))).le |
| 27 | |
| 28 | include hU in |
| 29 | theorem inclusion_isIso : IsIso (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))) := by |
| 30 | have he : SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U)) = eqToHom (open_eq U hU) := Subsingleton.elim _ _ |
| 31 | rw [he] |
| 32 | infer_instance |
| 33 | |
| 34 | theorem bijective : Function.Bijective |
| 35 | (algebraMap Γ(X, U) ((SectionPresheaf.rings U hU).obj (op (⊤_ (SectionPresheaf.Index U))))) := by |
| 36 | let := inclusion_isIso U hU |
| 37 | exact ConcreteCategory.bijective_of_isIso (X.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op) |
| 38 | |
| 39 | instance scalarsMap_isIso {c : ℕ} (s : Fin c → Γ(X, U)) : |
| 40 | IsIso (KoszulPartial.CanonicalMap.scalarsMap Γ(X, U) (SectionPresheaf.rings U hU) s) := |
| 41 | Koszul.TerminalScalars.isIso Γ(X, U) (SectionPresheaf.rings U hU) s (bijective U hU) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalScalars |