Skip to content

Commit 3fd4166

Browse files
committed
chore(Data/Seq/Parallel): remove an erw (#38681)
- unfolds `rmap` before rewriting by the split equation, avoiding the `erw` in `terminates_parallel.aux` Extracted from #38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent e66c1e1 commit 3fd4166

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/Data/Seq/Parallel.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ theorem terminates_parallel.aux :
102102
match o with
103103
| Sum.inl a => Sum.inl a
104104
| Sum.inr ls => rmap (fun c' => c' :: ls) (destruct c))
105-
(Sum.inr List.nil) l with a' | ls <;> erw [e] at e'
105+
(Sum.inr List.nil) l with a' | ls <;> simp only [rmap] at e <;> rw [e] at e'
106106
· contradiction
107107
have := IH' m _ e
108108
grind

0 commit comments

Comments
 (0)