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.Projective.OrientedPurityRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionResidueRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ClosedFormRestriction |
| 4 | |
| 5 | /-! # Adjunction Principal Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionPrincipalRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original projective adjunction isomorphisms commute with |
| 12 | principal restriction, using the actual mapped regular equations and |
| 13 | the localized conormal and differential bases. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FrameAdjunctionEvaluation |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | attribute [local irreducible] Affine.OrientedPurity.iso |
| 27 | Affine.DualizingAdjunction.iso Intrinsic.ClosedFormSections.iso |
| 28 | ConormalAdjunction.equivalence LineValuedKoszulPurity.lineFrame |
| 29 | LocalAdjunction.ambientIso FrameAdjunctionEvaluation.orientedIsoInFrame |
| 30 | AffinePrincipal.LineFrame.lineMap |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 35 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 36 | |
| 37 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 38 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 39 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) |
| 40 | (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 41 | (i : Fin (n + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 42 | (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 43 | |
| 44 | local instance baseAlgebra (W : (IntrinsicOverlap.Intrinsic.space R n).Opens) : Algebra R Γ(IntrinsicOverlap.Intrinsic.space R n, W) := |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (IntrinsicOverlap.Intrinsic.model R n) W |
| 46 | |
| 47 | local instance baseSmooth : Smooth (IntrinsicOverlap.Intrinsic.model R n).hom := SpaceSmooth.smooth |
| 48 | |
| 49 | local instance target_quasicoherent : |
| 50 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)).IsQuasicoherent := |
| 51 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (n + 1)) |
| 53 | |
| 54 | variable {c : ℕ} (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 55 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U) s = LocalAdjunction.ideal X f U hU) |
| 56 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R n, U) (List.ofFn s)) |
| 57 | (e : (AffineOpen.InternalHom.sections U hU).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) ≅ |
| 58 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 59 | |
| 60 | omit [Smooth X.hom] in |
| 61 | theorem line_restriction (x : Γ((LocalAdjunction.dual X f j B).homology c, U)) : |
| 62 | let N := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1) |
| 63 | let hIJ := OrientedPurityRestriction.ideal_le X f U hU r |
| 64 | (LineValuedKoszulPurity.lineFrame Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r) |
| 65 | (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) |
| 66 | ((AffineOpen.InternalHom.sections (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)).obj N) |
| 67 | (AffinePrincipal.LineFrame.targetFrame U hU r N e)).symm |
| 68 | ((FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 69 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) |
| 70 | (IdealSheafPrincipalEquations.sequence U r s) |
| 71 | (IdealSheafPrincipalEquations.generates f.left.ker U hU r s hs) |
| 72 | (IdealSheafPrincipalEquations.weaklyRegular U hU r s hreg) |
| 73 | (AffinePrincipal.LineFrame.targetFrame U hU r N e)).hom |
| 74 | (((LocalAdjunction.dual X f j B).homology c).presheaf.map (AffinePrincipal.Sections.inclusion U r).op x)) = |
| 75 | AffinePrincipal.LineFrame.lineMap U hU r N (LocalAdjunction.ideal X f U hU) |
| 76 | (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) hIJ |
| 77 | ((LineValuedKoszulPurity.lineFrame Γ(IntrinsicOverlap.Intrinsic.space R n, U) (LocalAdjunction.ideal X f U hU) |
| 78 | ((AffineOpen.InternalHom.sections U hU).obj N) e).symm |
| 79 | ((FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB U hU i hUi s hs hreg e).hom x)) := by |
| 80 | dsimp only |
| 81 | rw [OrientedPurityRestriction.restriction X f j B hB U hU i hUi r s hs hreg e x] |
| 82 | exact (AffinePrincipal.LineFrame.lineFrame_symm_restriction U hU r |
| 83 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) e |
| 84 | (LocalAdjunction.ideal X f U hU) (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) |
| 85 | (OrientedPurityRestriction.ideal_le X f U hU r) |
| 86 | ((FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB U hU i hUi s hs hreg e).hom x)).symm |
| 87 | |
| 88 | variable {g : ℕ} (hc : c + g = n) |
| 89 | (bI : Module.Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 90 | (bQ : Module.Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 91 | (τ : Type u) [LinearOrder τ] |
| 92 | [aU : Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 93 | [tU : IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 94 | [etU : Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 95 | (σ : Type u) [LinearOrder σ] |
| 96 | [aV : Algebra (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ AffinePrincipal.Sections.openSubset U r))] |
| 97 | [tV : IsScalarTower R (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ AffinePrincipal.Sections.openSubset U r))] |
| 98 | [etV : Algebra.Etale (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ AffinePrincipal.Sections.openSubset U r))] |
| 99 | |
| 100 | include e τ σ aU tU etU aV tV etV in |
| 101 | theorem restriction (x : Γ((LocalAdjunction.dual X f j B).homology c, U)) : |
| 102 | (@LocalAdjunction.sectionIso R _ _ n X f _ _ j B hB (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 103 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) c g hc |
| 104 | (IdealSheafPrincipalEquations.sequence U r s) |
| 105 | (IdealSheafPrincipalEquations.generates f.left.ker U hU r s hs) |
| 106 | (IdealSheafPrincipalEquations.weaklyRegular U hU r s hreg) |
| 107 | (AdjunctionResidueRestriction.conormalBasis X f U hU r bI) |
| 108 | (AdjunctionResidueRestriction.quotientBasis X f U hU r bQ) σ _ aV tV etV).hom |
| 109 | (((LocalAdjunction.dual X f j B).homology c).presheaf.map (AffinePrincipal.Sections.inclusion U r).op x) = |
| 110 | (Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g).presheaf.map |
| 111 | (AffinePrincipal.Sections.inclusion U r).op ((LocalAdjunction.sectionIso X f j B hB U hU i hUi hc s hs hreg bI bQ τ).hom x) := by |
| 112 | let : Algebra.Smooth R Γ(IntrinsicOverlap.Intrinsic.space R n, U) := Intrinsic.SmoothClosedSections.smooth_sections R (IntrinsicOverlap.Intrinsic.model R n) U hU |
| 113 | let : Algebra.Smooth R (LocalAdjunction.quotient X f U hU) := Intrinsic.SmoothClosedSections.smooth_quotient R X (IntrinsicOverlap.Intrinsic.model R n) f U hU |
| 114 | let : Algebra.Smooth R Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r) := |
| 115 | Intrinsic.SmoothClosedSections.smooth_sections R (IntrinsicOverlap.Intrinsic.model R n) (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) |
| 116 | let : Algebra.Smooth R (LocalAdjunction.quotient X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) := |
| 117 | Intrinsic.SmoothClosedSections.smooth_quotient R X (IntrinsicOverlap.Intrinsic.model R n) f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) |
| 118 | let N := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1) |
| 119 | let hIJ := OrientedPurityRestriction.ideal_le X f U hU r |
| 120 | let a := (FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB U hU i hUi s hs hreg e).hom x |
| 121 | let z := (LineValuedKoszulPurity.lineFrame Γ(IntrinsicOverlap.Intrinsic.space R n, U) |
| 122 | (LocalAdjunction.ideal X f U hU) ((AffineOpen.InternalHom.sections U hU).obj N) e).symm a |
| 123 | have hline := line_restriction X f j B hB U hU i hUi r s hs hreg e x |
| 124 | have hv := @FrameAdjunctionEvaluation.sectionIso_apply_frame R _ _ n X f _ _ j B hB (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 125 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) c |
| 126 | (IdealSheafPrincipalEquations.sequence U r s) |
| 127 | (IdealSheafPrincipalEquations.generates f.left.ker U hU r s hs) |
| 128 | (IdealSheafPrincipalEquations.weaklyRegular U hU r s hreg) |
| 129 | (AffinePrincipal.LineFrame.targetFrame U hU r N e) g hc |
| 130 | (AdjunctionResidueRestriction.conormalBasis X f U hU r bI) |
| 131 | (AdjunctionResidueRestriction.quotientBasis X f U hU r bQ) σ _ aV tV etV |
| 132 | (((LocalAdjunction.dual X f j B).homology c).presheaf.map (AffinePrincipal.Sections.inclusion U r).op x) |
| 133 | let iv := @Intrinsic.ClosedFormSections.iso R _ X (IntrinsicOverlap.Intrinsic.model R n) f _ |
| 134 | (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) σ _ aV tV etV g |
| 135 | have hline' := congrArg |
| 136 | (fun w : (LocalAdjunction.quotient X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) ⊗[Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)] |
| 137 | ((AffineOpen.InternalHom.sections (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)).obj N) => |
| 138 | iv.hom (ConormalAdjunction.equivalence (k := R) (R := Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)) |
| 139 | (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) |
| 140 | (AdjunctionResidueRestriction.conormalBasis X f U hU r bI) |
| 141 | (AdjunctionResidueRestriction.quotientBasis X f U hU r bQ) |
| 142 | (LocalAdjunction.ambientIso X f j (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 143 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) hc w))) hline |
| 144 | have h₁ := hv.trans hline' |
| 145 | have hr := AdjunctionResidueRestriction.residue_square X f U hU r |
| 146 | bI bQ j i hUi hc hIJ z |
| 147 | have h₂ := h₁.trans (congrArg iv.hom hr) |
| 148 | have hf := @Intrinsic.ClosedFormRestriction.restriction R _ X (IntrinsicOverlap.Intrinsic.model R n) f _ U hU τ _ aU tU etU |
| 149 | (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) σ _ aV tV etV (AffinePrincipal.Sections.inclusion U r) g |
| 150 | (ConormalAdjunction.equivalence (k := R) (R := Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 151 | (LocalAdjunction.ideal X f U hU) bI bQ (LocalAdjunction.ambientIso X f j U hU i hUi hc z)) |
| 152 | have h₃ := h₂.trans hf.symm |
| 153 | have hu := FrameAdjunctionEvaluation.sectionIso_apply_frame X f j B hB U hU i hUi s hs hreg e hc bI bQ τ x |
| 154 | exact h₃.trans (congrArg |
| 155 | ((Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g).presheaf.map (AffinePrincipal.Sections.inclusion U r).op) |
| 156 | hu.symm) |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionPrincipalRestriction |