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.Presheaf.OrderedCechEdge |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Refinement |
| 4 | |
| 5 | /-! # Edge Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.EdgeRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full ordered Čech refinement preserves the literal global-section |
| 12 | edge, including its degree-zero augmentation. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |
| 19 | variable {X : TopCat.{u}} |
| 20 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 21 | (U : ι → Opens X) (V : κ → Opens X) |
| 22 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 23 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 24 | |
| 25 | omit [HasCoproducts D] in |
| 26 | theorem augmentation_eq (P : (Opens X)ᵒᵖ ⥤ D) : |
| 27 | Presheaf.OrderedCechEdge.augmentation U P = P.map (homOfLE (le_top : (⊤_ Opens X) ≤ ⊤)).op ≫ |
| 28 | (AugmentedOrdered.CechZero.zeroIso U P).inv ≫ AugmentedOrdered.Cech.differential U P 0 := by |
| 29 | apply Pi.hom_ext |
| 30 | intro (a : AugmentedOrdered.Cech.Index ι 1) |
| 31 | change Presheaf.OrderedCechEdge.augmentation U P ≫ Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => P.obj (op ((AugmentedOrdered.Cech.formal U 1).obj b))) a = |
| 32 | (P.map (homOfLE (le_top : (⊤_ Opens X) ≤ ⊤)).op ≫ (AugmentedOrdered.CechZero.zeroIso U P).inv ≫ AugmentedOrdered.Cech.differential U P 0) ≫ |
| 33 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => P.obj (op ((AugmentedOrdered.Cech.formal U 1).obj b))) a |
| 34 | erw [Presheaf.OrderedCechEdge.augmentation_projection, Category.assoc, Category.assoc, |
| 35 | AugmentedOrdered.CechZero.zeroIso_inv_differential_π, ← P.map_comp] |
| 36 | congr 1 |
| 37 | |
| 38 | omit [HasCoproducts D] in |
| 39 | theorem augmentation_refinement (P : (Opens X)ᵒᵖ ⥤ D) : |
| 40 | Presheaf.OrderedCechEdge.augmentation U P ≫ (Refinement.map U V r P).f 0 = Presheaf.OrderedCechEdge.augmentation V P := by |
| 41 | have h := (AugmentedOrdered.CechRefinement.map U V r P).comm 0 1 |
| 42 | rw [show (AugmentedOrdered.Cech.complex V P).d 0 1 = AugmentedOrdered.Cech.differential V P 0 from |
| 43 | CochainComplex.of_d (AugmentedOrdered.Cech.object V P) (AugmentedOrdered.Cech.differential V P) 0, |
| 44 | show (AugmentedOrdered.Cech.complex U P).d 0 1 = AugmentedOrdered.Cech.differential U P 0 from |
| 45 | CochainComplex.of_d (AugmentedOrdered.Cech.object U P) (AugmentedOrdered.Cech.differential U P) 0] at h |
| 46 | simp only [ |
| 47 | AugmentedOrdered.CechRefinement.map_f_zero, |
| 48 | AugmentedOrdered.CechRefinement.map_f_succ] at h |
| 49 | change ((AugmentedOrdered.CechZero.zeroIso U P).hom ≫ (AugmentedOrdered.CechZero.zeroIso V P).inv) ≫ AugmentedOrdered.Cech.differential V P 0 = |
| 50 | AugmentedOrdered.Cech.differential U P 0 ≫ (Refinement.map U V r P).f 0 at h |
| 51 | have hh := congrArg ((AugmentedOrdered.CechZero.zeroIso U P).inv ≫ ·) h |
| 52 | rw [augmentation_eq, augmentation_eq] |
| 53 | have ht := congrArg (P.map (homOfLE (le_top : (⊤_ Opens X) ≤ ⊤)).op ≫ ·) hh.symm |
| 54 | simpa only [Category.assoc, Iso.inv_hom_id_assoc] using ht |
| 55 | |
| 56 | theorem edge (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) : |
| 57 | Presheaf.OrderedCechEdge.edge U K ≫ Refinement.totalMap U V r K = |
| 58 | Presheaf.OrderedCechEdge.edge V K := by |
| 59 | have h := BicomplexHorizontalEdge.naturality |
| 60 | (Presheaf.OrderedCechEdge.bicomplex U K) (Presheaf.OrderedCechEdge.sections K) (fun q => Presheaf.OrderedCechEdge.augmentation U (K.X q)) |
| 61 | (fun q q' _ => Presheaf.OrderedCechEdge.augmentation_comm U K q q') (Presheaf.OrderedCechEdge.augmentation_cocycle U K) |
| 62 | (Presheaf.OrderedCechEdge.bicomplex V K) (Presheaf.OrderedCechEdge.sections K) (fun q => Presheaf.OrderedCechEdge.augmentation V (K.X q)) |
| 63 | (fun q q' _ => Presheaf.OrderedCechEdge.augmentation_comm V K q q') (Presheaf.OrderedCechEdge.augmentation_cocycle V K) |
| 64 | (Refinement.bicomplexMap U V r K) (𝟙 _) (fun q => by |
| 65 | change Presheaf.OrderedCechEdge.augmentation U (K.X q) ≫ (Refinement.map U V r (K.X q)).f 0 = |
| 66 | 𝟙 _ ≫ Presheaf.OrderedCechEdge.augmentation V (K.X q) |
| 67 | rw [Category.id_comp] |
| 68 | exact augmentation_refinement U V r (K.X q)) |
| 69 | simpa only [Category.id_comp, Presheaf.OrderedCechEdge.edge, |
| 70 | Refinement.totalMap] using h |
| 71 | |
| 72 | theorem homology (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) (q : ℕ) : |
| 73 | homologyMap (Presheaf.OrderedCechEdge.edge U K) q ≫ |
| 74 | homologyMap (Refinement.totalMap U V r K) q = |
| 75 | homologyMap (Presheaf.OrderedCechEdge.edge V K) q := by |
| 76 | simpa only [homologyMap_comp] using congrArg (fun f => homologyMap f q) (edge U V r K) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.EdgeRefinement |