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.FrameCech.Transformation |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality |
| 3 | |
| 4 | /-! # Cosimplicial Transformation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.CosimplicialTransformation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible maps of actual tuple coefficients induce a cosimplicial |
| 11 | map. The construction retains the coefficient category, so it applies |
| 12 | before forgetting ring multiplication. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 15 | |
| 16 | universe u v t s |
| 17 | |
| 18 | variable {C D : Type (max u v)} [Category.{v} C] [Category.{v} D] |
| 19 | [HasBinaryProducts C] [HasBinaryProducts D] {ι : Type v} (F : ι → C) (G : ι → D) |
| 20 | {A : Type t} [Category.{s} A] [HasProducts.{v} A] |
| 21 | (H : Cᵒᵖ ⥤ A) (J : Dᵒᵖ ⥤ A) |
| 22 | (c : ∀ (a : ℕ) (t : Fin (a + 1) → ι), |
| 23 | H.obj (op (Presentation.TupleProducts.family F a t)) ⟶ |
| 24 | J.obj (op (Presentation.TupleProducts.family G a t))) |
| 25 | (hc : ∀ (a b : ℕ) (θ : Fin (b + 1) → Fin (a + 1)) (t : Fin (a + 1) → ι), |
| 26 | c b (t ∘ θ) ≫ J.map (Presentation.ResolutionFaceMaps.productMap G θ t).op = |
| 27 | H.map (Presentation.ResolutionFaceMaps.productMap F θ t).op ≫ c a t) |
| 28 | |
| 29 | def map : |
| 30 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve F)).obj H ⟶ |
| 31 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve G)).obj J where |
| 32 | app a := Limits.Pi.map (c a.len) |
| 33 | naturality {a b} θ := by |
| 34 | let Hₐ := fun t => H.obj (op (Presentation.TupleProducts.family F a.len t)) |
| 35 | let Hᵦ := fun t => H.obj (op (Presentation.TupleProducts.family F b.len t)) |
| 36 | let Jₐ := fun t => J.obj (op (Presentation.TupleProducts.family G a.len t)) |
| 37 | let Jᵦ := fun t => J.obj (op (Presentation.TupleProducts.family G b.len t)) |
| 38 | let α := ((FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve F)).obj H).map θ |
| 39 | let β := ((FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve G)).obj J).map θ |
| 40 | apply Pi.hom_ext |
| 41 | intro t |
| 42 | let s := t ∘ θ.toOrderHom.toFun |
| 43 | let h := H.map (Presentation.ResolutionFaceMaps.productMap F θ.toOrderHom.toFun t).op |
| 44 | let j := J.map (Presentation.ResolutionFaceMaps.productMap G θ.toOrderHom.toFun t).op |
| 45 | have hα : α ≫ Pi.π Hᵦ t = Pi.π Hₐ s ≫ h := Pi.lift_comp_π _ t |
| 46 | have hβ : β ≫ Pi.π Jᵦ t = Pi.π Jₐ s ≫ j := Pi.lift_comp_π _ t |
| 47 | have hleft : (α ≫ Limits.Pi.map (c b.len)) ≫ Pi.π Jᵦ t = |
| 48 | Pi.π Hₐ s ≫ (h ≫ c b.len t) := |
| 49 | (Category.assoc _ _ _).trans |
| 50 | ((congrArg (fun q => α ≫ q) (Pi.map_π (c b.len) t)).trans |
| 51 | ((Category.assoc _ _ _).symm.trans |
| 52 | ((congrArg (fun q => q ≫ c b.len t) hα).trans (Category.assoc _ _ _)))) |
| 53 | have hright : (Limits.Pi.map (c a.len) ≫ β) ≫ Pi.π Jᵦ t = |
| 54 | Pi.π Hₐ s ≫ (c a.len s ≫ j) := |
| 55 | (Category.assoc _ _ _).trans |
| 56 | ((congrArg (fun q => Limits.Pi.map (c a.len) ≫ q) hβ).trans |
| 57 | ((Category.assoc _ _ _).symm.trans |
| 58 | ((congrArg (fun q => q ≫ j) (Pi.map_π (c a.len) s)).trans (Category.assoc _ _ _)))) |
| 59 | exact hleft.trans ((congrArg (fun q => Pi.π Hₐ s ≫ q) |
| 60 | (hc b.len a.len θ.toOrderHom.toFun t).symm).trans hright.symm) |
| 61 | |
| 62 | variable {B : Type t} [Category.{s} B] [HasProducts.{v} B] |
| 63 | (T : A ⥤ B) [PreservesLimitsOfSize.{v, v} T] |
| 64 | |
| 65 | include hc in |
| 66 | omit [HasProducts.{v} A] [HasProducts.{v} B] [PreservesLimitsOfSize.{v, v} T] in |
| 67 | theorem mapped_compatibility (a b : ℕ) (θ : Fin (b + 1) → Fin (a + 1)) (t : Fin (a + 1) → ι) : |
| 68 | T.map (c b (t ∘ θ)) ≫ (J ⋙ T).map (Presentation.ResolutionFaceMaps.productMap G θ t).op = |
| 69 | (H ⋙ T).map (Presentation.ResolutionFaceMaps.productMap F θ t).op ≫ T.map (c a t) := |
| 70 | (T.map_comp _ _).symm.trans ((congrArg T.map (hc a b θ t)).trans (T.map_comp _ _)) |
| 71 | |
| 72 | theorem coefficientChange_natural : |
| 73 | Functor.whiskerRight (CosimplicialTransformation.map F G H J c hc) T ≫ |
| 74 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.cosimplicialIso T (NonemptyCechNerve.nerve G) J).hom = |
| 75 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.cosimplicialIso T (NonemptyCechNerve.nerve F) H).hom ≫ |
| 76 | CosimplicialTransformation.map F G (H ⋙ T) (J ⋙ T) (fun a t => T.map (c a t)) |
| 77 | (mapped_compatibility F G H J c hc T) := by |
| 78 | apply NatTrans.ext |
| 79 | funext a |
| 80 | exact AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.piComparison_map T (c a.len) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.CosimplicialTransformation |