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.Finite.TotalIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexExtensionHom |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.Hypercohomology |
| 4 | |
| 5 | /-! # Total Extension Composition -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionComposition.FiniteTotalExtensionComposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite total comparison in integer degrees respects composition of additive coefficient functors. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 14 | |
| 15 | theorem four_factors {C : Type*} [Category* C] {A B D E F G : C} |
| 16 | (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) (d : E ⟶ F) |
| 17 | (p : B ⟶ G) (q : G ⟶ E) (t : A ⟶ G) (z : G ⟶ F) |
| 18 | (h : b ≫ c = p ≫ q) (h₁ : a ≫ p = t) (h₂ : q ≫ d = z) : |
| 19 | (a ≫ b) ≫ (c ≫ d) = t ≫ z := by |
| 20 | calc |
| 21 | (a ≫ b) ≫ (c ≫ d) = a ≫ (b ≫ c) ≫ d := by simp only [Category.assoc] |
| 22 | _ = a ≫ (p ≫ q) ≫ d := by rw [h] |
| 23 | _ = (a ≫ p) ≫ (q ≫ d) := by simp only [Category.assoc] |
| 24 | _ = t ≫ z := by rw [h₁, h₂] |
| 25 | |
| 26 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 27 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 28 | [HasZeroObject C] [HasZeroObject D] [HasZeroObject E] |
| 29 | [HasFiniteCoproducts C] [HasFiniteCoproducts D] [HasFiniteCoproducts E] |
| 30 | (F : C ⥤ D) (G : D ⥤ E) [F.Additive] [G.Additive] |
| 31 | |
| 32 | local instance (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 33 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 34 | local instance (K : HomologicalComplex₂ D (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 35 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 36 | local instance (K : HomologicalComplex₂ E (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 37 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 38 | |
| 39 | theorem hom (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 40 | (TotalIso.FiniteTotalExtension.iso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)).hom ≫ |
| 41 | (G.mapHomologicalComplex (.up ℤ)).map (TotalIso.FiniteTotalExtension.iso F K).hom = |
| 42 | (TotalIso.FiniteTotalExtension.iso (F ⋙ G) K).hom := by |
| 43 | let eF := AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K |
| 44 | let eG := AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K) |
| 45 | let eFG := AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (F ⋙ G) K |
| 46 | let bF := AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat (K.total (.up ℕ)) |
| 47 | let bG := AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso G ComplexShape.embeddingUpNat |
| 48 | ((AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).total (.up ℕ)) |
| 49 | let bGF := AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso G ComplexShape.embeddingUpNat |
| 50 | ((F.mapHomologicalComplex (.up ℕ)).obj (K.total (.up ℕ))) |
| 51 | let bFG := AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso (F ⋙ G) ComplexShape.embeddingUpNat (K.total (.up ℕ)) |
| 52 | let GN := G.mapHomologicalComplex (.up ℕ) |
| 53 | let GZ := G.mapHomologicalComplex (.up ℤ) |
| 54 | let U := ComplexShape.embeddingUpNat.extendFunctor E |
| 55 | let UD := ComplexShape.embeddingUpNat.extendFunctor D |
| 56 | have hs : bG.inv ≫ GZ.map (UD.map eF.hom) = U.map (GN.map eF.hom) ≫ bGF.inv := |
| 57 | (Section.Hypercohomology.SectionHypercohomology.inverse_square bG bGF _ _ |
| 58 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso_naturality G ComplexShape.embeddingUpNat eF.hom)).symm |
| 59 | have ht : U.map eG.hom ≫ U.map (GN.map eF.hom) = U.map eFG.hom := |
| 60 | (U.map_comp _ _).symm.trans (congrArg U.map (TotalIso.FiniteTotalComposition.hom F G K)) |
| 61 | have he : GZ.mapIso bF ≪≫ bGF = bFG := |
| 62 | Iso.ext (ComplexExtensionHom.ComplexExtensionComposition.hom F G ComplexShape.embeddingUpNat (K.total (.up ℕ))) |
| 63 | have hb : bGF.inv ≫ GZ.map bF.inv = bFG.inv := congrArg Iso.inv he |
| 64 | exact (congrArg (fun k => (TotalIso.FiniteTotalExtension.iso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)).hom ≫ k) |
| 65 | (GZ.map_comp (UD.map eF.hom) bF.inv)).trans |
| 66 | (four_factors (U.map eG.hom) bG.inv (GZ.map (UD.map eF.hom)) (GZ.map bF.inv) |
| 67 | (U.map (GN.map eF.hom)) bGF.inv (U.map eFG.hom) bFG.inv hs ht hb) |
| 68 | |
| 69 | theorem hom_inverse (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 70 | (TotalIso.FiniteTotalExtension.iso G (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K)).hom = |
| 71 | (TotalIso.FiniteTotalExtension.iso (F ⋙ G) K).hom ≫ |
| 72 | (G.mapHomologicalComplex (.up ℤ)).map (TotalIso.FiniteTotalExtension.iso F K).inv := by |
| 73 | let e := (G.mapHomologicalComplex (.up ℤ)).mapIso (TotalIso.FiniteTotalExtension.iso F K) |
| 74 | exact (e.comp_inv_eq.mpr (FiniteTotalExtensionComposition.hom F G K).symm).symm |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionComposition.FiniteTotalExtensionComposition |