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 Mathlib.Algebra.Homology.Additive |
| 2 | |
| 3 | /-! # Cochain Pullback -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace NumberTheory.PadicHodge.GeometricComparison.Section.CochainPullback.SectionCochainPullback |
| 10 | |
| 11 | /-! A section transformation and a coefficient-complex pullback give |
| 12 | a typed map between the original section complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 17 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 18 | (T : C ⥤ D) [T.Additive] (S : C ⥤ E) [S.Additive] (S' : D ⥤ E) [S'.Additive] |
| 19 | (b : S ⟶ T ⋙ S') {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 20 | (a : (T.mapHomologicalComplex (.up ℕ)).obj K ⟶ L) |
| 21 | |
| 22 | def map : (S.mapHomologicalComplex (.up ℕ)).obj K ⟶ (S'.mapHomologicalComplex (.up ℕ)).obj L := |
| 23 | (b.mapHomologicalComplex (.up ℕ)).app K ≫ (S'.mapHomologicalComplex (.up ℕ)).map a |
| 24 | |
| 25 | theorem map_eq : SectionCochainPullback.map T S S' b a = |
| 26 | (b.mapHomologicalComplex (.up ℕ)).app K ≫ (S'.mapHomologicalComplex (.up ℕ)).map a := rfl |
| 27 | |
| 28 | end NumberTheory.PadicHodge.GeometricComparison.Section.CochainPullback.SectionCochainPullback |
| 29 | |
| 30 | namespace NumberTheory.PadicHodge.GeometricComparison.Section.CochainPullback.SectionCochainPullbackFactorization |
| 31 | |
| 32 | /-! Section pullback respects precomposition by the original source |
| 33 | complex maps and postcomposition by target complex maps. -/ |
| 34 | |
| 35 | open _root_.CategoryTheory |
| 36 | |
| 37 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 38 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 39 | (T : C ⥤ D) [T.Additive] (S : C ⥤ E) [S.Additive] (S' : D ⥤ E) [S'.Additive] |
| 40 | (b : S ⟶ T ⋙ S') |
| 41 | {K L : CochainComplex C ℕ} {M N : CochainComplex D ℕ} |
| 42 | |
| 43 | theorem precompose (r : K ⟶ L) (a : (T.mapHomologicalComplex (.up ℕ)).obj L ⟶ M) : |
| 44 | (S.mapHomologicalComplex (.up ℕ)).map r ≫ SectionCochainPullback.map T S S' b a = |
| 45 | SectionCochainPullback.map T S S' b ((T.mapHomologicalComplex (.up ℕ)).map r ≫ a) := |
| 46 | (Category.assoc _ _ _).symm.trans |
| 47 | ((congrArg (fun q => q ≫ (S'.mapHomologicalComplex (.up ℕ)).map a) |
| 48 | ((b.mapHomologicalComplex (.up ℕ)).naturality r)).trans |
| 49 | ((Category.assoc _ _ _).trans |
| 50 | (congrArg (fun q => (b.mapHomologicalComplex (.up ℕ)).app K ≫ q) |
| 51 | ((S'.mapHomologicalComplex (.up ℕ)).map_comp |
| 52 | ((T.mapHomologicalComplex (.up ℕ)).map r) a).symm))) |
| 53 | |
| 54 | theorem postcompose (a : (T.mapHomologicalComplex (.up ℕ)).obj K ⟶ M) (r : M ⟶ N) : |
| 55 | SectionCochainPullback.map T S S' b a ≫ (S'.mapHomologicalComplex (.up ℕ)).map r = |
| 56 | SectionCochainPullback.map T S S' b (a ≫ r) := |
| 57 | (Category.assoc _ _ _).trans |
| 58 | (congrArg (fun q => (b.mapHomologicalComplex (.up ℕ)).app K ≫ q) |
| 59 | ((S'.mapHomologicalComplex (.up ℕ)).map_comp a r).symm) |
| 60 | |
| 61 | end NumberTheory.PadicHodge.GeometricComparison.Section.CochainPullback.SectionCochainPullbackFactorization |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI |