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.FormsModules |
| 2 | |
| 3 | /-! # Form Section Unit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.FormSectionUnit |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original module sheafification unit is linear in local functions |
| 10 | and commutes with actual restriction of differential symbols. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) (n : ℕ) |
| 19 | |
| 20 | abbrev ring (U : X.left.Opens) := Γ(X.left, U) |
| 21 | |
| 22 | local instance sectionAlgebra (U : X.left.Opens) : Algebra R (ring R X U) := |
| 23 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 24 | |
| 25 | def unit (U : X.left.Opens) : |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (ring R X U) n →ₗ[ring R X U] |
| 27 | Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n, U) := |
| 28 | (((PresheafOfModules.sheafificationAdjunction (𝟙 X.left.ringCatSheaf.obj)).unit.app |
| 29 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.presheaf R X n)).app (op U)).hom |
| 30 | |
| 31 | theorem restriction {U V : X.left.Opens} (i : V ⟶ U) |
| 32 | (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (ring R X U) n) : |
| 33 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n).presheaf.map i.op (FormSectionUnit.unit R X n U ω) = |
| 34 | FormSectionUnit.unit R X n V (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op) n ω) := by |
| 35 | exact (PresheafOfModules.naturality_apply |
| 36 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.left.ringCatSheaf.obj)).unit.app |
| 37 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.presheaf R X n)) i.op ω).symm |
| 38 | |
| 39 | theorem bijective (U : X.left.Opens) |
| 40 | [IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op U))] : |
| 42 | Function.Bijective (FormSectionUnit.unit R X n U) := by |
| 43 | let P := GeometricComparison.Integral.FormsModules.IntegralFormsModules.presheaf R X n |
| 44 | let η := AlgebraSheafificationScalars.unit R X P |
| 45 | have he := congrArg (fun f => f.app (op U)) |
| 46 | (AlgebraSheafificationScalars.map_fac R X P) |
| 47 | have hη : IsIso (η.app (op U)) := by |
| 48 | rw [← he] |
| 49 | change IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op U) ≫ |
| 51 | (AlgebraSheafificationScalars.map R X P).hom.app (op U)) |
| 52 | infer_instance |
| 53 | exact ConcreteCategory.bijective_of_isIso (η.app (op U)) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.FormSectionUnit |