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.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange |
| 2 | |
| 3 | /-! # Index Equivalence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.IndexEquivalence.CechIndexEquivalence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original Cech complex is unchanged by an equivalence of index types, |
| 10 | including index types in different universes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 13 | |
| 14 | universe u v a b w z |
| 15 | variable {C : Type u} [Category.{v} C] [HasFiniteProducts C] |
| 16 | {A : Type a} [Category.{b} A] [HasProducts.{w} A] [HasProducts.{z} A] |
| 17 | {ι : Type w} {κ : Type z} (e : κ ≃ ι) (U : ι → C) (P : Cᵒᵖ ⥤ A) |
| 18 | |
| 19 | abbrev tuples (n : ℕ) : (Fin (n + 1) → κ) ≃ (Fin (n + 1) → ι) := |
| 20 | Equiv.piCongrRight (fun _ => e) |
| 21 | |
| 22 | abbrev coefficients (n : ℕ) (t : Fin (n + 1) → ι) : A := P.obj (op (∏ᶜ (U ∘ t))) |
| 23 | |
| 24 | def tupleMap {n m : SimplexCategory} (α : n ⟶ m) (t : Fin (m.len + 1) → ι) : |
| 25 | coefficients U P n.len (t ∘ α.toOrderHom) ⟶ coefficients U P m.len t := |
| 26 | P.map (Pi.lift (fun i => Pi.π (U ∘ t) (α.toOrderHom i))).op |
| 27 | |
| 28 | omit [HasProducts.{z} A] in |
| 29 | theorem map_eq {n m : SimplexCategory} (α : n ⟶ m) : |
| 30 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).obj P).map α = |
| 31 | Pi.lift (fun t => Pi.π (coefficients U P n.len) (t ∘ α.toOrderHom) ≫ tupleMap U P α t) := rfl |
| 32 | |
| 33 | def component (n : SimplexCategory) : |
| 34 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk κ (U ∘ e)).cech).obj P).obj n ≅ |
| 35 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).obj P).obj n := |
| 36 | Pi.reindex (tuples e n.len) (fun t => P.obj (op (∏ᶜ (U ∘ t)))) |
| 37 | |
| 38 | theorem naturality {n m : SimplexCategory} (α : n ⟶ m) : |
| 39 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk κ (U ∘ e)).cech).obj P).map α ≫ |
| 40 | (component e U P m).hom = |
| 41 | (component e U P n).hom ≫ |
| 42 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).obj P).map α := by |
| 43 | change Pi.lift (f := coefficients U P m.len ∘ tuples e m.len) |
| 44 | (fun t => Pi.π (coefficients U P n.len ∘ tuples e n.len) (t ∘ α.toOrderHom) ≫ |
| 45 | tupleMap (U ∘ e) P α t) ≫ (Pi.reindex (tuples e m.len) (coefficients U P m.len)).hom = |
| 46 | (Pi.reindex (tuples e n.len) (coefficients U P n.len)).hom ≫ |
| 47 | Pi.lift (f := coefficients U P m.len) |
| 48 | (fun t => Pi.π (coefficients U P n.len) (t ∘ α.toOrderHom) ≫ tupleMap U P α t) |
| 49 | apply Pi.hom_ext |
| 50 | intro t |
| 51 | obtain ⟨s, rfl⟩ := (tuples e m.len).surjective t |
| 52 | simp only [Category.assoc, Pi.reindex_hom_π, Pi.lift_comp_π] |
| 53 | exact (Pi.reindex_hom_π_assoc (tuples e n.len) (coefficients U P n.len) |
| 54 | (s ∘ α.toOrderHom) (tupleMap (U ∘ e) P α s)).symm |
| 55 | |
| 56 | def cosimplicialIso : |
| 57 | (FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk κ (U ∘ e)).cech).obj P ≅ |
| 58 | (FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).obj P := |
| 59 | NatIso.ofComponents (component e U P) (fun α => naturality e U P α) |
| 60 | |
| 61 | def complexIso [Preadditive A] : (cechComplexFunctor (U ∘ e)).obj P ≅ (cechComplexFunctor U).obj P := |
| 62 | (AlgebraicTopology.alternatingCofaceMapComplex A).mapIso (cosimplicialIso e U P) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.IndexEquivalence.CechIndexEquivalence |