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.AugmentedCech.CoefficientTotal |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor |
| 3 | |
| 4 | /-! # Coefficient Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientNaturality.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 u uA vA uB vB |
| 16 | |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 19 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{u} A] |
| 20 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{u} B] |
| 21 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u, u} G] |
| 22 | {M N : CochainComplex (Cᵒᵖ ⥤ A) ℕ} (f : M ⟶ N) |
| 23 | |
| 24 | def bicomplexMap : AugmentedOrdered.CechFunctor.bicomplex U M ⟶ AugmentedOrdered.CechFunctor.bicomplex U N := |
| 25 | ((AugmentedOrdered.CechFunctor.functor U).mapHomologicalComplex (.up ℕ)).map f |
| 26 | |
| 27 | def mappedComplexMap : CoefficientTotal.mapped G M ⟶ CoefficientTotal.mapped 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 U f) ≫ (CoefficientTotal.bicomplexIso U G N).hom = |
| 35 | (CoefficientTotal.bicomplexIso U G M).hom ≫ bicomplexMap U (mappedComplexMap G f) := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext n |
| 38 | exact CoefficientChange.naturality U G (M.X n) (f.f n) |
| 39 | |
| 40 | def totalMap : (AugmentedOrdered.CechFunctor.bicomplex U M).total (.up ℕ) ⟶ (AugmentedOrdered.CechFunctor.bicomplex U N).total (.up ℕ) := |
| 41 | total.map (bicomplexMap U f) (.up ℕ) |
| 42 | |
| 43 | omit [HasCoproducts A] in |
| 44 | theorem totalBicomplexIso_naturality : |
| 45 | total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap U f)) (.up ℕ) ≫ |
| 46 | (total.mapIso (CoefficientTotal.bicomplexIso U G N) (.up ℕ)).hom = |
| 47 | (total.mapIso (CoefficientTotal.bicomplexIso U G M) (.up ℕ)).hom ≫ |
| 48 | totalMap U (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.{u, u, vA, vB, uA, uB} G] in |
| 56 | theorem finiteTotalInverse_naturality : |
| 57 | (G.mapHomologicalComplex (.up ℕ)).map (totalMap U f) ≫ |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U N)).inv = |
| 59 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U M)).inv ≫ |
| 60 | total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap U f)) (.up ℕ) := by |
| 61 | let e := AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U M) |
| 62 | let d := AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U N) |
| 63 | have hn : total.map (AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (bicomplexMap U f)) (.up ℕ) ≫ d.hom = |
| 64 | e.hom ≫ (G.mapHomologicalComplex (.up ℕ)).map (totalMap U f) := |
| 65 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.totalComparison_naturality G (bicomplexMap U f) |
| 66 | calc |
| 67 | _ = e.inv ≫ (e.hom ≫ (G.mapHomologicalComplex (.up ℕ)).map (totalMap U 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 U 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 U f) ≫ (CoefficientTotal.totalIso U G N).hom = |
| 78 | (CoefficientTotal.totalIso U G M).hom ≫ totalMap U (mappedComplexMap G f) := by |
| 79 | change (G.mapHomologicalComplex (.up ℕ)).map (totalMap U f) ≫ |
| 80 | ((AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U N)).inv ≫ |
| 81 | (total.mapIso (CoefficientTotal.bicomplexIso U G N) (.up ℕ)).hom) = |
| 82 | ((AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (AugmentedOrdered.CechFunctor.bicomplex U M)).inv ≫ |
| 83 | (total.mapIso (CoefficientTotal.bicomplexIso U G 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.AugmentedCech.CoefficientNaturality.Total |