(0) Obligation:

Generalized rewrite system (where rules with free variables on rhs are allowed):
The TRS R consists of the following rules:

U11(tt) → N
U21(tt) → s(plus(N, M))
U41(tt) → plus(x(N, M), N)
and(tt) → X
U31(tt) → 0
isNattt
isNatand(isNat)
isNatisNat
plus(N, 0) → U11(isNat)
plus(N, s(M)) → U21(and(isNat))
x(N, 0) → U31(isNat)
x(N, s(M)) → U41(and(isNat))