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.AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexSigns |
| 3 | |
| 4 | /-! # Cech Total Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CechTotalFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The total Čech functor on actual presheaf complexes |
| 12 | |
| 13 | This uses the existing Čech bicomplex and mathlib totalization. Its maps |
| 14 | apply the given coefficient map on each actual section summand. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X ι : Type u} [TopologicalSpace X] (U : ι → Opens X) |
| 22 | |
| 23 | /-- Actual presheaf complexes map functorially to their signed Čech total complexes. -/ |
| 24 | def cechTotalFunctor : |
| 25 | CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ ⥤ |
| 26 | CochainComplex (ModuleCat.{u} ℂ) ℕ := |
| 27 | CechDoubleComplexFunctor.cechDoubleComplexFunctor U ⋙ HomologicalComplex₂.totalFunctor |
| 28 | (ModuleCat.{u} ℂ) (ComplexShape.up ℕ) (ComplexShape.up ℕ) (ComplexShape.up ℕ) |
| 29 | |
| 30 | /-- The signed total complex of actual Čech sections of a presheaf complex. -/ |
| 31 | abbrev cechTotalComplex (K : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ) := |
| 32 | (cechTotalFunctor U).obj K |
| 33 | |
| 34 | variable (K : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ) |
| 35 | |
| 36 | /-- Inclusion of an actual section-family summand in the total complex. -/ |
| 37 | def cechTotalInclusion (p q n : ℕ) (h : p + q = n) : |
| 38 | ModuleCat.of ℂ (SmoothCech.CechCochain (K.X q) U p) ⟶ (cechTotalComplex U K).X n := |
| 39 | (CechDoubleComplexFunctor.cechDoubleComplex U K).ιTotal (ComplexShape.up ℕ) p q n h |
| 40 | |
| 41 | /-- The total differential is the signed sum of the two actual differentials. -/ |
| 42 | theorem cechTotalInclusion_d (p q n : ℕ) (h : p + q = n) : |
| 43 | cechTotalInclusion U K p q n h ≫ (cechTotalComplex U K).d n (n + 1) = |
| 44 | ModuleCat.ofHom (SmoothCech.cechDelta (K.X q) U p) ≫ |
| 45 | cechTotalInclusion U K (p + 1) q (n + 1) (by omega) + |
| 46 | ((-1 : ℤ) ^ p) • (ModuleCat.ofHom (SmoothCechDoubleComplex.cechCoefficientMap U (K.d q (q + 1)) p) ≫ |
| 47 | cechTotalInclusion U K p (q + 1) (n + 1) (by omega)) := by |
| 48 | have hd := DoubleComplexSigns.DoubleComplex.iota_d_of_eq (CechDoubleComplexFunctor.cechDoubleComplex U K) p q n h |
| 49 | rw [CechDoubleComplexFunctor.cechDoubleComplex_d_f, CechDoubleComplexFunctor.cechDoubleComplex_X_d] at hd |
| 50 | exact hd |
| 51 | |
| 52 | variable {K} |
| 53 | variable {L N : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ} |
| 54 | |
| 55 | /-- A genuine coefficient cochain map induces the actual map on Čech total complexes. -/ |
| 56 | abbrev cechTotalMap (φ : K ⟶ L) : cechTotalComplex U K ⟶ cechTotalComplex U L := |
| 57 | (cechTotalFunctor U).map φ |
| 58 | |
| 59 | /-- The total map is the supplied coefficient map on every actual section summand. -/ |
| 60 | theorem cechTotalInclusion_map (φ : K ⟶ L) (p q n : ℕ) (h : p + q = n) : |
| 61 | cechTotalInclusion U K p q n h ≫ (cechTotalMap U φ).f n = |
| 62 | ModuleCat.ofHom (SmoothCechDoubleComplex.cechCoefficientMap U (φ.f q) p) ≫ cechTotalInclusion U L p q n h := |
| 63 | HomologicalComplex₂.ιTotal_map (K := CechDoubleComplexFunctor.cechDoubleComplex U K) |
| 64 | (L := CechDoubleComplexFunctor.cechDoubleComplex U L) (φ := CechDoubleComplexFunctor.cechDoubleComplexMap U φ) |
| 65 | (c₁₂ := ComplexShape.up ℕ) p q n h |
| 66 | |
| 67 | @[simp] |
| 68 | theorem cechTotalMap_id : cechTotalMap U (𝟙 K) = 𝟙 (cechTotalComplex U K) := |
| 69 | (cechTotalFunctor U).map_id K |
| 70 | |
| 71 | @[simp] |
| 72 | theorem cechTotalMap_comp (φ : K ⟶ L) (ψ : L ⟶ N) : |
| 73 | cechTotalMap U (φ ≫ ψ) = cechTotalMap U φ ≫ cechTotalMap U ψ := |
| 74 | (cechTotalFunctor U).map_comp φ ψ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicTopology.DeRham.Comparison.CechTotalFunctor |