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 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentration |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 4 | |
| 5 | /-! # Row Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.RowTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native total of a bicomplex supported in one row has the |
| 12 | cohomology of that row, with the actual degree shift. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] |
| 23 | (B : HomologicalComplex₂ (ModuleCat.{v} R) (.up ℕ) (.up ℕ)) |
| 24 | (c : ℕ) (hB : ∀ p q, q ≠ c → IsZero ((B.X p).X q)) |
| 25 | |
| 26 | def componentIso (p : ℕ) : (B.X p).X c ≅ (B.total (.up ℕ)).X (p + c) where |
| 27 | hom := B.ιTotal (.up ℕ) p c (p + c) rfl |
| 28 | inv := AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex.πTotal B p c (p + c) rfl |
| 29 | hom_inv_id := AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex.iota_πTotal_self B p c (p + c) rfl |
| 30 | inv_hom_id := by |
| 31 | apply HomologicalComplex₂.total.hom_ext |
| 32 | intro a b hab |
| 33 | by_cases hb : b = c |
| 34 | · subst b |
| 35 | have ha : a = p := by change a + c = p + c at hab; omega |
| 36 | subst a |
| 37 | simp |
| 38 | · exact (hB a b hb).eq_of_src _ _ |
| 39 | |
| 40 | def restrictionIso : B.flip.X c ≅ |
| 41 | (B.total (.up ℕ)).restriction (CohomologyConcentration.shift c) := |
| 42 | HomologicalComplex.Hom.isoOfComponents (componentIso B c hB) (by |
| 43 | intro p p' hp |
| 44 | have hp' : p + 1 = p' := hp |
| 45 | subst p' |
| 46 | change B.ιTotal (.up ℕ) p c (p + c) rfl ≫ |
| 47 | (B.total (.up ℕ)).d (p + c) (p + 1 + c) = |
| 48 | (B.d p (p + 1)).f c ≫ B.ιTotal (.up ℕ) (p + 1) c (p + 1 + c) rfl |
| 49 | have hz : (B.X p).d c (c + 1) = 0 := (hB p (c + 1) (by omega)).eq_of_tgt _ _ |
| 50 | rw [HomologicalComplex₂.total_d, Preadditive.comp_add, |
| 51 | HomologicalComplex₂.ι_D₁, HomologicalComplex₂.ι_D₂, |
| 52 | B.d₁_eq (.up ℕ) (show (ComplexShape.up ℕ).Rel p (p + 1) from rfl) c (p + 1 + c) rfl, |
| 53 | B.d₂_eq (.up ℕ) p (show (ComplexShape.up ℕ).Rel c (c + 1) from rfl) |
| 54 | (p + 1 + c) (by change p + (c + 1) = p + 1 + c; omega), |
| 55 | hz, zero_comp, smul_zero, add_zero] |
| 56 | simp only [AlgebraicTopology.DeRham.Comparison.DoubleComplexSigns.DoubleComplex.epsilon1_upNat, one_smul]) |
| 57 | |
| 58 | include hB in |
| 59 | theorem supported : (B.total (.up ℕ)).IsStrictlySupported (CohomologyConcentration.shift c) := by |
| 60 | constructor |
| 61 | intro n hn |
| 62 | apply (IsZero.iff_id_eq_zero _).mpr |
| 63 | apply HomologicalComplex₂.total.hom_ext |
| 64 | intro p q hpq |
| 65 | change p + q = n at hpq |
| 66 | have hq : q ≠ c := by |
| 67 | intro hq |
| 68 | apply hn p |
| 69 | change p + c = n |
| 70 | simpa only [hq] using hpq |
| 71 | exact (hB p q hq).eq_of_src _ _ |
| 72 | |
| 73 | def homologyIso (n : ℕ) : |
| 74 | (B.total (.up ℕ)).homology (n + c) ≅ (B.flip.X c).homology n := by |
| 75 | let K := B.total (.up ℕ) |
| 76 | let e := CohomologyConcentration.shift c |
| 77 | have : K.IsStrictlySupported e := supported B c hB |
| 78 | have : IsIso (K.restrictionToTruncGE' e) := HomologicalComplex.Hom.isIso_of_components _ |
| 79 | exact (HomologicalComplex.homologyMapIso (asIso (K.πTruncGE e)) (n + c)) ≪≫ |
| 80 | (K.truncGE' e).extendHomologyIso e rfl ≪≫ |
| 81 | (HomologicalComplex.homologyMapIso (asIso (K.restrictionToTruncGE' e)) n).symm ≪≫ |
| 82 | (HomologicalComplex.homologyMapIso (restrictionIso B c hB) n).symm |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.RowTotal |