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.PresheafScalarChange |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.SheafCoefficients |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Extension |
| 4 | |
| 5 | /-! # Sheaf Scalar Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafScalarChange.SectionScalarChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native coefficient-change comparison after sheafification and extension by zero. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | variable {R S : Type} [Field R] [Field S] (σ : R ≃+* S) |
| 16 | (X : Over (Spec (CommRingCat.of S))) |
| 17 | |
| 18 | abbrev sheafRestriction : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves S X ⥤ |
| 19 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X) := |
| 20 | sheafCompose (Opens.grothendieckTopology X.left) (ModuleCat.restrictScalars σ.toRingHom) |
| 21 | |
| 22 | instance sheafRestriction_equivalence : (sheafRestriction σ X).IsEquivalence := |
| 23 | PeriodInvariants.SheafCoefficients.compose_equivalence (Opens.grothendieckTopology X.left) |
| 24 | (ModuleCat.restrictScalarsEquivalenceOfRingEquiv σ) |
| 25 | |
| 26 | instance sheafRestriction_additive : (sheafRestriction σ X).Additive where |
| 27 | map_add := by intros; rfl |
| 28 | |
| 29 | instance restriction_preservesSheafification : |
| 30 | (Opens.grothendieckTopology X.left).PreservesSheafification |
| 31 | (ModuleCat.restrictScalars σ.toRingHom) := |
| 32 | Sheaf.preservesSheafification_of_adjunction (Opens.grothendieckTopology X.left) |
| 33 | (ModuleCat.restrictScalarsEquivalenceOfRingEquiv σ).toAdjunction |
| 34 | |
| 35 | def sheafComplexIso : |
| 36 | ((sheafRestriction σ X).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex S X) ≅ |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X) := |
| 39 | ((NatIso.mapHomologicalComplex |
| 40 | (sheafComposeNatIso (Opens.grothendieckTopology X.left) |
| 41 | (ModuleCat.restrictScalars σ.toRingHom) |
| 42 | (sheafificationAdjunction _ (ModuleCat S)) |
| 43 | (sheafificationAdjunction _ (ModuleCat R))).symm (ComplexShape.up ℕ)).app |
| 44 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S X)) ≪≫ |
| 45 | ((presheafToSheaf (Opens.grothendieckTopology X.left) |
| 46 | (ModuleCat R)).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 47 | (PresheafScalarChange.SectionScalarChange.presheafComplexIso σ X).symm |
| 48 | |
| 49 | def sheafComplexIntIso : |
| 50 | ((sheafRestriction σ X).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt S X) ≅ |
| 52 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X) := |
| 53 | AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso (sheafRestriction σ X) ComplexShape.embeddingUpNat |
| 54 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex S X) ≪≫ |
| 55 | (ComplexShape.embeddingUpNat.extendFunctor |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X))).mapIso (sheafComplexIso σ X) |
| 57 | |
| 58 | def coefficientSheafIso : |
| 59 | (sheafRestriction σ X).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf S X) ≅ |
| 60 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R (ScalarFormsChange.SectionScalarChange.restrictBase σ.toRingHom X) := |
| 61 | (constantCommuteCompose (Opens.grothendieckTopology X.left) |
| 62 | (ModuleCat.restrictScalars σ.toRingHom)).app (ModuleCat.of S S) ≪≫ |
| 63 | (constantSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).mapIso |
| 64 | (ModuleCat.restrictScalarsIsoOfEquiv σ) |
| 65 | |
| 66 | theorem sheafRestriction_map_smul |
| 67 | {P Q : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves S X} (f : P ⟶ Q) (s : S) : |
| 68 | (sheafRestriction σ X).map (s • f) = σ.symm s • (sheafRestriction σ X).map f := by |
| 69 | apply ObjectProperty.hom_ext |
| 70 | apply NatTrans.ext |
| 71 | funext U |
| 72 | apply ModuleCat.hom_ext |
| 73 | apply LinearMap.ext |
| 74 | intro x |
| 75 | change s • f.hom.app U x = σ (σ.symm s) • f.hom.app U x |
| 76 | rw [σ.apply_symm_apply] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafScalarChange.SectionScalarChange |