; @author Jonas Schöpf
; Ctrl example from examples/llreve/llreve_rec_add-horna.ctrs
(format LCTRS :smtlib 2.6)
(theory Ints)
(fun u_5 (-> Int Int))
(fun f1 (-> Int Int Int))

(rule (u_5 w_2) w_2 :var ((w_2 Int)))
(rule (f1 i j) (u_5 (f1 (- i 1) (+ j 1))) :guard (distinct i 0) :var ((i Int) (j Int)))
(rule (f1 i j) j :guard (= i 0) :var ((i Int) (j Int)))