The theorem pred_le_pred is proven in prelude.lean using pattern matching:
theorem Nat.pred_le_pred : {n m : Nat} → LE.le n m → LE.le (pred n) (pred m)
| _, _, Nat.le.refl => Nat.le.refl
| 0, succ _, Nat.le.step h => h
| succ _, succ _, Nat.le.step h => Nat.le_trans (le_succ _) h
I was wondering if there is a way to also prove it using tactics?
Note: this question is about Lean4 and not Lean3
exact <the_term>
for one example. You should look into thecases
tactic, which may be closer to what you want. $\endgroup$