(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

.(1, x) → x
.(x, 1) → x
.(i(x), x) → 1
.(x, i(x)) → 1
i(1) → 1
i(i(x)) → x
.(i(y), .(y, z)) → z
.(y, .(i(y), z)) → z
.(.(x, y), z) → .(x, .(y, z))
i(.(x, y)) → .(i(y), i(x))

Q is empty.