MAYBE Consider the applicative ATRS: D t -> |1| D constant -> |0| D (+ ?x ?y) -> + (D ?x) (D ?y) D (* ?x ?y) -> + (* ?y (D ?x)) (* ?x (D ?y)) D (- ?x ?y) -> - (D ?x) (D ?y) map ?f nil -> nil map ?f (cons ?x ?xs) -> cons (?f ?x) (map ?f ?xs) filter ?f nil -> nil filter ?f (cons ?x ?xs) -> filter2 (?f ?x) ?f ?x ?xs filter2 true ?f ?x ?xs -> cons ?x (filter ?f ?xs) filter2 false ?f ?x ?xs -> filter ?f ?xs Failed to analyze termination.