MAYBE /home/aoto/lab/www/tools/agcp/experiments/fscd17/problems55/insert2.trs Input rules: [ ordered(nil) -> true, ordered(cons(?x:Nat,?ys:List)) -> and(leList(?x:Nat,?ys:List),ordered(?ys:List)), leList(?x:Nat,nil) -> true, leList(?x:Nat,cons(?y:Nat,?ys:List)) -> and(le(?x:Nat,?y:Nat),leList(?x:Nat,?ys:List)), zero(0) -> true, zero(s(?x:Nat)) -> false, prec(0) -> 0, prec(s(?x:Nat)) -> ?x:Nat, le(?x:Nat,?y:Nat) -> ifBool(zero(?x:Nat),true,le(prec(?x:Nat),prec(?y:Nat))), and(true,true) -> true, and(?x:Bool,true) -> ?x:Bool, and(true,?y:Bool) -> ?y:Bool, and(false,false) -> false, sort(nil) -> nil, sort(cons(?x:Nat,?ys:List)) -> insert(?x:Nat,sort(?ys:List)), insert(?x:Nat,nil) -> cons(?x:Nat,nil), insert(?x:Nat,cons(?y:Nat,?ys:List)) -> ifList(le(?x:Nat,?y:Nat),cons(?x:Nat,cons(?y:Nat,?ys:List)),cons(?y:Nat,insert(?x:Nat,?ys:List))), ifBool(true,?y:Bool,?z:Bool) -> ?y:Bool, ifBool(false,?y:Bool,?z:Bool) -> ?z:Bool, ifList(true,?y:List,?z:List) -> ?y:List, ifList(false,?y:List,?z:List) -> ?z:List, ordered(sort(?xs:List)) -> true ] Sorts having no ground terms: Rules applicable to ground terms: [ ordered(nil) -> true, ordered(cons(?x:Nat,?ys:List)) -> and(leList(?x:Nat,?ys:List),ordered(?ys:List)), leList(?x:Nat,nil) -> true, leList(?x:Nat,cons(?y:Nat,?ys:List)) -> and(le(?x:Nat,?y:Nat),leList(?x:Nat,?ys:List)), zero(0) -> true, zero(s(?x:Nat)) -> false, prec(0) -> 0, prec(s(?x:Nat)) -> ?x:Nat, le(?x:Nat,?y:Nat) -> ifBool(zero(?x:Nat),true,le(prec(?x:Nat),prec(?y:Nat))), and(true,true) -> true, and(?x:Bool,true) -> ?x:Bool, and(true,?y:Bool) -> ?y:Bool, and(false,false) -> false, sort(nil) -> nil, sort(cons(?x:Nat,?ys:List)) -> insert(?x:Nat,sort(?ys:List)), insert(?x:Nat,nil) -> cons(?x:Nat,nil), insert(?x:Nat,cons(?y:Nat,?ys:List)) -> ifList(le(?x:Nat,?y:Nat),cons(?x:Nat,cons(?y:Nat,?ys:List)),cons(?y:Nat,insert(?x:Nat,?ys:List))), ifBool(true,?y:Bool,?z:Bool) -> ?y:Bool, ifBool(false,?y:Bool,?z:Bool) -> ?z:Bool, ifList(true,?y:List,?z:List) -> ?y:List, ifList(false,?y:List,?z:List) -> ?z:List, ordered(sort(?xs:List)) -> true ] Constructor pattern: [cons(?x_1,?x_2),true,false,nil,s(?x_1),0] Defined pattern: [and(?x_2,?x_3),ifList(?x_3,?x_4,?x_5),ifBool(?x_3,?x_4,?x_5),insert(?x_2,?x_3),sort(?x_1),le(?x_2,?x_3),prec(?x_1),zero(?x_1),leList(?x_2,?x_3),ordered(?x_1)] Constructor subsystem: [ ] Modified Constructor subsystem: [ ] candidate for and(?x_2,?x_3): [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false ] candidate for ifList(?x_3,?x_4,?x_5): [ ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z ] candidate for ifBool(?x_3,?x_4,?x_5): [ ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z ] candidate for insert(?x_2,?x_3): [ insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))) ] candidate for sort(?x_1): [ sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)) ] No orientable rules for le(?x_2,?x_3). Add rules, and retry... Added rules: [ le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(0,?x_3) -> true, le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(?x_2,0) -> ifBool(zero(?x_2),true,le(prec(?x_2),0)), le(s(?x_1),s(?x_2)) -> le(?x_1,?x_2), le(s(?x_1),0) -> le(?x_1,0), le(0,s(?x_1)) -> true, le(0,0) -> true ] candidate for le(?x_2,?x_3): [ le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(0,?x_3) -> true ] [ le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(0,s(?x_1)) -> true, le(0,0) -> true ] [ le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(s(?x_1),0) -> le(?x_1,0), le(0,0) -> true ] [ le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(0,0) -> true ] [ le(0,?x_3) -> true, le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(s(?x_1),0) -> le(?x_1,0) ] [ le(0,?x_3) -> true, le(s(?x_1),s(?x_2)) -> le(?x_1,?x_2), le(s(?x_1),0) -> le(?x_1,0) ] [ le(s(?x_1),s(?x_2)) -> le(?x_1,?x_2), le(s(?x_1),0) -> le(?x_1,0), le(0,s(?x_1)) -> true, le(0,0) -> true ] candidate for prec(?x_1): [ prec(0) -> 0, prec(s(?x)) -> ?x ] candidate for zero(?x_1): [ zero(0) -> true, zero(s(?x)) -> false ] candidate for leList(?x_2,?x_3): [ leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)) ] candidate for ordered(?x_1): [ ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Find a quasi-ordering ... order successfully found Precedence: ordered : Mul, sort : Mul; ifBool : Mul; zero : Mul; leList : Mul; prec : Mul, s : Mul; insert : Mul, le : Mul; true : Mul; ifList : Mul; false : Mul; nil : Mul, 0 : Mul; cons : Mul, and : Mul; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(0,?x_3) -> true, le(s(?x_1),s(?x_2)) -> le(?x_1,?x_2), le(s(?x_1),0) -> le(?x_1,0), prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_15)),prec(?y))) = le(s(?x_15),?y) ] ES2: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(?x_15,prec(?y)) = le(s(?x_15),?y) [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)) ] ES2: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ le(?x_15,0) = le(?x_15,0), le(?x_15,?x_29) = le(?x_15,?x_29), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(true,cons(0,cons(?x_19,nil)),cons(?x_19,cons(0,nil)))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true ] ES2: [ true = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ true = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true [ ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true ] ES2: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true ] HS2: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true ] HS: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true ] HS0: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true ] HS1: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(true,cons(0,cons(?x_28,nil)),cons(?x_28,cons(0,nil))))) = true, ordered(insert(?x,ifList(le(?x_29,?x_30),cons(s(?x_29),cons(s(?x_30),nil)),cons(s(?x_30),cons(s(?x_29),nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true ] ES2: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_29,?x_30),cons(s(?x_29),cons(s(?x_30),nil)),cons(s(?x_30),cons(s(?x_29),nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_29,?x_30),cons(s(?x_29),cons(s(?x_30),nil)),cons(s(?x_30),cons(s(?x_29),nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_29,?x_30),cons(s(?x_29),cons(s(?x_30),nil)),cons(s(?x_30),cons(s(?x_29),nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_29,?x_30),cons(s(?x_29),cons(s(?x_30),nil)),cons(s(?x_30),cons(s(?x_29),nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_20,?x_21),cons(s(?x_20),cons(s(?x_21),nil)),cons(s(?x_21),cons(s(?x_20),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... order successfully found Precedence: sort : Mul; ifBool : Mul; insert : Mul; leList : Mul, cons : Mul; ifList : Mul; zero : Mul; le : Mul; false : Mul, 0 : Mul; prec : Mul; true : Mul, nil : Mul; ordered : Mul; s : Mul; and : Mul; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(s(?x_1),s(?x_2)) -> le(?x_1,?x_2), le(s(?x_1),0) -> le(?x_1,0), le(0,s(?x_1)) -> true, le(0,0) -> true, prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_15)),prec(?y))) = le(s(?x_15),?y) ] ES2: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(0,?y) = true [ true = true, true = true ] ES2: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_15,prec(?y)) = le(s(?x_15),?y) ] HS2: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_15,prec(?y)) = le(s(?x_15),?y) ] HS: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_15,prec(?y)) = le(s(?x_15),?y) ] HS0: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_15,prec(?y)) = le(s(?x_15),?y) ] HS1: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(?x_15,prec(?y)) = le(s(?x_15),?y) [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)) ] ES2: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ le(?x_15,0) = le(?x_15,0), le(?x_15,?x_29) = le(?x_15,?x_29), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, ordered(ifList(true,cons(0,cons(s(?x_22),nil)),cons(s(?x_22),cons(0,nil)))) = true, ordered(ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil)))) = true ] ES2: [ ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true ] ES2: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true ] HS2: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true ] HS: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true ] HS0: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true ] HS1: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(s(?x_31),nil)),cons(s(?x_31),cons(0,nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 14 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,?x_20),cons(s(?x_19),cons(s(?x_20),nil)),cons(s(?x_20),cons(s(?x_19),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,?x_29),cons(s(?x_28),cons(s(?x_29),nil)),cons(s(?x_29),cons(s(?x_28),nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... order successfully found Precedence: zero : Lex [1]; true : Lex [], nil : Lex [], 0 : Lex []; false : Lex []; sort : Lex [1]; ifBool : Lex [3,2,1]; ordered : Lex [1], s : Lex [1]; leList : Lex [2,1], insert : Lex [2,1]; le : Lex [2,1]; prec : Lex [1]; cons : Lex [2,1], and : Lex [2,1]; ifList : Lex [3,2,1]; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(0,?x_3) -> true, prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_15)),prec(?y))) = le(s(?x_15),?y) ] ES2: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, le(?x_15,prec(?y)) = le(?x_15,prec(?y)), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(ifList(true,cons(0,cons(?x_22,nil)),cons(?x_22,cons(0,nil)))) = true ] ES2: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(?x_31,nil)),cons(?x_31,cons(0,nil))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] ES2: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true ] HS2: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true ] HS: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true ] HS0: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true ] HS1: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true [ ordered(ifList(le(?x_10,prec(0)),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true ] ES2: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS2: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS0: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_31,nil))),cons(0,ifList(le(?x,?x_31),cons(?x,cons(?x_31,nil)),cons(?x_31,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS1: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... order successfully found Precedence: ordered : Lex [1], zero : Lex [1], sort : Lex [1]; leList : Lex [2,1]; insert : Lex [2,1], le : Lex [2,1]; and : Lex [2,1]; s : Lex [1]; ifList : Lex [3,2,1]; cons : Lex [2,1]; ifBool : Lex [3,2,1]; nil : Lex []; prec : Lex [1]; false : Lex []; true : Lex [], 0 : Lex []; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(s(?x_1),?x_3) -> le(?x_1,prec(?x_3)), le(0,s(?x_1)) -> true, le(0,0) -> true, prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_15)),prec(?y))) = le(s(?x_15),?y) ] ES2: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = le(0,?y), le(?x_15,prec(?y)) = le(?x_15,prec(?y)), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ true = le(0,?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(0,?y) = true [ true = true, true = true ] ES2: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(ifList(true,cons(0,cons(s(?x_22),nil)),cons(s(?x_22),cons(0,nil)))) = true, ordered(ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil)))) = true ] ES2: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, true = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(s(?x_31),nil)),cons(s(?x_31),cons(0,nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) = true [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] ES2: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS2: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS0: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS1: [ ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) = true [ ordered(ifList(le(?x_10,prec(0)),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true ] ES2: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS2: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 14 ES: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS0: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_10,0),cons(s(s(?x_10)),cons(0,nil)),cons(0,cons(s(s(?x_10)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_28,prec(?x_30)),cons(s(?x_28),cons(?x_30,nil)),cons(?x_30,cons(s(?x_28),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(s(?x_31),nil))),cons(0,ifList(le(?x,s(?x_31)),cons(?x,cons(s(?x_31),nil)),cons(s(?x_31),cons(?x,nil)))))) = true, ordered(ifList(le(?x,?x_16),cons(s(?x),cons(s(?x_16),nil)),cons(s(?x_16),cons(s(?x),nil)))) = true ] HS1: [ ordered(ifList(le(?x,0),cons(s(?x),cons(0,nil)),cons(0,cons(s(?x),nil)))) -> true, ordered(ifList(le(?x_19,prec(?x_21)),cons(s(?x_19),cons(?x_21,nil)),cons(?x_21,cons(s(?x_19),nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... encodeSameNthStatus le/0, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus and/0, and/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus ifBool/0, ifBool/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/0, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/1, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/1, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus insert/0, insert/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, cons/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus le/1, ifBool/1 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/0 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/2 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus leList/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 order successfully found Precedence: ordered : Lex [1]; nil : Lex [], 0 : Lex []; leList : Lex [1,2]; sort : Lex [1]; insert : Lex [1,2]; cons : Lex [1,2]; s : Lex [1]; true : Lex []; false : Lex []; and : Lex [2,1], le : Lex [1,2]; ifList : Mul, ifBool : Mul; prec : Lex [1]; zero : Lex [1]; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(s(?x_1),0) -> le(?x_1,0), le(0,0) -> true, prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_14)),prec(?y))) = le(s(?x_14),?y) ] ES2: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(0,?y) = true [ ifBool(zero(0),true,le(prec(0),?x_10)) = true, true = true ] ES2: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_14,prec(?y)) = le(s(?x_14),?y) ] HS2: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_14,prec(?y)) = le(s(?x_14),?y) ] HS: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, true = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_14,prec(?y)) = le(s(?x_14),?y) ] HS0: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, le(?x_14,prec(?y)) = le(s(?x_14),?y) ] HS1: [ le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(?x_14,prec(?y)) = le(s(?x_14),?y) [ le(?x_14,0) = le(s(?x_14),0), le(?x_14,?x_27) = le(s(?x_14),s(?x_27)) ] ES2: [ le(?x_14,0) = le(s(?x_14),0), le(?x_14,?x_27) = le(s(?x_14),s(?x_27)), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ le(?x_14,0) = le(s(?x_14),0), le(?x_14,?x_27) = le(s(?x_14),s(?x_27)), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ le(?x_14,0) = le(?x_14,0), le(?x_14,?x_27) = le(?x_14,?x_27), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, ordered(ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil)))) = true ] ES2: [ ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) = true [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true ] ES2: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true ] HS2: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true ] HS: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, true = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true ] HS0: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true ] HS1: [ ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,ifList(true,cons(0,cons(0,nil)),cons(0,cons(0,nil))))) = true ] ES2: [ ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 14 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(insert(?x,ifList(le(?x_30,0),cons(s(?x_30),cons(0,nil)),cons(0,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_20),true,le(prec(?x_20),?x_19)),cons(?x_20,cons(s(?x_19),nil)),cons(s(?x_19),cons(?x_20,nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(0,nil))),cons(0,ifList(le(?x,0),cons(?x,cons(0,nil)),cons(0,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_29),true,le(prec(?x_29),?x_28)),cons(?x_29,cons(s(?x_28),nil)),cons(s(?x_28),cons(?x_29,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(ifList(le(?x_21,0),cons(s(?x_21),cons(0,nil)),cons(0,cons(s(?x_21),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_14,prec(?y)) -> le(s(?x_14),?y), le(0,?y) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... encodeSameNthStatus le/0, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus and/0, and/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus ifBool/0, ifBool/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/0, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/1, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/1, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus insert/0, insert/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, cons/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus le/1, ifBool/1 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/0 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/2 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus leList/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 order successfully found Precedence: nil : Lex []; s : Lex [1]; ordered : Lex [1]; leList : Lex [2,1]; sort : Lex [1]; insert : Lex [2,1]; cons : Lex [2,1], le : Lex [1,2]; zero : Lex [1], prec : Lex [1]; and : Lex [2,1]; true : Lex []; false : Lex []; 0 : Lex []; ifBool : Mul; ifList : Mul; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(0,?x_3) -> true, le(?x_2,s(?x_1)) -> ifBool(zero(?x_2),true,le(prec(?x_2),?x_1)), le(s(?x_1),0) -> le(?x_1,0), prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true, ifBool(zero(0),true,le(prec(0),?x_10)) = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true, ifBool(zero(0),true,le(prec(0),?x_10)) = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_15)),prec(?y))) = le(s(?x_15),?y) ] ES2: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ le(?x_15,prec(?y)) = le(s(?x_15),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand le(?x_15,prec(?y)) = le(s(?x_15),?y) [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)) ] ES2: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ le(?x_15,0) = le(s(?x_15),0), le(?x_15,?x_29) = le(s(?x_15),s(?x_29)), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ le(?x_15,0) = le(?x_15,0), le(?x_15,?x_29) = le(?x_15,?x_29), ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(true,cons(0,cons(?x_19,nil)),cons(?x_19,cons(0,nil)))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true ] ES2: [ true = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ true = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) = true [ ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true ] ES2: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true ] HS2: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true ] HS: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true ] HS0: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true ] HS1: [ ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(true,cons(0,cons(?x_28,nil)),cons(?x_28,cons(0,nil))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_30),true,le(prec(?x_30),?x_29)),cons(?x_30,cons(s(?x_29),nil)),cons(s(?x_29),cons(?x_30,nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true ] ES2: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_30),true,le(prec(?x_30),?x_29)),cons(?x_30,cons(s(?x_29),nil)),cons(s(?x_29),cons(?x_30,nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_30),true,le(prec(?x_30),?x_29)),cons(?x_30,cons(s(?x_29),nil)),cons(s(?x_29),cons(?x_30,nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_30),true,le(prec(?x_30),?x_29)),cons(?x_30,cons(s(?x_29),nil)),cons(s(?x_29),cons(?x_30,nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?x_28,nil))),cons(0,ifList(le(?x,?x_28),cons(?x,cons(?x_28,nil)),cons(?x_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(ifBool(zero(?x_30),true,le(prec(?x_30),?x_29)),cons(?x_30,cons(s(?x_29),nil)),cons(s(?x_29),cons(?x_30,nil))))) = true, ordered(insert(?x,ifList(le(?x_31,0),cons(s(?x_31),cons(0,nil)),cons(0,cons(s(?x_31),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_13,0),cons(s(s(?x_13)),cons(0,nil)),cons(0,cons(s(s(?x_13)),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(ifBool(zero(?x_21),true,le(prec(?x_21),?x_20)),cons(?x_21,cons(s(?x_20),nil)),cons(s(?x_20),cons(?x_21,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x_22,0),cons(s(?x_22),cons(0,nil)),cons(0,cons(s(?x_22),nil)))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, le(?x_15,prec(?y)) -> le(s(?x_15),?y), ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... Find a quasi-ordering ... encodeSameNthStatus le/0, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus and/0, and/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus ifBool/0, ifBool/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/0, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifBool/1, ifBool/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/1 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/0, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus ifList/1, ifList/2 encodeSameNthStatus(sub) logArF:2, logArG:2 encodeSameNthStatus insert/0, insert/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/1, cons/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus insert/0, cons/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus le/1, ifBool/1 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/0 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus le/0, ifBool/2 encodeSameNthStatus(sub) logArF:1, logArG:2 encodeSameNthStatus leList/1, le/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus leList/0, le/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/0, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/0 encodeSameNthStatus(sub) logArF:1, logArG:1 encodeSameNthStatus cons/1, leList/1 encodeSameNthStatus(sub) logArF:1, logArG:1 failed to find an ordering. Try to supplement auxiliary rules. {}{ordered(?ys)}{}{leList(?x,?ys)}{}{}{}{}{le(prec(?x),prec(?y))}{}{}{}{}{}{sort(?ys)}{}{insert(?x,?ys)}{}{}{}{}{}Supplemented Rules: [ le(0,?y) -> true, le(?x,0) -> ifBool(zero(?x),true,le(prec(?x),0)), le(s(?x_1),?y) -> le(?x_1,prec(?y)), le(?x,s(?x_1)) -> ifBool(zero(?x),true,le(prec(?x),?x_1)) ] Constructor subsystem: [ ] Modified Constructor subsystem: [ ] candidate for and(?x_2,?x_3): [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false ] candidate for ifList(?x_3,?x_4,?x_5): [ ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z ] candidate for ifBool(?x_3,?x_4,?x_5): [ ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z ] candidate for insert(?x_2,?x_3): [ insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))) ] candidate for sort(?x_1): [ sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)) ] candidate for le(?x_2,?x_3): [ le(0,?y) -> true, le(s(?x_1),?y) -> le(?x_1,prec(?y)) ] candidate for prec(?x_1): [ prec(0) -> 0, prec(s(?x)) -> ?x ] candidate for zero(?x_1): [ zero(0) -> true, zero(s(?x)) -> false ] candidate for leList(?x_2,?x_3): [ leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)) ] candidate for ordered(?x_1): [ ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Find a quasi-ordering ... order successfully found Precedence: true : Lex [], nil : Lex [], 0 : Lex []; ifBool : Lex [3,2,1]; ordered : Lex [1]; leList : Lex [2,1]; zero : Lex [1], sort : Lex [1]; false : Lex []; insert : Lex [2,1], and : Lex [2,1]; cons : Lex [2,1], le : Lex [2,1]; ifList : Lex [3,2,1]; prec : Lex [1], s : Lex [1]; Rules: [ and(?x,true) -> ?x, and(true,?y) -> ?y, and(false,false) -> false, ifList(true,?y,?z) -> ?y, ifList(false,?y,?z) -> ?z, ifBool(true,?y,?z) -> ?y, ifBool(false,?y,?z) -> ?z, insert(?x,nil) -> cons(?x,nil), insert(?x,cons(?y,?ys)) -> ifList(le(?x,?y),cons(?x,cons(?y,?ys)),cons(?y,insert(?x,?ys))), sort(nil) -> nil, sort(cons(?x,?ys)) -> insert(?x,sort(?ys)), le(0,?y) -> true, le(s(?x_1),?y) -> le(?x_1,prec(?y)), prec(0) -> 0, prec(s(?x)) -> ?x, zero(0) -> true, zero(s(?x)) -> false, leList(?x,nil) -> true, leList(?x,cons(?y,?ys)) -> and(le(?x,?y),leList(?x,?ys)), ordered(nil) -> true, ordered(cons(?x,?ys)) -> and(leList(?x,?ys),ordered(?ys)) ] Conjectures: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] STEP 0 ES: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), and(true,true) = true, true = true ] HS: [ ] ES0: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), true = true, true = true ] HS0: [ ] ES1: [ ordered(sort(?xs)) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ] Expand ordered(sort(?xs)) = true [ ordered(nil) = true, ordered(insert(?x_9,sort(?ys_9))) = true ] ES2: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(sort(?xs)) -> true ] STEP 1 ES: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x_9,sort(?ys_9))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(sort(?xs)) -> true ] Expand ordered(insert(?x_9,sort(?ys_9))) = true [ ordered(insert(?x,nil)) = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true ] ES2: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 2 ES: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,sort(?ys_9)))) = true [ ordered(insert(?x,insert(?x_9,nil))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true ] ES2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS2: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 3 ES: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS0: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))) ] HS1: [ ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true ] ES2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 4 ES: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 5 ES: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, le(?x,?y) = ifBool(zero(?x),true,le(prec(?x),prec(?y))), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ifBool(zero(?x),true,le(prec(?x),prec(?y))) = le(?x,?y) [ ifBool(true,true,le(prec(0),prec(?y))) = le(0,?y), ifBool(false,true,le(prec(s(?x_14)),prec(?y))) = le(s(?x_14),?y) ] ES2: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS2: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 6 ES: [ true = le(0,?y), le(?x_14,prec(?y)) = le(s(?x_14),?y), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, le(?x_14,prec(?y)) = le(?x_14,prec(?y)), ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS0: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true ] HS1: [ ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 7 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,nil))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 8 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) = true [ ordered(ifList(true,cons(0,cons(?y_19,nil)),cons(?y_19,cons(0,nil)))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true ] ES2: [ true = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS2: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 9 ES: [ true = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS0: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true ] HS1: [ ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) = true [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true ] ES2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS2: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 10 ES: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS0: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true ] HS1: [ ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) = true [ ordered(insert(?x,ifList(true,cons(0,cons(?y_28,nil)),cons(?y_28,cons(0,nil))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true ] ES2: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS2: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 11 ES: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS0: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true ] HS1: [ ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) = true [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true ] ES2: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true ] HS2: [ ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 12 ES: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true ] HS: [ ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true ] HS0: [ ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true ] HS1: [ ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Expand ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) = true [ ordered(ifList(true,cons(s(0),cons(0,nil)),cons(0,cons(s(0),nil)))) = true, ordered(ifList(le(?x_12,prec(0)),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true ] ES2: [ true = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true ] HS2: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) -> true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] STEP 13 ES: [ true = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true ] HS: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) -> true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES0: [ true = true, ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true ] HS0: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) -> true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] ES1: [ ordered(ifList(le(?x_12,0),cons(s(s(?x_12)),cons(0,nil)),cons(0,cons(s(s(?x_12)),nil)))) = true, ordered(ifList(le(?x,0),cons(?x,cons(0,cons(?y_28,nil))),cons(0,ifList(le(?x,?y_28),cons(?x,cons(?y_28,nil)),cons(?y_28,cons(?x,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,ifList(le(?x_27,?x_36),cons(?x_27,cons(?x_36,nil)),cons(?x_36,cons(?x_27,nil))))))) = true, ordered(insert(?x,ifList(le(?x_30,prec(?y_29)),cons(s(?x_30),cons(?y_29,nil)),cons(?y_29,cons(s(?x_30),nil))))) = true, ordered(insert(?x,insert(?x_9,ifList(le(?x_18,?x_27),cons(?x_18,cons(?x_27,nil)),cons(?x_27,cons(?x_18,nil)))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,insert(?x_63,sort(?ys_63)))))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,ifList(le(?x_36,?x_45),cons(?x_36,cons(?x_45,nil)),cons(?x_45,cons(?x_36,nil)))))))) = true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,ifList(le(?x_45,?x_54),cons(?x_45,cons(?x_54,nil)),cons(?x_54,cons(?x_45,nil))))))))) = true, ordered(ifList(le(?x_1,?x_14),cons(s(?x_1),cons(s(?x_14),nil)),cons(s(?x_14),cons(s(?x_1),nil)))) = true ] HS1: [ ordered(ifList(le(?x_1,0),cons(s(?x_1),cons(0,nil)),cons(0,cons(s(?x_1),nil)))) -> true, ordered(ifList(le(?x_21,prec(?y_20)),cons(s(?x_21),cons(?y_20,nil)),cons(?y_20,cons(s(?x_21),nil)))) -> true, ordered(insert(?x,ifList(le(?x_9,?x_18),cons(?x_9,cons(?x_18,nil)),cons(?x_18,cons(?x_9,nil))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,insert(?x_54,sort(?ys_54))))))))) -> true, ordered(ifList(le(?x,?x_9),cons(?x,cons(?x_9,nil)),cons(?x_9,cons(?x,nil)))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,insert(?x_45,sort(?ys_45)))))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,insert(?x_36,sort(?ys_36))))))) -> true, ifBool(zero(?x),true,le(prec(?x),prec(?y))) -> le(?x,?y), ordered(insert(?x,insert(?x_9,insert(?x_18,insert(?x_27,sort(?ys_27)))))) -> true, ordered(insert(?x,insert(?x_9,insert(?x_18,sort(?ys_18))))) -> true, ordered(insert(?x,insert(?x_9,sort(?ys_9)))) -> true, ordered(insert(?x_9,sort(?ys_9))) -> true, ordered(sort(?xs)) -> true ] Stopped: the smallest size of equations exceeeds the limit. Try to select different rules for le ... check Non-Ground-Confluence... ground constructor terms for instantiation: {true,false,nil,0,cons(0,nil),s(0)} ground terms for instantiation: {true:Bool,false:Bool,nil:List,0:Nat,cons(0,nil):List,s(0):Nat} obtain 23 rules by 3 steps unfolding obtain 6 candidates for checking non-joinability check by TCAP-Approximation (failure) check by Ordering(rpo), check by Tree-Automata Approximation (failure) check by Interpretation(mod2) (failure) check by Descendants-Approximation, check by Ordering(poly) (failure) : Failure(unknown) (8488 msec.)