fact: Definition arity : symb -> arity_type := fun f => match f with | nat_0 => Free 0 | ord_zero => Free 0 | nat_S => Free 1 | ord_cons => Free 3 end.
imports: Arith Omega Compare_dec Relations Wellfounded Tools More_nat Wf_nat AccP not_decreasing ArithRing term rpo List