; @origtpdbfilename ./TRS/nontermin/CSR/Ex6_Luc98.trs
; @xtcfilename "./TRS_Standard/Strategy_removed_CSR_05/Ex6_Luc98.xml"
(format TRS)
(fun first 2)
(fun |0| 0)
(fun nil 0)
(fun s 1)
(fun cons 2)
(fun from 1)
(rule (first |0| X) nil)
(rule (first (s X) (cons Y Z)) (cons Y (first X Z)))
(rule (from X) (cons X (from (s X))))