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.Affine.DualizingAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AmbientAdjunction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalDualLine |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ClosedFormSections |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.FormCoherence |
| 6 | |
| 7 | /-! # Local Adjunction -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalAdjunction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Local adjunction identifies the surviving cohomology of the |
| 14 | original projective dual resolution with the actual top-form sheaf |
| 15 | of the smooth closed subscheme. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 29 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 30 | |
| 31 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 32 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 33 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) |
| 34 | (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 35 | (i : Fin (n + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 36 | |
| 37 | local instance ambientAlgebra : Algebra R Γ(IntrinsicOverlap.Intrinsic.space R n, U) := |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (IntrinsicOverlap.Intrinsic.model R n) U |
| 39 | |
| 40 | abbrev ideal := f.left.ker.ideal ⟨U, hU⟩ |
| 41 | abbrev quotient := Γ(IntrinsicOverlap.Intrinsic.space R n, U) ⧸ LocalAdjunction.ideal X f U hU |
| 42 | abbrev structureImage := ClosedImmersionPurity.directImage f.left |
| 43 | abbrev source := ClosedImmersionPurity.source f.left j B |
| 44 | abbrev dual := ClosedImmersionPurity.internalComplex f.left j B (n + 1) |
| 45 | |
| 46 | def quotientSectionIso : |
| 47 | (AffineOpen.InternalHom.sections U hU).obj (structureImage X f) ≅ |
| 48 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R n, U) (quotient X f U hU) := |
| 49 | (Affine.ChartSections.iso U hU (structureImage X f)).symm ≪≫ |
| 50 | (Closed.ImmersionQuotientSections.quotientIso f.left U hU).symm ≪≫ |
| 51 | eqToIso (congrArg (fun I : Ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U) => ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R n, U) (Γ(IntrinsicOverlap.Intrinsic.space R n, U) ⧸ I)) |
| 52 | (f.left.ker_apply ⟨U, hU⟩).symm) |
| 53 | |
| 54 | variable {c g : ℕ} (hc : c + g = n) |
| 55 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 56 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U) s = LocalAdjunction.ideal X f U hU) |
| 57 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R n, U) (List.ofFn s)) |
| 58 | (bI : Module.Basis (Fin c) (quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 59 | (bQ : Module.Basis (Fin g) (quotient X f U hU) Ω[quotient X f U hU⁄R]) |
| 60 | |
| 61 | def ambientIso : |
| 62 | (quotient X f U hU) ⊗[Γ(IntrinsicOverlap.Intrinsic.space R n, U)] |
| 63 | (AffineOpen.InternalHom.sections U hU).obj |
| 64 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) ≃ₗ[quotient X f U hU] |
| 65 | ⋀[quotient X f U hU]^(c + g) |
| 66 | ((quotient X f U hU) ⊗[Γ(IntrinsicOverlap.Intrinsic.space R n, U)] Ω[Γ(IntrinsicOverlap.Intrinsic.space R n, U)⁄R]) := |
| 67 | (AmbientAdjunction.ambientIso i U hU hUi j (LocalAdjunction.ideal X f U hU)).trans |
| 68 | (eqToIso (congrArg (fun d => ModuleCat.of (quotient X f U hU) |
| 69 | (⋀[quotient X f U hU]^d |
| 70 | ((quotient X f U hU) ⊗[Γ(IntrinsicOverlap.Intrinsic.space R n, U)] Ω[Γ(IntrinsicOverlap.Intrinsic.space R n, U)⁄R]))) hc.symm)).toLinearEquiv |
| 71 | |
| 72 | variable (τ : Type u) [LinearOrder τ] |
| 73 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 74 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 75 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 76 | |
| 77 | def sectionIso : |
| 78 | (Affine.ModuleExactSections.sections U).obj ((dual X f j B).homology c) ≅ |
| 79 | (Affine.ModuleExactSections.sections U).obj |
| 80 | (Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g) := by |
| 81 | let (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex |
| 82 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) (source X f j B)).X q).IsQuasicoherent := |
| 83 | LocalDualLine.term_quasicoherent f.left j B (n + 1) hB q |
| 84 | let (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((source X f j B).X q)) := |
| 85 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (structureImage X f) j B q |
| 86 | let : Smooth (IntrinsicOverlap.Intrinsic.model R n).hom := SpaceSmooth.smooth |
| 87 | let : Algebra.Smooth R Γ(IntrinsicOverlap.Intrinsic.space R n, U) := Intrinsic.SmoothClosedSections.smooth_sections R (IntrinsicOverlap.Intrinsic.model R n) U hU |
| 88 | let : Algebra.Smooth R (quotient X f U hU) := Intrinsic.SmoothClosedSections.smooth_quotient R X (IntrinsicOverlap.Intrinsic.model R n) f U hU |
| 89 | exact Affine.DualizingAdjunction.iso U hU |
| 90 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) (source X f j B) |
| 91 | (structureImage X f) (NegativeResolution.augmentation (structureImage X f) j B) |
| 92 | (LocalAdjunction.ideal X f U hU) (quotientSectionIso X f U hU) |
| 93 | (ClosedImmersionPurity.targetTrivialization j (n + 1) U hU i hUi) |
| 94 | s hs hreg bI bQ (ambientIso X f j U hU i hUi hc) ≪≫ |
| 95 | Intrinsic.ClosedFormSections.iso R X (IntrinsicOverlap.Intrinsic.model R n) f U hU τ g |
| 96 | |
| 97 | variable [IsProper X.hom] |
| 98 | |
| 99 | def openIso : ((dual X f j B).homology c).restrict U.ι ≅ |
| 100 | (Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g).restrict U.ι := by |
| 101 | let := LocalDualLine.homology_quasicoherent f.left j B (n + 1) hB c |
| 102 | let := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 103 | let := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f.left |
| 104 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 105 | exact AffineSection.Isomorphism.openIso U hU _ _ |
| 106 | (sectionIso X f j B hB U hU i hUi hc s hs hreg bI bQ τ) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalAdjunction |