YES Input TRS: 1: start(i) -> busy(F(),closed(),stop(),false(),false(),false(),i) 2: busy(BF(),d,stop(),b1,b2,b3,i) -> incorrect() 3: busy(FS(),d,stop(),b1,b2,b3,i) -> incorrect() 4: busy(fl,open(),up(),b1,b2,b3,i) -> incorrect() 5: busy(fl,open(),down(),b1,b2,b3,i) -> incorrect() 6: busy(B(),closed(),stop(),false(),false(),false(),empty()) -> correct() 7: busy(F(),closed(),stop(),false(),false(),false(),empty()) -> correct() 8: busy(S(),closed(),stop(),false(),false(),false(),empty()) -> correct() 9: busy(B(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) -> idle(B(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) 10: busy(F(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) -> idle(F(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) 11: busy(S(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) -> idle(S(),closed(),stop(),false(),false(),false(),newbuttons(i1,i2,i3,i)) 12: busy(B(),open(),stop(),false(),b2,b3,i) -> idle(B(),closed(),stop(),false(),b2,b3,i) 13: busy(F(),open(),stop(),b1,false(),b3,i) -> idle(F(),closed(),stop(),b1,false(),b3,i) 14: busy(S(),open(),stop(),b1,b2,false(),i) -> idle(S(),closed(),stop(),b1,b2,false(),i) 15: busy(B(),d,stop(),true(),b2,b3,i) -> idle(B(),open(),stop(),false(),b2,b3,i) 16: busy(F(),d,stop(),b1,true(),b3,i) -> idle(F(),open(),stop(),b1,false(),b3,i) 17: busy(S(),d,stop(),b1,b2,true(),i) -> idle(S(),open(),stop(),b1,b2,false(),i) 18: busy(B(),closed(),down(),b1,b2,b3,i) -> idle(B(),closed(),stop(),b1,b2,b3,i) 19: busy(S(),closed(),up(),b1,b2,b3,i) -> idle(S(),closed(),stop(),b1,b2,b3,i) 20: busy(B(),closed(),up(),true(),b2,b3,i) -> idle(B(),closed(),stop(),true(),b2,b3,i) 21: busy(F(),closed(),up(),b1,true(),b3,i) -> idle(F(),closed(),stop(),b1,true(),b3,i) 22: busy(F(),closed(),down(),b1,true(),b3,i) -> idle(F(),closed(),stop(),b1,true(),b3,i) 23: busy(S(),closed(),down(),b1,b2,true(),i) -> idle(S(),closed(),stop(),b1,b2,true(),i) 24: busy(B(),closed(),up(),false(),b2,b3,i) -> idle(BF(),closed(),up(),false(),b2,b3,i) 25: busy(F(),closed(),up(),b1,false(),b3,i) -> idle(FS(),closed(),up(),b1,false(),b3,i) 26: busy(F(),closed(),down(),b1,false(),b3,i) -> idle(BF(),closed(),down(),b1,false(),b3,i) 27: busy(S(),closed(),down(),b1,b2,false(),i) -> idle(FS(),closed(),down(),b1,b2,false(),i) 28: busy(BF(),closed(),up(),b1,b2,b3,i) -> idle(F(),closed(),up(),b1,b2,b3,i) 29: busy(BF(),closed(),down(),b1,b2,b3,i) -> idle(B(),closed(),down(),b1,b2,b3,i) 30: busy(FS(),closed(),up(),b1,b2,b3,i) -> idle(S(),closed(),up(),b1,b2,b3,i) 31: busy(FS(),closed(),down(),b1,b2,b3,i) -> idle(F(),closed(),down(),b1,b2,b3,i) 32: busy(B(),closed(),stop(),false(),true(),b3,i) -> idle(B(),closed(),up(),false(),true(),b3,i) 33: busy(B(),closed(),stop(),false(),false(),true(),i) -> idle(B(),closed(),up(),false(),false(),true(),i) 34: busy(F(),closed(),stop(),true(),false(),b3,i) -> idle(F(),closed(),down(),true(),false(),b3,i) 35: busy(F(),closed(),stop(),false(),false(),true(),i) -> idle(F(),closed(),up(),false(),false(),true(),i) 36: busy(S(),closed(),stop(),b1,true(),false(),i) -> idle(S(),closed(),down(),b1,true(),false(),i) 37: busy(S(),closed(),stop(),true(),false(),false(),i) -> idle(S(),closed(),down(),true(),false(),false(),i) 38: idle(fl,d,m,b1,b2,b3,empty()) -> busy(fl,d,m,b1,b2,b3,empty()) 39: idle(fl,d,m,b1,b2,b3,newbuttons(i1,i2,i3,i)) -> busy(fl,d,m,or(b1,i1),or(b2,i2),or(b3,i3),i) 40: or(true(),b) -> true() 41: or(false(),b) -> b Number of strict rules: 41 Direct POLO(bPol) ... removes: 4 15 8 1 3 16 17 5 39 7 14 12 13 40 6 41 2 stop w: 23975 newbuttons w: x1 + 2 * x2 + 2 * x3 + x4 + 26467 S w: 3 F w: 3 false w: 3020 closed w: 1911 down w: 23975 incorrect w: 23977 idle w: x1 + 2 * x2 + x3 + x4 + x5 + x6 + x7 true w: 6845 correct w: 57682 B w: 3 FS w: 3 or w: x1 + x2 + 8822 busy w: x1 + 2 * x2 + x3 + x4 + x5 + x6 + x7 open w: 1912 empty w: 20823 start w: x1 + 36861 BF w: 3 up w: 23975 Number of strict rules: 24 Direct POLO(bPol) ... removes: 10 11 9 stop w: 20055 newbuttons w: 2 * x1 + 2 * x2 + 2 * x3 + 2 * x4 + 107812 S w: 1 F w: 1 false w: 7036 closed w: 1 down w: 20055 incorrect w: 65893 idle w: x1 + 2 * x2 + 2 * x3 + 2 * x4 + x5 + x6 + x7 + 25782 true w: 7038 correct w: 94039 B w: 1 FS w: 1 or w: x1 + x2 + 26953 busy w: x1 + 2 * x2 + 2 * x3 + 2 * x4 + x5 + x6 + 2 * x7 + 25782 open w: 1 empty w: 0 start w: 2 * x1 + 94040 BF w: 1 up w: 20055 Number of strict rules: 21 Direct POLO(bPol) ... failed. Uncurrying ... failed. Dependency Pairs: #1: #busy(BF(),closed(),down(),b1,b2,b3,i) -> #idle(B(),closed(),down(),b1,b2,b3,i) #2: #busy(F(),closed(),stop(),false(),false(),true(),i) -> #idle(F(),closed(),up(),false(),false(),true(),i) #3: #busy(S(),closed(),stop(),true(),false(),false(),i) -> #idle(S(),closed(),down(),true(),false(),false(),i) #4: #idle(fl,d,m,b1,b2,b3,empty()) -> #busy(fl,d,m,b1,b2,b3,empty()) #5: #busy(B(),closed(),up(),false(),b2,b3,i) -> #idle(BF(),closed(),up(),false(),b2,b3,i) #6: #busy(S(),closed(),down(),b1,b2,true(),i) -> #idle(S(),closed(),stop(),b1,b2,true(),i) #7: #busy(FS(),closed(),down(),b1,b2,b3,i) -> #idle(F(),closed(),down(),b1,b2,b3,i) #8: #busy(FS(),closed(),up(),b1,b2,b3,i) -> #idle(S(),closed(),up(),b1,b2,b3,i) #9: #busy(F(),closed(),up(),b1,false(),b3,i) -> #idle(FS(),closed(),up(),b1,false(),b3,i) #10: #busy(B(),closed(),up(),true(),b2,b3,i) -> #idle(B(),closed(),stop(),true(),b2,b3,i) #11: #busy(B(),closed(),stop(),false(),false(),true(),i) -> #idle(B(),closed(),up(),false(),false(),true(),i) #12: #busy(BF(),closed(),up(),b1,b2,b3,i) -> #idle(F(),closed(),up(),b1,b2,b3,i) #13: #busy(F(),closed(),down(),b1,true(),b3,i) -> #idle(F(),closed(),stop(),b1,true(),b3,i) #14: #busy(F(),closed(),stop(),true(),false(),b3,i) -> #idle(F(),closed(),down(),true(),false(),b3,i) #15: #busy(S(),closed(),down(),b1,b2,false(),i) -> #idle(FS(),closed(),down(),b1,b2,false(),i) #16: #busy(B(),closed(),stop(),false(),true(),b3,i) -> #idle(B(),closed(),up(),false(),true(),b3,i) #17: #busy(S(),closed(),up(),b1,b2,b3,i) -> #idle(S(),closed(),stop(),b1,b2,b3,i) #18: #busy(F(),closed(),down(),b1,false(),b3,i) -> #idle(BF(),closed(),down(),b1,false(),b3,i) #19: #busy(S(),closed(),stop(),b1,true(),false(),i) -> #idle(S(),closed(),down(),b1,true(),false(),i) #20: #busy(F(),closed(),up(),b1,true(),b3,i) -> #idle(F(),closed(),stop(),b1,true(),b3,i) #21: #busy(B(),closed(),down(),b1,b2,b3,i) -> #idle(B(),closed(),stop(),b1,b2,b3,i) Number of SCCs: 1, DPs: 21 SCC { #1..21 } POLO(Sum)... POLO(max)... succeeded. stop w: 7 newbuttons w: 0 S w: 8 F w: 8 #idle w: max(x1 + 27864, x2 + 27860, x3 + 27860, x4 + 27858) false w: 15 closed w: 3 down w: 0 incorrect w: 0 idle w: 0 true w: 3 correct w: 0 B w: 4 FS w: 8 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 27864, x2 + 27859, x3 + 27857, x4 + 27858, x7 + 27864) empty w: 0 start w: 0 BF w: 8 up w: 12 USABLE RULES: { } Removed DPs: #10 Number of SCCs: 1, DPs: 20 SCC { #1..9 #11..21 } POLO(Sum)... POLO(max)... succeeded. stop w: 24920 newbuttons w: 0 S w: 3 F w: 3829 #idle w: max(x1 + 28749, x2 + 2, x3 + 3827, x6 + 24922) false w: 7656 closed w: 28749 down w: 28750 incorrect w: 0 idle w: 0 true w: 3827 correct w: 0 B w: 3829 FS w: 3829 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 28749, x2 + 1, x3 + 3, x6 + 24922, x7 + 28748) empty w: 0 start w: 0 BF w: 3829 up w: 21094 USABLE RULES: { } Removed DPs: #6 Number of SCCs: 1, DPs: 19 SCC { #1..5 #7..9 #11..21 } POLO(Sum)... POLO(max)... succeeded. stop w: 29197 newbuttons w: 0 S w: 58401 F w: 29198 #idle w: max(x1 + 29199, x2 + 58400, x3 + 29198, x5 + 29197, x7 + 29196) false w: 58403 closed w: 0 down w: 29203 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 58400 FS w: 58401 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 29199, x2 + 58400, x3 + 1, x5 + 29197, x7 + 58396) empty w: 4 start w: 0 BF w: 58400 up w: 58400 USABLE RULES: { } Removed DPs: #20 Number of SCCs: 1, DPs: 18 SCC { #1..5 #7..9 #11..19 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 24817 newbuttons w: 0 S w: 49631 F w: 24816 #idle w: max(x1 + 24815, x2 + 24817, x3 + 24813, x5 + 24814) false w: 49633 closed w: 0 down w: 49631 incorrect w: 0 idle w: 0 true w: 2 correct w: 0 B w: 49630 FS w: 49631 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 24815, x2 + 24817, x3 + 1, x5 + 24814, x7 + 24815) empty w: 1 start w: 0 BF w: 49630 up w: 49632 USABLE RULES: { } Removed DPs: #13 Number of SCCs: 1, DPs: 17 SCC { #1..5 #7..9 #11 #12 #14..19 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 23388 newbuttons w: 0 S w: 5 F w: 1 #idle w: max(x1 + 48468, x2 + 25087, x3 + 25084, x5 + 25085) false w: 23388 closed w: 0 down w: 23389 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 3 FS w: 5 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 48468, x2 + 25086, x3 + 25084, x5 + 25085, x7 + 48467) empty w: 0 start w: 0 BF w: 2 up w: 23384 USABLE RULES: { } Removed DPs: #16 Number of SCCs: 1, DPs: 16 SCC { #1..5 #7..9 #11 #12 #14 #15 #17..19 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 2 newbuttons w: 0 S w: 5 F w: 4 #idle w: max(x1 + 12706, x2 + 3, x3 + 12704, x6 + 12703, x7 + 1) false w: 0 closed w: 12704 down w: 1 incorrect w: 0 idle w: 0 true w: 9 correct w: 0 B w: 2 FS w: 4 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 12706, x2, x3 + 12704, x6 + 12703, x7 + 4) empty w: 12701 start w: 0 BF w: 3 up w: 8 USABLE RULES: { } Removed DPs: #15 Number of SCCs: 1, DPs: 15 SCC { #1..5 #7..9 #11 #12 #14 #17..19 #21 } POLO(Sum)... succeeded. stop w: 1 newbuttons w: 0 S w: 1 F w: 15393 #idle w: x1 false w: 1 closed w: 1 down w: 1 incorrect w: 0 idle w: 0 true w: 1 correct w: 0 B w: 15393 FS w: 15393 or w: 0 busy w: 0 open w: 0 #busy w: x1 empty w: 1 start w: 0 BF w: 15393 up w: 1 USABLE RULES: { } Removed DPs: #8 Number of SCCs: 1, DPs: 14 SCC { #1..5 #7 #9 #11 #12 #14 #17..19 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 20807 newbuttons w: 0 S w: 0 F w: 20812 #idle w: max(x1 + 50203, x2 + 50201, x3 + 50205, x5 + 50200, x6 + 29394) false w: 20810 closed w: 5 down w: 0 incorrect w: 0 idle w: 0 true w: 1 correct w: 0 B w: 20812 FS w: 20812 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 50203, x2 + 50201, x3 + 50204, x5 + 50200, x6 + 29394, x7 + 50202) empty w: 0 start w: 0 BF w: 20812 up w: 20809 USABLE RULES: { } Removed DPs: #3 #19 Number of SCCs: 1, DPs: 12 SCC { #1 #2 #4 #5 #7 #9 #11 #12 #14 #17 #18 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 28823 newbuttons w: 0 S w: 4 F w: 2 #idle w: max(x1 + 52603, x2 + 23792, x3 + 23783, x4 + 23791, x5 + 47585, x6 + 23784) false w: 0 closed w: 23792 down w: 28825 incorrect w: 0 idle w: 0 true w: 28818 correct w: 0 B w: 4 FS w: 1 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 52603, x2, x3 + 23783, x4 + 23791, x5 + 47585, x6 + 23784, x7 + 52603) empty w: 0 start w: 0 BF w: 3 up w: 0 USABLE RULES: { } Removed DPs: #2 Number of SCCs: 1, DPs: 11 SCC { #1 #4 #5 #7 #9 #11 #12 #14 #17 #18 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 16 newbuttons w: 0 S w: 11 F w: 8 #idle w: max(x1 + 17592, x2 + 17595, x3 + 17587, x4 + 17588, x5 + 17591, x6 + 17598, x7 + 17591) false w: 8 closed w: 0 down w: 16 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 10 FS w: 0 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 17592, x2 + 17594, x3 + 17587, x4 + 17588, x5 + 17591, x6 + 17598, x7 + 17597) empty w: 0 start w: 0 BF w: 9 up w: 6 USABLE RULES: { } Removed DPs: #11 Number of SCCs: 1, DPs: 10 SCC { #1 #4 #5 #7 #9 #12 #14 #17 #18 #21 } POLO(Sum)... succeeded. stop w: 41801 newbuttons w: 0 S w: 1 F w: 1 #idle w: x3 + x7 false w: 1 closed w: 1 down w: 41801 incorrect w: 0 idle w: 0 true w: 1 correct w: 0 B w: 1 FS w: 1 or w: 0 busy w: 0 open w: 0 #busy w: x3 + x7 empty w: 33573 start w: 0 BF w: 1 up w: 41802 USABLE RULES: { } Removed DPs: #17 Number of SCCs: 1, DPs: 9 SCC { #1 #4 #5 #7 #9 #12 #14 #18 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 0 newbuttons w: 0 S w: 11 F w: 5 #idle w: max(x1 + 9609, x2 + 9607, x3 + 9612, x5 + 9608, x7) false w: 3 closed w: 0 down w: 0 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 0 FS w: 6 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 9609, x2 + 1, x3 + 9612, x5 + 9608, x7 + 9610) empty w: 1 start w: 0 BF w: 4 up w: 4 USABLE RULES: { } Removed DPs: #18 Number of SCCs: 1, DPs: 8 SCC { #1 #4 #5 #7 #9 #12 #14 #21 } POLO(Sum)... succeeded. stop w: 1 newbuttons w: 0 S w: 1 F w: 3114 #idle w: x1 + x2 + x7 false w: 1 closed w: 43717 down w: 1 incorrect w: 0 idle w: 0 true w: 1 correct w: 0 B w: 3115 FS w: 3114 or w: 0 busy w: 0 open w: 0 #busy w: x1 + x2 + x7 empty w: 28631 start w: 0 BF w: 3115 up w: 1 USABLE RULES: { } Removed DPs: #12 Number of SCCs: 1, DPs: 7 SCC { #1 #4 #5 #7 #9 #14 #21 } POLO(Sum)... POLO(max)... succeeded. stop w: 20745 newbuttons w: 0 S w: 11 F w: 0 #idle w: max(x1 + 23683, x2 + 2, x3 + 2940, x4 + 2941, x5 + 23682) false w: 0 closed w: 23678 down w: 20738 incorrect w: 0 idle w: 0 true w: 20743 correct w: 0 B w: 2 FS w: 0 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 23683, x2 + 1, x3 + 2940, x4 + 2941, x5 + 23682) empty w: 0 start w: 0 BF w: 2 up w: 20741 USABLE RULES: { } Removed DPs: #14 Number of SCCs: 1, DPs: 6 SCC { #1 #4 #5 #7 #9 #21 } POLO(Sum)... succeeded. stop w: 1 newbuttons w: 0 S w: 1 F w: 1 #idle w: x2 + x3 + x7 false w: 1 closed w: 35455 down w: 2 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 1 FS w: 1 or w: 0 busy w: 0 open w: 0 #busy w: x2 + x3 + x7 empty w: 57049 start w: 0 BF w: 1 up w: 0 USABLE RULES: { } Removed DPs: #21 Number of SCCs: 1, DPs: 5 SCC { #1 #4 #5 #7 #9 } POLO(Sum)... POLO(max)... succeeded. stop w: 20745 newbuttons w: 0 S w: 11 F w: 12687 #idle w: max(x1 + 12690, x2 + 12687, x3, x7) false w: 0 closed w: 0 down w: 0 incorrect w: 0 idle w: 0 true w: 20743 correct w: 0 B w: 102 FS w: 25377 or w: 0 busy w: 0 open w: 0 #busy w: max(x1 + 1, x2 + 12686, x3, x7 + 12688) empty w: 1 start w: 0 BF w: 25378 up w: 38068 USABLE RULES: { } Removed DPs: #1 #7 Number of SCCs: 1, DPs: 3 SCC { #4 #5 #9 } POLO(Sum)... succeeded. stop w: 1 newbuttons w: 0 S w: 1 F w: 42430 #idle w: x1 + x5 + x7 + 2 false w: 1 closed w: 1 down w: 1 incorrect w: 0 idle w: 0 true w: 0 correct w: 0 B w: 41078 FS w: 42428 or w: 0 busy w: 0 open w: 0 #busy w: x1 + x5 + x7 + 1 empty w: 1 start w: 0 BF w: 41076 up w: 1 USABLE RULES: { } Removed DPs: #4 #5 #9 Number of SCCs: 0, DPs: 0