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.GlobalSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BicomplexHorizontalEdge |
| 3 | |
| 4 | /-! # Ordered Cech Edge -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The usual global-section edge for the original ordered Čech complex, |
| 11 | with arbitrary additive presheaf coefficients. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v |
| 19 | variable {X : TopCat.{u}} {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 20 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 21 | (P : (Opens X)ᵒᵖ ⥤ D) |
| 22 | |
| 23 | abbrev augmentation := RelativeCech.GlobalSections.globalAugmentation V P |
| 24 | |
| 25 | omit [Preadditive D] in |
| 26 | theorem augmentation_projection (a : AugmentedOrdered.Cech.Index ι 1) : |
| 27 | augmentation V P ≫ Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => P.obj (op ((AugmentedOrdered.Cech.formal V 1).obj b))) a = |
| 28 | P.map (homOfLE (le_top : (AugmentedOrdered.Cech.formal V 1).obj a ≤ ⊤)).op := Pi.lift_comp_π _ a |
| 29 | |
| 30 | omit [Preadditive D] in |
| 31 | theorem coface_coordinate (a : AugmentedOrdered.Cech.Index ι 2) (j : Fin 2) : |
| 32 | (augmentation V P ≫ AugmentedOrdered.Cech.coface V P 1 j) ≫ |
| 33 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι 2 => P.obj (op ((AugmentedOrdered.Cech.formal V 2).obj b))) a = |
| 34 | P.map (homOfLE (le_top : (AugmentedOrdered.Cech.formal V 2).obj a ≤ ⊤)).op := by |
| 35 | rw [Category.assoc, AugmentedOrdered.CechCoordinates.coface_comp_pi, ← Category.assoc, augmentation_projection, ← P.map_comp] |
| 36 | congr 1 |
| 37 | |
| 38 | theorem augmentation_d : augmentation V P ≫ AugmentedOrdered.Cech.differential V P 1 = 0 := by |
| 39 | apply Pi.hom_ext |
| 40 | intro (a : AugmentedOrdered.Cech.Index ι 2) |
| 41 | rw [zero_comp] |
| 42 | change (augmentation V P ≫ AugmentedOrdered.Cech.differential V P 1) ≫ |
| 43 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι 2 => P.obj (op ((AugmentedOrdered.Cech.formal V 2).obj b))) a = 0 |
| 44 | simp only [AugmentedOrdered.Cech.differential, Nat.reduceAdd, Fin.sum_univ_two, Fin.val_zero, Fin.val_one, |
| 45 | pow_zero, pow_one, one_zsmul, neg_one_zsmul, comp_add, add_comp, comp_neg, |
| 46 | neg_comp, coface_coordinate, add_neg_cancel] |
| 47 | |
| 48 | omit [Preadditive D] in |
| 49 | theorem augmentation_naturality {Q : (Opens X)ᵒᵖ ⥤ D} (f : P ⟶ Q) : |
| 50 | f.app (op (⊤ : Opens X)) ≫ augmentation V Q = |
| 51 | augmentation V P ≫ AugmentedOrdered.CechFunctor.objectMap V f 1 := by |
| 52 | apply Pi.hom_ext |
| 53 | intro (a : AugmentedOrdered.Cech.Index ι 1) |
| 54 | change (f.app (op (⊤ : Opens X)) ≫ augmentation V Q) ≫ |
| 55 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => Q.obj (op ((AugmentedOrdered.Cech.formal V 1).obj b))) a = |
| 56 | (augmentation V P ≫ AugmentedOrdered.CechFunctor.objectMap V f 1) ≫ |
| 57 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => Q.obj (op ((AugmentedOrdered.Cech.formal V 1).obj b))) a |
| 58 | rw [Category.assoc, augmentation_projection, Category.assoc, |
| 59 | AugmentedOrdered.CechCoordinates.objectMap_comp_pi, ← Category.assoc, augmentation_projection] |
| 60 | exact (f.naturality _).symm |
| 61 | |
| 62 | def bicomplex (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) : |
| 63 | HomologicalComplex₂ D (.up ℕ) (.up ℕ) := |
| 64 | ((OrderedCech.Functor.Projection.functor V).mapHomologicalComplex (.up ℕ)).obj K |
| 65 | |
| 66 | def sections (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) : CochainComplex D ℕ := |
| 67 | (((evaluation (Opens X)ᵒᵖ D).obj (op (⊤ : Opens X))).mapHomologicalComplex (.up ℕ)).obj K |
| 68 | |
| 69 | variable (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 70 | |
| 71 | theorem augmentation_comm (q q' : ℕ) : |
| 72 | augmentation V (K.X q) ≫ ((OrderedCechEdge.bicomplex V K).d q q').f 0 = |
| 73 | (sections K).d q q' ≫ augmentation V (K.X q') := |
| 74 | (augmentation_naturality V (K.X q) (K.d q q')).symm |
| 75 | |
| 76 | theorem augmentation_cocycle (q : ℕ) : |
| 77 | augmentation V (K.X q) ≫ ((OrderedCechEdge.bicomplex V K).X q).d 0 1 = 0 := by |
| 78 | change augmentation V (K.X q) ≫ (OrderedCech.Projection.complex V (K.X q)).d 0 1 = 0 |
| 79 | have hd : (OrderedCech.Projection.complex V (K.X q)).d 0 1 = AugmentedOrdered.Cech.differential V (K.X q) 1 := |
| 80 | CochainComplex.of_d (OrderedCech.Projection.object V (K.X q)) |
| 81 | (OrderedCech.Projection.differential V (K.X q)) 0 |
| 82 | rw [hd] |
| 83 | exact augmentation_d V (K.X q) |
| 84 | |
| 85 | variable [HasCoproducts.{0} D] |
| 86 | |
| 87 | def edge : sections K ⟶ (OrderedCechEdge.bicomplex V K).total (.up ℕ) := |
| 88 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (bicomplex V K)) (sections K) |
| 89 | (fun q => augmentation V (K.X q)) (fun q q' _ => augmentation_comm V K q q') |
| 90 | (augmentation_cocycle V K) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |