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.Intrinsic.SmoothClosedSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.FormSections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.FormTransport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.FormSectionIso |
| 6 | |
| 7 | /-! # Closed Form Sections -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ClosedFormSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Top forms of the actual quotient algebra are the native sections |
| 14 | of the direct image of the differential-form sheaf. The map preserves |
| 15 | the ambient section-ring action, not only the base-ring action. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (R : Type u) [CommRing R] |
| 27 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 28 | [IsClosedImmersion f.left] (U : Y.left.Opens) (hU : IsAffineOpen U) |
| 29 | |
| 30 | local instance ambientAlgebra : Algebra R Γ(Y.left, U) := |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y U |
| 32 | |
| 33 | abbrev quotient : CommAlgCat.{u} R := |
| 34 | CommAlgCat.of R (SmoothClosedSections.ring R Y U ⧸ f.left.ker.ideal ⟨U, hU⟩) |
| 35 | |
| 36 | local instance formModule (n : ℕ) : |
| 37 | Module Γ(Y.left, U) (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.Forms (quotient R X Y f U hU) n) := |
| 38 | inferInstanceAs (Module Γ(Y.left, U) |
| 39 | (⋀[Γ(Y.left, U) ⧸ f.left.ker.ideal ⟨U, hU⟩]^n |
| 40 | Ω[Γ(Y.left, U) ⧸ f.left.ker.ideal ⟨U, hU⟩⁄R])) |
| 41 | |
| 42 | def quotientIso : quotient R X Y f U hU ≅ SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U) := |
| 43 | CommAlgCat.isoMk (SmoothClosedSections.quotientEquiv R X Y f U hU) |
| 44 | |
| 45 | abbrev directImage (n : ℕ) := |
| 46 | (Scheme.Modules.pushforward f.left).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n) |
| 47 | |
| 48 | variable (σ : Type u) [LinearOrder σ] |
| 49 | [Algebra (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 50 | [IsScalarTower R (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 51 | [Algebra.Etale (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 52 | |
| 53 | local instance closedAlgebra : Algebra Γ(Y.left, U) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) := |
| 54 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sectionPullback f U).toRingHom.toAlgebra |
| 55 | |
| 56 | local instance sectionModule (n : ℕ) : Module (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 57 | ((Affine.ModuleExactSections.sections U).obj (directImage R X Y f n)) := |
| 58 | inferInstanceAs (Module Γ(X.left, f.left ⁻¹ᵁ U) |
| 59 | Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n, f.left ⁻¹ᵁ U)) |
| 60 | |
| 61 | local instance sectionTower (n : ℕ) : IsScalarTower Γ(Y.left, U) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) |
| 62 | ((Affine.ModuleExactSections.sections U).obj (directImage R X Y f n)) where |
| 63 | smul_assoc a b x := by |
| 64 | change (algebraMap Γ(Y.left, U) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) a * b) • x = |
| 65 | algebraMap Γ(Y.left, U) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) a • (b • x) |
| 66 | exact mul_smul _ _ _ |
| 67 | |
| 68 | def iso (n : ℕ) : |
| 69 | ModuleCat.of Γ(Y.left, U) (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.Forms (quotient R X Y f U hU) n) ≅ |
| 70 | (Affine.ModuleExactSections.sections U).obj (directImage R X Y f n) := |
| 71 | (Quotient.FormSectionIso.iso R Γ(Y.left, U) (f.left.ker.ideal ⟨U, hU⟩) |
| 72 | (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) ((Affine.ModuleExactSections.sections U).obj (directImage R X Y f n)) |
| 73 | (SmoothClosedSections.quotientEquiv R X Y f U hU) (fun _ => rfl) n |
| 74 | (IntegralComparison.Etale.FormSections.Integral.exteriorIso R X (f.left ⁻¹ᵁ U) (hU.preimage f.left) σ n)).toModuleIso |
| 75 | |
| 76 | theorem iso_apply (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.Forms (quotient R X Y f U hU) n) : |
| 77 | (iso R X Y f U hU σ n).hom ω = |
| 78 | (IntegralComparison.Etale.FormSections.Integral.exteriorIso R X (f.left ⁻¹ᵁ U) (hU.preimage f.left) σ n).symm |
| 79 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (quotientIso R X Y f U hU).hom n ω) := rfl |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ClosedFormSections |