The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V15. Real analysis in one variable

Mathlib.Analysis.Calculus.DSlope

32 declarations and 1 deprecated aliases. Mathlib docs ยท Source

def dslope E1 #

{๐•œ : Type u_1} โ†’
  {E : Type u_2} โ†’
    [inst : NontriviallyNormedField ๐•œ] โ†’ [inst_1 : NormedAddCommGroup E] โ†’ [NormedSpace ๐•œ E] โ†’ (๐•œ โ†’ E) โ†’ ๐•œ โ†’ ๐•œ โ†’ E

dslope f a b is defined as slope f a b = (b - a)โปยน โ€ข (f b - f a) for a โ‰  b and deriv f a for a = b.

theorem dslope_same E0 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] (f : ๐•œ โ†’ E) (a : ๐•œ), dslope f a a = deriv f a

theorem dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {a b : ๐•œ} (f : ๐•œ โ†’ E), b โ‰  a โ†’ dslope f a b = slope f a b

theorem ContinuousLinearMap.dslope_comp E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] (f : E โ†’L[๐•œ] F)
  (g : ๐•œ โ†’ E) (a b : ๐•œ), (a = b โ†’ DifferentiableAt ๐•œ g a) โ†’ dslope (โ‡‘f โˆ˜ g) a b = f (dslope g a b)

theorem eqOn_dslope_slope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] (f : ๐•œ โ†’ E) (a : ๐•œ), Set.EqOn (dslope f a) (slope f a) {a}แถœ

theorem dslope_eventuallyEq_slope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {a b : ๐•œ} (f : ๐•œ โ†’ E), b โ‰  a โ†’ dslope f a =แถ [nhds b] slope f a

theorem dslope_eventuallyEq_slope_nhdsNE E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {a : ๐•œ} (f : ๐•œ โ†’ E), dslope f a =แถ [nhdsWithin a {a}แถœ] slope f a

theorem sub_smul_dslope E0 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] (f : ๐•œ โ†’ E) (a b : ๐•œ), (b - a) โ€ข dslope f a b = f b - f a

theorem dslope_sub_smul_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {a b : ๐•œ} (f : ๐•œ โ†’ E), b โ‰  a โ†’ dslope (fun x โ†ฆ (x - a) โ€ข f x) a b = f b

theorem eqOn_dslope_sub_smul E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] (f : ๐•œ โ†’ E) (a : ๐•œ), Set.EqOn (dslope (fun x โ†ฆ (x - a) โ€ข f x) a) f {a}แถœ

theorem dslope_sub_smul E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : DecidableEq ๐•œ] (f : ๐•œ โ†’ E) (a : ๐•œ),
  dslope (fun x โ†ฆ (x - a) โ€ข f x) a = Function.update f a (deriv (fun x โ†ฆ (x - a) โ€ข f x) a)

theorem continuousAt_dslope_same E0 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ}, ContinuousAt (dslope f a) a โ†” DifferentiableAt ๐•œ f a

theorem ContinuousWithinAt.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ} {s : Set ๐•œ},
  ContinuousWithinAt (dslope f a) s b โ†’ ContinuousWithinAt f s b

theorem ContinuousAt.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ}, ContinuousAt (dslope f a) b โ†’ ContinuousAt f b

theorem ContinuousOn.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ}, ContinuousOn (dslope f a) s โ†’ ContinuousOn f s

theorem continuousWithinAt_dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ} {s : Set ๐•œ},
  b โ‰  a โ†’ (ContinuousWithinAt (dslope f a) s b โ†” ContinuousWithinAt f s b)

theorem continuousAt_dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ}, b โ‰  a โ†’ (ContinuousAt (dslope f a) b โ†” ContinuousAt f b)

theorem continuousOn_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ},
  s โˆˆ nhds a โ†’ (ContinuousOn (dslope f a) s โ†” ContinuousOn f s โˆง DifferentiableAt ๐•œ f a)

theorem DifferentiableWithinAt.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ} {s : Set ๐•œ},
  DifferentiableWithinAt ๐•œ (dslope f a) s b โ†’ DifferentiableWithinAt ๐•œ f s b

theorem DifferentiableAt.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ}, DifferentiableAt ๐•œ (dslope f a) b โ†’ DifferentiableAt ๐•œ f b

theorem DifferentiableOn.of_dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ}, DifferentiableOn ๐•œ (dslope f a) s โ†’ DifferentiableOn ๐•œ f s

theorem differentiableWithinAt_dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ} {s : Set ๐•œ},
  b โ‰  a โ†’ (DifferentiableWithinAt ๐•œ (dslope f a) s b โ†” DifferentiableWithinAt ๐•œ f s b)

theorem differentiableOn_dslope_of_notMem E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ},
  a โˆ‰ s โ†’ (DifferentiableOn ๐•œ (dslope f a) s โ†” DifferentiableOn ๐•œ f s)

theorem differentiableAt_dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a b : ๐•œ}, b โ‰  a โ†’ (DifferentiableAt ๐•œ (dslope f a) b โ†” DifferentiableAt ๐•œ f b)

theorem sub_smul_dslope_of_zero E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ}, f a = 0 โ†’ โˆ€ (b : ๐•œ), (b - a) โ€ข dslope f a b = f b

theorem pow_sub_smul_iterate_dslope_of_zero E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} (n : โ„•),
  (โˆ€ k < n, (Function.swap dslope a)^[k] f a = 0) โ†’ โˆ€ (b : ๐•œ), (b - a) ^ n โ€ข (Function.swap dslope a)^[n] f b = f b

theorem HasFPowerSeriesAt.dslope_fslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {p : FormalMultilinearSeries ๐•œ ๐•œ E} {zโ‚€ : ๐•œ},
  HasFPowerSeriesAt f p zโ‚€ โ†’ HasFPowerSeriesAt (dslope f zโ‚€) p.fslope zโ‚€

If f has power series p at zโ‚€, then dslope f zโ‚€ has power series p.fslope at zโ‚€.

theorem AnalyticWithinAt.dslope_of_ne E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ} {z : ๐•œ},
  AnalyticWithinAt ๐•œ f s z โ†’ z โ‰  a โ†’ AnalyticWithinAt ๐•œ (dslope f a) s z

Away from the base point a, the function dslope f a is analytic within s at z as soon as f is.

theorem AnalyticAt.dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {z : ๐•œ}, AnalyticAt ๐•œ f z โ†’ โˆ€ (a : ๐•œ), AnalyticAt ๐•œ (dslope f a) z

If f is analytic at z, then so is dslope f a, for any base point a.

theorem AnalyticOn.dslope_of_notMem E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ}, AnalyticOn ๐•œ f s โ†’ a โˆ‰ s โ†’ AnalyticOn ๐•œ (dslope f a) s

If f is analytic on s and the base point a does not lie in s, then dslope f a is analytic on s.

theorem AnalyticOn.dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {a : ๐•œ} {s : Set ๐•œ},
  AnalyticOn ๐•œ f s โ†’ s โˆˆ nhds a โ†’ AnalyticOn ๐•œ (dslope f a) s

If f is analytic on a set s that is a neighbourhood of the base point a, then dslope f a is analytic on s.

theorem AnalyticOnNhd.dslope E1 #

โˆ€ {๐•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField ๐•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] {f : ๐•œ โ†’ E} {s : Set ๐•œ}, AnalyticOnNhd ๐•œ f s โ†’ โˆ€ (a : ๐•œ), AnalyticOnNhd ๐•œ (dslope f a) s

If f is analytic on a neighbourhood of s, then so is dslope f a, for any base point a.

Deprecated aliases

NameNew nameSince
HasFPowerSeriesAt.has_fpower_series_dslope_fslopeHasFPowerSeriesAt.dslope_fslope2026-09-30