WORST_CASE(?,O(n^1)) Solution: --------- "0" :: [] -(0)-> "A"(2) "0" :: [] -(0)-> "A"(0) "=" :: ["A"(0) x "A"(0)] -(0)-> "A"(0) "and" :: ["A"(0) x "A"(0)] -(0)-> "A"(0) "divp" :: ["A"(0) x "A"(0)] -(1)-> "A"(0) "false" :: [] -(0)-> "A"(0) "not" :: ["A"(0)] -(0)-> "A"(0) "prime" :: ["A"(2)] -(1)-> "A"(0) "prime1" :: ["A"(0) x "A"(2)] -(1)-> "A"(0) "rem" :: ["A"(0) x "A"(0)] -(0)-> "A"(0) "s" :: ["A"(2)] -(2)-> "A"(2) "s" :: ["A"(0)] -(0)-> "A"(0) "true" :: [] -(0)-> "A"(0) Cost Free Signatures: --------------------- Base Constructors: ------------------