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.AlgebraicTopology.Kunneth.ComparisonLow |
| 2 | |
| 3 | /-! # Triple Models -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TripleModels |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | set_option backward.isDefEq.respectTransparency false |
| 10 | |
| 11 | /-! |
| 12 | # Three-factor singular models for the ThomClass product proof |
| 13 | |
| 14 | The model in degree n is a triple of actual topological n-simplices. |
| 15 | Its product is contractible. The free representable presentation therefore |
| 16 | gives a natural homotopy between chain endomorphisms of three-factor |
| 17 | singular chains that agree on vertices. This is the comparison machinery |
| 18 | for the two parenthesizations of the existing cross product. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 22 | open _root_.AlgebraicTopology _root_.HomologicalComplex |
| 23 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels |
| 24 | open scoped Simplicial TensorProduct |
| 25 | |
| 26 | namespace Constructions |
| 27 | |
| 28 | abbrev SpaceTriple := (TopCat.{0} × TopCat.{0}) × TopCat.{0} |
| 29 | |
| 30 | def tripleSpace : SpaceTriple ⥤ TopCat.{0} := |
| 31 | (AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.productSpace.prod (𝟭 TopCat.{0})) ⋙ AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.productSpace |
| 32 | |
| 33 | variable (k : Type) [Field k] |
| 34 | |
| 35 | abbrev tripleChainFunctor : SpaceTriple ⥤ ChainComplex (ModuleCat.{0} k) ℕ := |
| 36 | tripleSpace ⋙ AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.scalarChains k |
| 37 | |
| 38 | def tripleChains : ChainComplex (SpaceTriple ⥤ ModuleCat.{0} k) ℕ where |
| 39 | X n := tripleChainFunctor k ⋙ HomologicalComplex.eval _ _ n |
| 40 | d i j := |
| 41 | { app X := ((tripleChainFunctor k).obj X).d i j |
| 42 | naturality _ _ f := ((tripleChainFunctor k).map f).comm i j } |
| 43 | shape i j hij := by |
| 44 | apply NatTrans.ext |
| 45 | funext X |
| 46 | exact ((tripleChainFunctor k).obj X).shape i j hij |
| 47 | d_comp_d' i j l _ _ := by |
| 48 | apply NatTrans.ext |
| 49 | funext X |
| 50 | exact ((tripleChainFunctor k).obj X).d_comp_d i j l |
| 51 | |
| 52 | def tripleSimplexModel (n : ℕ) : SpaceTriple := |
| 53 | ((SimplexCategory.toTop.obj ⦋n⦌, SimplexCategory.toTop.obj ⦋n⦌), |
| 54 | SimplexCategory.toTop.obj ⦋n⦌) |
| 55 | |
| 56 | def tripleSimplexEquiv (n : ℕ) (X : SpaceTriple) : |
| 57 | (TopCat.toSSet.obj (tripleSpace.obj X)) _⦋n⦌ ≃ (tripleSimplexModel n ⟶ X) where |
| 58 | toFun s := |
| 59 | ((s.down ≫ TopCat.prodFst ≫ TopCat.prodFst, |
| 60 | s.down ≫ TopCat.prodFst ≫ TopCat.prodSnd), s.down ≫ TopCat.prodSnd) |
| 61 | invFun f := ULift.up (TopCat.ofHom |
| 62 | ⟨fun t => ((f.1.1 t, f.1.2 t), f.2 t), |
| 63 | (f.1.1.hom.continuous.prodMk f.1.2.hom.continuous).prodMk f.2.hom.continuous⟩) |
| 64 | left_inv s := by |
| 65 | apply ULift.ext |
| 66 | apply TopCat.ext |
| 67 | intro t |
| 68 | rfl |
| 69 | right_inv f := by |
| 70 | apply Prod.ext |
| 71 | · apply Prod.ext <;> apply TopCat.ext <;> intro t <;> rfl |
| 72 | · apply TopCat.ext |
| 73 | intro t |
| 74 | rfl |
| 75 | |
| 76 | def tripleDegreeFreeIso (n : ℕ) (X : SpaceTriple) : |
| 77 | (AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel (k := k) (tripleSimplexModel n)).obj X ≅ |
| 78 | ((tripleChainFunctor k).obj X).X n where |
| 79 | hom := Sigma.desc (fun f : tripleSimplexModel n ⟶ X => |
| 80 | (TopCat.toSSet.obj (tripleSpace.obj X)).ιChainComplex |
| 81 | (R := ModuleCat.of k k) ((tripleSimplexEquiv n X).symm f)) |
| 82 | inv := Sigma.desc (fun s : (TopCat.toSSet.obj (tripleSpace.obj X)) _⦋n⦌ => |
| 83 | Sigma.ι (fun _ : tripleSimplexModel n ⟶ X => ModuleCat.of k k) |
| 84 | (tripleSimplexEquiv n X s)) |
| 85 | hom_inv_id := by |
| 86 | apply Sigma.hom_ext |
| 87 | intro f |
| 88 | simp only [Sigma.ι_comp_desc_assoc, SSet.ιChainComplex, |
| 89 | Sigma.ι_comp_desc, Equiv.apply_symm_apply] |
| 90 | exact (Category.comp_id _).symm |
| 91 | inv_hom_id := by |
| 92 | apply SSet.chainComplex_hom_ext |
| 93 | intro s |
| 94 | simp only [SSet.ιChainComplex, Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc, |
| 95 | Equiv.symm_apply_apply] |
| 96 | exact (Category.comp_id _).symm |
| 97 | |
| 98 | def tripleDegreeFreeNatIso (n : ℕ) : |
| 99 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel (k := k) (tripleSimplexModel n) ≅ (tripleChains k).X n := |
| 100 | NatIso.ofComponents (tripleDegreeFreeIso k n) (by |
| 101 | intro X Y f |
| 102 | apply Sigma.hom_ext |
| 103 | intro s |
| 104 | dsimp only [AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel, evaluationLeftAdjoint, tripleDegreeFreeIso] |
| 105 | erw [Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc, Sigma.ι_comp_desc_assoc] |
| 106 | change (TopCat.toSSet.obj (tripleSpace.obj Y)).ιChainComplex |
| 107 | (R := ModuleCat.of k k) ((tripleSimplexEquiv n Y).symm (s ≫ f)) = |
| 108 | (TopCat.toSSet.obj (tripleSpace.obj X)).ιChainComplex |
| 109 | (R := ModuleCat.of k k) ((tripleSimplexEquiv n X).symm s) ≫ |
| 110 | (SSet.chainComplexMap (TopCat.toSSet.map (tripleSpace.map f)) |
| 111 | (ModuleCat.of k k)).f n |
| 112 | erw [SSet.ι_chainComplexMap_f] |
| 113 | rfl) |
| 114 | |
| 115 | def triplePresentation (n : ℕ) : AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.Presentation ((tripleChains k).X n) := |
| 116 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.Presentation.ofSingle (tripleSimplexModel n) (tripleDegreeFreeNatIso k n) |
| 117 | |
| 118 | theorem triple_model_positive_exact (m n : ℕ) : |
| 119 | (((tripleChains k).sc' (n + 2) (n + 1) n).map |
| 120 | ((evaluation SpaceTriple (ModuleCat.{0} k)).obj (tripleSimplexModel m))).Exact := by |
| 121 | let : ContractibleSpace (SimplexCategory.toTop.{0}.obj ⦋m⦌) := |
| 122 | Geometric.SimplexFillings.Cycles.toTopSimplex_contractible m |
| 123 | let X := tripleSpace.obj (tripleSimplexModel m) |
| 124 | let : ContractibleSpace X := inferInstanceAs |
| 125 | (ContractibleSpace (((SimplexCategory.toTop.{0}.obj ⦋m⦌) × |
| 126 | (SimplexCategory.toTop.{0}.obj ⦋m⦌)) × (SimplexCategory.toTop.{0}.obj ⦋m⦌))) |
| 127 | let C := (AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.scalarChains k).obj X |
| 128 | let : Subsingleton (C.homology (n + 1)) := ModuleCat.subsingleton_of_isZero |
| 129 | (Geometric.ContractibleModel.Cycles.isZero_singularHomology_of_contractible (ModuleCat.of k k) X |
| 130 | (n + 1) (Nat.succ_ne_zero n)) |
| 131 | apply (ShortComplex.moduleCat_exact_iff _).mpr |
| 132 | change ∀ c : C.X (n + 1), (C.d (n + 1) n) c = 0 → |
| 133 | ∃ b : C.X (n + 2), (C.d (n + 2) (n + 1)) b = c |
| 134 | intro c hc |
| 135 | exact (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_eq_zero_iff_exists C (n + 1) |
| 136 | ⟨c, (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ C n c).mpr hc⟩).mp (Subsingleton.elim _ _) |
| 137 | |
| 138 | def tripleNaturalHomotopy |
| 139 | (f g : tripleChains k ⟶ tripleChains k) (h0 : f.f 0 = g.f 0) : Homotopy f g := |
| 140 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.homotopy (tripleChains k) (tripleChains k) |
| 141 | (triplePresentation k) (fun n _ q => triple_model_positive_exact k n q) f g h0 |
| 142 | |
| 143 | end Constructions |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.CycleClass.Thom.TripleModels |