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.GoodShiftRepresentatives |
| 3 | |
| 4 | /-! # Good Shift Functor Representatives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.GoodShiftFunctorRepresentatives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The good-shift comparison retains actual cocycle representatives under the original boundary projection. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {C : Type*} [Category C] [Abelian C] {R : Type} [Ring R] |
| 19 | variable (F : C ⥤ ModuleCat.{0} R) [F.Additive] (K : CochainComplex C ℕ) (k : ℕ) |
| 20 | variable (hF : ∀ n, (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).BoundaryGE n → |
| 21 | F.PreservesRightHomologyOf (K.sc (k+n))) |
| 22 | |
| 23 | def goodShiftFunctorCocycle (n : ℕ) (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n)) : |
| 24 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F (K.truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) n := |
| 25 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).hom n |
| 26 | (HodgeConjecture.DegreeTwo.GoodShiftRepresentatives.Constructions.cochainGoodShiftCocycle (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) k n c) |
| 27 | |
| 28 | theorem goodShiftFunctorCocycle_value (n : ℕ) |
| 29 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n)) : |
| 30 | (goodShiftFunctorCocycle F K k hF n c).val = |
| 31 | F.map ((K.restrictionToTruncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n) c.val := by |
| 32 | exact ConcreteCategory.congr_hom (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorDegreeIso_projection F K k hF n) c.val |
| 33 | |
| 34 | def goodShiftFunctorHomologyIso (n : ℕ) : |
| 35 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F (K.truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))).homology n ≅ |
| 36 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K).homology (k+n) := |
| 37 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 38 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).symm ≪≫ |
| 39 | HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) k n |
| 40 | |
| 41 | theorem goodShiftFunctorHomologyIso_class (n : ℕ) |
| 42 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n)) : |
| 43 | (goodShiftFunctorHomologyIso F K k hF n).hom |
| 44 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n (goodShiftFunctorCocycle F K k hF n c)) = |
| 45 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n) c := by |
| 46 | rw [goodShiftFunctorHomologyIso] |
| 47 | change (HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) k n).hom |
| 48 | (HomologicalComplex.homologyMap (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).inv n |
| 49 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n (goodShiftFunctorCocycle F K k hF n c))) = _ |
| 50 | unfold goodShiftFunctorCocycle |
| 51 | rw [← AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 52 | have he : HomologicalComplex.homologyMap (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).hom n ≫ |
| 53 | HomologicalComplex.homologyMap (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso F K k hF).inv n = 𝟙 _ := by |
| 54 | rw [← HomologicalComplex.homologyMap_comp, Iso.hom_inv_id, HomologicalComplex.homologyMap_id] |
| 55 | have hv := ConcreteCategory.congr_hom he |
| 56 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n (HodgeConjecture.DegreeTwo.GoodShiftRepresentatives.Constructions.cochainGoodShiftCocycle (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) k n c)) |
| 57 | simp only [ConcreteCategory.comp_apply, ConcreteCategory.id_apply] at hv |
| 58 | rw [hv] |
| 59 | exact HodgeConjecture.DegreeTwo.GoodShiftRepresentatives.Constructions.cochainGoodShiftHomologyIso_class (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) k n c |
| 60 | |
| 61 | theorem goodShiftFunctorHomologyIso_image_class |
| 62 | {A : CochainComplex C ℕ} (g : A ⟶ K.restriction (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) |
| 63 | (n : ℕ) (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F A) n) |
| 64 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n)) |
| 65 | (hc : F.map (g.f n) b.val = c.val) : |
| 66 | (goodShiftFunctorHomologyIso F K k hF n).hom |
| 67 | (HomologicalComplex.homologyMap |
| 68 | ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 69 | (g ≫ K.restrictionToTruncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) n (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n b)) = |
| 70 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex F K) (k+n) c := by |
| 71 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 72 | have h : AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap |
| 73 | ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 74 | (g ≫ K.restrictionToTruncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) n b = |
| 75 | goodShiftFunctorCocycle F K k hF n c := by |
| 76 | apply Subtype.ext |
| 77 | rw [goodShiftFunctorCocycle_value] |
| 78 | change F.map (g.f n ≫ (K.restrictionToTruncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n) b.val = _ |
| 79 | rw [Functor.map_comp, ConcreteCategory.comp_apply, hc] |
| 80 | rw [h] |
| 81 | exact goodShiftFunctorHomologyIso_class F K k hF n c |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.DivisorClass.Chern.GoodShiftFunctorRepresentatives |