Theorem: SciLean.cderiv.comp_rule (SciLean/Core/FunctionTransformations/CDeriv.lean)

State before:
K : Type u_1
inst✝⁸ : RCLike K
X : Type u_4
inst✝⁷ : Vec K X
Y : Type u_2
inst✝⁶ : Vec K Y
Z : Type u_3
inst✝⁵ : Vec K Z
W : Type ?u.19639
inst✝⁴ : Vec K W
ι : Type ?u.19650
inst✝³ : IndexType ι
inst✝² : LawfulIndexType ι
inst✝¹ : DecidableEq ι
E : ι → Type ?u.19677
inst✝ : (i : ι) → Vec K (E i)
f : Y → Z
g : X → Y
hf : CDifferentiable K f
hg : CDifferentiable K g
⊢ (cderiv K fun x => f (g x)) = fun x =>
    let y := g x;
    fun dx =>
    let dy := cderiv K g x dx;
    let dz := cderiv K f y dy;
    dz
Tactic:
sorry_proof
State after:
no goals