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.Intrinsic.ExtensionAdapter |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FilteredComplexAdapter |
| 3 | |
| 4 | /-! # Adapter Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.AdapterNaturality.FormsAdapter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Functoriality of the filtered comparison between BettiComparison and Cohomology de Rham cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem map_commuting_square {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 15 | {A B C' D' : C} {a : A ⟶ B} {b : B ⟶ D'} {c : A ⟶ C'} {d : C' ⟶ D'} |
| 16 | (h : a ≫ b = c ≫ d) : F.map a ≫ F.map b = F.map c ≫ F.map d := |
| 17 | (F.map_comp a b).symm.trans ((congrArg (fun t => F.map t) h).trans (F.map_comp c d)) |
| 18 | |
| 19 | variable {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 20 | |
| 21 | theorem derivedComparison_naturality : |
| 22 | (Int.derivedInverseImage f).map (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom) ≫ |
| 23 | Int.derivedPullback f = |
| 24 | AlgebraicGeometry.Comparison.Betti.OpenForms.derivedDeRhamPullback f ≫ DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso X).hom := by |
| 25 | have h := (Int.inverseImage f).mapDerivedCategoryFactors.hom.naturality |
| 26 | (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom |
| 27 | change (Int.derivedInverseImage f).map (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom) ≫ |
| 28 | (Int.inverseImage f).mapDerivedCategoryFactors.hom.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt ℂ Y) = |
| 29 | (Int.inverseImage f).mapDerivedCategoryFactors.hom.app (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRhamSheafComplexInt Y) ≫ |
| 30 | DerivedCategory.Q.map |
| 31 | (((Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 32 | (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom) at h |
| 33 | have h₂ := map_commuting_square DerivedCategory.Q (Intrinsic.ExtensionAdapter.FormsAdapter.sheafComplexIntIso_naturality f) |
| 34 | exact SheafAdapterNaturality.FormsAdapter.composition_square h h₂ |
| 35 | |
| 36 | theorem cohomologyEquiv_apply (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) (a : AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRham X n) : |
| 37 | SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n a = a ≫ |
| 38 | (shiftFunctor (DerivedCategory (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.ComplexSheaves X)) (n : ℤ)).map |
| 39 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso X).hom) := by |
| 40 | change (𝟙 _ ≫ a) ≫ _ = a ≫ _ |
| 41 | exact congrArg (fun t => t ≫ _) (Category.id_comp a) |
| 42 | |
| 43 | /-- Compatibility with the independently constructed native cohomological pullbacks. -/ |
| 44 | theorem cohomologyEquiv_pullback (n : ℕ) (a : AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRham Y n) : |
| 45 | SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n ((AlgebraicGeometry.Comparison.Betti.OpenForms.algebraicDeRhamPullback f n).hom a) = |
| 46 | Int.pullback f n (SheafFormsAdapter.FormsAdapter.cohomologyEquiv Y n a) := by |
| 47 | change (DerivedCategory.singleFunctor (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.ComplexSheaves Y) 0).obj |
| 48 | (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.constantComplexSheaf Y) ⟶ |
| 49 | (DerivedCategory.Q.obj (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRhamSheafComplexInt Y))⟦(n : ℤ)⟧ at a |
| 50 | erw [cohomologyEquiv_apply, cohomologyEquiv_apply] |
| 51 | let S := shiftFunctor (DerivedCategory (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.ComplexSheaves X)) (n : ℤ) |
| 52 | have hshift := ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).commShiftIso (n : ℤ)).hom.naturality |
| 53 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom) |
| 54 | change (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map |
| 55 | ((shiftFunctor (DerivedCategory (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.ComplexSheaves Y)) (n : ℤ)).map |
| 56 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom)) ≫ |
| 57 | ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 58 | (DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt ℂ Y)) = |
| 59 | ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 60 | (DerivedCategory.Q.obj (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRhamSheafComplexInt Y)) ≫ |
| 61 | S.map ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map |
| 62 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom)) at hshift |
| 63 | change ((AlgebraicGeometry.Comparison.Betti.OpenForms.derivedInverseImageConstantIso f).inv ≫ (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map a ≫ |
| 64 | ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 65 | (DerivedCategory.Q.obj (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRhamSheafComplexInt Y)) ≫ |
| 66 | S.map (AlgebraicGeometry.Comparison.Betti.OpenForms.derivedDeRhamPullback f)) ≫ |
| 67 | S.map (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso X).hom) = |
| 68 | (AlgebraicGeometry.Comparison.Betti.OpenForms.derivedInverseImageConstantIso f).inv ≫ |
| 69 | (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map (a ≫ |
| 70 | (shiftFunctor (DerivedCategory (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.ComplexSheaves Y)) (n : ℤ)).map |
| 71 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom)) ≫ |
| 72 | ((AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 73 | (DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt ℂ Y)) ≫ S.map (Int.derivedPullback f) |
| 74 | erw [(AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map_comp] |
| 75 | simp only [Category.assoc] |
| 76 | have hnat : (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map |
| 77 | (DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso Y).hom) ≫ Int.derivedPullback f = |
| 78 | AlgebraicGeometry.Comparison.Betti.OpenForms.derivedDeRhamPullback f ≫ DerivedCategory.Q.map (SheafFormsAdapter.FormsAdapter.sheafComplexIntIso X).hom := |
| 79 | derivedComparison_naturality f |
| 80 | have hmap := map_commuting_square S hnat |
| 81 | have ht := (SheafAdapterNaturality.FormsAdapter.composition_square hshift hmap).trans (Category.assoc _ _ _) |
| 82 | exact congrArg (fun k => (AlgebraicGeometry.Comparison.Betti.OpenForms.derivedInverseImageConstantIso f).inv ≫ |
| 83 | (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.derivedInverseImage f).map a ≫ k) ht.symm |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.AdapterNaturality.FormsAdapter |