lean4-htt/tests/lean/run/9389.lean
Giles Shaw 0cc4c91800
fix: change the proof of Nat.zero_mod to rfl (#9391)
This PR replaces the proof of the simplification lemma `Nat.zero_mod`
with
`rfl` since it is, by design, a definitional equality. This solves an
issue
whereby the lemma could not be used by the simplifier when in 'dsimp'
mode.

Closes #9389

---------

Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
2025-07-22 13:21:48 +00:00

2 lines
85 B
Text

/-! Tests that `zero_mod` is `@[defeq]` -/
example (n : Nat) : 0 % n = 0 := by dsimp