Mathlib.Algebra.Notation.Lemmas
16 declarations. Mathlib docs · Source
theorem dite_nonneg E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LE α],
(∀ (h : p), 0 ≤ a h) → (∀ (h : ¬p), 0 ≤ b h) → 0 ≤ dite p a b
theorem one_le_dite E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LE α],
(∀ (h : p), 1 ≤ a h) → (∀ (h : ¬p), 1 ≤ b h) → 1 ≤ dite p a b
theorem dite_nonpos E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LE α],
(∀ (h : p), a h ≤ 0) → (∀ (h : ¬p), b h ≤ 0) → dite p a b ≤ 0
theorem dite_le_one E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LE α],
(∀ (h : p), a h ≤ 1) → (∀ (h : ¬p), b h ≤ 1) → dite p a b ≤ 1
theorem one_lt_dite E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LT α],
(∀ (h : p), 1 < a h) → (∀ (h : ¬p), 1 < b h) → 1 < dite p a b
theorem dite_pos E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LT α],
(∀ (h : p), 0 < a h) → (∀ (h : ¬p), 0 < b h) → 0 < dite p a b
theorem dite_lt_one E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LT α],
(∀ (h : p), a h < 1) → (∀ (h : ¬p), b h < 1) → dite p a b < 1
theorem dite_neg E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α} [inst_2 : LT α],
(∀ (h : p), a h < 0) → (∀ (h : ¬p), b h < 0) → dite p a b < 0
theorem ite_nonneg E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LE α],
0 ≤ a → 0 ≤ b → 0 ≤ if p then a else b
theorem one_le_ite E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LE α],
1 ≤ a → 1 ≤ b → 1 ≤ if p then a else b
theorem ite_le_one E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LE α],
a ≤ 1 → b ≤ 1 → (if p then a else b) ≤ 1
theorem ite_nonpos E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LE α],
a ≤ 0 → b ≤ 0 → (if p then a else b) ≤ 0
theorem ite_pos E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LT α],
0 < a → 0 < b → 0 < if p then a else b
theorem one_lt_ite E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LT α],
1 < a → 1 < b → 1 < if p then a else b
theorem ite_lt_one E1 #
∀ {α : Type u_1} [inst : One α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LT α],
a < 1 → b < 1 → (if p then a else b) < 1
theorem ite_neg E1 #
∀ {α : Type u_1} [inst : Zero α] {p : Prop} [inst_1 : Decidable p] {a b : α} [inst_2 : LT α],
a < 0 → b < 0 → (if p then a else b) < 0