↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
log22: (f,b)
log24: (f,b,b,b) (b,b,b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
LOG2_2_IN_AG2(X, Y) -> IF_LOG2_2_IN_1_AG3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
LOG2_2_IN_AG2(X, Y) -> LOG2_4_IN_AGGG4(X, 0_0, s_11(0_0), Y)
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_AGGG5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_3_AGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_3_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_5_GGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> SMALL_1_IN_G1(Half)
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_5_AGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> SMALL_1_IN_G1(Half)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
LOG2_2_IN_AG2(X, Y) -> IF_LOG2_2_IN_1_AG3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
LOG2_2_IN_AG2(X, Y) -> LOG2_4_IN_AGGG4(X, 0_0, s_11(0_0), Y)
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_AGGG5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_3_AGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_3_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_5_GGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> SMALL_1_IN_G1(Half)
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_5_AGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> SMALL_1_IN_G1(Half)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG4(Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG4(Half, Acc, Y, small_1_out_g) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
small_1_in_g1(0_0) -> small_1_out_g
small_1_in_g1(s_11(0_0)) -> small_1_out_g
small_1_in_g1(x0)
small_1_in_g1(0_0) -> small_1_out_g
small_1_in_g1(s_11(0_0)) -> small_1_out_g
POL(small_1_in_g1(x1)) = 2 + x1
POL(0_0) = 0
POL(IF_LOG2_4_IN_2_GGGG4(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(LOG2_4_IN_GGGG4(x1, x2, x3, x4)) = x1 + 2·x2 + x3 + x4
POL(small_1_out_g) = 1
POL(s_11(x1)) = 1 + x1
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG4(Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG4(Half, Acc, Y, small_1_out_g) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
small_1_in_g1(x0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
small_1_in_g1(x0)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
LOG2_4_IN_AGGG3(Half, Acc, Y) -> LOG2_4_IN_AGGG3(s_11(Half), Acc, Y)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
LOG2_2_IN_AG2(X, Y) -> IF_LOG2_2_IN_1_AG3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
LOG2_2_IN_AG2(X, Y) -> LOG2_4_IN_AGGG4(X, 0_0, s_11(0_0), Y)
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_AGGG5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_3_AGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_3_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_5_GGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> SMALL_1_IN_G1(Half)
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_5_AGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> SMALL_1_IN_G1(Half)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
LOG2_2_IN_AG2(X, Y) -> IF_LOG2_2_IN_1_AG3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
LOG2_2_IN_AG2(X, Y) -> LOG2_4_IN_AGGG4(X, 0_0, s_11(0_0), Y)
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_AGGG5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_3_AGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_AGGG5(X, Half, Acc, Y, small_1_out_a1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> IF_LOG2_4_IN_1_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_3_GGGG5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_in_g1(X))
LOG2_4_IN_GGGG4(X, Half, Y, Y) -> SMALL_1_IN_G1(X)
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> IF_LOG2_4_IN_5_GGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_GGGG4(X, Half, Y, small_1_out_g1(X)) -> SMALL_1_IN_G1(Half)
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_in_a1(X))
LOG2_4_IN_AGGG4(X, Half, Y, Y) -> SMALL_1_IN_A1(X)
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> IF_LOG2_4_IN_5_AGGG4(X, Half, Y, small_1_in_g1(Half))
IF_LOG2_4_IN_4_AGGG4(X, Half, Y, small_1_out_a1(X)) -> SMALL_1_IN_G1(Half)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LOG2_4_IN_GGGG4(X, s_11(s_11(Half)), Acc, Y) -> IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_in_g1(X))
IF_LOG2_4_IN_2_GGGG5(X, Half, Acc, Y, small_1_out_g1(X)) -> LOG2_4_IN_GGGG4(Half, s_11(0_0), s_11(Acc), Y)
LOG2_4_IN_GGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_GGGG4(X, s_11(Half), Acc, Y)
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
LOG2_4_IN_AGGG4(s_11(s_11(X)), Half, Acc, Y) -> LOG2_4_IN_AGGG4(X, s_11(Half), Acc, Y)
log2_2_in_ag2(X, Y) -> if_log2_2_in_1_ag3(X, Y, log2_4_in_aggg4(X, 0_0, s_11(0_0), Y))
log2_4_in_aggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_in_aggg4(X, s_11(Half), Acc, Y))
log2_4_in_aggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_in_a1(X))
small_1_in_a1(0_0) -> small_1_out_a1(0_0)
small_1_in_a1(s_11(0_0)) -> small_1_out_a1(s_11(0_0))
if_log2_4_in_2_aggg5(X, Half, Acc, Y, small_1_out_a1(X)) -> if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(s_11(s_11(X)), Half, Acc, Y) -> if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(X, s_11(Half), Acc, Y))
log2_4_in_gggg4(X, s_11(s_11(Half)), Acc, Y) -> if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_in_g1(X))
small_1_in_g1(0_0) -> small_1_out_g1(0_0)
small_1_in_g1(s_11(0_0)) -> small_1_out_g1(s_11(0_0))
if_log2_4_in_2_gggg5(X, Half, Acc, Y, small_1_out_g1(X)) -> if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_in_gggg4(Half, s_11(0_0), s_11(Acc), Y))
log2_4_in_gggg4(X, Half, Y, Y) -> if_log2_4_in_4_gggg4(X, Half, Y, small_1_in_g1(X))
if_log2_4_in_4_gggg4(X, Half, Y, small_1_out_g1(X)) -> if_log2_4_in_5_gggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_gggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_gggg4(X, Half, Y, Y)
if_log2_4_in_3_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_gggg4(X, s_11(s_11(Half)), Acc, Y)
if_log2_4_in_1_gggg5(X, Half, Acc, Y, log2_4_out_gggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_gggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_4_in_3_aggg5(X, Half, Acc, Y, log2_4_out_gggg4(Half, s_11(0_0), s_11(Acc), Y)) -> log2_4_out_aggg4(X, s_11(s_11(Half)), Acc, Y)
log2_4_in_aggg4(X, Half, Y, Y) -> if_log2_4_in_4_aggg4(X, Half, Y, small_1_in_a1(X))
if_log2_4_in_4_aggg4(X, Half, Y, small_1_out_a1(X)) -> if_log2_4_in_5_aggg4(X, Half, Y, small_1_in_g1(Half))
if_log2_4_in_5_aggg4(X, Half, Y, small_1_out_g1(Half)) -> log2_4_out_aggg4(X, Half, Y, Y)
if_log2_4_in_1_aggg5(X, Half, Acc, Y, log2_4_out_aggg4(X, s_11(Half), Acc, Y)) -> log2_4_out_aggg4(s_11(s_11(X)), Half, Acc, Y)
if_log2_2_in_1_ag3(X, Y, log2_4_out_aggg4(X, 0_0, s_11(0_0), Y)) -> log2_2_out_ag2(X, Y)