↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
p4: (b,b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
p_4_in_ggga4(M, N, s_11(R), RES) -> if_p_4_in_1_ggga5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
p_4_in_ggga4(M, s_11(N), R, RES) -> if_p_4_in_2_ggga5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
p_4_in_ggga4(M, underscore, underscore1, M) -> p_4_out_ggga4(M, underscore, underscore1, M)
if_p_4_in_2_ggga5(M, N, R, RES, p_4_out_ggga4(R, N, M, RES)) -> p_4_out_ggga4(M, s_11(N), R, RES)
if_p_4_in_1_ggga5(M, N, R, RES, p_4_out_ggga4(M, R, N, RES)) -> p_4_out_ggga4(M, N, s_11(R), RES)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
p_4_in_ggga4(M, N, s_11(R), RES) -> if_p_4_in_1_ggga5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
p_4_in_ggga4(M, s_11(N), R, RES) -> if_p_4_in_2_ggga5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
p_4_in_ggga4(M, underscore, underscore1, M) -> p_4_out_ggga4(M, underscore, underscore1, M)
if_p_4_in_2_ggga5(M, N, R, RES, p_4_out_ggga4(R, N, M, RES)) -> p_4_out_ggga4(M, s_11(N), R, RES)
if_p_4_in_1_ggga5(M, N, R, RES, p_4_out_ggga4(M, R, N, RES)) -> p_4_out_ggga4(M, N, s_11(R), RES)
P_4_IN_GGGA4(M, N, s_11(R), RES) -> IF_P_4_IN_1_GGGA5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
P_4_IN_GGGA4(M, N, s_11(R), RES) -> P_4_IN_GGGA4(M, R, N, RES)
P_4_IN_GGGA4(M, s_11(N), R, RES) -> IF_P_4_IN_2_GGGA5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
P_4_IN_GGGA4(M, s_11(N), R, RES) -> P_4_IN_GGGA4(R, N, M, RES)
p_4_in_ggga4(M, N, s_11(R), RES) -> if_p_4_in_1_ggga5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
p_4_in_ggga4(M, s_11(N), R, RES) -> if_p_4_in_2_ggga5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
p_4_in_ggga4(M, underscore, underscore1, M) -> p_4_out_ggga4(M, underscore, underscore1, M)
if_p_4_in_2_ggga5(M, N, R, RES, p_4_out_ggga4(R, N, M, RES)) -> p_4_out_ggga4(M, s_11(N), R, RES)
if_p_4_in_1_ggga5(M, N, R, RES, p_4_out_ggga4(M, R, N, RES)) -> p_4_out_ggga4(M, N, s_11(R), RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
P_4_IN_GGGA4(M, N, s_11(R), RES) -> IF_P_4_IN_1_GGGA5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
P_4_IN_GGGA4(M, N, s_11(R), RES) -> P_4_IN_GGGA4(M, R, N, RES)
P_4_IN_GGGA4(M, s_11(N), R, RES) -> IF_P_4_IN_2_GGGA5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
P_4_IN_GGGA4(M, s_11(N), R, RES) -> P_4_IN_GGGA4(R, N, M, RES)
p_4_in_ggga4(M, N, s_11(R), RES) -> if_p_4_in_1_ggga5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
p_4_in_ggga4(M, s_11(N), R, RES) -> if_p_4_in_2_ggga5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
p_4_in_ggga4(M, underscore, underscore1, M) -> p_4_out_ggga4(M, underscore, underscore1, M)
if_p_4_in_2_ggga5(M, N, R, RES, p_4_out_ggga4(R, N, M, RES)) -> p_4_out_ggga4(M, s_11(N), R, RES)
if_p_4_in_1_ggga5(M, N, R, RES, p_4_out_ggga4(M, R, N, RES)) -> p_4_out_ggga4(M, N, s_11(R), RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
P_4_IN_GGGA4(M, N, s_11(R), RES) -> P_4_IN_GGGA4(M, R, N, RES)
P_4_IN_GGGA4(M, s_11(N), R, RES) -> P_4_IN_GGGA4(R, N, M, RES)
p_4_in_ggga4(M, N, s_11(R), RES) -> if_p_4_in_1_ggga5(M, N, R, RES, p_4_in_ggga4(M, R, N, RES))
p_4_in_ggga4(M, s_11(N), R, RES) -> if_p_4_in_2_ggga5(M, N, R, RES, p_4_in_ggga4(R, N, M, RES))
p_4_in_ggga4(M, underscore, underscore1, M) -> p_4_out_ggga4(M, underscore, underscore1, M)
if_p_4_in_2_ggga5(M, N, R, RES, p_4_out_ggga4(R, N, M, RES)) -> p_4_out_ggga4(M, s_11(N), R, RES)
if_p_4_in_1_ggga5(M, N, R, RES, p_4_out_ggga4(M, R, N, RES)) -> p_4_out_ggga4(M, N, s_11(R), RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
P_4_IN_GGGA4(M, N, s_11(R), RES) -> P_4_IN_GGGA4(M, R, N, RES)
P_4_IN_GGGA4(M, s_11(N), R, RES) -> P_4_IN_GGGA4(R, N, M, RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
P_4_IN_GGGA3(M, N, s_11(R)) -> P_4_IN_GGGA3(M, R, N)
P_4_IN_GGGA3(M, s_11(N), R) -> P_4_IN_GGGA3(R, N, M)
From the DPs we obtained the following set of size-change graphs: