We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f788a32 commit d68a120Copy full SHA for d68a120
1 file changed
Mathlib/Order/SuccPred/Limit.lean
@@ -223,14 +223,12 @@ theorem _root_.WithTop.isSuccPrelimit_iff {α} [LT α] [NoMaxOrder α] {x : With
223
@[to_dual]
224
theorem _root_.WithTop.isSuccLimit_iff [Nonempty α] [NoMaxOrder α] {x : WithTop α} :
225
IsSuccLimit x ↔ x = ⊤ ∨ ∃ y : α, x = y ∧ IsSuccLimit y := by
226
- cases x with
227
- | coe x => simp [IsSuccLimit, WithTop.isSuccPrelimit_iff, WithTop.exists]
228
- | top => simp [IsSuccLimit, WithTop.exists]
+ cases x <;> simp [IsSuccLimit]
229
230
@[to_dual (attr := simp)]
231
theorem _root_.WithTop.isSuccLimit_coe_iff {x : α} :
232
IsSuccLimit (x : WithTop α) ↔ IsSuccLimit x := by
233
- simp [IsSuccLimit, WithTop.exists]
+ simp [IsSuccLimit]
234
235
236
theorem IsSuccLimit.withTopCoe {x : α} (h : IsSuccLimit x) :
0 commit comments