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.Cech.TupleRestrictionFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange |
| 3 | |
| 4 | /-! # Tuple Reindex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleReindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite signed tuple maps commute with finite-limit-preserving |
| 11 | reindexing, through the original product comparison isomorphisms. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite Simplicial |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionFunctor |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 18 | (r : C ⥤ D) [PreservesFiniteLimits r] |
| 19 | {ι : Type u} (U : ι → C) |
| 20 | {A : Type v} [Category A] [Preadditive A] [HasProducts.{u} A] |
| 21 | (P : Dᵒᵖ ⥤ A) |
| 22 | |
| 23 | def factorIso {n : ℕ} (a : Fin (n+1) → ι) : |
| 24 | TupleRestrictionFunctor.factor U (r.op ⋙ P) a ≅ TupleRestrictionFunctor.factor (r.obj ∘ U) P a := |
| 25 | P.mapIso (PreservesProduct.iso r (U ∘ a)).symm.op |
| 26 | |
| 27 | abbrev componentIso (n : ℕ) := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.componentIso r U P ⦋n⦌ |
| 28 | |
| 29 | theorem component_projection {n : ℕ} (a : Fin (n+1) → ι) : |
| 30 | (componentIso r U P n).hom ≫ TupleRestrictionFunctor.projection (r.obj ∘ U) P a = |
| 31 | TupleRestrictionFunctor.projection U (r.op ⋙ P) a ≫ (factorIso r U P a).hom := |
| 32 | Pi.mapIso_hom_π _ _ |
| 33 | |
| 34 | omit [Preadditive A] [HasProducts A] in |
| 35 | theorem restriction_naturality {n m : ℕ} |
| 36 | (a : Fin (n+1) → ι) (b : Fin (m+1) → ι) (h : Set.range b ⊆ Set.range a) : |
| 37 | TupleRestrictionFunctor.restriction U (r.op ⋙ P) a b h ≫ (factorIso r U P a).hom = |
| 38 | (factorIso r U P b).hom ≫ TupleRestrictionFunctor.restriction (r.obj ∘ U) P a b h := by |
| 39 | change P.map _ ≫ P.map _ = P.map _ ≫ P.map _ |
| 40 | exact (P.map_comp _ _).symm.trans |
| 41 | ((congrArg P.map (Subsingleton.elim _ _)).trans (P.map_comp _ _)) |
| 42 | |
| 43 | theorem rowBasis_naturality {n m : ℕ} (a : Fin (n+1) → ι) (b : Fin (m+1) → ι) : |
| 44 | (componentIso r U P m).hom ≫ TupleRestrictionFunctor.rowBasis (r.obj ∘ U) P a b = |
| 45 | TupleRestrictionFunctor.rowBasis U (r.op ⋙ P) a b ≫ (factorIso r U P a).hom := by |
| 46 | classical |
| 47 | by_cases h : Set.range b ⊆ Set.range a |
| 48 | · rw [TupleRestrictionFunctor.rowBasis_of_subset _ _ _ _ h, TupleRestrictionFunctor.rowBasis_of_subset _ _ _ _ h, |
| 49 | ← Category.assoc, component_projection, Category.assoc, |
| 50 | ← restriction_naturality, ← Category.assoc] |
| 51 | · simp only [TupleRestrictionFunctor.rowBasis, dite_eq_right h, comp_zero, zero_comp] |
| 52 | |
| 53 | theorem row_naturality {n m : ℕ} (a : Fin (n+1) → ι) (x : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι m) : |
| 54 | (componentIso r U P m).hom ≫ TupleRestrictionFunctor.row (r.obj ∘ U) P a x = |
| 55 | TupleRestrictionFunctor.row U (r.op ⋙ P) a x ≫ (factorIso r U P a).hom := by |
| 56 | classical |
| 57 | simp only [TupleRestrictionFunctor.row, Finsupp.lsum_apply, Finsupp.sum, LinearMap.toSpanSingleton_apply, |
| 58 | comp_sum, sum_comp, comp_zsmul, zsmul_comp] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro b hb |
| 61 | rw [rowBasis_naturality] |
| 62 | |
| 63 | theorem map_naturality {n m : ℕ} (a : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι m) |
| 64 | (ha : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing a) : |
| 65 | (componentIso r U P m).hom ≫ TupleRestrictionFunctor.map (r.obj ∘ U) P a ha = |
| 66 | TupleRestrictionFunctor.map U (r.op ⋙ P) a ha ≫ (componentIso r U P n).hom := by |
| 67 | apply Pi.hom_ext |
| 68 | intro b |
| 69 | change ((componentIso r U P m).hom ≫ TupleRestrictionFunctor.map (r.obj ∘ U) P a ha) ≫ |
| 70 | TupleRestrictionFunctor.projection (r.obj ∘ U) P b = |
| 71 | (TupleRestrictionFunctor.map U (r.op ⋙ P) a ha ≫ (componentIso r U P n).hom) ≫ |
| 72 | TupleRestrictionFunctor.projection (r.obj ∘ U) P b |
| 73 | rw [Category.assoc, TupleRestrictionFunctor.map_projection, Category.assoc, component_projection, |
| 74 | ← Category.assoc, TupleRestrictionFunctor.map_projection] |
| 75 | exact row_naturality r U P b (a (Finsupp.single b 1)) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleReindex |