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] ``` |
||
|---|---|---|
| .. | ||
| meta_simp_1.lean | ||
| meta_simp_2.lean | ||
| meta_simp_4.lean | ||
| simp_1.lean | ||
| simp_2.lean | ||
| simp_3.lean | ||
| simp_4.lean | ||
| sym_add_sub_cancel.lean | ||