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.DoubleComplexProjections |
| 2 | |
| 3 | /-! # Double Complex Map Components -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMapComponents.DoubleComplex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Component formulas for maps of actual total complexes |
| 11 | |
| 12 | These identities concern mathlib's native bicomplex morphisms and total-map |
| 13 | construction, together with the established coproduct projections. They |
| 14 | express that totalization acts on each bidegree by the given component map. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {R : Type u} [Ring R] |
| 22 | variable {K L : HomologicalComplex₂ (ModuleCat.{v} R) |
| 23 | (ComplexShape.up ℕ) (ComplexShape.up ℕ)} |
| 24 | |
| 25 | /-- Naturality of an actual coproduct inclusion under the totalized map. -/ |
| 26 | @[reassoc] |
| 27 | theorem iota_total_map (φ : K ⟶ L) (p q n : ℕ) (h : p + q = n) : |
| 28 | K.ιTotal (ComplexShape.up ℕ) p q n h ≫ |
| 29 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n = |
| 30 | (φ.f p).f q ≫ L.ιTotal (ComplexShape.up ℕ) p q n h := |
| 31 | HomologicalComplex₂.ιTotal_map (K := K) (L := L) (φ := φ) |
| 32 | (c₁₂ := ComplexShape.up ℕ) p q n h |
| 33 | |
| 34 | /-- On an element of a summand, the total map applies its bidegree component. -/ |
| 35 | theorem total_map_iota (φ : K ⟶ L) (p q n : ℕ) (h : p + q = n) |
| 36 | (x : (K.X p).X q) : |
| 37 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n |
| 38 | (K.ιTotal (ComplexShape.up ℕ) p q n h x) = |
| 39 | L.ιTotal (ComplexShape.up ℕ) p q n h ((φ.f p).f q x) := |
| 40 | ConcreteCategory.congr_hom (iota_total_map φ p q n h) x |
| 41 | |
| 42 | /-- The same inclusion naturality includes mismatched total degrees, where |
| 43 | both inclusion maps are the actual zero morphisms. -/ |
| 44 | @[reassoc] |
| 45 | theorem iotaOrZero_total_map (φ : K ⟶ L) (p q n : ℕ) : |
| 46 | K.ιTotalOrZero (ComplexShape.up ℕ) p q n ≫ |
| 47 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n = |
| 48 | (φ.f p).f q ≫ L.ιTotalOrZero (ComplexShape.up ℕ) p q n := |
| 49 | HomologicalComplex₂.ιTotalOrZero_map (K := K) (L := L) (φ := φ) |
| 50 | (c₁₂ := ComplexShape.up ℕ) p q n |
| 51 | |
| 52 | theorem total_map_iotaOrZero (φ : K ⟶ L) (p q n : ℕ) (x : (K.X p).X q) : |
| 53 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n |
| 54 | (K.ιTotalOrZero (ComplexShape.up ℕ) p q n x) = |
| 55 | L.ιTotalOrZero (ComplexShape.up ℕ) p q n ((φ.f p).f q x) := |
| 56 | ConcreteCategory.congr_hom (iotaOrZero_total_map φ p q n) x |
| 57 | |
| 58 | /-- Projection onto a bidegree commutes with the native totalized map. -/ |
| 59 | @[reassoc] |
| 60 | theorem total_map_πTotal (φ : K ⟶ L) (p q n : ℕ) (h : p + q = n) : |
| 61 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n ≫ DoubleComplexProjections.DoubleComplex.πTotal L p q n h = |
| 62 | DoubleComplexProjections.DoubleComplex.πTotal K p q n h ≫ (φ.f p).f q := by |
| 63 | apply HomologicalComplex₂.total.hom_ext |
| 64 | intro a b hab |
| 65 | rw [iota_total_map_assoc] |
| 66 | by_cases hpair : (a, b) = (p, q) |
| 67 | · have ha : a = p := congrArg Prod.fst hpair |
| 68 | have hb : b = q := congrArg Prod.snd hpair |
| 69 | subst a |
| 70 | subst b |
| 71 | simp only [DoubleComplexProjections.DoubleComplex.iota_πTotal_self, DoubleComplexProjections.DoubleComplex.iota_πTotal_self_assoc, Category.comp_id] |
| 72 | · rw [DoubleComplexProjections.DoubleComplex.iota_πTotal_ne L a b p q n hab h hpair, |
| 73 | DoubleComplexProjections.DoubleComplex.iota_πTotal_ne_assoc K a b p q n hab h hpair, comp_zero, zero_comp] |
| 74 | |
| 75 | /-- The element-level projection formula for the actual totalized map. -/ |
| 76 | theorem project_total_map (φ : K ⟶ L) (p q n : ℕ) (h : p + q = n) |
| 77 | (x : (K.total (ComplexShape.up ℕ)).X n) : |
| 78 | DoubleComplexProjections.DoubleComplex.πTotal L p q n h ((HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n x) = |
| 79 | (φ.f p).f q (DoubleComplexProjections.DoubleComplex.πTotal K p q n h x) := |
| 80 | ConcreteCategory.congr_hom (total_map_πTotal φ p q n h) x |
| 81 | |
| 82 | /-- Naturality of the projection extended by zero to every total degree. -/ |
| 83 | @[reassoc] |
| 84 | theorem total_map_πTotalOrZero (φ : K ⟶ L) (p q n : ℕ) : |
| 85 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n ≫ DoubleComplexProjections.DoubleComplex.πTotalOrZero L p q n = |
| 86 | DoubleComplexProjections.DoubleComplex.πTotalOrZero K p q n ≫ (φ.f p).f q := by |
| 87 | by_cases h : p + q = n |
| 88 | · rw [DoubleComplexProjections.DoubleComplex.πTotalOrZero_eq L p q n h, DoubleComplexProjections.DoubleComplex.πTotalOrZero_eq K p q n h] |
| 89 | exact total_map_πTotal φ p q n h |
| 90 | · rw [DoubleComplexProjections.DoubleComplex.πTotalOrZero_eq_zero L p q n h, DoubleComplexProjections.DoubleComplex.πTotalOrZero_eq_zero K p q n h, |
| 91 | comp_zero, zero_comp] |
| 92 | |
| 93 | theorem projectOrZero_total_map (φ : K ⟶ L) (p q n : ℕ) |
| 94 | (x : (K.total (ComplexShape.up ℕ)).X n) : |
| 95 | DoubleComplexProjections.DoubleComplex.πTotalOrZero L p q n ((HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n x) = |
| 96 | (φ.f p).f q (DoubleComplexProjections.DoubleComplex.πTotalOrZero K p q n x) := |
| 97 | ConcreteCategory.congr_hom (total_map_πTotalOrZero φ p q n) x |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMapComponents.DoubleComplex |