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 | |
| 3 | /-! # Sections Open Equality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsOpenEquality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical transport between equal neighborhoods preserves |
| 10 | supported sections, their inclusion, and extension to global sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u v w |
| 15 | variable {D : Type u} [Category.{v} D] [Abelian D] {X : TopCat.{w}} |
| 16 | (O U V : Opens X) (h : U = V) |
| 17 | |
| 18 | def iso : |
| 19 | SectionsExcision.supported (D := D) U (U ⊓ O) inf_le_left ≅ |
| 20 | SectionsExcision.supported V (V ⊓ O) inf_le_left := |
| 21 | eqToIso (congrArg (fun W => |
| 22 | SectionsExcision.supported (D := D) W (W ⊓ O) inf_le_left) h) |
| 23 | |
| 24 | theorem inclusion (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 25 | (iso O U V h).hom.app F ≫ (SectionsExcision.inclusion V (V ⊓ O) inf_le_left).app F = |
| 26 | (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F ≫ |
| 27 | F.obj.map (eqToHom h.symm).op := by |
| 28 | subst V |
| 29 | change 𝟙 _ ≫ (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F = |
| 30 | (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F ≫ F.obj.map (𝟙 (op U)) |
| 31 | erw [Category.id_comp, F.obj.map_id, Category.comp_id] |
| 32 | |
| 33 | theorem extension (hU : U ⊔ O = ⊤) (hV : V ⊔ O = ⊤) |
| 34 | (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 35 | (iso O U V h).hom.app F ≫ (SectionsExcision.extension O V hV).app F = |
| 36 | (SectionsExcision.extension O U hU).app F := by |
| 37 | subst V |
| 38 | simp [iso] |
| 39 | |
| 40 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 41 | |
| 42 | def complexIso := (NatIso.mapHomologicalComplex (iso (D := D) O U V h) (.up ℕ)).app K |
| 43 | |
| 44 | theorem complex_extension (hU : U ⊔ O = ⊤) (hV : V ⊔ O = ⊤) : |
| 45 | (complexIso O U V h K).hom ≫ SectionsExcision.extensionComplex O V hV K = |
| 46 | SectionsExcision.extensionComplex O U hU K := by |
| 47 | apply HomologicalComplex.Hom.ext |
| 48 | funext n |
| 49 | exact extension O U V h hU hV (K.X n) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsOpenEquality |