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.CechCoefficient.Total |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor |
| 3 | |
| 4 | /-! # Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Naturality.Total |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The coefficient-change isomorphism of native Čech totals commutes |
| 11 | with every map of coefficient complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex₂ |
| 14 | |
| 15 | universe w uC vC uA vA uB vB |
| 16 | |
| 17 | variable {C : Type uC} [Category.{vC} C] |
| 18 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{w} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{w} B] |
| 20 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{w, w} G] |
| 21 | (E : SimplicialObject (FormalCoproduct.{w} C)) |
| 22 | {M N : CochainComplex (Cᵒᵖ ⥤ A) ℕ} (f : M ⟶ N) |
| 23 | |
| 24 | def bicomplexMap : Total.bicomplex E M ⟶ Total.bicomplex E N := |
| 25 | ((FormalCoproduct.cochainComplexFunctor E).mapHomologicalComplex (.up ℕ)).map f |
| 26 | |
| 27 | def mappedComplexMap : Total.mappedComplex G M ⟶ Total.mappedComplex G N := |
| 28 | (((Functor.whiskeringRight Cᵒᵖ A B).obj G).mapHomologicalComplex (.up ℕ)).map f |
| 29 | |
| 30 | variable [HasCoproducts.{0} A] [HasCoproducts.{0} B] |
| 31 | |
| 32 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 33 | theorem bicomplexIso_naturality : |
| 34 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap E f) ≫ (Total.bicomplexIso G E N).hom = |
| 35 | (Total.bicomplexIso G E M).hom ≫ bicomplexMap E (mappedComplexMap G f) := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext n |
| 38 | exact AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.naturality G E (f.f n) |
| 39 | |
| 40 | def totalMap : (Total.bicomplex E M).total (.up ℕ) ⟶ (Total.bicomplex E N).total (.up ℕ) := |
| 41 | total.map (bicomplexMap E f) (.up ℕ) |
| 42 | |
| 43 | omit [HasCoproducts A] in |
| 44 | theorem totalBicomplexIso_naturality : |
| 45 | total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap E f)) (.up ℕ) ≫ |
| 46 | (total.mapIso (Total.bicomplexIso G E N) (.up ℕ)).hom = |
| 47 | (total.mapIso (Total.bicomplexIso G E M) (.up ℕ)).hom ≫ |
| 48 | totalMap E (mappedComplexMap G f) := by |
| 49 | change total.map _ (.up ℕ) ≫ total.map _ (.up ℕ) = |
| 50 | total.map _ (.up ℕ) ≫ total.map _ (.up ℕ) |
| 51 | rw [← total.map_comp, bicomplexIso_naturality, total.map_comp] |
| 52 | |
| 53 | variable [HasFiniteBiproducts A] |
| 54 | |
| 55 | omit [HasProducts B] [PreservesLimitsOfSize.{w, w, vA, vB, uA, uB} G] in |
| 56 | theorem finiteTotalInverse_naturality : |
| 57 | (G.mapHomologicalComplex (.up ℕ)).map (totalMap E f) ≫ |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E N)).inv = |
| 59 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E M)).inv ≫ |
| 60 | total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap E f)) (.up ℕ) := by |
| 61 | let e := AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E M) |
| 62 | let d := AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E N) |
| 63 | have hn : total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap E f)) (.up ℕ) ≫ d.hom = |
| 64 | e.hom ≫ (G.mapHomologicalComplex (.up ℕ)).map (totalMap E f) := |
| 65 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.totalComparison_naturality G (bicomplexMap E f) |
| 66 | calc |
| 67 | _ = e.inv ≫ (e.hom ≫ (G.mapHomologicalComplex (.up ℕ)).map (totalMap E f)) ≫ d.inv := by |
| 68 | simp only [← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 69 | rfl |
| 70 | _ = e.inv ≫ (total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap E f)) (.up ℕ) ≫ d.hom) ≫ d.inv := by |
| 71 | rw [hn] |
| 72 | _ = _ := by |
| 73 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 74 | rfl |
| 75 | |
| 76 | theorem totalIso_naturality : |
| 77 | (G.mapHomologicalComplex (.up ℕ)).map (totalMap E f) ≫ (Total.totalIso G E N).hom = |
| 78 | (Total.totalIso G E M).hom ≫ totalMap E (mappedComplexMap G f) := by |
| 79 | change (G.mapHomologicalComplex (.up ℕ)).map (totalMap E f) ≫ |
| 80 | ((AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E N)).inv ≫ |
| 81 | (total.mapIso (Total.bicomplexIso G E N) (.up ℕ)).hom) = |
| 82 | ((AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (Total.bicomplex E M)).inv ≫ |
| 83 | (total.mapIso (Total.bicomplexIso G E M) (.up ℕ)).hom) ≫ _ |
| 84 | rw [← Category.assoc, finiteTotalInverse_naturality, Category.assoc, |
| 85 | totalBicomplexIso_naturality, ← Category.assoc] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Naturality.Total |