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.RelativeCech.ExtensionNaturality |
| 2 | |
| 3 | /-! # Global Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.GlobalSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Relative extension recovers the ordinary global Čech augmentation |
| 10 | on sections which vanish on the complementary charts. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionComponents |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v |
| 20 | variable {X : TopCat.{u}} (U : Opens X) |
| 21 | {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 22 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 23 | (P : X.Presheaf D) |
| 24 | |
| 25 | def relativeAugmentation : P.obj (op (⊤ : Opens X)) ⟶ AugmentedOrdered.Cech.object V (Intersections.presheaf U P) 0 := |
| 26 | Pi.lift fun a : AugmentedOrdered.Cech.Index ι 0 => P.map |
| 27 | (homOfLE (le_top : U ⊓ (AugmentedOrdered.Cech.formal V 0).obj a ≤ ⊤)).op |
| 28 | |
| 29 | def globalAugmentation : P.obj (op (⊤ : Opens X)) ⟶ AugmentedOrdered.Cech.object V P 1 := |
| 30 | Pi.lift fun a : AugmentedOrdered.Cech.Index ι 1 => P.map |
| 31 | (homOfLE (le_top : (AugmentedOrdered.Cech.formal V 1).obj a ≤ ⊤)).op |
| 32 | |
| 33 | omit [Preadditive D] in |
| 34 | theorem relativeAugmentation_projection (a : AugmentedOrdered.Cech.Index ι 0) : |
| 35 | relativeAugmentation U V P ≫ ExtensionComponents.sourceProjection U V P a = |
| 36 | P.map (homOfLE (le_top : U ⊓ (AugmentedOrdered.Cech.formal V 0).obj a ≤ ⊤)).op := |
| 37 | Pi.lift_comp_π _ a |
| 38 | |
| 39 | omit [Preadditive D] in |
| 40 | theorem globalAugmentation_projection (a : AugmentedOrdered.Cech.Index (WithBot ι) 1) : |
| 41 | globalAugmentation (Intersections.cover U V) P ≫ ExtensionComponents.targetProjection U V P a = |
| 42 | P.map (homOfLE (le_top : (AugmentedOrdered.Cech.formal (Intersections.cover U V) 1).obj a ≤ ⊤)).op := |
| 43 | Pi.lift_comp_π _ a |
| 44 | |
| 45 | theorem augmentation_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) 1) (h : a.val 0 = ⊥) : |
| 46 | (relativeAugmentation U V P ≫ ExtensionComponents.component U V P 0) ≫ ExtensionComponents.targetProjection U V P a = |
| 47 | P.map (homOfLE (le_top : (AugmentedOrdered.Cech.formal (Intersections.cover U V) 1).obj a ≤ ⊤)).op := by |
| 48 | rw [Category.assoc, ExtensionComponents.component_bot U V P a h, pow_zero, one_zsmul, |
| 49 | ← Category.assoc, relativeAugmentation_projection, ← P.map_comp] |
| 50 | congr 1 |
| 51 | |
| 52 | variable {M : D} (s : M ⟶ P.obj (op (⊤ : Opens X))) |
| 53 | (hV : ∀ i, s ≫ P.map (homOfLE (le_top : V i ≤ ⊤)).op = 0) |
| 54 | |
| 55 | include hV in |
| 56 | omit [HasProducts D] in |
| 57 | theorem complementary_zero (a : AugmentedOrdered.Cech.Index (WithBot ι) 1) (h : a.val 0 ≠ ⊥) : |
| 58 | s ≫ P.map (homOfLE (le_top : (AugmentedOrdered.Cech.formal (Intersections.cover U V) 1).obj a ≤ ⊤)).op = 0 := by |
| 59 | let i := (a.val 0).unbot h |
| 60 | have hi : (AugmentedOrdered.Cech.formal (Intersections.cover U V) 1).obj a ≤ V i := by |
| 61 | have ht := leOfHom (Pi.π (fun j : Fin 1 => Intersections.cover U V (a.val j)) 0) |
| 62 | rw [← WithBot.coe_unbot (a.val 0) h, Intersections.cover_coe] at ht |
| 63 | exact ht |
| 64 | calc |
| 65 | _ = (s ≫ P.map (homOfLE (le_top : V i ≤ ⊤)).op) ≫ P.map (homOfLE hi).op := by |
| 66 | rw [Category.assoc, ← P.map_comp] |
| 67 | congr 1 |
| 68 | _ = 0 := by rw [hV i, zero_comp] |
| 69 | |
| 70 | include hV in |
| 71 | theorem augmentation : |
| 72 | (s ≫ relativeAugmentation U V P) ≫ ExtensionComponents.component U V P 0 = |
| 73 | s ≫ globalAugmentation (Intersections.cover U V) P := by |
| 74 | classical |
| 75 | apply Pi.hom_ext |
| 76 | intro (a : AugmentedOrdered.Cech.Index (WithBot ι) 1) |
| 77 | change _ ≫ ExtensionComponents.targetProjection U V P a = _ ≫ ExtensionComponents.targetProjection U V P a |
| 78 | rw [Category.assoc s, Category.assoc s, Category.assoc s, |
| 79 | globalAugmentation_projection] |
| 80 | by_cases h : a.val 0 = ⊥ |
| 81 | · rw [augmentation_bot U V P a h] |
| 82 | · rw [Category.assoc, ExtensionComponents.component_ne_bot U V P a h, comp_zero, comp_zero, |
| 83 | complementary_zero U V P s hV a h] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.GlobalSections |