Skip to content

Commit

Permalink
chore: don't rely on simp calling decide (leanprover/lake#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored and Kha committed Jul 17, 2023
1 parent 657ae5f commit c28a408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lake/Util/Name.lean
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Name
open Lean.Name

@[simp] protected theorem beq_false (m n : Name) : (m == n) = false ↔ ¬ (m = n) := by
rw [← beq_iff_eq m n]; cases m == n <;> simp
rw [← beq_iff_eq m n]; cases m == n <;> simp (config := { decide := true })

@[simp] theorem isPrefixOf_self {n : Name} : n.isPrefixOf n := by
cases n <;> simp [isPrefixOf]
Expand Down

0 comments on commit c28a408

Please sign in to comment.