Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Nov 15, 2024
1 parent 513d53d commit b0cf6c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Init/Data/Array/Attach.lean
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Unsafe implementation of `attachWith`, taking advantage of the fact that the rep
simp only [pmap, pmapImpl, List.attachWith_toArray, List.map_toArray, mk.injEq, List.map_attachWith]
apply List.pmap_congr_left
intro a m h₁ h₂
congr

@[simp] theorem _root_.List.attachWith_mem_toArray {l : List α} :
l.attachWith (fun x => x ∈ l.toArray) (fun x h => by simpa using h) =
Expand Down

0 comments on commit b0cf6c5

Please sign in to comment.