theorem
Set.not_monotoneOn_not_antitoneOn_iff_exists_le_le
{α : Type u}
{β : Type v}
{s : Set α}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
:
A function between linear orders which is neither monotone nor antitone makes a dent upright or downright.
theorem
Set.not_monotoneOn_not_antitoneOn_iff_exists_lt_lt
{α : Type u}
{β : Type v}
{s : Set α}
[LinearOrder α]
[LinearOrder β]
{f : α → β}
:
A function between linear orders which is neither monotone nor antitone makes a dent upright or downright.
Monotone lemmas for sets #
theorem
MonotoneOn.inter
{α : Type u_1}
{β : Type u_2}
[Preorder β]
{f g : β → Set α}
{s : Set β}
(hf : MonotoneOn f s)
(hg : MonotoneOn g s)
:
MonotoneOn (fun (x : β) => f x ∩ g x) s
theorem
AntitoneOn.inter
{α : Type u_1}
{β : Type u_2}
[Preorder β]
{f g : β → Set α}
{s : Set β}
(hf : AntitoneOn f s)
(hg : AntitoneOn g s)
:
AntitoneOn (fun (x : β) => f x ∩ g x) s
theorem
MonotoneOn.union
{α : Type u_1}
{β : Type u_2}
[Preorder β]
{f g : β → Set α}
{s : Set β}
(hf : MonotoneOn f s)
(hg : MonotoneOn g s)
:
MonotoneOn (fun (x : β) => f x ∪ g x) s
theorem
AntitoneOn.union
{α : Type u_1}
{β : Type u_2}
[Preorder β]
{f g : β → Set α}
{s : Set β}
(hf : AntitoneOn f s)
(hg : AntitoneOn g s)
:
AntitoneOn (fun (x : β) => f x ∪ g x) s