MAYBE 0.07/0.19 MAYBE 0.07/0.19 0.07/0.19 Problem: 0.07/0.19 ge(x,0()) -> true() 0.07/0.19 ge(0(),s(x)) -> false() 0.07/0.19 ge(s(x),s(y)) -> ge(x,y) 0.07/0.19 minus(x,0()) -> x 0.07/0.19 minus(s(x),s(y)) -> minus(x,y) 0.07/0.19 div(x,y) -> ify(ge(y,s(0())),x,y) 0.07/0.19 ify(false(),x,y) -> divByZeroError() 0.07/0.19 ify(true(),x,y) -> if(ge(x,y),x,y) 0.07/0.19 if(false(),x,y) -> 0() 0.07/0.19 if(true(),x,y) -> s(div(minus(x,y),y)) 0.07/0.19 0.07/0.19 Proof: 0.07/0.19 Open 0.07/0.19 EOF