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.IntegralComparison.IndexedOrdinaryCech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.SectionCoordinatesRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.IntrinsicFormNormalization |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram |
| 5 | |
| 6 | /-! # De Rham Section Unit -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.DeRhamSectionUnit |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original ordinary complex on all principal subopens of an affine |
| 13 | étale chart maps isomorphically to the actual sheaf de Rham sections. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 23 | (U : X.left.affineOpens) |
| 24 | |
| 25 | abbrev Index := AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X.left, U.val) |
| 26 | |
| 27 | def opens : Index R X U ⥤ X.left.Opens := |
| 28 | AffinePrincipal.Diagram.functor X.left U.val U.property ⋙ GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 29 | |
| 30 | abbrev restriction := GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{u} R) (opens R X U) |
| 31 | |
| 32 | def source : CochainComplex ((Index R X U)ᵒᵖ ⥤ ModuleCat.{u} R) ℕ := |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IndexedOrdinaryCech.Ordinary.diagram R X (opens R X U)) |
| 34 | |
| 35 | def target : CochainComplex ((Index R X U)ᵒᵖ ⥤ ModuleCat.{u} R) ℕ := |
| 36 | ((restriction R X U).mapHomologicalComplex (.up ℕ)).obj |
| 37 | (((sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R)).mapHomologicalComplex |
| 38 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)) |
| 39 | |
| 40 | def map : source R X U ⟶ target R X U := |
| 41 | (IndexedOrdinaryCech.Ordinary.complexIso R X (opens R X U)).hom ≫ |
| 42 | ((restriction R X U).mapHomologicalComplex (.up ℕ)).map (IntrinsicDeRham.SectionUnit.Intrinsic.presheafUnit R X) |
| 43 | |
| 44 | theorem component (q : ℕ) (r : Index R X U) : |
| 45 | ((DeRhamSectionUnit.map R X U).f q).app (op r) = |
| 46 | (IntrinsicDeRham.SectionUnit.Intrinsic.unit R X ((opens R X U).obj r)).f q := by |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro ω |
| 50 | rfl |
| 51 | |
| 52 | theorem integral_unit (q : ℕ) (r : Index R X U) |
| 53 | (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X ((opens R X U).obj r)) q) : |
| 54 | ((DeRhamSectionUnit.map R X U).f q).app (op r) ω = |
| 55 | (Integral.IntrinsicFormNormalization.Intrinsic.iso R X ((opens R X U).obj r) q).hom |
| 56 | (Integral.FormSectionUnit.unit R X q ((opens R X U).obj r) ω) := by |
| 57 | rw [component] |
| 58 | exact (Integral.IntrinsicFormNormalization.Intrinsic.unit R X ((opens R X U).obj r) q ω).symm |
| 59 | |
| 60 | variable (σ : Type u) [LinearOrder σ] |
| 61 | [Algebra (MvPolynomial σ R) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U.val)] |
| 62 | [IsScalarTower R (MvPolynomial σ R) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U.val)] |
| 63 | [Algebra.Etale (MvPolynomial σ R) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U.val)] |
| 64 | |
| 65 | include σ in |
| 66 | theorem map_isIso : IsIso (DeRhamSectionUnit.map R X U) := by |
| 67 | have h (q : ℕ) (r : Index R X U) : IsIso (((DeRhamSectionUnit.map R X U).f q).app (op r)) := by |
| 68 | let V := (AffinePrincipal.Diagram.functor X.left U.val U.property).obj r |
| 69 | let i : V.val ⟶ U.val := homOfLE (X.left.basicOpen_le r.val) |
| 70 | let := IntegralComparison.Etale.SectionCoordinatesRestriction.polynomialAlgebra R X i σ |
| 71 | let := IntegralComparison.Etale.SectionCoordinatesRestriction.tower R X i σ |
| 72 | let := IntegralComparison.Etale.SectionCoordinatesRestriction.etale R X i U.property V.property σ |
| 73 | rw [component, IntrinsicDeRham.SectionUnit.Intrinsic.unit_f] |
| 74 | exact AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenOrdinaryFormUnit.BaseAffineOpenOrdinaryFormUnit.forms R X V.val V.property σ q |
| 75 | have hq (q : ℕ) : IsIso ((DeRhamSectionUnit.map R X U).f q) := by |
| 76 | let hr (r : (Index R X U)ᵒᵖ) : IsIso (((DeRhamSectionUnit.map R X U).f q).app r) := h q r.unop |
| 77 | exact NatIso.isIso_of_isIso_app _ |
| 78 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 79 | |
| 80 | def iso : source R X U ≅ target R X U := by |
| 81 | let := map_isIso R X U σ |
| 82 | exact asIso (DeRhamSectionUnit.map R X U) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.DeRhamSectionUnit |