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.Functor.SingleTotal |
| 2 | |
| 3 | /-! # Single Coefficient Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original single-degree total coordinates are natural in the |
| 10 | coefficient object, including the signed total flip. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 12 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTotal OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentrationNaturality |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v w z |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 17 | {D : Type w} [Category.{z} D] [Abelian D] [HasCoproducts.{0} D] |
| 18 | (F : C ⥤ CochainComplex D ℕ) [F.Additive] {M N : C} (a : M ⟶ N) (c : ℕ) |
| 19 | |
| 20 | def bicomplexMap : SingleTotal.bicomplex F M c ⟶ SingleTotal.bicomplex F N c := |
| 21 | (F.mapHomologicalComplex (.up ℕ)).map ((single C (.up ℕ) c).map a) |
| 22 | |
| 23 | def totalMap : (SingleTotal.bicomplex F M c).total (.up ℕ) ⟶ (SingleTotal.bicomplex F N c).total (.up ℕ) := |
| 24 | HomologicalComplex₂.total.map (bicomplexMap F a c) (.up ℕ) |
| 25 | |
| 26 | omit [HasCoproducts D] in |
| 27 | @[reassoc] |
| 28 | theorem row_naturality : |
| 29 | (bicomplexMap F a c).f c ≫ (SingleTotal.rowIso F N c).hom = |
| 30 | (SingleTotal.rowIso F M c).hom ≫ F.map a := by |
| 31 | change F.map (((single C (.up ℕ) c).map a).f c) ≫ |
| 32 | F.map (singleObjXSelf (.up ℕ) c N).hom = |
| 33 | F.map (singleObjXSelf (.up ℕ) c M).hom ≫ F.map a |
| 34 | rw [← F.map_comp, ← F.map_comp] |
| 35 | congr 1 |
| 36 | simp only [single_map_f_self, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 37 | |
| 38 | @[reassoc] |
| 39 | theorem homology_naturality (n : ℕ) : |
| 40 | homologyMap (totalMap F a c) (n+c) ≫ (SingleTotal.homologyIso F N c n).hom = |
| 41 | (SingleTotal.homologyIso F M c n).hom ≫ homologyMap (F.map a) n := by |
| 42 | let b := bicomplexMap F a c |
| 43 | let bf := GeometricComparison.TotalFlip.TotalFlipNaturality.flipped b |
| 44 | have hf := congrArg (fun f => homologyMap f (n+c)) |
| 45 | (GeometricComparison.TotalFlip.TotalFlipNaturality.natural b) |
| 46 | simp only [homologyMap_comp] at hf |
| 47 | have hfi := CohomologyConcentrationNaturality.inverse_square _ _ |
| 48 | (homologyMapIso ((SingleTotal.bicomplex F M c).totalFlipIso (.up ℕ)) (n+c)) |
| 49 | (homologyMapIso ((SingleTotal.bicomplex F N c).totalFlipIso (.up ℕ)) (n+c)) hf |
| 50 | have hs : homologyMap (HomologicalComplex₂.total.map bf (.up ℕ)) (n+c) ≫ |
| 51 | (AbelianSingleRowTotal.homologyIso (SingleTotal.bicomplex F N c).flip c (SingleTotal.off_degree F N c) n).hom = |
| 52 | (AbelianSingleRowTotal.homologyIso (SingleTotal.bicomplex F M c).flip c (SingleTotal.off_degree F M c) n).hom ≫ |
| 53 | homologyMap (b.f c) n := |
| 54 | AbelianSingleRowTotal.homology_naturality c (SingleTotal.off_degree F M c) bf (SingleTotal.off_degree F N c) n |
| 55 | have hr := congrArg (fun f => homologyMap f n) (row_naturality F a c) |
| 56 | simp only [homologyMap_comp] at hr |
| 57 | have hsr := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hs hr |
| 58 | simpa only [SingleTotal.homologyIso, Iso.trans_hom, Iso.symm_hom, homologyMapIso_hom, |
| 59 | Category.assoc, totalMap, b, bf] using |
| 60 | DualComplexHomology.compose_squares _ _ _ _ _ _ _ hfi hsr |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientNaturality |