; @origtpdbfilename ./TRS/TRCSR/Ex2_Luc03b_Z.trs ; @xtcfilename "./TRS_Standard/Transformed_CSR_04/Ex2_Luc03b_Z.xml" (format TRS) (fun fst 2) (fun |0| 0) (fun nil 0) (fun s 1) (fun cons 2) (fun n__fst 2) (fun activate 1) (fun from 1) (fun n__from 1) (fun add 2) (fun n__add 2) (fun len 1) (fun n__len 1) (rule (fst |0| Z) nil) (rule (fst (s X) (cons Y Z)) (cons Y (n__fst (activate X) (activate Z)))) (rule (from X) (cons X (n__from (s X)))) (rule (add |0| X) X) (rule (add (s X) Y) (s (n__add (activate X) Y))) (rule (len nil) |0|) (rule (len (cons X Z)) (s (n__len (activate Z)))) (rule (fst X1 X2) (n__fst X1 X2)) (rule (from X) (n__from X)) (rule (add X1 X2) (n__add X1 X2)) (rule (len X) (n__len X)) (rule (activate (n__fst X1 X2)) (fst X1 X2)) (rule (activate (n__from X)) (from X)) (rule (activate (n__add X1 X2)) (add X1 X2)) (rule (activate (n__len X)) (len X)) (rule (activate X) X)