; @xtcfilename "./TRS_Relative/INVY_15/#3.41_rand.xml"
(format TRS)
(fun s 1)
(fun p 1)
(fun |0| 0)
(fun fac 1)
(fun times 2)
(fun rand 1)
(rule (p (s x)) x)
(rule (fac |0|) (s |0|))
(rule (fac (s x)) (times (s x) (fac (p (s x)))))
(rule (rand x) x :cost 0)
(rule (rand x) (rand (s x)) :cost 0)