The areas / V04. Order and lattices
Mathlib.Order.Monotone.MonovaryOrder
18 declarations. Mathlib docs · Source
def MonovaryOrder E1 #
{ι : Type u_1} → {α : Type u_2} → {β : Type u_3} → [LinearOrder α] → [LinearOrder β] → (ι → α) → (ι → β) → ι → ι → Prop
If f : ι → α and g : ι → β are monovarying, then MonovaryOrder f g is a linear order on
ι that makes f and g simultaneously monotone.
We define i < j if f i < f j, or if f i = f j and g i < g j, breaking ties arbitrarily.
instance instIsStrictTotalOrderMonovaryOrder E0 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] (f : ι → α) (g : ι → β),
IsStrictTotalOrder ι (MonovaryOrder f g)
theorem monovaryOn_iff_exists_monotoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, MonovaryOn f g s ↔ ∃ x, MonotoneOn f s ∧ MonotoneOn g s
theorem antivaryOn_iff_exists_monotoneOn_antitoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, AntivaryOn f g s ↔ ∃ x, MonotoneOn f s ∧ AntitoneOn g s
theorem monovaryOn_iff_exists_antitoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, MonovaryOn f g s ↔ ∃ x, AntitoneOn f s ∧ AntitoneOn g s
theorem antivaryOn_iff_exists_antitoneOn_monotoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, AntivaryOn f g s ↔ ∃ x, AntitoneOn f s ∧ MonotoneOn g s
theorem monovary_iff_exists_monotone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Monovary f g ↔ ∃ x, Monotone f ∧ Monotone g
theorem monovary_iff_exists_antitone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Monovary f g ↔ ∃ x, Antitone f ∧ Antitone g
theorem antivary_iff_exists_monotone_antitone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Antivary f g ↔ ∃ x, Monotone f ∧ Antitone g
theorem antivary_iff_exists_antitone_monotone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Antivary f g ↔ ∃ x, Antitone f ∧ Monotone g
theorem MonovaryOn.exists_monotoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, MonovaryOn f g s → ∃ x, MonotoneOn f s ∧ MonotoneOn g s
Alias of the forward direction of monovaryOn_iff_exists_monotoneOn.
theorem MonovaryOn.exists_antitoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, MonovaryOn f g s → ∃ x, AntitoneOn f s ∧ AntitoneOn g s
Alias of the forward direction of monovaryOn_iff_exists_antitoneOn.
theorem AntivaryOn.exists_monotoneOn_antitoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, AntivaryOn f g s → ∃ x, MonotoneOn f s ∧ AntitoneOn g s
Alias of the forward direction of antivaryOn_iff_exists_monotoneOn_antitoneOn.
theorem AntivaryOn.exists_antitoneOn_monotoneOn E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β}
{s : Set ι}, AntivaryOn f g s → ∃ x, AntitoneOn f s ∧ MonotoneOn g s
Alias of the forward direction of antivaryOn_iff_exists_antitoneOn_monotoneOn.
theorem Monovary.exists_monotone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Monovary f g → ∃ x, Monotone f ∧ Monotone g
Alias of the forward direction of monovary_iff_exists_monotone.
theorem Monovary.exists_antitone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Monovary f g → ∃ x, Antitone f ∧ Antitone g
Alias of the forward direction of monovary_iff_exists_antitone.
theorem Antivary.exists_monotone_antitone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Antivary f g → ∃ x, Monotone f ∧ Antitone g
Alias of the forward direction of antivary_iff_exists_monotone_antitone.
theorem Antivary.exists_antitone_monotone E1 #
∀ {ι : Type u_1} {α : Type u_2} {β : Type u_3} [inst : LinearOrder α] [inst_1 : LinearOrder β] {f : ι → α} {g : ι → β},
Antivary f g → ∃ x, Antitone f ∧ Monotone g
Alias of the forward direction of antivary_iff_exists_antitone_monotone.