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.OrderedCech.CechSingle |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.RowTotalNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ConcentrationNaturality |
| 4 | |
| 5 | /-! # Single Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Čech cohomology shift for a sheaf placed in one degree is |
| 12 | natural in the sheaf, including the original signed total flip. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CechSingle OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentrationNaturality |
| 21 | |
| 22 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 23 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 24 | {M N : X.Modules} (a : M ⟶ N) (c : ℕ) |
| 25 | |
| 26 | def bicomplexMap : CechSingle.bicomplex π U M c ⟶ CechSingle.bicomplex π U N c := |
| 27 | QuasiIso.bicomplexMap π U ((HomologicalComplex.single X.Modules (.up ℕ) c).map a) |
| 28 | |
| 29 | @[reassoc] |
| 30 | theorem row_naturality : (bicomplexMap π U a c).f c ≫ (CechSingle.rowIso π U N c).hom = |
| 31 | (CechSingle.rowIso π U M c).hom ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map a := by |
| 32 | let F := AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U |
| 33 | change F.map (((HomologicalComplex.single X.Modules (.up ℕ) c).map a).f c) ≫ |
| 34 | F.map (HomologicalComplex.singleObjXSelf (.up ℕ) c N).hom = |
| 35 | F.map (HomologicalComplex.singleObjXSelf (.up ℕ) c M).hom ≫ F.map a |
| 36 | rw [← F.map_comp, ← F.map_comp] |
| 37 | congr 1 |
| 38 | simp only [HomologicalComplex.single_map_f_self, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 39 | |
| 40 | @[reassoc] |
| 41 | theorem homology_naturality (n : ℕ) : |
| 42 | HomologicalComplex.homologyMap (QuasiIso.map π U |
| 43 | ((HomologicalComplex.single X.Modules (.up ℕ) c).map a)) (n + c) ≫ (CechSingle.homologyIso π U N c n).hom = |
| 44 | (CechSingle.homologyIso π U M c n).hom ≫ HomologicalComplex.homologyMap |
| 45 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map a) n := by |
| 46 | let b := bicomplexMap π U a c |
| 47 | let bf := GeometricComparison.TotalFlip.TotalFlipNaturality.flipped b |
| 48 | have hf := congrArg (fun f => HomologicalComplex.homologyMap f (n + c)) |
| 49 | (GeometricComparison.TotalFlip.TotalFlipNaturality.natural b) |
| 50 | simp only [HomologicalComplex.homologyMap_comp] at hf |
| 51 | have hfi := CohomologyConcentrationNaturality.inverse_square _ _ |
| 52 | (HomologicalComplex.homologyMapIso ((CechSingle.bicomplex π U M c).totalFlipIso (.up ℕ)) (n + c)) |
| 53 | (HomologicalComplex.homologyMapIso ((CechSingle.bicomplex π U N c).totalFlipIso (.up ℕ)) (n + c)) hf |
| 54 | have hs : HomologicalComplex.homologyMap (HomologicalComplex₂.total.map bf (.up ℕ)) (n + c) ≫ |
| 55 | (Single.RowTotal.homologyIso (CechSingle.bicomplex π U N c).flip c (CechSingle.off_degree π U N c) n).hom = |
| 56 | (Single.RowTotal.homologyIso (CechSingle.bicomplex π U M c).flip c (CechSingle.off_degree π U M c) n).hom ≫ |
| 57 | HomologicalComplex.homologyMap (b.f c) n := |
| 58 | Single.RowTotalNaturality.homology_naturality bf c (CechSingle.off_degree π U M c) (CechSingle.off_degree π U N c) n |
| 59 | have hr := congrArg (fun f => HomologicalComplex.homologyMap f n) (row_naturality π U a c) |
| 60 | simp only [HomologicalComplex.homologyMap_comp] at hr |
| 61 | have hsr := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hs hr |
| 62 | simpa only [CechSingle.homologyIso, Iso.trans_hom, Iso.symm_hom, HomologicalComplex.homologyMapIso_hom, |
| 63 | Category.assoc, b, bf, bicomplexMap, QuasiIso.map] using |
| 64 | DualComplexHomology.compose_squares _ _ _ _ _ _ _ hfi hsr |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleNaturality |