; @origtpdbfilename ./TRS/TRCSR/Ex15_Luc98_FR.trs ; @xtcfilename "./TRS_Standard/Transformed_CSR_04/Ex15_Luc98_FR.xml" (format TRS) (fun and 2) (fun true 0) (fun activate 1) (fun false 0) (fun if 3) (fun add 2) (fun |0| 0) (fun s 1) (fun n__add 2) (fun first 2) (fun nil 0) (fun cons 2) (fun n__first 2) (fun from 1) (fun n__from 1) (fun n__s 1) (rule (and true X) (activate X)) (rule (and false Y) false) (rule (if true X Y) (activate X)) (rule (if false X Y) (activate Y)) (rule (add |0| X) (activate X)) (rule (add (s X) Y) (s (n__add (activate X) (activate Y)))) (rule (first |0| X) nil) (rule (first (s X) (cons Y Z)) (cons (activate Y) (n__first (activate X) (activate Z)))) (rule (from X) (cons (activate X) (n__from (n__s (activate X))))) (rule (add X1 X2) (n__add X1 X2)) (rule (first X1 X2) (n__first X1 X2)) (rule (from X) (n__from X)) (rule (s X) (n__s X)) (rule (activate (n__add X1 X2)) (add (activate X1) X2)) (rule (activate (n__first X1 X2)) (first (activate X1) (activate X2))) (rule (activate (n__from X)) (from X)) (rule (activate (n__s X)) (s X)) (rule (activate X) X)