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.NonemptyCechNerve |
| 2 | |
| 3 | /-! # Nonempty Cech Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal differential of the original nonempty Čech complex, |
| 10 | in its universal product projections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | universe u v w z t |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {A : Type w} [Category.{z} A] [Preadditive A] [HasProducts.{t} A] |
| 18 | {ι : Type t} (U : ι → C) (P : Cᵒᵖ ⥤ A) |
| 19 | |
| 20 | abbrev object (n : ℕ) := (NonemptyCechNerve.nerve U).obj (op ⦋n⦌) |
| 21 | abbrev coefficients (n : ℕ) (a : (object U n).I) := P.obj (op ((object U n).obj a)) |
| 22 | abbrev complex := (NonemptyCechNerve.complexFunctor U).obj P |
| 23 | |
| 24 | def projection (n : ℕ) (a : Fin (n + 1) → ι) : |
| 25 | (complex U P).X n ⟶ P.obj (op (∏ᶜ (U ∘ a))) := |
| 26 | Pi.π (fun b : Fin (n + 1) → ι => P.obj (op (∏ᶜ (U ∘ b)))) a |
| 27 | |
| 28 | def face (n : ℕ) (i : Fin (n + 2)) := |
| 29 | (NonemptyCechNerve.nerve U).map (SimplexCategory.δ i).op |
| 30 | |
| 31 | def faceMap (n : ℕ) (i : Fin (n + 2)) (a : Fin (n + 2) → ι) : |
| 32 | (∏ᶜ (U ∘ a)) ⟶ ∏ᶜ (U ∘ (a ∘ i.succAbove)) := |
| 33 | Pi.lift (fun j : Fin (n + 1) => Pi.π (U ∘ a) (i.succAbove j)) |
| 34 | |
| 35 | theorem coface_projection (n : ℕ) (i : Fin (n + 2)) (a : Fin (n + 2) → ι) : |
| 36 | (((FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve U)).obj P).map |
| 37 | (SimplexCategory.δ i)) ≫ projection U P (n + 1) a = |
| 38 | projection U P n (a ∘ i.succAbove) ≫ P.map (faceMap U n i a).op := by |
| 39 | exact Pi.lift_comp_π _ a |
| 40 | |
| 41 | theorem differential (n : ℕ) : |
| 42 | (complex U P).d n (n + 1) = |
| 43 | ∑ i : Fin (n + 2), (-1 : ℤ)^i.val • |
| 44 | (((FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve U)).obj P).map |
| 45 | (SimplexCategory.δ i)) := by |
| 46 | change (AlgebraicTopology.AlternatingCofaceMapComplex.obj _).d n (n + 1) = _ |
| 47 | dsimp only [AlgebraicTopology.AlternatingCofaceMapComplex.obj] |
| 48 | rw [CochainComplex.of_d] |
| 49 | rfl |
| 50 | |
| 51 | omit [HasProducts A] in |
| 52 | private theorem sum_comp {X Y Z : A} {n : ℕ} (f : Fin n → (X ⟶ Y)) |
| 53 | (a : Fin n → ℤ) (g : Y ⟶ Z) : |
| 54 | (∑ i, a i • f i) ≫ g = ∑ i, a i • (f i ≫ g) := by |
| 55 | simp only [Preadditive.sum_comp, Preadditive.zsmul_comp] |
| 56 | |
| 57 | theorem differential_projection (n : ℕ) (a : Fin (n + 2) → ι) : |
| 58 | (complex U P).d n (n + 1) ≫ projection U P (n + 1) a = |
| 59 | ∑ i : Fin (n + 2), (-1 : ℤ)^i.val • |
| 60 | (projection U P n (a ∘ i.succAbove) ≫ P.map (faceMap U n i a).op) := by |
| 61 | exact (congrArg (fun f => f ≫ projection U P (n + 1) a) (differential U P n)).trans |
| 62 | ((NonemptyCechDifferential.sum_comp _ _ _).trans (Finset.sum_congr rfl (fun i _ => |
| 63 | congrArg (fun f => (-1 : ℤ)^i.val • f) (coface_projection U P n i a)))) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechDifferential |