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, โ).