lean4-htt/tests/lean/simpTracePostIssue.lean
2024-01-09 12:57:15 +01:00

11 lines
200 B
Text

def f (x : Nat) := 0 + x
@[simp ↓]
theorem f_eq : f x = x := by simp [f]
set_option tactic.simp.trace true in
example : f (f x) = x := by
simp
example : f (f x) = x := by
simp only [↓f_eq]