This PR adds support for offset terms in `SymM`. This is essential for handling equational theorems for functions that pattern match on natural numbers in `Sym.simp`. Without this, it cannot handle simple examples such as ```lean def pw (n : Nat) : Nat := match n with | 0 => 1 | n+1 => 2 * pw n example : pw 4 = 16 := by sym_simp [pw.eq_1, pw.eq_2] example : pw (a + 2) = 2 * (2 * pw a) := by sym_simp [pw.eq_2] ``` |
||
|---|---|---|
| .. | ||
| bench | ||
| bench-radar | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| run | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||