; @origtpdbfilename ./TRS/TRCSR/Ex1_2_AEL03_Z.trs ; @xtcfilename "./TRS_Standard/Transformed_CSR_04/Ex1_2_AEL03_Z.xml" (format TRS) (fun from 1) (fun cons 2) (fun n__from 1) (fun s 1) (fun |2ndspos| 2) (fun |0| 0) (fun rnil 0) (fun n__cons 2) (fun rcons 2) (fun posrecip 1) (fun activate 1) (fun |2ndsneg| 2) (fun negrecip 1) (fun pi 1) (fun plus 2) (fun times 2) (fun square 1) (rule (from X) (cons X (n__from (s X)))) (rule (|2ndspos| |0| Z) rnil) (rule (|2ndspos| (s N) (cons X (n__cons Y Z))) (rcons (posrecip (activate Y)) (|2ndsneg| N (activate Z)))) (rule (|2ndsneg| |0| Z) rnil) (rule (|2ndsneg| (s N) (cons X (n__cons Y Z))) (rcons (negrecip (activate Y)) (|2ndspos| N (activate Z)))) (rule (pi X) (|2ndspos| X (from |0|))) (rule (plus |0| Y) Y) (rule (plus (s X) Y) (s (plus X Y))) (rule (times |0| Y) |0|) (rule (times (s X) Y) (plus Y (times X Y))) (rule (square X) (times X X)) (rule (from X) (n__from X)) (rule (cons X1 X2) (n__cons X1 X2)) (rule (activate (n__from X)) (from X)) (rule (activate (n__cons X1 X2)) (cons X1 X2)) (rule (activate X) X)