Theorem: skip_below_eq (Saturn/Skip.lean)

State before:
n m : Nat
⊢ m < n → skip n m = m
Tactic:
intro hyp
State after:
n m : Nat
hyp : m < n
⊢ skip n m = m

State before:
n m : Nat
hyp : m < n
⊢ skip n m = m
Tactic:
rw [skip]
State after:
n m : Nat
hyp : m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m

State before:
n m : Nat
hyp : m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m
Tactic:
by_cases c: m < n
State after:
case inl
n m : Nat
hyp c : m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m

case inr
n m : Nat
hyp : m < n
c : ¬m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m

State before:
case inl
n m : Nat
hyp c : m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m
Tactic:
simp [c]
State after:
no goals

State before:
case inr
n m : Nat
hyp : m < n
c : ¬m < n
⊢ (match n, m with
    | n, m => if m < n then m else m + 1) =
    m
Tactic:
contradiction
State after:
no goals