(** *** Composition *)
(** Composition with linear functions *)

Lemma ex_derive_n_comp_scal (f : R -> R) (a : R) (n : nat) (x : R) :
locally (a * x) (fun x => forall k, (k <= n)%nat -> ex_derive_n f k x)
-> ex_derive_n (fun y => f (a * y)) n x.