English
If f is injective, then pderiv composed with rename f equals rename f composed with pderiv.
Русский
Если f инъективно отображает, то pderiv после renaming равен renaming после pderiv.
LaTeX
$$$$ pderiv (f x) (rename f p) = rename f (pderiv x p) $$$$
Lean4
theorem pderiv_rename {τ : Type*} {f : σ → τ} (hf : Function.Injective f) (x : σ) (p : MvPolynomial σ R) :
pderiv (f x) (rename f p) = rename f (pderiv x p) := by
classical
induction p using MvPolynomial.induction_on with
| C a => simp
| add p q hp hq => simp [hp, hq]
| mul_X p a
h =>
simp only [map_mul, MvPolynomial.rename_X, Derivation.leibniz, MvPolynomial.pderiv_X, Pi.single_apply, hf.eq_iff,
smul_eq_mul, mul_ite, mul_one, mul_zero, h, map_add]
split_ifs <;> simp