max
and min
#
This file proves basic properties about maxima and minima on a LinearOrder
.
Tags #
min, max
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
An instance asserting that max a a = a
Equations
- ⋯ = ⋯
An instance asserting that min a a = a
Equations
- ⋯ = ⋯
theorem
max_lt_max
{α : Type u}
[LinearOrder α]
{a : α}
{b : α}
{c : α}
{d : α}
(h₁ : a < c)
(h₂ : b < d)
:
theorem
min_lt_min
{α : Type u}
[LinearOrder α]
{a : α}
{b : α}
{c : α}
{d : α}
(h₁ : a < c)
(h₂ : b < d)
:
theorem
MonotoneOn.map_max
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{s : Set α}
{a : α}
{b : α}
(hf : MonotoneOn f s)
(ha : a ∈ s)
(hb : b ∈ s)
:
theorem
MonotoneOn.map_min
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{s : Set α}
{a : α}
{b : α}
(hf : MonotoneOn f s)
(ha : a ∈ s)
(hb : b ∈ s)
:
theorem
AntitoneOn.map_max
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{s : Set α}
{a : α}
{b : α}
(hf : AntitoneOn f s)
(ha : a ∈ s)
(hb : b ∈ s)
:
theorem
AntitoneOn.map_min
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{s : Set α}
{a : α}
{b : α}
(hf : AntitoneOn f s)
(ha : a ∈ s)
(hb : b ∈ s)
:
theorem
Monotone.map_max
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{a : α}
{b : α}
(hf : Monotone f)
:
theorem
Monotone.map_min
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{a : α}
{b : α}
(hf : Monotone f)
:
theorem
Antitone.map_max
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{a : α}
{b : α}
(hf : Antitone f)
:
theorem
Antitone.map_min
{α : Type u}
{β : Type v}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
{a : α}
{b : α}
(hf : Antitone f)
:
theorem
le_of_max_le_left
{α : Type u}
[LinearOrder α]
{a : α}
{b : α}
{c : α}
(h : max a b ≤ c)
:
a ≤ c
theorem
le_of_max_le_right
{α : Type u}
[LinearOrder α]
{a : α}
{b : α}
{c : α}
(h : max a b ≤ c)
:
b ≤ c
@[deprecated instCommutativeMax]
@[deprecated instAssociativeMax]
@[deprecated instCommutativeMin]
@[deprecated instAssociativeMin]