unsat
(instantiations (forall ((x Int) (y Int)) (= (v1 x y) (u1 (g1 x) (h1 x y))))
  ( (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1) )
  ( (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int) (y Int) (z Int)) (= (v2 x y z) (v0 x y z)))
  ( (+ (- 1) (h0 (w0 1))) 2 1 )
  ( (+ (- 4) (h0 1)) 2 1 )
  ( (h0 (w0 1)) 2 1 )
  ( (+ (- 2) (h0 (w0 1))) 2 1 )
)
(instantiations (forall ((x Int)) (= x (g0 x)))
  ( (u0 (+ (- 2) (h0 (w0 1))) 2 1) )
  ( (u0 (+ (- 1) (h0 (w0 1))) 2 1) )
  ( (u0 (+ (- 3) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int)) (= x (g1 x)))
  ( (u0 (+ (- 1) (h0 1)) 2 1) )
  ( (u0 (+ (- 2) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int)) (= x (g2 x)))
  ( (u2 (+ (- 2) (h0 (w0 1))) 2 1) )
  ( (u2 (+ (- 1) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int)) (= x (h0 x)))
  ( 1 )
  ( (w0 1) )
)
(instantiations (forall ((x Int) (y Int)) (= y (h1 x y)))
  ( (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1) )
  ( (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int) (y Int)) (= x (+ (* (- 1) y) (f2 x y))))
  ( (u2 (+ (- 4) (h0 1)) 2 1) (v2 (+ (- 4) (h0 1)) 2 1) )
  ( (u2 (+ (- 2) (h0 (w0 1))) 2 1) (v2 (+ (- 2) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int)) (= x (+ 1 (* (- 1) (f1 x)))))
  ( (u1 (+ (- 1) (g1 (u0 (+ (- 1) (h0 1)) 2 1))) (h1 (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1))) )
  ( (u1 (+ (- 2) (g1 (u0 (+ (- 1) (h0 1)) 2 1))) (h1 (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1))) )
  ( (u1 (+ (- 1) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1))) )
  ( (u1 (+ (- 2) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1))) )
  ( (u1 (+ (- 3) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1))) )
)
(instantiations (forall ((x Int) (y Int)) (= (u1 x y) (ite (>= x 1) (f1 (u1 (+ (- 1) x) y)) y)))
  ( (g1 (u0 (+ (- 1) (h0 1)) 2 1)) (h1 (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1)) )
  ( (+ (- 1) (g1 (u0 (+ (- 1) (h0 1)) 2 1))) (h1 (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1)) )
  ( (+ (- 2) (g1 (u0 (+ (- 1) (h0 1)) 2 1))) (h1 (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1)) )
  ( (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1)) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1)) )
  ( (+ (- 1) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1)) )
  ( (+ (- 2) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1)) )
  ( (+ (- 3) (g1 (u0 (+ (- 2) (h0 (w0 1))) 2 1))) (h1 (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1)) )
)
(instantiations (forall ((x Int) (y Int)) (= x (+ (f0 x y) (* (- 1) (v1 x y)))))
  ( (u0 (+ (- 1) (h0 1)) 2 1) (v0 (+ (- 1) (h0 1)) 2 1) )
  ( (u0 (+ (- 2) (h0 (w0 1))) 2 1) (v0 (+ (- 2) (h0 (w0 1))) 2 1) )
  ( (u0 (+ (- 1) (h0 (w0 1))) 2 1) (v0 (+ (- 1) (h0 (w0 1))) 2 1) )
)
(instantiations (forall ((x Int) (y Int) (z Int)) (= (u0 x y z) (ite (>= x 1) (f0 (u0 (+ (- 1) x) y z) (v0 (+ (- 1) x) y z)) y)))
  ( (h0 1) 2 1 )
  ( (+ (- 1) (h0 1)) 2 1 )
  ( (+ (- 1) (h0 (w0 1))) 2 1 )
  ( (+ (- 3) (h0 (w0 1))) 2 1 )
)
(instantiations (forall ((x Int) (y Int) (z Int)) (= (v0 x y z) (ite (>= x 1) (g0 (u0 (+ (- 1) x) y z)) z)))
  ( (+ (- 1) (h0 1)) 2 1 )
  ( (+ (- 1) (h0 (w0 1))) 2 1 )
  ( (+ (- 4) (h0 1)) 2 1 )
  ( (h0 (w0 1)) 2 1 )
  ( (+ (- 2) (h0 (w0 1))) 2 1 )
)
(instantiations (forall ((x Int) (y Int) (z Int)) (= (u2 x y z) (ite (>= x 1) (f2 (u2 (+ (- 1) x) y z) (v2 (+ (- 1) x) y z)) y)))
  ( (+ (- 2) (h0 (w0 1))) 2 1 )
  ( (+ (- 3) (h0 1)) 2 1 )
  ( (+ (- 3) (h0 (w0 1))) 2 1 )
  ( (+ (- 4) (h0 1)) 2 1 )
  ( (+ (- 1) (h0 (w0 1))) 2 1 )
)
(instantiations (forall ((x Int) (y Int) (z Int)) (= (v2 x y z) (ite (>= x 1) (g2 (u2 (+ (- 1) x) y z)) z)))
  ( (+ (- 1) (h0 (w0 1))) 2 1 )
  ( (+ (- 3) (h0 (w0 1))) 2 1 )
  ( (h0 (w0 1)) 2 1 )
)
(instantiations (forall ((x Int)) (= (w0 x) (u0 (h0 x) 2 1)))
  ( 1 )
)
