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.GoodShiftComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportExactnessShift |
| 3 | |
| 4 | /-! # Good Shift Functor Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftFunctorNaturality.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual good-shift comparison is natural in the additive section functor. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {C D : Type*} [Category C] [Category D] [Abelian C] [Abelian D] |
| 17 | variable (F G : C ⥤ D) [F.Additive] [G.Additive] (α : F ⟶ G) |
| 18 | variable (K : CochainComplex C ℕ) (k : ℕ) |
| 19 | variable (hF : ∀ n, (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).BoundaryGE n → F.PreservesRightHomologyOf (K.sc (k+n))) |
| 20 | variable (hG : ∀ n, (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).BoundaryGE n → G.PreservesRightHomologyOf (K.sc (k+n))) |
| 21 | |
| 22 | theorem goodShiftFunctorIso_functor_naturality : |
| 23 | HomologicalComplex.truncGE'Map ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) |
| 24 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≫ (GoodShiftFunctor.Constructions.goodShiftFunctorIso G K k hG).hom = |
| 25 | (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).hom ≫ |
| 26 | (NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 27 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := by |
| 28 | ext n : 1 |
| 29 | apply (cancel_epi (((GoodShiftFunctor.Constructions.functorCochainComplex F K).restrictionToTruncGE' |
| 30 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n)).mp |
| 31 | have hp := congrArg (fun q => q.f n) |
| 32 | (HomologicalComplex.restrictionToTruncGE'_naturality |
| 33 | ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) |
| 34 | change ((GoodShiftFunctor.Constructions.functorCochainComplex F K).restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n ≫ |
| 35 | (HomologicalComplex.truncGE'Map ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) |
| 36 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n = |
| 37 | α.app (K.X (k+n)) ≫ ((GoodShiftFunctor.Constructions.functorCochainComplex G K).restrictionToTruncGE' |
| 38 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n at hp |
| 39 | change ((GoodShiftFunctor.Constructions.functorCochainComplex F K).restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n ≫ |
| 40 | ((HomologicalComplex.truncGE'Map ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) |
| 41 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n ≫ (GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso G K k hG n).hom) = |
| 42 | ((GoodShiftFunctor.Constructions.functorCochainComplex F K).restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n ≫ |
| 43 | ((GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso F K k hF n).hom ≫ α.app ((K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).X n)) |
| 44 | rw [← Category.assoc, hp, Category.assoc, GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso_projection, |
| 45 | ← Category.assoc, GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso_projection] |
| 46 | exact (α.naturality ((K.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n)).symm |
| 47 | |
| 48 | theorem goodShiftFunctorCohomologyIso_functor_naturality (n : ℕ) : |
| 49 | HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 50 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) n ≫ |
| 51 | ((HomologicalComplex.homologyFunctor D (ComplexShape.up ℕ) n).mapIso |
| 52 | (GoodShiftFunctor.Constructions.goodShiftFunctorIso G K k hG).symm ≪≫ GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (GoodShiftFunctor.Constructions.functorCochainComplex G K) k n).hom = |
| 53 | ((HomologicalComplex.homologyFunctor D (ComplexShape.up ℕ) n).mapIso |
| 54 | (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).symm ≪≫ GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (GoodShiftFunctor.Constructions.functorCochainComplex F K) k n).hom ≫ |
| 55 | HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) (k+n) := by |
| 56 | let t := HomologicalComplex.truncGE'Map |
| 57 | ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) |
| 58 | have hi : (NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 59 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) ≫ (GoodShiftFunctor.Constructions.goodShiftFunctorIso G K k hG).inv = |
| 60 | (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).inv ≫ t := by |
| 61 | apply (cancel_epi (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).hom).mp |
| 62 | rw [← Category.assoc, ← goodShiftFunctorIso_functor_naturality F G α K k hF hG, |
| 63 | Category.assoc, Iso.hom_inv_id, Category.comp_id, ← Category.assoc, |
| 64 | Iso.hom_inv_id, Category.id_comp] |
| 65 | change HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 66 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) n ≫ |
| 67 | (HomologicalComplex.homologyMap (GoodShiftFunctor.Constructions.goodShiftFunctorIso G K k hG).inv n ≫ |
| 68 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (GoodShiftFunctor.Constructions.functorCochainComplex G K) k n).hom) = |
| 69 | (HomologicalComplex.homologyMap (GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).inv n ≫ |
| 70 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (GoodShiftFunctor.Constructions.functorCochainComplex F K) k n).hom) ≫ |
| 71 | HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) (k+n) |
| 72 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, hi, |
| 73 | HomologicalComplex.homologyMap_comp, Category.assoc] |
| 74 | have hn := GoodShiftComparison.Constructions.cochainGoodShiftHomologyIso_naturality |
| 75 | ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app K) k n |
| 76 | change HomologicalComplex.homologyMap t n ≫ |
| 77 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (GoodShiftFunctor.Constructions.functorCochainComplex G K) k n).hom = _ at hn |
| 78 | rw [hn, ← Category.assoc] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftFunctorNaturality.Constructions |