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.FunctionsSheaf |
| 2 | |
| 3 | /-! # Global Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalDifferential.IntegralGlobalDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! When the actual global functions are the base ring, the actual integral first de Rham differential on global sections vanishes. -/ |
| 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 | theorem zeroForms_isSheaf : Presheaf.IsSheaf (Opens.grothendieckTopology X.left) |
| 18 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0) := |
| 19 | (Presheaf.isSheaf_of_iso_iff (LowDegreeSheaves.IntegralLowDegreeSheaves.zeroPresheafIso R X)).mpr |
| 20 | (FunctionsSheaf.IntegralFunctionsSheaf.isSheaf R X) |
| 21 | |
| 22 | theorem zeroForms_unit_isIso (U : X.left.Opens) : |
| 23 | IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0)).app (op U)) := by |
| 25 | let : IsIso (toSheafify (Opens.grothendieckTopology X.left) |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0)) := isIso_toSheafify _ (zeroForms_isSheaf R X) |
| 27 | infer_instance |
| 28 | |
| 29 | theorem sectionBaseMap_surjective [IsIso X.hom.appTop] : |
| 30 | Function.Surjective (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X ⊤) := by |
| 31 | have hX := (ConcreteCategory.isIso_iff_bijective X.hom.appTop).mp inferInstance |
| 32 | have hR := (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv.symm.surjective |
| 33 | convert hX.surjective.comp hR using 1 |
| 34 | funext r |
| 35 | simp [AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap, Scheme.Hom.appLE, Scheme.Hom.appTop] |
| 36 | rfl |
| 37 | |
| 38 | theorem presheaf_differential_zero [IsIso X.hom.appTop] |
| 39 | (ω : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0).obj (op ⊤)) : |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0).app (op ⊤) ω = 0 := by |
| 41 | let B := (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj (op ⊤) |
| 42 | obtain ⟨a, rfl⟩ := (ZeroForms.IntegralZeroForms.equiv R B).symm.surjective ω |
| 43 | apply (OneForms.IntegralOneForms.equiv R B).injective |
| 44 | change OneForms.IntegralOneForms.equiv R B |
| 45 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R B 0 ((ZeroForms.IntegralZeroForms.equiv R B).symm a)) = |
| 46 | OneForms.IntegralOneForms.equiv R B 0 |
| 47 | rw [ZeroForms.IntegralZeroForms.first_differential, map_zero] |
| 48 | obtain ⟨r, hr⟩ := sectionBaseMap_surjective R X a |
| 49 | change algebraMap R B r = a at hr |
| 50 | rw [← hr, Derivation.map_algebraMap] |
| 51 | |
| 52 | theorem sheaf_differential_zero [IsIso X.hom.appTop] |
| 53 | (ω : ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X 0).obj.obj (op ⊤)) : |
| 54 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).d 0 1).hom.app (op ⊤) ω = 0 := by |
| 55 | let : IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0)).app (op ⊤)) := zeroForms_unit_isIso R X ⊤ |
| 57 | obtain ⟨a, rfl⟩ := ConcreteCategory.bijective_of_isIso |
| 58 | ((toSheafify (Opens.grothendieckTopology X.left) |
| 59 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0)).app (op ⊤)) |>.surjective ω |
| 60 | have h := ConcreteCategory.congr_hom |
| 61 | (congrArg (fun f => f.app (op ⊤)) |
| 62 | (toSheafify_naturality (Opens.grothendieckTopology X.left) |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0))) a |
| 64 | change (toSheafify (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 1)).app (op ⊤) |
| 65 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0).app (op ⊤) a) = |
| 66 | (sheafifyMap (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0)).app (op ⊤) |
| 67 | ((toSheafify (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0)).app (op ⊤) a) at h |
| 68 | rw [presheaf_differential_zero, map_zero] at h |
| 69 | convert h.symm using 1 <;> rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalDifferential.IntegralGlobalDifferential |