The areas / V04. Order and lattices
Mathlib.Order.Monotone.Defs
117 declarations. Mathlib docs · Source
Monotonicity
This file defines (strictly) monotone/antitone functions. Contrary to standard mathematical usage, "monotone"/"mono" here means "increasing", not "increasing or decreasing". We use "antitone"/"anti" to mean "decreasing".
Definitions
Monotone f: A functionfbetween two preorders is monotone ifa ≤ bimpliesf a ≤ f b.Antitone f: A functionfbetween two preorders is antitone ifa ≤ bimpliesf b ≤ f a.MonotoneOn f s: Same asMonotone f, but for alla, b ∈ s.AntitoneOn f s: Same asAntitone f, but for alla, b ∈ s.StrictMono f: A functionfbetween two preorders is strictly monotone ifa < bimpliesf a < f b.StrictAnti f: A functionfbetween two preorders is strictly antitone ifa < bimpliesf b < f a.StrictMonoOn f s: Same asStrictMono f, but for alla, b ∈ s.StrictAntiOn f s: Same asStrictAnti f, but for alla, b ∈ s.
Implementation notes
Some of these definitions used to only require LE α or LT α. The advantage of this is
unclear and it led to slight elaboration issues. Now, everything requires Preorder α and seems to
work fine. Related Zulip discussion:
https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Order.20diamond/near/254353352.
Tags
monotone, strictly monotone, antitone, strictly antitone, increasing, strictly increasing, decreasing, strictly decreasing
Monotonicity in function spaces
Monotonicity hierarchy
These four lemmas are there to strip off the semi-implicit arguments ⦃a b : α⦄. This is useful
when you do not want to apply a Monotone assumption (i.e. your goal is a ≤ b → f a ≤ f b).
However if you find yourself writing hf.imp h, then you should have written hf h instead.
Monotonicity from and to subsingletons
Miscellaneous monotonicity results
Monotonicity under composition
Monotonicity in linear orders
Pi types
def Monotone E3 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Prop
A function f is monotone if a ≤ b implies f a ≤ f b.
def Antitone E3 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Prop
A function f is antitone if a ≤ b implies f b ≤ f a.
def MonotoneOn E3 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Set α → Prop
A function f is monotone on s if, for all a, b ∈ s, a ≤ b implies f a ≤ f b.
def AntitoneOn E1 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Set α → Prop
A function f is antitone on s if, for all a, b ∈ s, a ≤ b implies f b ≤ f a.
def StrictMono E1 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Prop
A function f is strictly monotone if a < b implies f a < f b.
def StrictAnti E1 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Prop
A function f is strictly antitone if a < b implies f b < f a.
def StrictMonoOn E1 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Set α → Prop
A function f is strictly monotone on s if, for all a, b ∈ s, a < b implies
f a < f b.
def StrictAntiOn E1 #
{α : Type u} → {β : Type v} → [Preorder α] → [Preorder β] → (α → β) → Set α → Prop
A function f is strictly antitone on s if, for all a, b ∈ s, a < b implies
f b < f a.
def IsStable E3 #
{α : Type u_4} → {γ : Type u_5} → [Preorder α] → (α → γ) → (α → α) → Prop
σ is stable for f if it breaks ties by increasing index: among elements with equal
f-value, σ preserves their order. This property does not use the order on the codomain of f,
only its equality, so it is unchanged by reversing that order.
instance instDecidableMonotoneOfForallForallForallLe E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] → {f : α → β} → [i : Decidable (∀ (a b : α), a ≤ b → f a ≤ f b)] → Decidable (Monotone f)
instance instDecidableAntitoneOfForallForallForallLe E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] → {f : α → β} → [i : Decidable (∀ (a b : α), a ≤ b → f b ≤ f a)] → Decidable (Antitone f)
instance instDecidableMonotoneOnOfForallForallMemSetForallForallForallLe E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] →
{f : α → β} → {s : Set α} → [i : Decidable (∀ a ∈ s, ∀ b ∈ s, a ≤ b → f a ≤ f b)] → Decidable (MonotoneOn f s)
instance instDecidableAntitoneOnOfForallForallMemSetForallForallForallLe E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] →
{f : α → β} → {s : Set α} → [i : Decidable (∀ a ∈ s, ∀ b ∈ s, a ≤ b → f b ≤ f a)] → Decidable (AntitoneOn f s)
instance instDecidableStrictMonoOfForallForallForallLt E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] → {f : α → β} → [i : Decidable (∀ (a b : α), a < b → f a < f b)] → Decidable (StrictMono f)
instance instDecidableStrictAntiOfForallForallForallLt E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] → {f : α → β} → [i : Decidable (∀ (a b : α), a < b → f b < f a)] → Decidable (StrictAnti f)
instance instDecidableStrictMonoOnOfForallForallMemSetForallForallForallLt E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] →
{f : α → β} → {s : Set α} → [i : Decidable (∀ a ∈ s, ∀ b ∈ s, a < b → f a < f b)] → Decidable (StrictMonoOn f s)
instance instDecidableStrictAntiOnOfForallForallMemSetForallForallForallLt E0 #
{α : Type u} →
{β : Type v} →
[inst : Preorder α] →
[inst_1 : Preorder β] →
{f : α → β} → {s : Set α} → [i : Decidable (∀ a ∈ s, ∀ b ∈ s, a < b → f b < f a)] → Decidable (StrictAntiOn f s)
theorem Monotone.comp_le_comp_left E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] {f : β → α} {g h : γ → β},
Monotone f → g ≤ h → f ∘ g ≤ f ∘ h
theorem monotone_lam E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder γ] {f : α → β → γ},
(∀ (b : β), Monotone fun a ↦ f a b) → Monotone f
theorem monotone_app E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder γ] (f : β → α → γ) (b : β),
(Monotone fun a b ↦ f b a) → Monotone (f b)
theorem antitone_lam E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder γ] {f : α → β → γ},
(∀ (b : β), Antitone fun a ↦ f a b) → Antitone f
theorem antitone_app E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder γ] (f : β → α → γ) (b : β),
(Antitone fun a b ↦ f b a) → Antitone (f b)
theorem Function.monotone_eval E1 #
∀ {ι : Type u} {α : ι → Type v} [inst : (i : ι) → Preorder (α i)] (i : ι), Monotone (Function.eval i)
theorem Monotone.imp E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} {a b : α},
Monotone f → a ≤ b → f a ≤ f b
theorem Antitone.imp E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} {a b : α},
Antitone f → a ≤ b → f b ≤ f a
theorem StrictMono.imp E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} {a b : α},
StrictMono f → a < b → f a < f b
theorem StrictAnti.imp E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} {a b : α},
StrictAnti f → a < b → f b < f a
theorem Monotone.monotoneOn E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
Monotone f → ∀ (s : Set α), MonotoneOn f s
theorem Antitone.antitoneOn E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
Antitone f → ∀ (s : Set α), AntitoneOn f s
theorem monotoneOn_univ E0 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β}, MonotoneOn f Set.univ ↔ Monotone f
theorem antitoneOn_univ E0 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β}, AntitoneOn f Set.univ ↔ Antitone f
theorem StrictMono.strictMonoOn E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
StrictMono f → ∀ (s : Set α), StrictMonoOn f s
theorem StrictAnti.strictAntiOn E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
StrictAnti f → ∀ (s : Set α), StrictAntiOn f s
theorem strictMonoOn_univ E0 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
StrictMonoOn f Set.univ ↔ StrictMono f
theorem strictAntiOn_univ E0 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
StrictAntiOn f Set.univ ↔ StrictAnti f
theorem Monotone.strictMono_of_injective E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : PartialOrder β] {f : α → β},
Monotone f → Function.Injective f → StrictMono f
theorem Antitone.strictAnti_of_injective E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : PartialOrder β] {f : α → β},
Antitone f → Function.Injective f → StrictAnti f
theorem monotone_iff_forall_lt E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β},
Monotone f ↔ ∀ ⦃a b : α⦄, a < b → f a ≤ f b
theorem antitone_iff_forall_lt E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β},
Antitone f ↔ ∀ ⦃a b : α⦄, a < b → f b ≤ f a
theorem monotoneOn_iff_forall_lt E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
MonotoneOn f s ↔ ∀ ⦃a : α⦄, a ∈ s → ∀ ⦃b : α⦄, b ∈ s → a < b → f a ≤ f b
theorem antitoneOn_iff_forall_lt E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
AntitoneOn f s ↔ ∀ ⦃a : α⦄, a ∈ s → ∀ ⦃b : α⦄, b ∈ s → a < b → f b ≤ f a
theorem StrictMonoOn.monotoneOn E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
StrictMonoOn f s → MonotoneOn f s
theorem StrictAntiOn.antitoneOn E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
StrictAntiOn f s → AntitoneOn f s
theorem StrictMono.monotone E2 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β}, StrictMono f → Monotone f
theorem StrictAnti.antitone E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] [inst_1 : Preorder β] {f : α → β}, StrictAnti f → Antitone f
theorem Subsingleton.monotone E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton α] (f : α → β), Monotone f
theorem Subsingleton.antitone E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton α] (f : α → β), Antitone f
theorem Subsingleton.monotone' E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton β] (f : α → β), Monotone f
theorem Subsingleton.antitone' E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton β] (f : α → β), Antitone f
theorem Subsingleton.strictMono E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton α] (f : α → β), StrictMono f
theorem Subsingleton.strictAnti E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] [Subsingleton α] (f : α → β), StrictAnti f
theorem monotone_id E1 #
∀ {α : Type u} [inst : Preorder α], Monotone id
theorem monotoneOn_id E1 #
∀ {α : Type u} [inst : Preorder α] {s : Set α}, MonotoneOn id s
theorem strictMono_id E1 #
∀ {α : Type u} [inst : Preorder α], StrictMono id
theorem strictMonoOn_id E1 #
∀ {α : Type u} [inst : Preorder α] {s : Set α}, StrictMonoOn id s
theorem monotone_const E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {c : β}, Monotone fun x ↦ c
theorem monotoneOn_const E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {c : β} {s : Set α}, MonotoneOn (fun x ↦ c) s
theorem antitone_const E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {c : β}, Antitone fun x ↦ c
theorem antitoneOn_const E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {c : β} {s : Set α}, AntitoneOn (fun x ↦ c) s
theorem strictMono_of_le_iff_le E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
(∀ (x y : α), x ≤ y ↔ f x ≤ f y) → StrictMono f
theorem strictAnti_of_le_iff_le E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
(∀ (x y : α), x ≤ y ↔ f y ≤ f x) → StrictAnti f
theorem Function.Injective.of_lt_imp_ne E1 #
∀ {α : Type u} {β : Type v} [inst : LinearOrder α] {f : α → β}, (∀ (x y : α), x < y → f x ≠ f y) → Function.Injective f
theorem Function.Injective.of_eq_imp_le E1 #
∀ {α : Type u} {β : Type v} [inst : PartialOrder α] {f : α → β}, (∀ {x y : α}, f x = f y → x ≤ y) → Function.Injective f
theorem Monotone.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, Monotone g → Monotone f → Monotone (g ∘ f)
theorem Monotone.comp_antitone E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, Monotone g → Antitone f → Antitone (g ∘ f)
theorem Antitone.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, Antitone g → Antitone f → Monotone (g ∘ f)
theorem Antitone.comp_monotone E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, Antitone g → Monotone f → Antitone (g ∘ f)
theorem Monotone.iterate E1 #
∀ {α : Type u} [inst : Preorder α] {f : α → α}, Monotone f → ∀ (n : ℕ), Monotone f^[n]
theorem Monotone.comp_monotoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, Monotone g → MonotoneOn f s → MonotoneOn (g ∘ f) s
theorem Monotone.comp_antitoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, Monotone g → AntitoneOn f s → AntitoneOn (g ∘ f) s
theorem Antitone.comp_antitoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, Antitone g → AntitoneOn f s → MonotoneOn (g ∘ f) s
theorem Antitone.comp_monotoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, Antitone g → MonotoneOn f s → AntitoneOn (g ∘ f) s
theorem StrictMono.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, StrictMono g → StrictMono f → StrictMono (g ∘ f)
theorem StrictMono.comp_strictAnti E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, StrictMono g → StrictAnti f → StrictAnti (g ∘ f)
theorem StrictAnti.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, StrictAnti g → StrictAnti f → StrictMono (g ∘ f)
theorem StrictAnti.comp_strictMono E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β}, StrictAnti g → StrictMono f → StrictAnti (g ∘ f)
theorem StrictMono.iterate E1 #
∀ {α : Type u} [inst : Preorder α] {f : α → α}, StrictMono f → ∀ (n : ℕ), StrictMono f^[n]
theorem StrictMono.comp_strictMonoOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, StrictMono g → StrictMonoOn f s → StrictMonoOn (g ∘ f) s
theorem StrictMono.comp_strictAntiOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, StrictMono g → StrictAntiOn f s → StrictAntiOn (g ∘ f) s
theorem StrictAnti.comp_strictAntiOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, StrictAnti g → StrictAntiOn f s → StrictMonoOn (g ∘ f) s
theorem StrictAnti.comp_strictMonoOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α}, StrictAnti g → StrictMonoOn f s → StrictAntiOn (g ∘ f) s
theorem MonotoneOn.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, MonotoneOn g t → MonotoneOn f s → Set.MapsTo f s t → MonotoneOn (g ∘ f) s
theorem MonotoneOn.comp_AntitoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, MonotoneOn g t → AntitoneOn f s → Set.MapsTo f s t → AntitoneOn (g ∘ f) s
theorem AntitoneOn.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, AntitoneOn g t → AntitoneOn f s → Set.MapsTo f s t → MonotoneOn (g ∘ f) s
theorem AntitoneOn.comp_MonotoneOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, AntitoneOn g t → MonotoneOn f s → Set.MapsTo f s t → AntitoneOn (g ∘ f) s
theorem StrictMonoOn.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, StrictMonoOn g t → StrictMonoOn f s → Set.MapsTo f s t → StrictMonoOn (g ∘ f) s
theorem StrictMonoOn.comp_strictAntiOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, StrictMonoOn g t → StrictAntiOn f s → Set.MapsTo f s t → StrictAntiOn (g ∘ f) s
theorem StrictAntiOn.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, StrictAntiOn g t → StrictAntiOn f s → Set.MapsTo f s t → StrictMonoOn (g ∘ f) s
theorem StrictAntiOn.comp_strictMonoOn E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {g : β → γ}
{f : α → β} {s : Set α} {t : Set β}, StrictAntiOn g t → StrictMonoOn f s → Set.MapsTo f s t → StrictAntiOn (g ∘ f) s
theorem Monotone.reflect_lt E1 #
∀ {α : Type u} {β : Type v} [inst : LinearOrder α] [inst_1 : Preorder β] {f : α → β},
Monotone f → ∀ {a b : α}, f a < f b → a < b
theorem Antitone.reflect_lt E1 #
∀ {α : Type u} {β : Type v} [inst : LinearOrder α] [inst_1 : Preorder β] {f : α → β},
Antitone f → ∀ {a b : α}, f a < f b → b < a
theorem MonotoneOn.reflect_lt E1 #
∀ {α : Type u} {β : Type v} [inst : LinearOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
MonotoneOn f s → ∀ {a b : α}, a ∈ s → b ∈ s → f a < f b → a < b
theorem AntitoneOn.reflect_lt E1 #
∀ {α : Type u} {β : Type v} [inst : LinearOrder α] [inst_1 : Preorder β] {f : α → β} {s : Set α},
AntitoneOn f s → ∀ {a b : α}, a ∈ s → b ∈ s → f a < f b → b < a
theorem Subtype.mono_coe E0 #
∀ {α : Type u} [inst : Preorder α] (p : α → Prop), Monotone Subtype.val
theorem Set.mono_coe E0 #
∀ {α : Type u} [inst : Preorder α] (A : Set α), Monotone fun a ↦ ↑a
theorem Subtype.strictMono_coe E0 #
∀ {α : Type u} [inst : Preorder α] (p : α → Prop), StrictMono Subtype.val
theorem Set.strictMono_coe E0 #
∀ {α : Type u} [inst : Preorder α] (A : Set α), StrictMono fun a ↦ ↑a
theorem monotone_fst E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β], Monotone Prod.fst
theorem monotone_snd E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [inst_1 : Preorder β], Monotone Prod.snd
theorem monotone_prodMk_iff E0 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {f : γ → α}
{g : γ → β}, (Monotone fun x ↦ (f x, g x)) ↔ Monotone f ∧ Monotone g
theorem Monotone.prodMk E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ] {f : γ → α}
{g : γ → β}, Monotone f → Monotone g → Monotone fun x ↦ (f x, g x)
theorem Monotone.prodMap E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} {δ : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
[inst_3 : Preorder δ] {f : α → γ} {g : β → δ}, Monotone f → Monotone g → Monotone (Prod.map f g)
theorem Antitone.prodMap E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} {δ : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
[inst_3 : Preorder δ] {f : α → γ} {g : β → δ}, Antitone f → Antitone g → Antitone (Prod.map f g)
theorem monotone_prod_iff E0 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
{h : α × β → γ}, Monotone h ↔ (∀ (a : α), Monotone fun b ↦ h (a, b)) ∧ ∀ (b : β), Monotone fun a ↦ h (a, b)
theorem antitone_prod_iff E0 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
{h : α × β → γ}, Antitone h ↔ (∀ (a : α), Antitone fun b ↦ h (a, b)) ∧ ∀ (b : β), Antitone fun a ↦ h (a, b)
theorem StrictMono.prodMap E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} {δ : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β]
[inst_2 : Preorder γ] [inst_3 : Preorder δ] {f : α → γ} {g : β → δ},
StrictMono f → StrictMono g → StrictMono (Prod.map f g)
theorem StrictAnti.prodMap E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} {δ : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β]
[inst_2 : Preorder γ] [inst_3 : Preorder δ] {f : α → γ} {g : β → δ},
StrictAnti f → StrictAnti g → StrictAnti (Prod.map f g)
theorem Function.update_mono E1 #
∀ {ι : Type u_1} {π : ι → Type u_3} [inst : DecidableEq ι] [inst_1 : (i : ι) → Preorder (π i)] {f : (i : ι) → π i}
{i : ι}, Monotone (Function.update f i)
theorem Function.update_strictMono E1 #
∀ {ι : Type u_1} {π : ι → Type u_3} [inst : DecidableEq ι] [inst_1 : (i : ι) → Preorder (π i)] {f : (i : ι) → π i}
{i : ι}, StrictMono (Function.update f i)
theorem Function.const_mono E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α], Monotone (Function.const β)
theorem Function.const_strictMono E1 #
∀ {α : Type u} {β : Type v} [inst : Preorder α] [Nonempty β], StrictMono (Function.const β)
theorem monotone_iff_apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, Monotone f ↔ ∀ (i : ι), Monotone fun x ↦ f x i
theorem antitone_iff_apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, Antitone f ↔ ∀ (i : ι), Antitone fun x ↦ f x i
theorem Monotone.apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, Monotone f → ∀ (i : ι), Monotone fun x ↦ f x i
Alias of the forward direction of monotone_iff_apply₂.
theorem Monotone.of_apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, (∀ (i : ι), Monotone fun x ↦ f x i) → Monotone f
Alias of the reverse direction of monotone_iff_apply₂.
theorem Antitone.apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, Antitone f → ∀ (i : ι), Antitone fun x ↦ f x i
Alias of the forward direction of antitone_iff_apply₂.
theorem Antitone.of_apply₂ E1 #
∀ {ι : Type u_1} {α : Type u} {β : ι → Type u_4} [inst : (i : ι) → Preorder (β i)] [inst_1 : Preorder α]
{f : α → (i : ι) → β i}, (∀ (i : ι), Antitone fun x ↦ f x i) → Antitone f
Alias of the reverse direction of antitone_iff_apply₂.