roseking's picture
Add lean source and binary files (part 16)
159357f verified
Raw History Blame Contribute Delete
1.42 kB
24
def compCL (φ : Test F) (e : E ≃L[ℝ] F) : Test E where
body · 3 lines
  fn x := φ.fn (e x)
  smooth := φ.smooth.comp e.contDiff
  compact := φ.compact.comp_homeomorph e.toHomeomorph
29
lemma ext_fn {φ η : Test E} (h : φ.fn = η.fn) : φ = η := by
proof · 1 line
  cases φ; cases η; cases h; rfl
32
lemma compCL_deriv (φ : Test F) (e : E ≃L[ℝ] F) (v : E) :
    (φ.compCL e).deriv v = (φ.deriv (e v)).compCL e := by
proof · 6 lines
  apply ext_fn
  funext x
  change fderiv ℝ (φ.fn ∘ e) x v = _
  rw [fderiv_comp x (φ.smooth.differentiable (by simp) _) e.differentiableAt]
  simp only [ContinuousLinearEquiv.fderiv, ContinuousLinearMap.comp_apply]
  rfl