↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
gopher2: (b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
gopher_2_in_ga2(nil_0, nil_0) -> gopher_2_out_ga2(nil_0, nil_0)
gopher_2_in_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y)) -> gopher_2_out_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y))
gopher_2_in_ga2(cons_22(cons_22(U, V), W), X) -> if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_out_ga2(cons_22(U, cons_22(V, W)), X)) -> gopher_2_out_ga2(cons_22(cons_22(U, V), W), X)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
gopher_2_in_ga2(nil_0, nil_0) -> gopher_2_out_ga2(nil_0, nil_0)
gopher_2_in_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y)) -> gopher_2_out_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y))
gopher_2_in_ga2(cons_22(cons_22(U, V), W), X) -> if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_out_ga2(cons_22(U, cons_22(V, W)), X)) -> gopher_2_out_ga2(cons_22(cons_22(U, V), W), X)
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> IF_GOPHER_2_IN_1_GA5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> GOPHER_2_IN_GA2(cons_22(U, cons_22(V, W)), X)
gopher_2_in_ga2(nil_0, nil_0) -> gopher_2_out_ga2(nil_0, nil_0)
gopher_2_in_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y)) -> gopher_2_out_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y))
gopher_2_in_ga2(cons_22(cons_22(U, V), W), X) -> if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_out_ga2(cons_22(U, cons_22(V, W)), X)) -> gopher_2_out_ga2(cons_22(cons_22(U, V), W), X)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> IF_GOPHER_2_IN_1_GA5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> GOPHER_2_IN_GA2(cons_22(U, cons_22(V, W)), X)
gopher_2_in_ga2(nil_0, nil_0) -> gopher_2_out_ga2(nil_0, nil_0)
gopher_2_in_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y)) -> gopher_2_out_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y))
gopher_2_in_ga2(cons_22(cons_22(U, V), W), X) -> if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_out_ga2(cons_22(U, cons_22(V, W)), X)) -> gopher_2_out_ga2(cons_22(cons_22(U, V), W), X)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> GOPHER_2_IN_GA2(cons_22(U, cons_22(V, W)), X)
gopher_2_in_ga2(nil_0, nil_0) -> gopher_2_out_ga2(nil_0, nil_0)
gopher_2_in_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y)) -> gopher_2_out_ga2(cons_22(nil_0, Y), cons_22(nil_0, Y))
gopher_2_in_ga2(cons_22(cons_22(U, V), W), X) -> if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_in_ga2(cons_22(U, cons_22(V, W)), X))
if_gopher_2_in_1_ga5(U, V, W, X, gopher_2_out_ga2(cons_22(U, cons_22(V, W)), X)) -> gopher_2_out_ga2(cons_22(cons_22(U, V), W), X)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
GOPHER_2_IN_GA2(cons_22(cons_22(U, V), W), X) -> GOPHER_2_IN_GA2(cons_22(U, cons_22(V, W)), X)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
GOPHER_2_IN_GA1(cons_22(cons_22(U, V), W)) -> GOPHER_2_IN_GA1(cons_22(U, cons_22(V, W)))
Order:Homeomorphic Embedding Order
AFS:
cons_22(x1, x2) = cons_21(x1)
From the DPs we obtained the following set of size-change graphs:
We oriented the following set of usable rules.
none