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.Single.RowTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentrationNaturality |
| 3 | |
| 4 | /-! # Row Total Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.RowTotalNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Naturality of the actual cohomology shift for a total complex |
| 11 | supported in a single row. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentration OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentrationNaturality |
| 20 | |
| 21 | section Supported |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 24 | (K : CochainComplex C ℕ) (c : ℕ) [K.IsStrictlySupported (CohomologyConcentration.shift c)] |
| 25 | |
| 26 | def supportedIso (n : ℕ) : K.homology (n + c) ≅ (K.restriction (CohomologyConcentration.shift c)).homology n := by |
| 27 | let e := CohomologyConcentration.shift c |
| 28 | have : IsIso (K.restrictionToTruncGE' e) := HomologicalComplex.Hom.isIso_of_components _ |
| 29 | exact HomologicalComplex.homologyMapIso (asIso (K.πTruncGE e)) (n + c) ≪≫ |
| 30 | (K.truncGE' e).extendHomologyIso e rfl ≪≫ |
| 31 | (HomologicalComplex.homologyMapIso (asIso (K.restrictionToTruncGE' e)) n).symm |
| 32 | |
| 33 | variable {K} {L : CochainComplex C ℕ} [L.IsStrictlySupported (CohomologyConcentration.shift c)] (a : K ⟶ L) |
| 34 | |
| 35 | @[reassoc] |
| 36 | theorem supported_naturality (n : ℕ) : |
| 37 | HomologicalComplex.homologyMap a (n + c) ≫ (supportedIso L c n).hom = |
| 38 | (supportedIso K c n).hom ≫ HomologicalComplex.homologyMap |
| 39 | (HomologicalComplex.restrictionMap a (CohomologyConcentration.shift c)) n := by |
| 40 | let e := CohomologyConcentration.shift c |
| 41 | have : IsIso (K.restrictionToTruncGE' e) := HomologicalComplex.Hom.isIso_of_components _ |
| 42 | have : IsIso (L.restrictionToTruncGE' e) := HomologicalComplex.Hom.isIso_of_components _ |
| 43 | have hπ := congrArg (fun f => HomologicalComplex.homologyMap f (n + c)) |
| 44 | (HomologicalComplex.πTruncGE_naturality a e).symm |
| 45 | simp only [HomologicalComplex.homologyMap_comp] at hπ |
| 46 | have he := HomologicalComplex.extendHomologyIso_hom_naturality |
| 47 | (HomologicalComplex.truncGE'Map a e) e (show e.f n = n + c from rfl) |
| 48 | have hr := congrArg (fun f => HomologicalComplex.homologyMap f n) |
| 49 | (HomologicalComplex.restrictionToTruncGE'_naturality a e).symm |
| 50 | simp only [HomologicalComplex.homologyMap_comp] at hr |
| 51 | have hi := CohomologyConcentrationNaturality.inverse_square _ _ |
| 52 | (HomologicalComplex.homologyMapIso (asIso (K.restrictionToTruncGE' e)) n) |
| 53 | (HomologicalComplex.homologyMapIso (asIso (L.restrictionToTruncGE' e)) n) hr |
| 54 | have hehi := DualComplexHomology.compose_squares _ _ _ _ _ _ _ he hi |
| 55 | simpa only [supportedIso, Iso.trans_hom, Iso.symm_hom, HomologicalComplex.homologyMapIso_hom, |
| 56 | asIso_hom, Category.assoc, e] using |
| 57 | DualComplexHomology.compose_squares _ _ _ _ _ _ _ hπ hehi |
| 58 | |
| 59 | end Supported |
| 60 | |
| 61 | variable {R : Type u} [CommRing R] |
| 62 | {B D : HomologicalComplex₂ (ModuleCat.{v} R) (.up ℕ) (.up ℕ)} |
| 63 | (a : B ⟶ D) (c : ℕ) |
| 64 | (hB : ∀ p q, q ≠ c → IsZero ((B.X p).X q)) |
| 65 | (hD : ∀ p q, q ≠ c → IsZero ((D.X p).X q)) |
| 66 | |
| 67 | def rowMap : B.flip.X c ⟶ D.flip.X c := |
| 68 | ((HomologicalComplex₂.flipFunctor (ModuleCat.{v} R) (.up ℕ) (.up ℕ)).map a).f c |
| 69 | |
| 70 | @[reassoc] |
| 71 | theorem restriction_naturality : |
| 72 | rowMap a c ≫ (RowTotal.restrictionIso D c hD).hom = |
| 73 | (RowTotal.restrictionIso B c hB).hom ≫ |
| 74 | HomologicalComplex.restrictionMap (HomologicalComplex₂.total.map a (.up ℕ)) (CohomologyConcentration.shift c) := by |
| 75 | apply HomologicalComplex.Hom.ext |
| 76 | funext p |
| 77 | change (a.f p).f c ≫ D.ιTotal (.up ℕ) p c (p + c) rfl = |
| 78 | B.ιTotal (.up ℕ) p c (p + c) rfl ≫ (HomologicalComplex₂.total.map a (.up ℕ)).f (p + c) |
| 79 | exact (HomologicalComplex₂.ιTotal_map B D a (.up ℕ) p c (p + c) rfl).symm |
| 80 | |
| 81 | @[reassoc] |
| 82 | theorem homology_naturality (n : ℕ) : |
| 83 | HomologicalComplex.homologyMap (HomologicalComplex₂.total.map a (.up ℕ)) (n + c) ≫ |
| 84 | (RowTotal.homologyIso D c hD n).hom = |
| 85 | (RowTotal.homologyIso B c hB n).hom ≫ |
| 86 | HomologicalComplex.homologyMap (rowMap a c) n := by |
| 87 | let : (B.total (.up ℕ)).IsStrictlySupported (CohomologyConcentration.shift c) := RowTotal.supported B c hB |
| 88 | let : (D.total (.up ℕ)).IsStrictlySupported (CohomologyConcentration.shift c) := RowTotal.supported D c hD |
| 89 | have hs := supported_naturality c (HomologicalComplex₂.total.map a (.up ℕ)) n |
| 90 | have hr := congrArg (fun f => HomologicalComplex.homologyMap f n) |
| 91 | (restriction_naturality a c hB hD) |
| 92 | simp only [HomologicalComplex.homologyMap_comp] at hr |
| 93 | have hi := CohomologyConcentrationNaturality.inverse_square _ _ |
| 94 | (HomologicalComplex.homologyMapIso (RowTotal.restrictionIso B c hB) n) |
| 95 | (HomologicalComplex.homologyMapIso (RowTotal.restrictionIso D c hD) n) hr |
| 96 | simpa only [RowTotal.homologyIso, supportedIso, Iso.trans_hom, Iso.symm_hom, |
| 97 | HomologicalComplex.homologyMapIso_hom, Category.assoc] using |
| 98 | DualComplexHomology.compose_squares _ _ _ _ _ _ _ hs hi |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.RowTotalNaturality |