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.RelativeCupHomotopy |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularThomSheafPurity |
| 3 | |
| 4 | /-! # Good Shift Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Canonical truncation shifts actual cohomology, including its new degree zero. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {C : Type*} [Category C] [Abelian C] |
| 19 | |
| 20 | def cochainGoodShiftHomologyIso (K : CochainComplex C ℕ) (k n : ℕ) : |
| 21 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).homology n ≅ K.homology (k+n) := by |
| 22 | let e := RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k |
| 23 | have : QuasiIsoAt (K.πTruncGE e) (k+n) := K.quasiIsoAt_πTruncGE e (j := n) rfl |
| 24 | exact ((K.truncGE' e).extendHomologyIso e (j := n) (j' := k+n) rfl).symm ≪≫ |
| 25 | (isoOfQuasiIsoAt (K.πTruncGE e) (k+n)).symm |
| 26 | |
| 27 | theorem cochainGoodTruncation_quasiIso (K : CochainComplex C ℕ) (k : ℕ) |
| 28 | (hK : ∀ n, n<k → K.ExactAt n) : QuasiIso (K.πTruncGE (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := by |
| 29 | apply (K.quasiIso_πTruncGE_iff_isSupported (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).mpr |
| 30 | constructor |
| 31 | intro n hn |
| 32 | apply hK n |
| 33 | by_contra h |
| 34 | have he : (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).f (n-k) = n := by |
| 35 | change k+(n-k)=n |
| 36 | omega |
| 37 | exact hn (n-k) he |
| 38 | |
| 39 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 40 | |
| 41 | abbrev regularThomGoodShiftSheafComplex := Z.regularThomSheafComplex.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding (2*p)) |
| 42 | |
| 43 | def regularThomGoodShift_zeroHomologyIso : |
| 44 | (regularThomGoodShiftSheafComplex Z).homology 0 ≅ Z.regularThomSheafComplex.homology (2*p) := |
| 45 | cochainGoodShiftHomologyIso Z.regularThomSheafComplex (2*p) 0 |
| 46 | |
| 47 | theorem regularThomGoodShift_positive_homology_isZero (n : ℕ) (hn : 0<n) : |
| 48 | IsZero ((regularThomGoodShiftSheafComplex Z).homology n) := |
| 49 | (RegularThomSheafPurity.Constructions.regularThomSheaf_homology_isZero_except Z (2*p+n) (by omega)).of_iso |
| 50 | (cochainGoodShiftHomologyIso Z.regularThomSheafComplex (2*p) n) |
| 51 | |
| 52 | theorem regularThomGoodTruncation_quasiIso : |
| 53 | QuasiIso (Z.regularThomSheafComplex.πTruncGE (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding (2*p))) := |
| 54 | cochainGoodTruncation_quasiIso Z.regularThomSheafComplex (2*p) |
| 55 | (fun n hn => RegularThomSheafPurity.Constructions.regularThomSheaf_exactAt_except Z n (by omega)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! The canonical good-shift cohomology isomorphism acts on the original actual cycles. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 62 | |
| 63 | set_option backward.isDefEq.respectTransparency false |
| 64 | |
| 65 | variable {C : Type*} [Category C] [Abelian C] (K : CochainComplex C ℕ) (k n : ℕ) |
| 66 | |
| 67 | def cochainGoodShiftCyclesMap : K.cycles (k+n) ⟶ |
| 68 | (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).cycles n := |
| 69 | cyclesMap (K.πTruncGE (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) (k+n) ≫ |
| 70 | ((K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).extendCyclesIso |
| 71 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) (j := n) (j' := k+n) rfl).hom |
| 72 | |
| 73 | theorem cochainGoodShiftCyclesMap_inclusion : |
| 74 | cochainGoodShiftCyclesMap K k n ≫ (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).iCycles n = |
| 75 | K.iCycles (k+n) ≫ (K.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n := by |
| 76 | unfold cochainGoodShiftCyclesMap |
| 77 | rw [Category.assoc, extendCyclesIso_hom_iCycles, ← Category.assoc] |
| 78 | change (cyclesMap (K.πTruncGE (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) (k+n) ≫ |
| 79 | (K.truncGE (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).iCycles (k+n)) ≫ |
| 80 | ((K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).extendXIso (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) |
| 81 | (i := n) (i' := k+n) rfl).hom = _ |
| 82 | rw [cyclesMap_i, Category.assoc] |
| 83 | rw [πTruncGE, (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).liftExtend_f _ _ (i := n) (i' := k+n) rfl] |
| 84 | simp only [restrictionXIso, eqToIso_refl, Iso.refl_inv, |
| 85 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 86 | change K.iCycles (k+n) ≫ 𝟙 (K.X (k+n)) ≫ |
| 87 | (K.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).f n = _ |
| 88 | rw [Category.id_comp] |
| 89 | |
| 90 | theorem cochainGoodShiftCyclesMap_homologyπ : |
| 91 | cochainGoodShiftCyclesMap K k n ≫ (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)).homologyπ n ≫ |
| 92 | (cochainGoodShiftHomologyIso K k n).hom = K.homologyπ (k+n) := by |
| 93 | let e := RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k |
| 94 | let T := K.truncGE' e |
| 95 | have : QuasiIsoAt (K.πTruncGE e) (k+n) := K.quasiIsoAt_πTruncGE e (j := n) rfl |
| 96 | change (cyclesMap (K.πTruncGE e) (k+n) ≫ (T.extendCyclesIso e (j := n) (j' := k+n) rfl).hom) ≫ |
| 97 | T.homologyπ n ≫ ((T.extendHomologyIso e (j := n) (j' := k+n) rfl).inv ≫ |
| 98 | (isoOfQuasiIsoAt (K.πTruncGE e) (k+n)).inv) = K.homologyπ (k+n) |
| 99 | rw [Category.assoc, ← Category.assoc (T.extendCyclesIso e rfl).hom, |
| 100 | ← homologyπ_extendHomologyIso_hom, Category.assoc] |
| 101 | simp only [Iso.hom_inv_id_assoc] |
| 102 | rw [← Category.assoc] |
| 103 | change (cyclesMap (K.πTruncGE e) (k+n) ≫ (K.truncGE e).homologyπ (k+n)) ≫ |
| 104 | (isoOfQuasiIsoAt (K.πTruncGE e) (k+n)).inv = _ |
| 105 | rw [← homologyπ_naturality, Category.assoc, isoOfQuasiIsoAt_hom_inv_id, |
| 106 | Category.comp_id] |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions |