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.IntersectionTheory.ProjectionFormula.BrutalConnectingMap |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.ConnectingHomology |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralConnecting |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalTensorSpectralSequence |
| 5 | |
| 6 | /-! # Brutal Spectral Differential -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalSpectralDifferential |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The connecting differential of the tail-filtration spectral object |
| 13 | is the tensor of the adjacent-column cocycle, through canonical relative |
| 14 | homology isomorphisms. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CochainComplex _root_.CochainComplex.HomComplex |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalFiltration OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalFiltrationQuotient |
| 22 | |
| 23 | abbrev arrow (p : ℤ) : (p : EInt) ⟶ ((p + 1 : ℤ) : EInt) := |
| 24 | homOfLE (WithBotTop.coe_le_coe.mpr (by omega)) |
| 25 | |
| 26 | variable (R : Type) [CommRing R] (A K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 27 | |
| 28 | @[reassoc] |
| 29 | theorem relative_δ (p n m : ℤ) (h : n + 1 = m) : |
| 30 | (Tensor.SpectralObject.abelian R K (BrutalFiltration.filtration R A)).δ (arrow p) (arrow (p + 1)) n m h ≫ |
| 31 | (BrutalFiltrationQuotient.relativeTermIso R A p K m).hom = |
| 32 | (BrutalFiltrationQuotient.relativeTermIso R A (p + 1) K n).hom ≫ |
| 33 | CocycleHomology.map R |
| 34 | (Tensor.Cochain.mapCocycle R K (BrutalConnectingMap.columnConnecting R A p)) n m (by omega) := by |
| 35 | simp only [BrutalFiltrationQuotient.relativeTermIso, Iso.trans_hom, BrutalFiltrationQuotient.tensorConeHomologyIso_hom] |
| 36 | rw [← Category.assoc, Tensor.SpectralConnecting.abelian_δ] |
| 37 | simp only [Category.assoc] |
| 38 | congr 1 |
| 39 | change (HomologicalComplex.homologyFunctor (ModuleCat.{0} R) (.up ℤ) 0).shiftMap |
| 40 | (ShiftedHom.map (mappingConeCompTriangle (BrutalFiltrationQuotient.stageMap R A p) (BrutalFiltrationQuotient.stageMap R A (p + 1))).mor₃ |
| 41 | (Tensor.Homotopy.complexFunctor R K)) n m (by omega) ≫ |
| 42 | HomologicalComplex.homologyMap ((Tensor.Homotopy.complexFunctor R K).map |
| 43 | (mappingCone.descShortComplex (BrutalFiltrationQuotient.sequence R A p))) m = |
| 44 | HomologicalComplex.homologyMap ((Tensor.Homotopy.complexFunctor R K).map |
| 45 | (mappingCone.descShortComplex (BrutalFiltrationQuotient.sequence R A (p + 1)))) n ≫ _ |
| 46 | rw [Tensor.ConnectingHomology.comp_triangle, Category.assoc, |
| 47 | ← HomologicalComplex.homologyMap_comp, ← CategoryTheory.Functor.map_comp] |
| 48 | change CocycleHomology.map R |
| 49 | (Tensor.Cochain.mapCocycle R K (-mappingCone.fst (BrutalFiltrationQuotient.sequence R A (p + 1)).f)) n m (by omega) ≫ |
| 50 | HomologicalComplex.homologyMap ((Tensor.Homotopy.complexFunctor R K).map |
| 51 | (mappingCone.inr (BrutalFiltrationQuotient.sequence R A p).f ≫ mappingCone.descShortComplex (BrutalFiltrationQuotient.sequence R A p))) m = _ |
| 52 | rw [mappingCone.inr_descShortComplex, |
| 53 | Tensor.ConnectingHomology.connecting R (BrutalFiltrationQuotient.sequence R A (p + 1)) (BrutalFiltrationQuotient.splitting R A (p + 1)) K, |
| 54 | Category.assoc] |
| 55 | congr 1 |
| 56 | rw [← CocycleHomology.postcomp, ← Tensor.ConnectingHomology.mapCocycle_postcomp] |
| 57 | rfl |
| 58 | |
| 59 | @[reassoc] |
| 60 | theorem firstPage_d (p q : ℤ) : |
| 61 | ((BrutalTensorSpectralSequence.spectralSequence R A K).page 2).d (p, q + 1) (p + 2, q) ≫ |
| 62 | (BrutalTensorSpectralSequence.firstPageXIso R A K (p + 2) q).hom = |
| 63 | (BrutalTensorSpectralSequence.firstPageXIso R A K p (q + 1)).hom ≫ |
| 64 | CocycleHomology.map R |
| 65 | (Tensor.Cochain.mapCocycle R K (BrutalConnectingMap.columnConnecting R A q)) |
| 66 | (p + (q + 1)) ((p + 2) + q) (by omega) := by |
| 67 | let X := Tensor.SpectralObject.abelian R K (BrutalFiltration.filtration R A) |
| 68 | have hpq : (ComplexShape.up' (⟨2, 1 - 2⟩ : ℤ × ℤ)).Rel (p, q + 1) (p + 2, q) := by |
| 69 | change (p + 2, (q + 1) + (1 - 2)) = (p + 2, q) |
| 70 | congr 1 |
| 71 | omega |
| 72 | have hd := X.spectralSequence_first_page_d_eq Abelian.SpectralObject.coreE₂Cohomological |
| 73 | (p, q + 1) (p + 2, q) hpq (q : EInt) ((q + 1 : ℤ) : EInt) (((q + 1) + 1 : ℤ) : EInt) |
| 74 | rfl rfl rfl (p + (q + 1)) ((p + 2) + q) rfl (by omega) |
| 75 | change ((X.spectralSequence Abelian.SpectralObject.coreE₂Cohomological).page 2).d |
| 76 | (p, q + 1) (p + 2, q) ≫ _ = _ |
| 77 | rw [hd] |
| 78 | simp only [BrutalTensorSpectralSequence.firstPageXIso, Iso.trans_hom, Category.assoc] |
| 79 | change _ ≫ X.δ (arrow q) (arrow (q + 1)) (p + (q + 1)) ((p + 2) + q) (by omega) ≫ |
| 80 | (X.spectralSequenceFirstPageXIso Abelian.SpectralObject.coreE₂Cohomological |
| 81 | (p + 2, q) (q : EInt) ((q + 1 : ℤ) : EInt) rfl rfl ((p + 2) + q) rfl).inv ≫ |
| 82 | (X.spectralSequenceFirstPageXIso Abelian.SpectralObject.coreE₂Cohomological |
| 83 | (p + 2, q) (q : EInt) ((q + 1 : ℤ) : EInt) rfl rfl ((p + 2) + q) rfl).hom ≫ _ = _ |
| 84 | rw [Iso.inv_hom_id_assoc] |
| 85 | rw [relative_δ] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalSpectralDifferential |