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.AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenOrdinaryFormUnit |
| 2 | |
| 3 | /-! # Section Unit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionUnit.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native differential forms and the original sheaf de Rham complex |
| 10 | are canonically isomorphic on each affine étale coordinate chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | |
| 18 | abbrev ring (U : X.left.Opens) : CommAlgCat.{u} R := |
| 19 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj (op U) |
| 20 | |
| 21 | abbrev evaluation (U : X.left.Opens) := |
| 22 | sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R) ⋙ |
| 23 | (CategoryTheory.evaluation X.left.Opensᵒᵖ (ModuleCat.{u} R)).obj (op U) |
| 24 | |
| 25 | def sections (U : X.left.Opens) : CochainComplex (ModuleCat.{u} R) ℕ := |
| 26 | ((Intrinsic.evaluation R X U).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 27 | |
| 28 | def rawIso (U : X.left.Opens) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (ring R X U) ≅ |
| 29 | (((CategoryTheory.evaluation X.left.Opensᵒᵖ (ModuleCat.{u} R)).obj (op U)).mapHomologicalComplex |
| 30 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) := |
| 31 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 32 | intro n m hnm |
| 33 | change n + 1 = m at hnm |
| 34 | subst m |
| 35 | simp only [Functor.mapHomologicalComplex_obj_d, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex, |
| 36 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex, CochainComplex.of_d, Iso.refl_hom] |
| 37 | rfl) |
| 38 | |
| 39 | def presheafUnit : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X ⟶ |
| 40 | ((sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R)).mapHomologicalComplex |
| 41 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) where |
| 42 | f n := toSheafify (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n) |
| 43 | comm' n m _ := (toSheafify_naturality (Opens.grothendieckTopology X.left) |
| 44 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).d n m)).symm |
| 45 | |
| 46 | def unit (U : X.left.Opens) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (ring R X U) ⟶ sections R X U := |
| 47 | (rawIso R X U).hom ≫ |
| 48 | (((CategoryTheory.evaluation X.left.Opensᵒᵖ (ModuleCat.{u} R)).obj (op U)).mapHomologicalComplex |
| 49 | (.up ℕ)).map (presheafUnit R X) |
| 50 | |
| 51 | theorem unit_f (U : X.left.Opens) (n : ℕ) : (unit R X U).f n = |
| 52 | (toSheafify (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op U) := |
| 53 | Category.id_comp _ |
| 54 | |
| 55 | variable (U : X.left.Opens) (hU : IsAffineOpen U) |
| 56 | (σ : Type u) [LinearOrder σ] [Algebra (MvPolynomial σ R) (ring R X U)] |
| 57 | [IsScalarTower R (MvPolynomial σ R) (ring R X U)] |
| 58 | [Algebra.Etale (MvPolynomial σ R) (ring R X U)] |
| 59 | |
| 60 | include hU σ in |
| 61 | theorem unit_isIso : IsIso (unit R X U) := by |
| 62 | have (n : ℕ) : IsIso ((unit R X U).f n) := by |
| 63 | rw [unit_f] |
| 64 | exact AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenOrdinaryFormUnit.BaseAffineOpenOrdinaryFormUnit.forms R X U hU σ n |
| 65 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 66 | |
| 67 | def iso : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (ring R X U) ≅ sections R X U := by |
| 68 | let : IsIso (unit R X U) := unit_isIso R X U hU σ |
| 69 | exact asIso (unit R X U) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionUnit.Intrinsic |