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.SheafScalarChange |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SemilinearDerivedQ |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DerivedEquivalenceIs |
| 4 | |
| 5 | /-! # Scalar Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.ScalarChange.SectionScalarChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual semilinear change of coefficients on de Rham hypercohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R S : Type} [Field R] [Field S] (σ : R ≃+* S) |
| 16 | (X : Over (Spec (CommRingCat.of S))) |
| 17 | |
| 18 | instance derivedRestriction_equivalence : (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory.IsEquivalence := by |
| 19 | let e := (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).asEquivalence |
| 20 | let : e.functor.Additive := SheafScalarChange.SectionScalarChange.sheafRestriction_additive σ X |
| 21 | exact DerivedEquivalenceIs.DerivedEquivalence.induced_isEquivalence e |
| 22 | |
| 23 | def derivedCoefficientIso : |
| 24 | (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory.obj |
| 25 | ((DerivedCategory.singleFunctor (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves S X) 0).obj |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf S X)) ≅ |
| 27 | (DerivedCategory.singleFunctor |
| 28 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X)) 0).obj |
| 29 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X)) := by |
| 30 | refine ((SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategorySingleFunctor 0).app |
| 31 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf S X) ≪≫ ?_ |
| 32 | change (DerivedCategory.singleFunctor _ 0).obj |
| 33 | ((SheafScalarChange.SectionScalarChange.sheafRestriction σ X).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf S X)) ≅ _ |
| 34 | exact (DerivedCategory.singleFunctor _ 0).mapIso (SheafScalarChange.SectionScalarChange.coefficientSheafIso σ X) |
| 35 | |
| 36 | def derivedComplexIso : |
| 37 | (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory.obj |
| 38 | (DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt S X)) ≅ |
| 39 | DerivedCategory.Q.obj |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X)) := |
| 41 | (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategoryFactors.app |
| 42 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt S X) ≪≫ |
| 43 | DerivedCategory.Q.mapIso (SheafScalarChange.SectionScalarChange.sheafComplexIntIso σ X) |
| 44 | |
| 45 | def derivedShiftedComplexIso (n : ℤ) : |
| 46 | (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory.obj |
| 47 | ((DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt S X))⟦n⟧) ≅ |
| 48 | (DerivedCategory.Q.obj |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X)))⟦n⟧ := |
| 50 | ((SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory.commShiftIso n).app |
| 51 | (DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt S X)) ≪≫ |
| 52 | (shiftFunctor _ n).mapIso (derivedComplexIso σ X) |
| 53 | |
| 54 | def cohomologyEquiv (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology S X n ≃ₛₗ[σ.symm.toRingHom] |
| 55 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X) n := |
| 56 | (SemilinearDerivedQ.SemilinearDerived.homEquiv σ.symm (SheafScalarChange.SectionScalarChange.sheafRestriction σ X).mapDerivedCategory |
| 57 | (SemilinearDerivedQ.SemilinearDerived.derived_scalar_identity σ.symm.toRingHom (SheafScalarChange.SectionScalarChange.sheafRestriction σ X) |
| 58 | (fun Y s => (SheafScalarChange.SectionScalarChange.sheafRestriction_map_smul σ X (𝟙 Y) s).trans |
| 59 | (congrArg (fun f => σ.symm s • f) ((SheafScalarChange.SectionScalarChange.sheafRestriction σ X).map_id Y)))) _ _).trans |
| 60 | (Linear.homCongr R (derivedCoefficientIso σ X) (derivedShiftedComplexIso σ X n)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.ScalarChange.SectionScalarChange |