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.GeometricComparison.NaturalTotalCoefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition |
| 3 | |
| 4 | /-! # Natural Total Chain -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.NaturalTotalChain.NaturalTotalCoefficientComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual nonnegative total coefficient comparison is compatible |
| 11 | with successive changes of coefficient category and bicomplex coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | private theorem chain {D : Type*} [Category* D] {A B C E F H : D} |
| 16 | (a : A ⟶ B) (b : B ⟶ C) (c : C ⟶ E) (d : E ⟶ H) |
| 17 | (e : B ⟶ F) (f : F ⟶ E) (g : A ⟶ F) (h : F ⟶ H) |
| 18 | (hn : b ≫ c = e ≫ f) (hc : a ≫ e = g) (hm : f ≫ d = h) : |
| 19 | (a ≫ b) ≫ (c ≫ d) = g ≫ h := by |
| 20 | calc |
| 21 | (a ≫ b) ≫ (c ≫ d) = a ≫ (b ≫ c) ≫ d := by simp only [Category.assoc] |
| 22 | _ = a ≫ (e ≫ f) ≫ d := congrArg (fun q => a ≫ q ≫ d) hn |
| 23 | _ = (a ≫ e) ≫ (f ≫ d) := by simp only [Category.assoc] |
| 24 | _ = g ≫ h := by rw [hc, hm] |
| 25 | |
| 26 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 27 | [Abelian C] [Abelian D] [Abelian E] |
| 28 | [HasCoproducts.{0} C] [HasCoproducts.{0} D] [HasCoproducts.{0} E] |
| 29 | (F : C ⥤ D) [F.Additive] (G : D ⥤ E) [G.Additive] |
| 30 | (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 31 | |
| 32 | theorem finiteIso : AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (F ⋙ G) K = |
| 33 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K) ≪≫ |
| 34 | (G.mapHomologicalComplex (.up ℕ)).mapIso (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K) := |
| 35 | Iso.ext (TotalCoefficientComposition.TotalCoefficientComparisonComposition.comparison F G K) |
| 36 | |
| 37 | variable {K} {L : HomologicalComplex₂ D (.up ℕ) (.up ℕ)} |
| 38 | {M : HomologicalComplex₂ E (.up ℕ) (.up ℕ)} |
| 39 | (e : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K ≅ L) (e' : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G L ≅ M) |
| 40 | |
| 41 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (F ⋙ G) K ≅ M := |
| 42 | ((G.mapHomologicalComplex (.up ℕ)).mapHomologicalComplex (.up ℕ)).mapIso e ≪≫ e' |
| 43 | |
| 44 | theorem totalIso : (G.mapHomologicalComplex (.up ℕ)).mapIso |
| 45 | (NaturalTotalCoefficient.NaturalTotalCoefficientHodge.totalIso F e) ≪≫ NaturalTotalCoefficient.NaturalTotalCoefficientHodge.totalIso G e' = |
| 46 | NaturalTotalCoefficient.NaturalTotalCoefficientHodge.totalIso (F ⋙ G) (bicomplexIso F G e e') := by |
| 47 | apply Iso.ext |
| 48 | let GH := G.mapHomologicalComplex (.up ℕ) |
| 49 | let TD := HomologicalComplex₂.totalFunctor D (.up ℕ) (.up ℕ) (.up ℕ) |
| 50 | let TE := HomologicalComplex₂.totalFunctor E (.up ℕ) (.up ℕ) (.up ℕ) |
| 51 | let a := GH.map (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).inv |
| 52 | let b := GH.map (TD.map e.hom) |
| 53 | let c := (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G L).inv |
| 54 | let d := TE.map e'.hom |
| 55 | let e₁ := (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)).inv |
| 56 | let f := TE.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G e.hom) |
| 57 | let g := (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (F ⋙ G) K).inv |
| 58 | let h := TE.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G e.hom ≫ e'.hom) |
| 59 | have hn : b ≫ c = e₁ ≫ f := IntegralComparison.InverseCoordinateHomology.inverse |
| 60 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)) |
| 61 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G L) _ _ |
| 62 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.natural G e.hom) |
| 63 | have hc : a ≫ e₁ = g := (congrArg Iso.inv (finiteIso F G K)).symm |
| 64 | have hm : f ≫ d = h := (TE.map_comp |
| 65 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G e.hom) e'.hom).symm |
| 66 | exact (congrArg (fun q => q ≫ (NaturalTotalCoefficient.NaturalTotalCoefficientHodge.totalIso G e').hom) |
| 67 | (GH.map_comp (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).inv (TD.map e.hom))).trans |
| 68 | (chain a b c d e₁ f g h hn hc hm) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.GeometricComparison.NaturalTotalChain.NaturalTotalCoefficientComposition |