lean4-htt/tests/lean/run/betaSimp.lean
Leonardo de Moura 19eac5f341
fix: propagate Simp.Config when reducing terms and checking definitional equality in simp (#6123)
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>
2024-12-14 00:59:40 +00:00

5 lines
153 B
Text

opaque f : Nat → Nat
@[simp] axiom f_ax : f (no_index 0) = 1
example : f ((fun x => x) 0) = 1 := by
fail_if_success simp -beta -- should fail
simp