We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nonempty_uIoc
1 parent 58ed06d commit e0d647dCopy full SHA for e0d647d
1 file changed
Mathlib/Order/Interval/Set/UnorderedInterval.lean
@@ -377,6 +377,9 @@ lemma uIoo_subset_Ioo (ha : a₁ ∈ Icc a₂ b₂) (hb : b₁ ∈ Icc a₂ b₂
377
@[simp] lemma nonempty_uIoo [DenselyOrdered α] : (uIoo a b).Nonempty ↔ a ≠ b := by
378
simp [uIoo, eq_comm]
379
380
+@[simp] lemma nonempty_uIoc [DenselyOrdered α] : (uIoc a b).Nonempty ↔ a ≠ b := by
381
+ simp [uIoc, eq_comm]
382
+
383
lemma uIoo_eq_union : uIoo a b = Ioo a b ∪ Ioo b a := by
384
rcases lt_or_ge a b with h | h
385
· simp [uIoo_of_lt, h, Ioo_eq_empty_of_le h.le]
0 commit comments