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.Supported.SectionsExcision |
| 2 | import Mathlib.Topology.Sheaves.Sheaf |
| 3 | |
| 4 | /-! # Sections Pushforward -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsPushforward |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Supported sections of a pushed sheaf are the actual sections over |
| 11 | inverse images. Their extension to global sections is unchanged. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v w |
| 16 | variable {D : Type u} [Category.{v} D] [Abelian D] |
| 17 | {X Y : TopCat.{w}} (f : Y ⟶ X) |
| 18 | |
| 19 | abbrev preimage : Opens X ⥤ Opens Y := Opens.map f |
| 20 | |
| 21 | def pushforward : Sheaf (Opens.grothendieckTopology Y) D ⥤ |
| 22 | Sheaf (Opens.grothendieckTopology X) D := |
| 23 | (preimage f).sheafPushforwardContinuous D |
| 24 | (Opens.grothendieckTopology X) (Opens.grothendieckTopology Y) |
| 25 | |
| 26 | instance pushforward_additive : (pushforward (D := D) f).Additive where |
| 27 | map_add := by intros; rfl |
| 28 | |
| 29 | def sectionsIso (U : Opens X) : |
| 30 | pushforward (D := D) f ⋙ SectionsExcision.sections U ≅ |
| 31 | SectionsExcision.sections ((preimage f).obj U) := Iso.refl _ |
| 32 | |
| 33 | def supportedIso (O U : Opens X) : |
| 34 | pushforward (D := D) f ⋙ SectionsExcision.supported U (U ⊓ O) inf_le_left ≅ |
| 35 | SectionsExcision.supported ((preimage f).obj U) |
| 36 | ((preimage f).obj U ⊓ (preimage f).obj O) inf_le_left := Iso.refl _ |
| 37 | |
| 38 | theorem preimage_cover (O U : Opens X) (hcover : U ⊔ O = ⊤) : |
| 39 | (preimage f).obj U ⊔ (preimage f).obj O = ⊤ := by |
| 40 | change (preimage f).obj (U ⊔ O) = (preimage f).obj ⊤ |
| 41 | rw [hcover] |
| 42 | |
| 43 | theorem excision (O U : Opens X) (N : Sheaf (Opens.grothendieckTopology Y) D) : |
| 44 | (SectionsExcision.excision O U).app ((pushforward f).obj N) = |
| 45 | (SectionsExcision.excision ((preimage f).obj O) ((preimage f).obj U)).app N := rfl |
| 46 | |
| 47 | theorem extension (O U : Opens X) (hcover : U ⊔ O = ⊤) |
| 48 | (N : Sheaf (Opens.grothendieckTopology Y) D) : |
| 49 | (SectionsExcision.extension O U hcover).app ((pushforward f).obj N) = |
| 50 | (SectionsExcision.extension ((preimage f).obj O) ((preimage f).obj U) |
| 51 | (preimage_cover f O U hcover)).app N := rfl |
| 52 | |
| 53 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology Y) D) ℕ) |
| 54 | |
| 55 | abbrev pushed := ((pushforward (D := D) f).mapHomologicalComplex (.up ℕ)).obj K |
| 56 | |
| 57 | def sourceIso (O U : Opens X) : |
| 58 | ((SectionsExcision.supported U (U ⊓ O) inf_le_left).mapHomologicalComplex (.up ℕ)).obj |
| 59 | (pushed f K) ≅ |
| 60 | ((SectionsExcision.supported ((preimage f).obj U) |
| 61 | ((preimage f).obj U ⊓ (preimage f).obj O) inf_le_left).mapHomologicalComplex (.up ℕ)).obj K := |
| 62 | Iso.refl _ |
| 63 | |
| 64 | def globalIso : |
| 65 | ((SectionsExcision.sections (⊤ : Opens X)).mapHomologicalComplex (.up ℕ)).obj |
| 66 | (pushed f K) ≅ |
| 67 | ((SectionsExcision.sections (⊤ : Opens Y)).mapHomologicalComplex (.up ℕ)).obj K := |
| 68 | Iso.refl _ |
| 69 | |
| 70 | theorem complex_extension (O U : Opens X) (hcover : U ⊔ O = ⊤) : |
| 71 | SectionsExcision.extensionComplex O U hcover (pushed f K) ≫ (globalIso f K).hom = |
| 72 | (sourceIso f K O U).hom ≫ |
| 73 | SectionsExcision.extensionComplex ((preimage f).obj O) ((preimage f).obj U) |
| 74 | (preimage_cover f O U hcover) K := by |
| 75 | apply HomologicalComplex.Hom.ext |
| 76 | funext q |
| 77 | change (SectionsExcision.extension O U hcover).app ((pushforward f).obj (K.X q)) ≫ 𝟙 _ = |
| 78 | 𝟙 _ ≫ (SectionsExcision.extension ((preimage f).obj O) ((preimage f).obj U) |
| 79 | (preimage_cover f O U hcover)).app (K.X q) |
| 80 | rw [Category.comp_id, Category.id_comp, extension] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsPushforward |