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.AugmentedOrdered.CechCoordinates |
| 2 | |
| 3 | /-! # Component Squares -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComponentSquares |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Projection tests for literal component maps into the ordered Čech |
| 10 | objects, before any coefficient complexes are substituted. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechCoordinates |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 19 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 20 | {A B : D} (δ : A ⟶ B) |
| 21 | |
| 22 | omit [Preadditive D] in |
| 23 | theorem horizontal_projection {P Q : Cᵒᵖ ⥤ D} (d : P ⟶ Q) (q : ℕ) |
| 24 | (f : ∀ a : AugmentedOrdered.Cech.Index ι q, A ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) (a : AugmentedOrdered.Cech.Index ι q) : |
| 25 | (Pi.lift f ≫ AugmentedOrdered.CechFunctor.objectMap U d q) ≫ |
| 26 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι q => Q.obj (op ((AugmentedOrdered.Cech.formal U q).obj b))) a = |
| 27 | f a ≫ d.app (op ((AugmentedOrdered.Cech.formal U q).obj a)) := |
| 28 | (Category.assoc _ _ _).trans ((congrArg (Pi.lift f ≫ ·) (AugmentedOrdered.CechCoordinates.objectMap_comp_pi U P d q a)).trans |
| 29 | ((Category.assoc _ _ _).symm.trans (congrArg (· ≫ d.app _) (Pi.lift_comp_π f a)))) |
| 30 | |
| 31 | omit [Preadditive D] in |
| 32 | theorem horizontal {P Q : Cᵒᵖ ⥤ D} (d : P ⟶ Q) (q : ℕ) |
| 33 | (f : ∀ a : AugmentedOrdered.Cech.Index ι q, A ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) |
| 34 | (g : ∀ a : AugmentedOrdered.Cech.Index ι q, B ⟶ Q.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) |
| 35 | (h : ∀ a, f a ≫ d.app (op ((AugmentedOrdered.Cech.formal U q).obj a)) = δ ≫ g a) : |
| 36 | Pi.lift f ≫ AugmentedOrdered.CechFunctor.objectMap U d q = δ ≫ Pi.lift g := by |
| 37 | apply Pi.hom_ext |
| 38 | intro a |
| 39 | exact (horizontal_projection U d q f a).trans ((h a).trans |
| 40 | ((Category.assoc _ _ _).trans (congrArg (δ ≫ ·) (Pi.lift_comp_π g a))).symm) |
| 41 | |
| 42 | theorem vertical_projection (P : Cᵒᵖ ⥤ D) (q : ℕ) |
| 43 | (f : ∀ a : AugmentedOrdered.Cech.Index ι q, A ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) (a : AugmentedOrdered.Cech.Index ι (q + 1)) : |
| 44 | (Pi.lift f ≫ AugmentedOrdered.Cech.differential U P q) ≫ |
| 45 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι (q + 1) => P.obj (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj b))) a = |
| 46 | ∑ k : Fin (q + 1), (-1 : ℤ) ^ k.val • (f (a.delete k) ≫ P.map ((AugmentedOrdered.Cech.face U q k).φ a).op) := by |
| 47 | refine (Category.assoc _ _ _).trans |
| 48 | ((congrArg (Pi.lift f ≫ ·) (AugmentedOrdered.CechCoordinates.differential_comp_pi U P q a)).trans ?_) |
| 49 | rw [comp_sum] |
| 50 | apply Finset.sum_congr rfl |
| 51 | intro k _ |
| 52 | rw [comp_zsmul] |
| 53 | exact congrArg (fun z => (-1 : ℤ) ^ k.val • z) |
| 54 | ((Category.assoc _ _ _).symm.trans (congrArg (· ≫ P.map ((AugmentedOrdered.Cech.face U q k).φ a).op) |
| 55 | (Pi.lift_comp_π f (a.delete k)))) |
| 56 | |
| 57 | theorem vertical (P : Cᵒᵖ ⥤ D) (q : ℕ) |
| 58 | (f : ∀ a : AugmentedOrdered.Cech.Index ι q, A ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) |
| 59 | (g : ∀ a : AugmentedOrdered.Cech.Index ι (q + 1), B ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj a))) |
| 60 | (h : ∀ a, (∑ k : Fin (q + 1), (-1 : ℤ) ^ k.val • |
| 61 | (f (a.delete k) ≫ P.map ((AugmentedOrdered.Cech.face U q k).φ a).op)) = δ ≫ g a) : |
| 62 | Pi.lift f ≫ AugmentedOrdered.Cech.differential U P q = δ ≫ Pi.lift g := by |
| 63 | apply Pi.hom_ext |
| 64 | intro a |
| 65 | exact (vertical_projection U P q f a).trans ((h a).trans |
| 66 | ((Category.assoc _ _ _).trans (congrArg (δ ≫ ·) (Pi.lift_comp_π g a))).symm) |
| 67 | |
| 68 | theorem mixed {P Q : Cᵒᵖ ⥤ D} (d : P ⟶ Q) (q : ℕ) (sign : ℤ) |
| 69 | (f₀ : ∀ a : AugmentedOrdered.Cech.Index ι (q + 1), A ⟶ P.obj (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj a))) |
| 70 | (f₁ : ∀ a : AugmentedOrdered.Cech.Index ι q, A ⟶ Q.obj (op ((AugmentedOrdered.Cech.formal U q).obj a))) |
| 71 | (g : ∀ a : AugmentedOrdered.Cech.Index ι (q + 1), B ⟶ Q.obj (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj a))) |
| 72 | (h : ∀ a, f₀ a ≫ d.app (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj a)) + |
| 73 | sign • (∑ k : Fin (q + 1), (-1 : ℤ) ^ k.val • |
| 74 | (f₁ (a.delete k) ≫ Q.map ((AugmentedOrdered.Cech.face U q k).φ a).op)) = δ ≫ g a) : |
| 75 | Pi.lift f₀ ≫ AugmentedOrdered.CechFunctor.objectMap U d (q + 1) + sign • (Pi.lift f₁ ≫ AugmentedOrdered.Cech.differential U Q q) = |
| 76 | δ ≫ Pi.lift g := by |
| 77 | apply Pi.hom_ext |
| 78 | intro a |
| 79 | refine (add_comp _ _ _ _ _ _).trans ?_ |
| 80 | refine (congrArg₂ (· + ·) (horizontal_projection U d (q + 1) f₀ a) |
| 81 | ((zsmul_comp _ _ _).trans |
| 82 | (congrArg (fun z => sign • z) (vertical_projection U Q q f₁ a)))).trans ?_ |
| 83 | exact (h a).trans |
| 84 | ((Category.assoc _ _ _).trans (congrArg (δ ≫ ·) (Pi.lift_comp_π g a))).symm |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComponentSquares |