Mathlib.Data.Int.Order.Basic
15 declarations. Mathlib docs · Source
theorem Int.le.elim E1 #
∀ {a b : ℤ}, a ≤ b → ∀ {P : Prop}, (∀ (n : ℕ), a + ↑n = b → P) → P
theorem Int.le_of_ofNat_le_ofNat E1 #
∀ {m n : ℕ}, ↑m ≤ ↑n → m ≤ n
Alias of the forward direction of Int.ofNat_le.
theorem Int.ofNat_le_ofNat_of_le E1 #
∀ {m n : ℕ}, m ≤ n → ↑m ≤ ↑n
Alias of the reverse direction of Int.ofNat_le.
theorem Int.lt.elim E1 #
∀ {a b : ℤ}, a < b → ∀ {P : Prop}, (∀ (n : ℕ), a + ↑n.succ = b → P) → P
theorem Int.ofNat_lt_ofNat_of_lt E1 #
∀ {n m : ℕ}, n < m → ↑n < ↑m
Alias of the reverse direction of Int.ofNat_lt.
theorem Int.lt_of_ofNat_lt_ofNat E1 #
∀ {n m : ℕ}, ↑n < ↑m → n < m
Alias of the forward direction of Int.ofNat_lt.
instance Int.instLinearOrder E0 #
LinearOrder ℤ
instance Int.instPreorder E0 #
Preorder ℤ
instance Int.instPartialOrder E0 #
PartialOrder ℤ
theorem Int.nonneg_or_nonpos_of_mul_nonneg E1 #
∀ {a b : ℤ}, 0 ≤ a * b → 0 ≤ a ∧ 0 ≤ b ∨ a ≤ 0 ∧ b ≤ 0
theorem Int.mul_nonneg_of_nonneg_or_nonpos E1 #
∀ {a b : ℤ}, 0 ≤ a ∧ 0 ≤ b ∨ a ≤ 0 ∧ b ≤ 0 → 0 ≤ a * b
theorem Int.mul_nonneg_iff E0 #
∀ {a b : ℤ}, 0 ≤ a * b ↔ 0 ≤ a ∧ 0 ≤ b ∨ a ≤ 0 ∧ b ≤ 0
theorem Int.mul_pos_iff E0 #
∀ {a b : ℤ}, 0 < a * b ↔ 0 < a ∧ 0 < b ∨ a < 0 ∧ b < 0
theorem Int.mul_nonpos_iff E0 #
∀ {a b : ℤ}, a * b ≤ 0 ↔ 0 ≤ a ∧ b ≤ 0 ∨ a ≤ 0 ∧ 0 ≤ b
theorem Int.mul_neg_iff E0 #
∀ {a b : ℤ}, a * b < 0 ↔ 0 < a ∧ b < 0 ∨ a < 0 ∧ 0 < b