cfahlgren1/math / lean /OAI /AlgebraicGeometry /StableCoordinate /DerivationScalarUpgrade.lean
cfahlgren1's picture
download
raw
3.42 kB
import Mathlib.RingTheory.Derivation.Basic
import Mathlib.RingTheory.Localization.Basic
import Mathlib.Algebra.MvPolynomial.Basic
namespace OAI
/-!
# Enlarging the coefficient ring of a derivation
For the two polynomial charts in Section 5, a derivation annihilating the
coefficient ring can be regarded as linear over that ring. The second lemma
shows that annihilation of the original coefficient algebra implies
annihilation of its localization, so this upgrade introduces no new condition.
-/
namespace StableCoordinate
namespace DerivationScalarUpgrade
variable {k A S : Type*} [CommRing k] [CommRing A] [CommRing S]
[Algebra k A] [Algebra S A]
/-- View a derivation as linear over any coefficient algebra that it kills. -/
def upgrade (D : Derivation k A A) (hS : ∀ s : S, D (algebraMap S A s) = 0) :
Derivation S A A where
toFun := D
map_add' := D.map_add
map_smul' s a := by
simp [Algebra.smul_def, hS]
map_one_eq_zero' := D.map_one_eq_zero
leibniz' := D.leibniz
@[simp] theorem upgrade_apply (D : Derivation k A A)
(hS : ∀ s : S, D (algebraMap S A s) = 0) (a : A) :
upgrade D hS a = D a := rfl
/-- Changing coefficient rings does not change the iterated function. -/
theorem upgrade_iterate (D : Derivation k A A)
(hS : ∀ s : S, D (algebraMap S A s) = 0) (n : ℕ) (a : A) :
(upgrade D hS : A → A)^[n] a = (D : A → A)^[n] a := rfl
/-- Local nilpotence survives the coefficient-ring upgrade. -/
theorem upgrade_locallyNilpotent (D : Derivation k A A)
(hS : ∀ s : S, D (algebraMap S A s) = 0)
(hD : ∀ a : A, ∃ n : ℕ, (D : A → A)^[n] a = 0) :
∀ a : A, ∃ n : ℕ, (upgrade D hS : A → A)^[n] a = 0 := hD
/-- A nonzero derivation remains nonzero after upgrading its coefficient ring. -/
theorem upgrade_ne_zero (D : Derivation k A A)
(hS : ∀ s : S, D (algebraMap S A s) = 0) (hD : D ≠ 0) :
upgrade D hS ≠ 0 := by
intro h
apply hD
ext a
exact congrArg (fun (E : Derivation S A A) => E a) h
/-- It suffices to check invariance of the images of polynomial generators. -/
theorem annihilates_mvPolynomial {σ : Type*} (D : Derivation k A A)
(φ : MvPolynomial σ k →ₐ[k] A)
(hX : ∀ j : σ, D (φ (MvPolynomial.X j)) = 0) :
∀ p : MvPolynomial σ k, D (φ p) = 0 := by
intro p
induction p using MvPolynomial.induction_on with
| C r =>
rw [show MvPolynomial.C r = algebraMap k (MvPolynomial σ k) r from rfl,
AlgHom.commutes, D.map_algebraMap]
| add p q hp hq => simp only [map_add, hp, hq, add_zero]
| mul_X p j hp =>
simp only [map_mul, Derivation.leibniz, hX, hp, smul_zero, add_zero]
section Localization
variable {R L : Type*} [CommRing R] [CommRing L] [Algebra R L]
variable (M : Submonoid R) [IsLocalization M L]
include M
/-- If a derivation kills the image of the original coefficient algebra,
it also kills the image of its entire localization. -/
theorem annihilates_localization (D : Derivation k A A) (φ : L →+* A)
(hR : ∀ r : R, D (φ (algebraMap R L r)) = 0) :
∀ l : L, D (φ l) = 0 := by
intro l
obtain ⟨⟨r, m⟩, hm⟩ := IsLocalization.surj M l
have hd := congrArg D (congrArg φ hm)
simp only [map_mul, Derivation.leibniz, hR, smul_eq_mul,
mul_zero, zero_add] at hd
exact ((IsLocalization.map_units L m).map φ).mul_right_eq_zero.mp hd
end Localization
end DerivationScalarUpgrade
end StableCoordinate
end OAI

Xet Storage Details

Size:
3.42 kB
·
Xet hash:
e635601be40ba39c0fa43eaaf4bc6e446419b4e681e8bf1ba05ccb76571a5bf7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.