Proof step 16 from proof unique-elems-rem-notin (previous step)
count(n, bag) = m + 1, ∀ n. count(n, bag) ≤ 1 ⊦ m = 0
User applied rule all left
And closed the goal!
Rule argument
pos: left 2 terms: n abort: F discard: T computed: F
Additional information
Used simplifier rules:
⊦ m ≠ 0 → (m + n ≤ 1 ↔ m = 1 ∧ n = 0); (ws)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic
Used terms: n