Skip to content

Commit 984e7a4

Browse files
authored
The product rule for derivatives (#1771)
Depends on #1769 and #1758 (because it introduces the concept of a uniform homeomorphism, though that could be extracted if necessary).
1 parent f217ea9 commit 984e7a4

10 files changed

Lines changed: 625 additions & 28 deletions

src/analysis.lagda.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ open import analysis.metric-abelian-groups public
2323
open import analysis.metric-abelian-groups-normed-real-vector-spaces public
2424
open import analysis.metric-abelian-groups-of-uniformly-continuous-maps-into-metric-abelian-groups public
2525
open import analysis.monotone-convergence-theorem-increasing-sequences-real-numbers public
26+
open import analysis.multiplication-differentiable-real-functions-on-proper-closed-intervals-real-numbers public
2627
open import analysis.nonnegative-series-real-numbers public
2728
open import analysis.ratio-test-series-real-numbers public
2829
open import analysis.scalar-multiplication-differentiable-real-maps-on-proper-closed-intervals-real-numbers public

src/analysis/composition-differentiable-real-functions-on-proper-closed-intervals-real-numbers.lagda.md

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,6 @@ module _
147147
( [c,d])
148148
( g))
149149
gf = map-comp-differentiable-real-map-proper-closed-interval-ℝ
150-
g'f x =
151-
( map-derivative-differentiable-real-map-proper-closed-interval-ℝ
152-
( [c,d])
153-
( g)
154-
( tot
155-
( f[a,b]⊆[c,d])
156-
( map-unit-im-uniformly-continuous-real-map-proper-closed-interval-ℝ
157-
( [a,b])
158-
( uniformly-continuous-map-differentiable-real-map-proper-closed-interval-ℝ
159-
( [a,b])
160-
( f))
161-
( x))))
162150
f' =
163151
map-derivative-differentiable-real-map-proper-closed-interval-ℝ
164152
( [a,b])
@@ -178,6 +166,11 @@ module _
178166
( [a,b])
179167
( ucont-f)
180168
( z))
169+
g'∘f x =
170+
( map-derivative-differentiable-real-map-proper-closed-interval-ℝ
171+
( [c,d])
172+
( g)
173+
( tot-f x))
181174
in do
182175
(δf , is-mod-δf) ←
183176
is-derivative-map-derivative-differentiable-real-map-proper-closed-interval-ℝ
@@ -221,29 +214,29 @@ module _
221214
( Nδxy))
222215
in
223216
chain-of-inequalities
224-
dist-ℝ (gf y -ℝ gf x) (g'f x *ℝ f' x *ℝ (pr1 y -ℝ pr1 x))
217+
dist-ℝ (gf y -ℝ gf x) (g'f x *ℝ f' x *ℝ (pr1 y -ℝ pr1 x))
225218
≤ ( dist-ℝ
226219
( gf y -ℝ gf x)
227-
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
220+
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
228221
( dist-ℝ
229-
( g'f x *ℝ (map-f y -ℝ map-f x))
230-
( g'f x *ℝ f' x *ℝ (pr1 y -ℝ pr1 x)))
222+
( g'f x *ℝ (map-f y -ℝ map-f x))
223+
( g'f x *ℝ f' x *ℝ (pr1 y -ℝ pr1 x)))
231224
by triangle-inequality-dist-ℝ _ _ _
232225
≤ ( dist-ℝ
233226
( gf y -ℝ gf x)
234-
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
227+
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
235228
( dist-ℝ
236-
( g'f x *ℝ (map-f y -ℝ map-f x))
237-
( g'f x *ℝ (f' x *ℝ (pr1 y -ℝ pr1 x))))
229+
( g'f x *ℝ (map-f y -ℝ map-f x))
230+
( g'f x *ℝ (f' x *ℝ (pr1 y -ℝ pr1 x))))
238231
by
239232
leq-eq-ℝ
240233
( ap-add-ℝ
241234
( refl)
242235
( ap-dist-ℝ refl (associative-mul-ℝ _ _ _)))
243236
≤ ( dist-ℝ
244237
( gf y -ℝ gf x)
245-
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
246-
( ( abs-ℝ (g'f x)) *ℝ
238+
( g'f x *ℝ (map-f y -ℝ map-f x))) +ℝ
239+
( ( abs-ℝ (g'f x)) *ℝ
247240
( dist-ℝ
248241
( map-f y -ℝ map-f x))
249242
( f' x *ℝ (pr1 y -ℝ pr1 x)))
@@ -270,7 +263,7 @@ module _
270263
( leq-left-min-ℚ⁺ (ωf (δg α)) (δf β))
271264
( Nδxy))))
272265
( preserves-leq-mul-ℝ⁰⁺
273-
( nonnegative-abs-ℝ (g'f x))
266+
( nonnegative-abs-ℝ (g'f x))
274267
( nonnegative-real-ℚ⁺ q⁺)
275268
( nonnegative-dist-ℝ _ _)
276269
( nonnegative-real-ℚ⁺ β *ℝ⁰⁺ nonnegative-dist-ℝ _ _)

0 commit comments

Comments
 (0)