chore: remove @[simp] from mem_of_find?_eq_some (#5105)
This commit is contained in:
parent
0203cb091d
commit
4dbd20343f
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ theorem find?_some : ∀ {l}, find? p l = some a → p a
|
|||
· exact H ▸ h
|
||||
· exact find?_some H
|
||||
|
||||
@[simp] theorem mem_of_find?_eq_some : ∀ {l}, find? p l = some a → a ∈ l
|
||||
theorem mem_of_find?_eq_some : ∀ {l}, find? p l = some a → a ∈ l
|
||||
| b :: l, H => by
|
||||
by_cases h : p b <;> simp [find?, h] at H
|
||||
· exact H ▸ .head _
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue