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.NumberTheory.PadicHodge.IntegralComparison.Single.ColumnCoefficientCoordinates |
| 2 | |
| 3 | /-! # Single Coefficient Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact coefficient change commutes with the original functorial |
| 10 | single-degree total coordinates, including the total-flip sign. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u v w z r s |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTotal |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 17 | {D : Type w} [Category.{z} D] [Abelian D] [HasCoproducts.{0} D] |
| 18 | {E : Type r} [Category.{s} E] [Abelian E] [HasCoproducts.{0} E] |
| 19 | (F : C ⥤ CochainComplex D ℕ) [F.Additive] |
| 20 | (G : D ⥤ E) [G.Additive] [G.PreservesHomology] (M : C) (c : ℕ) |
| 21 | |
| 22 | local instance finiteBiproducts : HasFiniteBiproducts D := Abelian.hasFiniteBiproducts |
| 23 | |
| 24 | abbrev mappedFunctor : C ⥤ CochainComplex E ℕ := F ⋙ G.mapHomologicalComplex (.up ℕ) |
| 25 | |
| 26 | abbrev totalIso := |
| 27 | AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (SingleTotal.bicomplex F M c) |
| 28 | |
| 29 | theorem comparison (n : ℕ) : |
| 30 | homologyMap (totalIso F G M c).inv (n+c) ≫ |
| 31 | (SingleTotal.homologyIso (mappedFunctor F G) M c n).hom ≫ |
| 32 | (((F.obj M).sc n).mapHomologyIso G).hom = |
| 33 | ((((SingleTotal.bicomplex F M c).total (.up ℕ)).sc (n+c)).mapHomologyIso G).hom ≫ |
| 34 | G.map (SingleTotal.homologyIso F M c n).hom := by |
| 35 | let B := SingleTotal.bicomplex F M c |
| 36 | let hB := SingleTotal.off_degree F M c |
| 37 | let BG := Single.ColumnCoefficientCoordinates.mapped G B |
| 38 | let hBG := Single.ColumnCoefficientCoordinates.support G B c hB |
| 39 | let iB := Single.ColumnCycleCoordinates.homologyIso B c hB n |
| 40 | let iBG := Single.ColumnCycleCoordinates.homologyIso BG c hBG n |
| 41 | let row := (SingleTotal.rowIso F M c).hom |
| 42 | have hc := Single.ColumnCoefficientCoordinates.homology G B c hB n |
| 43 | have hr : homologyMap ((G.mapHomologicalComplex (.up ℕ)).map row) n ≫ |
| 44 | (((F.obj M).sc n).mapHomologyIso G).hom = |
| 45 | (((B.X c).sc n).mapHomologyIso G).hom ≫ G.map (homologyMap row n) := |
| 46 | ShortComplex.mapHomologyIso_hom_naturality ((shortComplexFunctor D (.up ℕ) n).map row) G |
| 47 | have hs : (SingleTotal.homologyIso F M c n).hom = iB.hom ≫ homologyMap row n := by |
| 48 | simp only [SingleTotal.homologyIso, iB, Single.ColumnCycleCoordinates.homologyIso, |
| 49 | Iso.trans_hom, Iso.symm_hom, homologyMapIso_hom, B, row, Category.assoc] |
| 50 | have ht : (SingleTotal.homologyIso (mappedFunctor F G) M c n).hom = |
| 51 | iBG.hom ≫ homologyMap ((G.mapHomologicalComplex (.up ℕ)).map row) n := by |
| 52 | simp only [SingleTotal.homologyIso, iBG, Single.ColumnCycleCoordinates.homologyIso, |
| 53 | Iso.trans_hom, Iso.symm_hom, homologyMapIso_hom, Category.assoc] |
| 54 | rfl |
| 55 | rw [hs, ht] |
| 56 | change homologyMap (totalIso F G M c).inv (n+c) ≫ |
| 57 | (iBG.hom ≫ homologyMap ((G.mapHomologicalComplex (.up ℕ)).map row) n) ≫ |
| 58 | (((F.obj M).sc n).mapHomologyIso G).hom = |
| 59 | (((B.total (.up ℕ)).sc (n+c)).mapHomologyIso G).hom ≫ |
| 60 | G.map (iB.hom ≫ homologyMap row n) |
| 61 | calc |
| 62 | _ = (homologyMap (totalIso F G M c).inv (n+c) ≫ iBG.hom ≫ |
| 63 | (((B.X c).sc n).mapHomologyIso G).hom) ≫ G.map (homologyMap row n) := by |
| 64 | simp only [Category.assoc] |
| 65 | rw [hr] |
| 66 | _ = ((((B.total (.up ℕ)).sc (n+c)).mapHomologyIso G).hom ≫ G.map iB.hom) ≫ |
| 67 | G.map (homologyMap row n) := congrArg (· ≫ G.map (homologyMap row n)) hc |
| 68 | _ = _ := by rw [G.map_comp, Category.assoc] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientChange |