Skip to content

Commit d6ff666

Browse files
committed
address nonterminal simp
1 parent feb9e0e commit d6ff666

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Init/Data/Range/Polymorphic/Lemmas.lean

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,13 +476,12 @@ public theorem Rxc.Iterator.toList_eq_toList_rxoIterator [LE α] [DecidableLE α
476476
rw [Rxc.Iterator.toList_eq_match, Rxo.Iterator.toList_eq_match]
477477
split
478478
· simp [*]
479-
· simp [*, UpwardEnumerable.lt_iff, UpwardEnumerable.le_iff]
479+
· simp only [UpwardEnumerable.le_iff, UpwardEnumerable.lt_iff, *]
480480
split <;> rename_i h
481481
· rw [ihy]; rotate_left
482482
· simp [Iter.IsPlausibleStep, IterM.IsPlausibleStep, Iterator.IsPlausibleStep,
483483
Iterator.Monadic.step, Iter.toIterM, *]; rfl
484-
simp only
485-
simpa [UpwardEnumerable.lt_iff, UpwardEnumerable.le_iff, UpwardEnumerable.lt_succ_iff] using h
484+
· simpa [UpwardEnumerable.lt_iff, UpwardEnumerable.le_iff, UpwardEnumerable.lt_succ_iff] using h
486485
· simpa [UpwardEnumerable.lt_iff, UpwardEnumerable.le_iff, UpwardEnumerable.lt_succ_iff] using h
487486

488487
public theorem Rxi.Iterator.toList_eq_match

0 commit comments

Comments
 (0)