lemmaeval_substitution (b : σ →ℂ)
(L : (Option κ →ℂ) →L[ℂ] (σ →ℂ)) (P : Poly σ) (z : Option κ →ℂ) :
eval z (substitution b LP) = eval (b + L z) P:=by
proof · 13
lines
classical
change (aeval z : Poly (Option κ) →ₐ[ℂ] ℂ) (aeval _ P) = _
rw [comp_aeval_apply]
apply congrArg (fung : σ →ℂ=> aeval g P)
funext j
simp only [map_add, map_sum, map_mul, aeval_C, aeval_X, Algebra.algebraMap_self_apply]
havehz : z = ∑ i, z i • Pi.single i 1:=by
ext i
simp [Pi.single_apply]
havehL : L z j = ∑ i, L (Pi.single i 1) j * z i :=by
conv_lhs => rw [hz, map_sum]
simp [mul_comm]
simpa only [Pi.add_apply] using congrArg (funv : ℂ=> b j + v) hL.symm
lemmapolarPair_operators (b : σ →ℂ)
(L : (Option κ →ℂ) →L[ℂ] (σ →ℂ)) (h : κ → σ →ℂ) (P : Poly σ) :
polarPair (fun y => eval y P) (fun z => b + L (optionProduct.symm z)) h =
fun z => optionProduct (polynomialSystem (operators b L h) P (optionProduct.symm z)) :=by
proof · 7
lines
funext z
apply Prod.ext
· exact (eval_substitution b LP _).symm
· funext i
change fderiv ℂ (fun y => eval y P) (b + L (optionProduct.symm z)) (h i) =
eval (optionProduct.symm z) (substitution b L (directional h i P))
rw [eval_substitution, derivative_directional]