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
- (_ : Std.IdempotentOp max) = (_ : Std.IdempotentOp max)
An instance asserting that min a a = a
Equations
- (_ : Std.IdempotentOp min) = (_ : Std.IdempotentOp min)
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
Equations
- (_ : Std.Commutative max) = (_ : Std.Commutative max)
Equations
- (_ : Std.Associative max) = (_ : Std.Associative max)
Equations
- (_ : Std.Commutative min) = (_ : Std.Commutative min)
Equations
- (_ : Std.Associative min) = (_ : Std.Associative min)