This PR makes `#guard_msgs` to treat `trace` messages separate from `info`, `warning` and `error`. It also introduce the ability to say `#guard_msgs (pass info`, like `(drop info)` so far, and also adds `(check info)` as the explicit form of `(info)`, for completeness. Fixes #8266
12 lines
285 B
Text
12 lines
285 B
Text
set_option trace.Elab true
|
|
/--
|
|
trace: α✝ : Sort u_1
|
|
a b : α✝
|
|
h : a = b
|
|
⊢ (fun x => x) a = b
|
|
-/
|
|
#guard_msgs in
|
|
theorem ex (h : a = b) : (fun x => x) a = b := by
|
|
simp (config := { beta := false, failIfUnchanged := false })
|
|
trace_state
|
|
simp (config := { beta := true }) [h]
|