Skip to content

Commit

Permalink
chore: squeeze a simp in HashMap/WF (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored Aug 12, 2024
1 parent 7b244ea commit d4dfc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Batteries/Data/HashMap/WF.lean
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private theorem pairwise_replaceF [BEq α] [PartialEquivBEq α]
| cons a l ih =>
simp only [List.pairwise_cons, List.replaceF] at H ⊢
generalize e : cond .. = z; unfold cond at e; revert e
split <;> (intro h; subst h; simp)
split <;> (intro h; subst h; simp only [List.pairwise_cons])
· next e => exact ⟨(H.1 · · ∘ PartialEquivBEq.trans e), H.2
· next e =>
refine ⟨fun a h => ?_, ih H.2
Expand Down

0 comments on commit d4dfc4e

Please sign in to comment.