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.OrderedCech.Augmentation |
| 2 | import Mathlib.Algebra.Category.ModuleCat.EpiMono |
| 3 | |
| 4 | /-! # Structure Unit -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Global.StructureUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual constant-function map into the global sections of a |
| 11 | direct-image structure sheaf, with its normalization at one. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) |
| 21 | |
| 22 | abbrev directImage := (Scheme.Modules.pushforward f).obj (SheafOfModules.unit X.ringCatSheaf) |
| 23 | |
| 24 | def map : ModuleCat.of Γ(S, ⊤) Γ(S, ⊤) ⟶ |
| 25 | (OrderedCech.Augmentation.sections π).obj (directImage f) := |
| 26 | ModuleCat.ofHom (X := ModuleCat.of Γ(S, ⊤) Γ(S, ⊤)) |
| 27 | (Y := (OrderedCech.Augmentation.sections π).obj (directImage f)) |
| 28 | { toFun := fun r => f.appTop (π.appTop r) |
| 29 | map_add' := by intro r s; simp only [map_add] |
| 30 | map_smul' := by |
| 31 | intro r s |
| 32 | change f.appTop (π.appTop (r * s)) = f.appTop (π.appTop r) * f.appTop (π.appTop s) |
| 33 | simp only [map_mul] } |
| 34 | |
| 35 | @[simp] |
| 36 | theorem map_apply (r : Γ(S, ⊤)) : map f π r = f.appTop (π.appTop r) := rfl |
| 37 | |
| 38 | @[simp] |
| 39 | theorem map_one : map f π 1 = (1 : Γ(X, ⊤)) := by |
| 40 | change f.appTop.hom (π.appTop.hom 1) = 1 |
| 41 | rw [RingHom.map_one, RingHom.map_one] |
| 42 | |
| 43 | theorem bijective [IsIso (f ≫ π).appTop] : Function.Bijective (map f π) := by |
| 44 | have h := ConcreteCategory.bijective_of_isIso (f ≫ π).appTop |
| 45 | rw [Scheme.Hom.comp_appTop] at h |
| 46 | exact h |
| 47 | |
| 48 | instance map_isIso [IsIso (f ≫ π).appTop] : IsIso (map f π) := |
| 49 | (ConcreteCategory.isIso_iff_bijective _).mpr (bijective f π) |
| 50 | |
| 51 | def iso [IsIso (f ≫ π).appTop] : ModuleCat.of Γ(S, ⊤) Γ(S, ⊤) ≅ |
| 52 | (OrderedCech.Augmentation.sections π).obj (directImage f) := asIso (map f π) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Global.StructureUnit |