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 Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction between two neighborhoods of the same support is the |
| 10 | literal map of section kernels. It commutes with extension to global |
| 11 | sections, on sheaves, complexes, and cohomology. -/ |
| 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] {X : TopCat.{w}} |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsExcision |
| 18 | |
| 19 | def map (O U V : Opens X) (h : V ≤ U) : |
| 20 | SectionsExcision.supported (D := D) U (U ⊓ O) inf_le_left ⟶ SectionsExcision.supported V (V ⊓ O) inf_le_left where |
| 21 | app F := kernel.map _ _ ((SectionsExcision.restriction U V h).app F) |
| 22 | ((SectionsExcision.restriction (U ⊓ O) (V ⊓ O) (inf_le_inf_right O h)).app F) (by |
| 23 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ ≫ F.obj.map _ |
| 24 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 25 | congr 1) |
| 26 | naturality F G f := by |
| 27 | apply (cancel_mono (kernel.ι ((SectionsExcision.restriction V (V ⊓ O) inf_le_left).app G))).mp |
| 28 | simpa only [SectionsExcision.supported, kernel.map, Category.assoc, kernel.lift_ι, kernel.lift_ι_assoc] using |
| 29 | congrArg (fun a => kernel.ι ((SectionsExcision.restriction U (U ⊓ O) inf_le_left).app F) ≫ a) |
| 30 | ((SectionsExcision.restriction U V h).naturality f) |
| 31 | |
| 32 | theorem inclusion_square (O U V : Opens X) (h : V ≤ U) |
| 33 | (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 34 | (SectionsRestriction.map O U V h).app F ≫ (SectionsExcision.inclusion V (V ⊓ O) inf_le_left).app F = |
| 35 | (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F ≫ (SectionsExcision.restriction U V h).app F := |
| 36 | kernel.lift_ι _ _ _ |
| 37 | |
| 38 | theorem excision_square (O U V : Opens X) (h : V ≤ U) : |
| 39 | SectionsExcision.excision (D := D) O U ≫ SectionsRestriction.map O U V h = SectionsExcision.excision O V := by |
| 40 | apply NatTrans.ext |
| 41 | funext F |
| 42 | apply (cancel_mono (kernel.ι ((SectionsExcision.restriction V (V ⊓ O) inf_le_left).app F))).mp |
| 43 | change ((SectionsExcision.excision O U).app F ≫ (SectionsRestriction.map O U V h).app F) ≫ |
| 44 | (SectionsExcision.inclusion V (V ⊓ O) inf_le_left).app F = |
| 45 | (SectionsExcision.excision O V).app F ≫ (SectionsExcision.inclusion V (V ⊓ O) inf_le_left).app F |
| 46 | rw [Category.assoc, inclusion_square, ← Category.assoc, SectionsExcision.excision_inclusion, |
| 47 | SectionsExcision.excision_inclusion, Category.assoc] |
| 48 | change (SectionsExcision.inclusion ⊤ O le_top).app F ≫ (F.obj.map _ ≫ F.obj.map _) = |
| 49 | (SectionsExcision.inclusion ⊤ O le_top).app F ≫ F.obj.map _ |
| 50 | rw [← F.obj.map_comp] |
| 51 | congr 1 |
| 52 | |
| 53 | theorem cover (O U V : Opens X) (h : V ≤ U) (hV : V ⊔ O = ⊤) : U ⊔ O = ⊤ := by |
| 54 | apply top_unique |
| 55 | rw [← hV] |
| 56 | exact sup_le_sup_right h O |
| 57 | |
| 58 | theorem excision_extension (O U : Opens X) (hU : U ⊔ O = ⊤) : |
| 59 | SectionsExcision.excision (D := D) O U ≫ SectionsExcision.extension O U hU = SectionsExcision.inclusion ⊤ O le_top := by |
| 60 | change (SectionsExcision.excisionIso O U hU).hom ≫ (SectionsExcision.excisionIso O U hU).inv ≫ SectionsExcision.inclusion ⊤ O le_top = _ |
| 61 | rw [Iso.hom_inv_id_assoc] |
| 62 | |
| 63 | theorem extension_square (O U V : Opens X) (h : V ≤ U) |
| 64 | (hU : U ⊔ O = ⊤) (hV : V ⊔ O = ⊤) : |
| 65 | SectionsRestriction.map (D := D) O U V h ≫ SectionsExcision.extension O V hV = SectionsExcision.extension O U hU := by |
| 66 | apply (cancel_epi (SectionsExcision.excisionIso (D := D) O U hU).hom).mp |
| 67 | change SectionsExcision.excision O U ≫ (SectionsRestriction.map O U V h ≫ SectionsExcision.extension O V hV) = SectionsExcision.excision O U ≫ SectionsExcision.extension O U hU |
| 68 | rw [← Category.assoc, excision_square, excision_extension, excision_extension] |
| 69 | |
| 70 | def complex (O U V : Opens X) (h : V ≤ U) |
| 71 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) := |
| 72 | (NatTrans.mapHomologicalComplex (SectionsRestriction.map O U V h) (.up ℕ)).app K |
| 73 | |
| 74 | theorem complex_extension (O U V : Opens X) (h : V ≤ U) |
| 75 | (hU : U ⊔ O = ⊤) (hV : V ⊔ O = ⊤) |
| 76 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) : |
| 77 | complex O U V h K ≫ SectionsExcision.extensionComplex O V hV K = SectionsExcision.extensionComplex O U hU K := by |
| 78 | apply HomologicalComplex.Hom.ext |
| 79 | funext n |
| 80 | exact congrArg (fun a => a.app (K.X n)) (extension_square (D := D) O U V h hU hV) |
| 81 | |
| 82 | theorem homology_extension (O U V : Opens X) (h : V ≤ U) |
| 83 | (hU : U ⊔ O = ⊤) (hV : V ⊔ O = ⊤) |
| 84 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) (n : ℕ) : |
| 85 | HomologicalComplex.homologyMap (complex O U V h K) n ≫ |
| 86 | HomologicalComplex.homologyMap (SectionsExcision.extensionComplex O V hV K) n = |
| 87 | HomologicalComplex.homologyMap (SectionsExcision.extensionComplex O U hU K) n := by |
| 88 | rw [← HomologicalComplex.homologyMap_comp, complex_extension] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsRestriction |