MAYBE Consider the applicative ATRS: f |0| -> true f |1| -> false f (s ?x) -> f ?x if true (s ?x) (s ?y) -> s ?x if false (s ?x) (s ?y) -> s ?y g ?x (c ?y) -> c (g ?x ?y) g ?x (c ?y) -> g ?x (if (f ?x) (c (g (s ?x) ?y)) (c ?y)) map ?|fun| nil -> nil map ?|fun| (cons ?x ?xs) -> cons (?|fun| ?x) (map ?|fun| ?xs) filter ?|fun| nil -> nil filter ?|fun| (cons ?x ?xs) -> filter2 (?|fun| ?x) ?|fun| ?x ?xs filter2 true ?|fun| ?x ?xs -> cons ?x (filter ?|fun| ?xs) filter2 false ?|fun| ?x ?xs -> filter ?|fun| ?xs Failed to analyze termination.