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.HodgeConjecture.DegreeTwo.GoodShiftFunctor |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SheafComplexLift |
| 3 | |
| 4 | /-! # Good Shift Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftComparison.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Functorial comparison maps retain actual good shifts and quasi-isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {C D : Type*} [Category C] [Category D] [Abelian C] [Abelian D] |
| 19 | |
| 20 | theorem cochainGoodShiftMap_quasiIso {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 21 | [QuasiIso f] (k : ℕ) : |
| 22 | QuasiIso (HomologicalComplex.truncGE'Map f (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := by |
| 23 | rw [← HomologicalComplex.quasiIso_extendMap_iff _ (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)] |
| 24 | change QuasiIso (HomologicalComplex.truncGEMap f (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) |
| 25 | rw [HomologicalComplex.quasiIso_truncGEMap_iff] |
| 26 | intro i i' hi |
| 27 | infer_instance |
| 28 | |
| 29 | theorem goodShiftFunctorIso_projection (F : C ⥤ D) [F.Additive] |
| 30 | (K : CochainComplex C ℕ) (k : ℕ) |
| 31 | (hF : ∀ n, (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).BoundaryGE n → |
| 32 | F.PreservesRightHomologyOf (K.sc (k+n))) : |
| 33 | (GoodShiftFunctor.Constructions.functorCochainComplex F K).restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≫ |
| 34 | (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).hom = |
| 35 | (F.mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 36 | (K.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := by |
| 37 | ext n : 1 |
| 38 | exact GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso_projection F K k hF n |
| 39 | |
| 40 | variable {R : Type} [Ring R] {X : TopCat.{0}} |
| 41 | variable {K : CochainComplex (X.Presheaf (ModuleCat.{0} R)) ℕ} |
| 42 | variable {S T : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} |
| 43 | |
| 44 | theorem sheafComplexLift_postcomp (f : K ⟶ AlgebraicTopology.Cohomology.Singular.SheafSections.sheafUnderlyingCochainComplex S) (g : S ⟶ T) : |
| 45 | SheafComplexLift.Constructions.sheafComplexLift (f ≫ ((sheafToPresheaf (Opens.grothendieckTopology X) |
| 46 | (ModuleCat.{0} R)).mapHomologicalComplex (ComplexShape.up ℕ)).map g) = |
| 47 | SheafComplexLift.Constructions.sheafComplexLift f ≫ g := by |
| 48 | ext n : 1 |
| 49 | apply Sheaf.hom_ext |
| 50 | change CategoryTheory.sheafifyLift (Opens.grothendieckTopology X) |
| 51 | (f.f n ≫ (g.f n).hom) (T.X n).property = |
| 52 | CategoryTheory.sheafifyLift (Opens.grothendieckTopology X) (f.f n) (S.X n).property ≫ |
| 53 | (g.f n).hom |
| 54 | rw [CategoryTheory.sheafifyLift_comp] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Naturality of the actual cohomology isomorphism for canonical good shifts. -/ |
| 59 | |
| 60 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 61 | |
| 62 | set_option backward.isDefEq.respectTransparency false |
| 63 | |
| 64 | variable {C : Type*} [Category C] [Abelian C] |
| 65 | |
| 66 | theorem cochainGoodShiftHomologyIso_naturality {K L : CochainComplex C ℕ} |
| 67 | (f : K ⟶ L) (k n : ℕ) : |
| 68 | homologyMap (truncGE'Map f (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) n ≫ |
| 69 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso L k n).hom = |
| 70 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso K k n).hom ≫ homologyMap f (k+n) := by |
| 71 | let e := RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k |
| 72 | have hK : QuasiIsoAt (K.πTruncGE e) (k+n) := K.quasiIsoAt_πTruncGE e (j := n) rfl |
| 73 | have hL : QuasiIsoAt (L.πTruncGE e) (k+n) := L.quasiIsoAt_πTruncGE e (j := n) rfl |
| 74 | let eK := (K.truncGE' e).extendHomologyIso e (j := n) (j' := k+n) rfl |
| 75 | let eL := (L.truncGE' e).extendHomologyIso e (j := n) (j' := k+n) rfl |
| 76 | change homologyMap (truncGE'Map f e) n ≫ |
| 77 | (eL.inv ≫ (isoOfQuasiIsoAt (L.πTruncGE e) (k+n)).inv) = |
| 78 | (eK.inv ≫ (isoOfQuasiIsoAt (K.πTruncGE e) (k+n)).inv) ≫ homologyMap f (k+n) |
| 79 | apply (cancel_epi eK.hom).mp |
| 80 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 81 | rw [← Category.assoc eK.hom, ← extendHomologyIso_hom_naturality] |
| 82 | simp only [eL, Category.assoc, Iso.hom_inv_id_assoc] |
| 83 | apply (cancel_epi (homologyMap (K.πTruncGE e) (k+n))).mp |
| 84 | rw [← Category.assoc, ← homologyMap_comp] |
| 85 | change homologyMap (K.πTruncGE e ≫ truncGEMap f e) (k+n) ≫ |
| 86 | (isoOfQuasiIsoAt (L.πTruncGE e) (k+n)).inv = _ |
| 87 | rw [πTruncGE_naturality, homologyMap_comp, Category.assoc, |
| 88 | isoOfQuasiIsoAt_hom_inv_id, Category.comp_id, |
| 89 | isoOfQuasiIsoAt_hom_inv_id_assoc] |
| 90 | |
| 91 | theorem cochainGoodShiftQuasiIso_homology_inverse {K L : CochainComplex C ℕ} |
| 92 | (f : K ⟶ L) [QuasiIso f] (k n : ℕ) : |
| 93 | homologyMap (truncGE'Map f (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) n ≫ |
| 94 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso L k n).hom ≫ (isoOfQuasiIsoAt f (k+n)).inv = |
| 95 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso K k n).hom := by |
| 96 | rw [← Category.assoc, cochainGoodShiftHomologyIso_naturality, Category.assoc, |
| 97 | isoOfQuasiIsoAt_hom_inv_id, Category.comp_id] |
| 98 | |
| 99 | def cochainGoodShiftComparisonIso {K L B : CochainComplex C ℕ} |
| 100 | (f : K ⟶ L) [QuasiIso f] (k n : ℕ) |
| 101 | (e : L.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≅ B) : B.homology n ≅ K.homology (k+n) := |
| 102 | (homologyFunctor C (ComplexShape.up ℕ) n).mapIso e.symm ≪≫ |
| 103 | GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso L k n ≪≫ (isoOfQuasiIsoAt f (k+n)).symm |
| 104 | |
| 105 | theorem cochainGoodShiftComparisonIso_transport {A K L B : CochainComplex C ℕ} |
| 106 | (f : K ⟶ L) [QuasiIso f] (k n : ℕ) |
| 107 | (e : L.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≅ B) |
| 108 | (g : A ⟶ K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) : |
| 109 | homologyMap (g ≫ truncGE'Map f (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≫ e.hom) n ≫ |
| 110 | (cochainGoodShiftComparisonIso f k n e).hom = |
| 111 | homologyMap g n ≫ (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso K k n).hom := by |
| 112 | simp only [cochainGoodShiftComparisonIso, Iso.trans_hom, Functor.mapIso_hom, |
| 113 | Iso.symm_hom, homologyFunctor_map, homologyMap_comp, Category.assoc] |
| 114 | rw [← Category.assoc (homologyMap e.hom n), ← homologyMap_comp, |
| 115 | Iso.hom_inv_id, homologyMap_id, Category.id_comp] |
| 116 | rw [cochainGoodShiftQuasiIso_homology_inverse] |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftComparison.Constructions |