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.Open.SubschemeSectionDiagram |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleScalars |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Injective |
| 4 | |
| 5 | /-! # Subscheme Coefficient Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SubschemeCoefficientUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual restriction unit is invertible on any diagram of opens |
| 12 | contained in the chosen open subscheme. A function on that subscheme |
| 13 | acts on its direct-image coefficient sheaf by genuine multiplication. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | variable {Y : Scheme.{u}} (V : Y.Opens) (N : Y.Modules) |
| 19 | |
| 20 | abbrev extension := (Scheme.Modules.pushforward V.ι).obj (N.restrict V.ι) |
| 21 | |
| 22 | def unit : N ⟶ extension V N := (Scheme.Modules.restrictAdjunction V.ι).unit.app N |
| 23 | |
| 24 | def scalar (z : Γ(Y,V)) : extension V N ⟶ extension V N := |
| 25 | (Scheme.Modules.pushforward V.ι).map |
| 26 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleScalars.globalModuleScalar (N.restrict V.ι) |
| 27 | (V.ι.appLE V ⊤ V.ι_preimage_self.ge z)) |
| 28 | |
| 29 | def imageInclusion (U : Y.Opens) : V.ι ''ᵁ (V.ι ⁻¹ᵁ U) ⟶ V := |
| 30 | homOfLE (by |
| 31 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι] |
| 32 | exact inf_le_left) |
| 33 | |
| 34 | theorem scalar_app (z : Γ(Y,V)) (U : Y.Opens) (x : Γ(extension V N,U)) : |
| 35 | (scalar V N z).app U x = |
| 36 | Y.presheaf.map (imageInclusion V U).op z • |
| 37 | (show Γ(N,V.ι ''ᵁ (V.ι ⁻¹ᵁ U)) from x) := by |
| 38 | change (V.ι.appIso (V.ι ⁻¹ᵁ U)).inv |
| 39 | (V.toScheme.presheaf.map (V.ι ⁻¹ᵁ U).leTop.op |
| 40 | (V.ι.appLE V ⊤ V.ι_preimage_self.ge z)) • |
| 41 | (show Γ(N,V.ι ''ᵁ (V.ι ⁻¹ᵁ U)) from x) = _ |
| 42 | have h := congrArg (fun a => a z) |
| 43 | ((V.ι.appLE_map V.ι_preimage_self.ge (V.ι ⁻¹ᵁ U).leTop.op).trans |
| 44 | (by rfl)) |
| 45 | have hring : (V.ι.appIso (V.ι ⁻¹ᵁ U)).inv |
| 46 | (V.toScheme.presheaf.map (V.ι ⁻¹ᵁ U).leTop.op |
| 47 | (V.ι.appLE V ⊤ V.ι_preimage_self.ge z)) = |
| 48 | Y.presheaf.map (imageInclusion V U).op z := by |
| 49 | have he := ConcreteCategory.congr_hom |
| 50 | (V.ι.appLE_appIso_inv ((V.ι ⁻¹ᵁ U).leTop.le.trans V.ι_preimage_self.ge)) z |
| 51 | exact (congrArg (V.ι.appIso (V.ι ⁻¹ᵁ U)).inv h).trans he |
| 52 | rw [hring] |
| 53 | |
| 54 | variable {C : Type v} [Category C] (F : C ⥤ Y.Opens) |
| 55 | (hF : ∀ r, F.obj r ≤ V) |
| 56 | |
| 57 | abbrev diagramMap := SubschemeSectionDiagram.coefficientMap F (SubschemeCoefficientUnit.unit V N) |
| 58 | |
| 59 | include hF in |
| 60 | theorem diagramMap_isIso : IsIso (diagramMap V N F) := by |
| 61 | rw [NatTrans.isIso_iff_isIso_app] |
| 62 | intro r |
| 63 | change IsIso (N.presheaf.map (homOfLE (V.ι.image_preimage_le (F.obj r.unop))).op) |
| 64 | have he : homOfLE (V.ι.image_preimage_le (F.obj r.unop)) = |
| 65 | eqToHom (SubschemeSectionDiagram.image_eq F V hF r.unop) := Subsingleton.elim _ _ |
| 66 | rw [he] |
| 67 | infer_instance |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SubschemeCoefficientUnit |