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.Integral.ZeroForms |
| 2 | |
| 3 | /-! # Low Degree Sheaves -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.LowDegreeSheaves.IntegralLowDegreeSheaves |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The first two native de Rham sheaves and their differential agree with functions and Kähler one-forms before inverting the prime. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (X : Over (Spec (.of R))) |
| 16 | |
| 17 | def zeroPresheafIso : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0 ≅ AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.functionsPresheaf R X := |
| 18 | NatIso.ofComponents (fun U => |
| 19 | ((ZeroForms.IntegralZeroForms.equiv R ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj U)).restrictScalars R).toModuleIso) |
| 20 | (by |
| 21 | intro U V f |
| 22 | apply ModuleCat.hom_ext |
| 23 | apply LinearMap.ext |
| 24 | intro ω |
| 25 | exact ZeroForms.IntegralZeroForms.naturality ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map f) ω) |
| 26 | |
| 27 | def onePresheafIso : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 1 ≅ AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsPresheaf R X := |
| 28 | NatIso.ofComponents (fun U => |
| 29 | ((OneForms.IntegralOneForms.equiv R ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj U)).restrictScalars R).toModuleIso) |
| 30 | (by |
| 31 | intro U V f |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro ω |
| 35 | exact OneForms.IntegralOneForms.naturality ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map f) ω) |
| 36 | |
| 37 | theorem first_differential : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0 ≫ (onePresheafIso R X).hom = |
| 38 | (zeroPresheafIso R X).hom ≫ AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.dZero R X := by |
| 39 | apply NatTrans.ext |
| 40 | funext U |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro ω |
| 44 | obtain ⟨a, rfl⟩ := (ZeroForms.IntegralZeroForms.equiv R ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj U)).symm.surjective ω |
| 45 | change OneForms.IntegralOneForms.equiv R _ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R _ 0 |
| 46 | ((ZeroForms.IntegralZeroForms.equiv R _).symm a)) = |
| 47 | KaehlerDifferential.D R _ (ZeroForms.IntegralZeroForms.equiv R _ ((ZeroForms.IntegralZeroForms.equiv R _).symm a)) |
| 48 | rw [LinearEquiv.apply_symm_apply] |
| 49 | exact ZeroForms.IntegralZeroForms.first_differential R _ a |
| 50 | |
| 51 | def zeroSheafIso : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X 0 ≅ |
| 52 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R)).obj |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.functionsPresheaf R X) := |
| 54 | (presheafToSheaf _ _).mapIso (zeroPresheafIso R X) |
| 55 | |
| 56 | def oneSheafIso : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X 1 ≅ |
| 57 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R)).obj |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsPresheaf R X) := |
| 59 | (presheafToSheaf _ _).mapIso (onePresheafIso R X) |
| 60 | |
| 61 | theorem sheaf_first_differential : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).d 0 1 ≫ (oneSheafIso R X).hom = |
| 62 | (zeroSheafIso R X).hom ≫ AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.dZeroSheaf R X := by |
| 63 | have h := congrArg (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R)).map |
| 64 | (first_differential R X) |
| 65 | simp only [Functor.map_comp] at h |
| 66 | convert h using 1 |
| 67 | rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.LowDegreeSheaves.IntegralLowDegreeSheaves |