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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.Convex.Slope

25 declarations. Mathlib docs ยท Source

theorem ConvexOn.slope_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) โ‰ค (f z - f y) / (z - y)

If f : ๐•œ โ†’ ๐•œ is convex, then for any three points x < y < z the slope of the secant line of f on [x, y] is less than the slope of the secant line of f on [y, z].

theorem ConcaveOn.slope_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConcaveOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) โ‰ค (f y - f x) / (y - x)

If f : ๐•œ โ†’ ๐•œ is concave, then for any three points x < y < z the slope of the secant line of f on [x, y] is greater than the slope of the secant line of f on [y, z].

theorem StrictConvexOn.slope_strict_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) < (f z - f y) / (z - y)

If f : ๐•œ โ†’ ๐•œ is strictly convex, then for any three points x < y < z the slope of the secant line of f on [x, y] is strictly less than the slope of the secant line of f on [y, z].

theorem StrictConcaveOn.slope_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConcaveOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) < (f y - f x) / (y - x)

If f : ๐•œ โ†’ ๐•œ is strictly concave, then for any three points x < y < z the slope of the secant line of f on [x, y] is strictly greater than the slope of the secant line of f on [y, z].

theorem convexOn_of_slope_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  Convex ๐•œ s โ†’
    (โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) โ‰ค (f z - f y) / (z - y)) โ†’ ConvexOn ๐•œ s f

If for any three points x < y < z, the slope of the secant line of f : ๐•œ โ†’ ๐•œ on [x, y] is less than the slope of the secant line of f on [y, z], then f is convex.

theorem concaveOn_of_slope_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  Convex ๐•œ s โ†’
    (โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) โ‰ค (f y - f x) / (y - x)) โ†’ ConcaveOn ๐•œ s f

If for any three points x < y < z, the slope of the secant line of f : ๐•œ โ†’ ๐•œ on [x, y] is greater than the slope of the secant line of f on [y, z], then f is concave.

theorem strictConvexOn_of_slope_strict_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  Convex ๐•œ s โ†’
    (โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) < (f z - f y) / (z - y)) โ†’
      StrictConvexOn ๐•œ s f

If for any three points x < y < z, the slope of the secant line of f : ๐•œ โ†’ ๐•œ on [x, y] is strictly less than the slope of the secant line of f on [y, z], then f is strictly convex.

theorem strictConcaveOn_of_slope_strict_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  Convex ๐•œ s โ†’
    (โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) < (f y - f x) / (y - x)) โ†’
      StrictConcaveOn ๐•œ s f

If for any three points x < y < z, the slope of the secant line of f : ๐•œ โ†’ ๐•œ on [x, y] is strictly greater than the slope of the secant line of f on [y, z], then f is strictly concave.

theorem convexOn_iff_slope_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†”
    Convex ๐•œ s โˆง โˆ€ โฆƒx y z : ๐•œโฆ„, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) โ‰ค (f z - f y) / (z - y)

A function f : ๐•œ โ†’ ๐•œ is convex iff for any three points x < y < z the slope of the secant line of f on [x, y] is less than the slope of the secant line of f on [y, z].

theorem concaveOn_iff_slope_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConcaveOn ๐•œ s f โ†”
    Convex ๐•œ s โˆง โˆ€ โฆƒx y z : ๐•œโฆ„, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) โ‰ค (f y - f x) / (y - x)

A function f : ๐•œ โ†’ ๐•œ is concave iff for any three points x < y < z the slope of the secant line of f on [x, y] is greater than the slope of the secant line of f on [y, z].

theorem strictConvexOn_iff_slope_strict_mono_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†”
    Convex ๐•œ s โˆง โˆ€ โฆƒx y z : ๐•œโฆ„, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) < (f z - f y) / (z - y)

A function f : ๐•œ โ†’ ๐•œ is strictly convex iff for any three points x < y < z the slope of the secant line of f on [x, y] is strictly less than the slope of the secant line of f on [y, z].

theorem strictConcaveOn_iff_slope_strict_anti_adjacent E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConcaveOn ๐•œ s f โ†”
    Convex ๐•œ s โˆง โˆ€ โฆƒx y z : ๐•œโฆ„, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f y) / (z - y) < (f y - f x) / (y - x)

A function f : ๐•œ โ†’ ๐•œ is strictly concave iff for any three points x < y < z the slope of the secant line of f on [x, y] is strictly greater than the slope of the secant line of f on [y, z].

theorem ConvexOn.secant_mono_aux1 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (z - x) * f y โ‰ค (z - y) * f x + (y - x) * f z

theorem ConvexOn.secant_mono_aux2 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) โ‰ค (f z - f x) / (z - x)

theorem ConvexOn.secant_mono_aux3 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f x) / (z - x) โ‰ค (f z - f y) / (z - y)

theorem ConvexOn.secant_mono E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’
    โˆ€ {a x y : ๐•œ}, a โˆˆ s โ†’ x โˆˆ s โ†’ y โˆˆ s โ†’ x โ‰  a โ†’ y โ‰  a โ†’ x โ‰ค y โ†’ (f x - f a) / (x - a) โ‰ค (f y - f a) / (y - a)

If f : ๐•œ โ†’ ๐•œ is convex, then for any point a the slope of the secant line of f through a and b โ‰  a is monotone with respect to b.

theorem StrictConvexOn.secant_strict_mono_aux1 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (z - x) * f y < (z - y) * f x + (y - x) * f z

theorem StrictConvexOn.secant_strict_mono_aux2 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f y - f x) / (y - x) < (f z - f x) / (z - x)

theorem StrictConvexOn.secant_strict_mono_aux3 E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†’ โˆ€ {x y z : ๐•œ}, x โˆˆ s โ†’ z โˆˆ s โ†’ x < y โ†’ y < z โ†’ (f z - f x) / (z - x) < (f z - f y) / (z - y)

theorem StrictConvexOn.secant_strict_mono E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConvexOn ๐•œ s f โ†’
    โˆ€ {a x y : ๐•œ}, a โˆˆ s โ†’ x โˆˆ s โ†’ y โˆˆ s โ†’ x โ‰  a โ†’ y โ‰  a โ†’ x < y โ†’ (f x - f a) / (x - a) < (f y - f a) / (y - a)

If f : ๐•œ โ†’ ๐•œ is strictly convex, then for any point a the slope of the secant line of f through a and b is strictly monotone with respect to b.

theorem StrictConcaveOn.secant_strict_mono E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  StrictConcaveOn ๐•œ s f โ†’
    โˆ€ {a x y : ๐•œ}, a โˆˆ s โ†’ x โˆˆ s โ†’ y โˆˆ s โ†’ x โ‰  a โ†’ y โ‰  a โ†’ x < y โ†’ (f y - f a) / (y - a) < (f x - f a) / (x - a)

If f : ๐•œ โ†’ ๐•œ is strictly concave, then for any point a the slope of the secant line of f through a and b is strictly antitone with respect to b.

theorem ConvexOn.strictMonoOn E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y : ๐•œ}, x โˆˆ s โ†’ x < y โ†’ f x < f y โ†’ StrictMonoOn f (s โˆฉ Set.Ici y)

If f is convex on a set s in a linearly ordered field, and f x < f y for two points x < y in s, then f is strictly monotone on s โˆฉ [y, โˆž).

theorem ConvexOn.strictAntiOn E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConvexOn ๐•œ s f โ†’ โˆ€ {x y : ๐•œ}, y โˆˆ s โ†’ x < y โ†’ f y < f x โ†’ StrictAntiOn f (s โˆฉ Set.Iic x)

If f is convex on a set s in a linearly ordered field, and f y < f x for two points x < y in s, then f is strictly antitone on s โˆฉ (โˆž, x].

theorem ConcaveOn.strictMonoOn E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConcaveOn ๐•œ s f โ†’ โˆ€ {x y : ๐•œ}, y โˆˆ s โ†’ x < y โ†’ f x < f y โ†’ StrictMonoOn f (s โˆฉ Set.Iic x)

If f is concave on a set s in a linearly ordered field, and f x < f y for two points x < y in s, then f is strictly monotone on s โˆฉ (โˆž, x].

theorem ConcaveOn.strictAntiOn E1 #

โˆ€ {๐•œ : Type u_1} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ] {s : Set ๐•œ} {f : ๐•œ โ†’ ๐•œ},
  ConcaveOn ๐•œ s f โ†’ โˆ€ {x y : ๐•œ}, x โˆˆ s โ†’ x < y โ†’ f y < f x โ†’ StrictAntiOn f (s โˆฉ Set.Ici y)

If f is concave on a set s in a linearly ordered field, and f y < f x for two points x < y in s, then f is strictly antitone on s โˆฉ [y, โˆž).