LeanAide GPT-4 documentation

Module: Mathlib.Analysis.Calculus.Deriv.Comp






HasDerivAt.scomp

theorem HasDerivAt.scomp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {F : Type v} [inst_1 : NormedAddCommGroup F] [inst_2 : NormedSpace π•œ F] (x : π•œ) {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] [inst_5 : NormedSpace π•œ' F] [inst_6 : IsScalarTower π•œ π•œ' F] {h : π•œ β†’ π•œ'} {h' : π•œ'} {g₁ : π•œ' β†’ F} {g₁' : F}, HasDerivAt g₁ g₁' (h x) β†’ HasDerivAt h h' x β†’ HasDerivAt (g₁ ∘ h) (h' β€’ g₁') x

The theorem `HasDerivAt.scomp` is a statement of the chain rule in calculus. This theorem states that for any two functions `h` and `g₁` with derivatives `h'` and `g₁'` respectively, if `h` has its derivative `h'` at a point `x` and `g₁` has its derivative `g₁'` at the point `h(x)`, then the derivative of the composition of `g₁` and `h`, that is `(g₁ ∘ h)`, at the point `x` is `h' β€’ g₁'`. Here, 'β€’' denotes scalar multiplication in the appropriate normed vector space. This holds when `π•œ` and `π•œ'` are non-trivially normed fields, `F` is a normed add-commutative group and a vector space over `π•œ` and `π•œ'`, and when `π•œ'` is a normed algebra over `π•œ`.

More concisely: The chain rule in calculus states that for functions `h` and `g₁` with derivatives `h'` and `g₁'` respectively, the derivative of their composition `(g₁ ∘ h)` at a point `x` is `h'(x) * g₁'(h(x))`.

HasDerivAt.comp_hasFDerivAt

theorem HasDerivAt.comp_hasFDerivAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {E : Type w} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] {hβ‚‚ : π•œ' β†’ π•œ'} {hβ‚‚' : π•œ'} {f : E β†’ π•œ'} {f' : E β†’L[π•œ] π•œ'} (x : E), HasDerivAt hβ‚‚ hβ‚‚' (f x) β†’ HasFDerivAt f f' x β†’ HasFDerivAt (hβ‚‚ ∘ f) (hβ‚‚' β€’ f') x

This theorem states that if a function `hβ‚‚` has a derivative `hβ‚‚'` at the point `f(x)` and a function `f` has a continuous linear map `f'` as a derivative at the point `x`, then the composition of `hβ‚‚` and `f` has a derivative at the point `x` which is the scalar product of `hβ‚‚'` and `f'`. In more mathematical terms, if `hβ‚‚` is differentiable at `f(x)` and `f` is differentiable at `x`, then `(hβ‚‚ ∘ f)` is differentiable at `x`, and the derivative is given by `hβ‚‚' β€’ f'`.

More concisely: If functions `f` and `hβ‚‚` are differentiable at points `x` and `f(x)` respectively, then their composition `hβ‚‚ ∘ f` is differentiable at `x`, and its derivative is equal to the scalar product of `hβ‚‚'` and `f'`, where `hβ‚‚'` is the derivative of `hβ‚‚` and `f'` is the derivative of `f`.

HasFDerivAt.comp_hasDerivAt

theorem HasFDerivAt.comp_hasDerivAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {F : Type v} [inst_1 : NormedAddCommGroup F] [inst_2 : NormedSpace π•œ F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace π•œ E] {f : π•œ β†’ F} {f' : F} (x : π•œ) {l : F β†’ E} {l' : F β†’L[π•œ] E}, HasFDerivAt l l' (f x) β†’ HasDerivAt f f' x β†’ HasDerivAt (l ∘ f) (l' f') x

The theorem `HasFDerivAt.comp_hasDerivAt` states that for any two functions `l : F β†’ E` and `f : π•œ β†’ F` over a nontrivially normed field `π•œ`, if `l` has a FrΓ©chet derivative `l'` at the point `f(x)`, and `f` has a derivative `f'` at `x`, then the composition function `l ∘ f` has a derivative at `x` equal to the application of the FrΓ©chet derivative `l'` to the derivative `f'`. This encapsulates the chain rule in calculus.

More concisely: If functions `l : F β†’ E` over a nontrivially normed field `π•œ`, `l` has FrΓ©chet derivative `l'` at `f(x)`, and `f : π•œ β†’ F` has derivative `f'` at `x`, then `l ∘ f` has a derivative at `x` equal to `l' (f' (x))`.

HasStrictDerivAt.comp

theorem HasStrictDerivAt.comp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] (x : π•œ) {π•œ' : Type u_1} [inst_1 : NontriviallyNormedField π•œ'] [inst_2 : NormedAlgebra π•œ π•œ'] {h : π•œ β†’ π•œ'} {hβ‚‚ : π•œ' β†’ π•œ'} {h' hβ‚‚' : π•œ'}, HasStrictDerivAt hβ‚‚ hβ‚‚' (h x) β†’ HasStrictDerivAt h h' x β†’ HasStrictDerivAt (hβ‚‚ ∘ h) (hβ‚‚' * h') x

The theorem `HasStrictDerivAt.comp` states that if a function `hβ‚‚` has a strict derivative `hβ‚‚'` at the point `h(x)` and a function `h` has a strict derivative `h'` at the point `x`, in the context of nontrivially normed fields, then the composition of the two functions `(hβ‚‚ ∘ h)` has a strict derivative at the point `x` which is the product of the derivatives `hβ‚‚'` and `h'`. This captures the chain rule concept in calculus.

More concisely: If `h` and `hβ‚‚` are functions with strict derivatives at a point `x` in a nontrivially normed field, then `(hβ‚‚ ∘ h)'(x) = hβ‚‚'(h(x)) * h'(x)`.

HasDerivAt.comp

theorem HasDerivAt.comp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] (x : π•œ) {π•œ' : Type u_1} [inst_1 : NontriviallyNormedField π•œ'] [inst_2 : NormedAlgebra π•œ π•œ'] {h : π•œ β†’ π•œ'} {hβ‚‚ : π•œ' β†’ π•œ'} {h' hβ‚‚' : π•œ'}, HasDerivAt hβ‚‚ hβ‚‚' (h x) β†’ HasDerivAt h h' x β†’ HasDerivAt (hβ‚‚ ∘ h) (hβ‚‚' * h') x

This theorem is the chain rule from calculus, stated in the context of normed algebra. Specifically, it states that if a function `hβ‚‚` has derivative `hβ‚‚'` at the point `h(x)`, and a function `h` has derivative `h'` at the point `x`, then the derivative of the composition of `hβ‚‚` and `h` at the point `x` is `hβ‚‚' * h'`. This theorem holds for any nontrivially normed field `π•œ` and `π•œ'`, where `π•œ'` is a normed algebra over `π•œ`.

More concisely: If `h : ℝ β†’ π•œ` and `hβ‚‚ : ℝ β†’ π•œ'` are differentiable at `x ∈ ℝ` with derivatives `h'` and `hβ‚‚'` respectively, then the derivative of `hβ‚‚ ∘ h` at `x` is `hβ‚‚' * h'`.

HasDerivAt.comp_hasFDerivWithinAt

theorem HasDerivAt.comp_hasFDerivWithinAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {E : Type w} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] {hβ‚‚ : π•œ' β†’ π•œ'} {hβ‚‚' : π•œ'} {f : E β†’ π•œ'} {f' : E β†’L[π•œ] π•œ'} {s : Set E} (x : E), HasDerivAt hβ‚‚ hβ‚‚' (f x) β†’ HasFDerivWithinAt f f' s x β†’ HasFDerivWithinAt (hβ‚‚ ∘ f) (hβ‚‚' β€’ f') s x

This theorem states that if a function `hβ‚‚` has a derivative `hβ‚‚'` at the point `f(x)`, and another function `f` has a FrΓ©chet derivative `f'` within a set `s` at the point `x`, then the composition of the functions `hβ‚‚ ∘ f` also has a FrΓ©chet derivative `hβ‚‚' β€’ f'` within the set `s` at the same point `x`. Here, `π•œ` and `π•œ'` are types representing non-trivially normed fields, and `E` is a type representing an additive commutative group that is also a normed space over `π•œ`. The operator `β€’` denotes scalar multiplication, and `∘` denotes function composition.

More concisely: If functions `f : E β†’ E` and `hβ‚‚ : π•œ β†’ π•œ'` have derivatives `f' : E β†’ E` and `hβ‚‚' : π•œ β†’ π•œ'` respectively at points `x : E` and `y : π•œ` with `y = f(x)`, then the composition `hβ‚‚ ∘ f` has a FrΓ©chet derivative `hβ‚‚' β€’ f'` at point `x`.

HasFDerivWithinAt.comp_hasDerivWithinAt

theorem HasFDerivWithinAt.comp_hasDerivWithinAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {F : Type v} [inst_1 : NormedAddCommGroup F] [inst_2 : NormedSpace π•œ F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace π•œ E] {f : π•œ β†’ F} {f' : F} (x : π•œ) {s : Set π•œ} {l : F β†’ E} {l' : F β†’L[π•œ] E} {t : Set F}, HasFDerivWithinAt l l' t (f x) β†’ HasDerivWithinAt f f' s x β†’ Set.MapsTo f s t β†’ HasDerivWithinAt (l ∘ f) (l' f') s x

The theorem `HasFDerivWithinAt.comp_hasDerivWithinAt` states that for a composition of two functions, `l : F β†’ E` and `f : π•œ β†’ F`, if `l` has a FrΓ©chet derivative `l'` within a set `t` at the point `f(x)`, `f` has a derivative `f'` within a set `s` at the point `x`, and `f` maps `s` into `t`, then the composition `l ∘ f` has a derivative within the set `s` at the point `x` equal to the application of the FrΓ©chet derivative `l'` to the derivative `f'`. This theorem is crucial in multi-variable calculus and the analysis of composed functions.

More concisely: If functions `l : F -> E` and `f : ℝ^n -> F` have derivatives within sets `t` and `s`, respectively, at points `f(x)` and `x`, and `f(s)` is contained in `t`, then `l ∘ f` has a derivative equal to `l'(f'(x))` at `x`.

HasDerivWithinAt.scomp

theorem HasDerivWithinAt.scomp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {F : Type v} [inst_1 : NormedAddCommGroup F] [inst_2 : NormedSpace π•œ F] (x : π•œ) {s : Set π•œ} {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] [inst_5 : NormedSpace π•œ' F] [inst_6 : IsScalarTower π•œ π•œ' F] {t' : Set π•œ'} {h : π•œ β†’ π•œ'} {h' : π•œ'} {g₁ : π•œ' β†’ F} {g₁' : F}, HasDerivWithinAt g₁ g₁' t' (h x) β†’ HasDerivWithinAt h h' s x β†’ Set.MapsTo h s t' β†’ HasDerivWithinAt (g₁ ∘ h) (h' β€’ g₁') s x

The theorem `HasDerivWithinAt.scomp` states that for all types `π•œ` and `π•œ'` equipped with normed fields properties, and a type `F` equipped with normed add comm group and normed space properties, given a point `x` of type `π•œ`, sets `s` of type `π•œ` and `t'` of type `π•œ'`, functions `h : π•œ β†’ π•œ'` and `g₁ : π•œ' β†’ F`, and elements `h'` of type `π•œ'` and `g₁'` of type `F`. If `g₁` has a derivative `g₁'` at the point `h(x)` within set `t'`, `h` has a derivative `h'` at the point `x` within set `s`, and the image of set `s` under the function `h` is contained in set `t'`, then the composite function `(g₁ ∘ h)` has a derivative `(h' β€’ g₁')` at point `x` within set `s`. Here, `β€’` denotes the scalar multiplication operation.

More concisely: If `h` is a function from a normed space `π•œ` to another normed space `π•œ'`, `g₁` is a function from `π•œ'` to a normed vector space `F` with derivative `g₁'` at `h(x)`, `h` has derivative `h'` at `x` with image of `s` in `t'`, then `(g₁ ∘ h)` has derivative `(h' β€’ g₁')` at `x`.

HasDerivAt.comp_hasDerivWithinAt

theorem HasDerivAt.comp_hasDerivWithinAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] (x : π•œ) {s : Set π•œ} {π•œ' : Type u_1} [inst_1 : NontriviallyNormedField π•œ'] [inst_2 : NormedAlgebra π•œ π•œ'] {h : π•œ β†’ π•œ'} {hβ‚‚ : π•œ' β†’ π•œ'} {h' hβ‚‚' : π•œ'}, HasDerivAt hβ‚‚ hβ‚‚' (h x) β†’ HasDerivWithinAt h h' s x β†’ HasDerivWithinAt (hβ‚‚ ∘ h) (hβ‚‚' * h') s x

The theorem `HasDerivAt.comp_hasDerivWithinAt` states that given two functions `h` and `hβ‚‚` and their respective derivatives `h'` and `hβ‚‚'` at a point `x`, within a subset `s`, where the field `π•œ` is a non-trivially normed field, and `π•œ'` is another non-trivially normed field under a normed algebra over `π•œ`. If the function `hβ‚‚` has a derivative at `h(x)`, and the function `h` has a derivative within the subset `s` at point `x`, then the composition of `hβ‚‚` and `h` also has a derivative within the subset `s` at point `x`, and the derivative is the product of `hβ‚‚'` and `h'`. This theorem essentially states the chain rule for derivatives within a subset.

More concisely: Given functions `h: π•œ β†’ π•œ'`, `hβ‚‚: π•œ' β†’ π•œ''`, `h', hβ‚‚'` their respective derivatives, if `h` is differentiable at `x`, `hβ‚‚` is differentiable at `h(x)`, and `π•œ`, `π•œ'`, `π•œ''` are non-trivially normed fields under normed algebra over `π•œ`, then `hβ‚‚ ∘ h` is differentiable at `x` with derivative `hβ‚‚'(h(x)) * h'(x)`.

HasDerivWithinAt.comp

theorem HasDerivWithinAt.comp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] (x : π•œ) {s : Set π•œ} {π•œ' : Type u_1} [inst_1 : NontriviallyNormedField π•œ'] [inst_2 : NormedAlgebra π•œ π•œ'] {s' : Set π•œ'} {h : π•œ β†’ π•œ'} {hβ‚‚ : π•œ' β†’ π•œ'} {h' hβ‚‚' : π•œ'}, HasDerivWithinAt hβ‚‚ hβ‚‚' s' (h x) β†’ HasDerivWithinAt h h' s x β†’ Set.MapsTo h s s' β†’ HasDerivWithinAt (hβ‚‚ ∘ h) (hβ‚‚' * h') s x

This theorem states that, given two types `π•œ` and `π•œ'` which are nontrivially normed fields, a point `x` in `π•œ`, subsets `s` of `π•œ` and `s'` of `π•œ'`, and two functions `h` and `hβ‚‚` mapping `π•œ` to `π•œ'` and `π•œ'` to `π•œ'` respectively, with corresponding derivatives `h'` and `hβ‚‚'`, if `hβ‚‚` has derivative `hβ‚‚'` at the image of `x` under `h` within `s'` and `h` has derivative `h'` at `x` within `s`, and furthermore if the image of `s` under `h` is contained in `s'` (i.e., `h` maps `s` into `s'`), then the composition of `hβ‚‚` and `h` has the derivative `hβ‚‚' * h'` at `x` within `s`. This theorem essentially formalizes the chain rule of calculus in the context of derivatives within specific subsets of the domain.

More concisely: Given nontrivially normed fields `π•œ` and `π•œ'`, functions `h: π•œ β†’ π•œ'` and `hβ‚‚: π•œ' β†’ π•œ'` with derivatives `h'` and `hβ‚‚'`, if `hβ‚‚' * h'` is the derivative of `hβ‚‚ ∘ h` at `x` within `s` and `h(s) βŠ† s'`, then `hβ‚‚'` is the derivative of `hβ‚‚ ∘ h` at `x` within `s`.

HasStrictDerivAt.comp_hasStrictFDerivAt

theorem HasStrictDerivAt.comp_hasStrictFDerivAt : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {E : Type w} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] {hβ‚‚ : π•œ' β†’ π•œ'} {hβ‚‚' : π•œ'} {f : E β†’ π•œ'} {f' : E β†’L[π•œ] π•œ'} (x : E), HasStrictDerivAt hβ‚‚ hβ‚‚' (f x) β†’ HasStrictFDerivAt f f' x β†’ HasStrictFDerivAt (hβ‚‚ ∘ f) (hβ‚‚' β€’ f') x

The theorem `HasStrictDerivAt.comp_hasStrictFDerivAt` states that if a function `hβ‚‚` has a strict derivative `hβ‚‚'` at the point `f(x)` (in the sense of strict differentiability), and another function `f` has strict Frechet derivative `f'` at point `x`, then the composed function `(hβ‚‚ ∘ f)` has a strict Frechet derivative of `(hβ‚‚' β€’ f')` at the point `x`. In simpler terms, this theorem is about the chain rule in differential calculus, which describes the derivative of a composition of functions.

More concisely: If `f` is strictly Frechet differentiable at `x` and `hβ‚‚` is strictly differentiable at `f(x)`, then the composed function `hβ‚‚ ∘ f` is strictly Frechet differentiable at `x` with derivative `(hβ‚‚' β€’ f')`.

HasDerivAtFilter.scomp

theorem HasDerivAtFilter.scomp : βˆ€ {π•œ : Type u} [inst : NontriviallyNormedField π•œ] {F : Type v} [inst_1 : NormedAddCommGroup F] [inst_2 : NormedSpace π•œ F] (x : π•œ) {L : Filter π•œ} {π•œ' : Type u_1} [inst_3 : NontriviallyNormedField π•œ'] [inst_4 : NormedAlgebra π•œ π•œ'] [inst_5 : NormedSpace π•œ' F] [inst_6 : IsScalarTower π•œ π•œ' F] {h : π•œ β†’ π•œ'} {h' : π•œ'} {g₁ : π•œ' β†’ F} {g₁' : F} {L' : Filter π•œ'}, HasDerivAtFilter g₁ g₁' (h x) L' β†’ HasDerivAtFilter h h' x L β†’ Filter.Tendsto h L L' β†’ HasDerivAtFilter (g₁ ∘ h) (h' β€’ g₁') x L

This theorem, `HasDerivAtFilter.scomp`, states that given two functions `h` and `g₁` on the types `π•œ` and `π•œ'` respectively, with known derivatives at a point `x` for `h` and at `h x` for `g₁` as `x` approaches along the filter `L` and `h x` approaches along the filter `L'` respectively, if `h` converges from filter `L` to `L'` as `x` approaches, then the derivative of the composition of `g₁` and `h` at the point `x` along the filter `L` exists and is equal to the derivative of `h` at `x` scaled by the derivative of `g₁` at `h x`. This states a version of the chain rule for derivatives in the context of normed spaces and filters.

More concisely: Given functions `h: π•œ β†’ π•œ'` and `g₁: π•œ' β†’ ℝ` with derivatives at `x` along filters `L` and `L'`, respectively, and assuming `h` converges from `L` to `L'`, the derivative of `g₁ ∘ h` at `x` along `L` exists and equals the derivative of `h` at `x` multiplied by the derivative of `g₁` at `h x`.