This PR ensures that the configuration in `Simp.Config` is used when reducing terms and checking definitional equality in `simp`. closes #5455 --------- Co-authored-by: Kim Morrison <kim@tqft.net>
13 lines
254 B
Text
13 lines
254 B
Text
opaque f : Nat → Nat
|
|
|
|
example (a : Nat) : True := by
|
|
let x := a
|
|
have h1 : f x = 2 := sorry
|
|
suffices f a = 2 by sorry
|
|
simp only [h1, x]
|
|
|
|
example : True := by
|
|
let x := 37
|
|
have : x = 2 := sorry
|
|
suffices 37 = 2 by sorry
|
|
simp only [this, x]
|