MAYBE Consider the applicative ATRS: fold ?f ?x nil -> ?x fold ?f ?x (cons ?y ?z) -> ?f ?y (fold ?f ?x ?z) plus |0| ?y -> ?y plus (s ?x) ?y -> s (plus ?x ?y) times |0| ?y -> |0| times (s ?x) ?y -> plus (times ?x ?y) ?y sum -> fold add |0| prod -> fold mul (s |0|) Failed to analyze termination.