(0) Obligation:

Clauses:

in(X, tree(X, X1, X2)).
in(X, tree(Y, Left, X3)) :- ','(less(X, Y), in(X, Left)).
in(X, tree(Y, X4, Right)) :- ','(less(Y, X), in(X, Right)).
less(0, s(X5)).
less(s(X), s(Y)) :- less(X, Y).

Queries:

in(g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

in11(tree(0, T37, T38)).
in11(tree(T54, T55, T53)) :- less23(T54).
in11(tree(T54, T58, T53)) :- ','(less23(T54), in11(T58)).
less43(0, s(T110)).
less43(s(T115), s(T117)) :- less43(T115, T117).
less56(0, s(T149)).
less56(s(T156), s(T155)) :- less56(T156, T155).
p41(T97, T99, T100) :- less43(T97, T99).
p41(T97, T99, T103) :- ','(less43(T97, T99), in1(s(T97), T103)).
p66(0, s(T179), T180) :- in1(s(T179), T180).
p66(s(T193), s(T192), T194) :- p73(T193, T192, T194).
p73(T193, T192, T194) :- less56(T193, T192).
p73(T193, T192, T197) :- ','(less56(T193, T192), in1(s(T192), T197)).
less23(s(T65)).
in1(T6, tree(T6, T7, T8)).
in1(0, tree(s(T23), T24, T16)) :- in11(T24).
in1(s(T97), tree(s(T99), T100, T16)) :- p41(T97, T99, T100).
in1(T134, tree(T138, T136, T139)) :- less56(T138, T134).
in1(T134, tree(T138, T136, T142)) :- ','(less56(T138, T134), in1(T134, T142)).
in1(T169, tree(T173, T171, T174)) :- p66(T173, T169, T174).
in1(0, tree(s(T220), T221, T213)) :- in11(T221).
in1(s(T234), tree(s(T236), T237, T213)) :- p41(T234, T236, T237).
in1(T248, tree(T252, T250, T253)) :- p66(T252, T248, T253).
in1(s(T270), tree(0, T262, T271)) :- in1(s(T270), T271).
in1(s(T283), tree(s(T284), T262, T285)) :- p73(T284, T283, T285).

Queries:

in1(g,a).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
in1_in: (b,f)
in11_in: (f)
p41_in: (b,f,f)
less43_in: (b,f)
less56_in: (f,b)
p66_in: (f,b,f)
p73_in: (f,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(0, tree(s(T23), T24, T16)) → U14_GA(T23, T24, T16, in11_in_a(T24))
IN1_IN_GA(0, tree(s(T23), T24, T16)) → IN11_IN_A(T24)
IN11_IN_A(tree(T54, T55, T53)) → U1_A(T54, T55, T53, less23_in_a(T54))
IN11_IN_A(tree(T54, T55, T53)) → LESS23_IN_A(T54)
IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → U3_A(T54, T58, T53, in11_in_a(T58))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → U15_GA(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T100) → U6_GAA(T97, T99, T100, less43_in_ga(T97, T99))
P41_IN_GAA(T97, T99, T100) → LESS43_IN_GA(T97, T99)
LESS43_IN_GA(s(T115), s(T117)) → U4_GA(T115, T117, less43_in_ga(T115, T117))
LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → U8_GAA(T97, T99, T103, in1_in_ga(s(T97), T103))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T139)) → U16_GA(T134, T138, T136, T139, less56_in_ag(T138, T134))
IN1_IN_GA(T134, tree(T138, T136, T139)) → LESS56_IN_AG(T138, T134)
LESS56_IN_AG(s(T156), s(T155)) → U5_AG(T156, T155, less56_in_ag(T156, T155))
LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_GA(T134, T138, T136, T142, in1_in_ga(T134, T142))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → U19_GA(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → U9_AGA(T179, T180, in1_in_ga(s(T179), T180))
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(0, tree(s(T220), T221, T213)) → U20_GA(T220, T221, T213, in11_in_a(T221))
IN1_IN_GA(s(T234), tree(s(T236), T237, T213)) → U21_GA(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
IN1_IN_GA(T248, tree(T252, T250, T253)) → U22_GA(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
P66_IN_AGA(s(T193), s(T192), T194) → U10_AGA(T193, T192, T194, p73_in_aga(T193, T192, T194))
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)
P73_IN_AGA(T193, T192, T194) → U11_AGA(T193, T192, T194, less56_in_ag(T193, T192))
P73_IN_AGA(T193, T192, T194) → LESS56_IN_AG(T193, T192)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → U13_AGA(T193, T192, T197, in1_in_ga(s(T192), T197))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → U23_GA(T270, T262, T271, in1_in_ga(s(T270), T271))
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → U24_GA(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
IN11_IN_A(x1)  =  IN11_IN_A
U1_A(x1, x2, x3, x4)  =  U1_A(x4)
LESS23_IN_A(x1)  =  LESS23_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)
U3_A(x1, x2, x3, x4)  =  U3_A(x4)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x1, x5)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x1, x3)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x1, x4)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x1, x5)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)
U5_AG(x1, x2, x3)  =  U5_AG(x2, x3)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
U9_AGA(x1, x2, x3)  =  U9_AGA(x1, x3)
U20_GA(x1, x2, x3, x4)  =  U20_GA(x4)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x5)
U10_AGA(x1, x2, x3, x4)  =  U10_AGA(x2, x4)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U11_AGA(x1, x2, x3, x4)  =  U11_AGA(x2, x4)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)
U13_AGA(x1, x2, x3, x4)  =  U13_AGA(x1, x2, x4)
U23_GA(x1, x2, x3, x4)  =  U23_GA(x1, x4)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x5)

We have to consider all (P,R,Pi)-chains

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(0, tree(s(T23), T24, T16)) → U14_GA(T23, T24, T16, in11_in_a(T24))
IN1_IN_GA(0, tree(s(T23), T24, T16)) → IN11_IN_A(T24)
IN11_IN_A(tree(T54, T55, T53)) → U1_A(T54, T55, T53, less23_in_a(T54))
IN11_IN_A(tree(T54, T55, T53)) → LESS23_IN_A(T54)
IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → U3_A(T54, T58, T53, in11_in_a(T58))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → U15_GA(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T100) → U6_GAA(T97, T99, T100, less43_in_ga(T97, T99))
P41_IN_GAA(T97, T99, T100) → LESS43_IN_GA(T97, T99)
LESS43_IN_GA(s(T115), s(T117)) → U4_GA(T115, T117, less43_in_ga(T115, T117))
LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → U8_GAA(T97, T99, T103, in1_in_ga(s(T97), T103))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T139)) → U16_GA(T134, T138, T136, T139, less56_in_ag(T138, T134))
IN1_IN_GA(T134, tree(T138, T136, T139)) → LESS56_IN_AG(T138, T134)
LESS56_IN_AG(s(T156), s(T155)) → U5_AG(T156, T155, less56_in_ag(T156, T155))
LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_GA(T134, T138, T136, T142, in1_in_ga(T134, T142))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → U19_GA(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → U9_AGA(T179, T180, in1_in_ga(s(T179), T180))
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(0, tree(s(T220), T221, T213)) → U20_GA(T220, T221, T213, in11_in_a(T221))
IN1_IN_GA(s(T234), tree(s(T236), T237, T213)) → U21_GA(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
IN1_IN_GA(T248, tree(T252, T250, T253)) → U22_GA(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
P66_IN_AGA(s(T193), s(T192), T194) → U10_AGA(T193, T192, T194, p73_in_aga(T193, T192, T194))
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)
P73_IN_AGA(T193, T192, T194) → U11_AGA(T193, T192, T194, less56_in_ag(T193, T192))
P73_IN_AGA(T193, T192, T194) → LESS56_IN_AG(T193, T192)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → U13_AGA(T193, T192, T197, in1_in_ga(s(T192), T197))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → U23_GA(T270, T262, T271, in1_in_ga(s(T270), T271))
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → U24_GA(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
IN11_IN_A(x1)  =  IN11_IN_A
U1_A(x1, x2, x3, x4)  =  U1_A(x4)
LESS23_IN_A(x1)  =  LESS23_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)
U3_A(x1, x2, x3, x4)  =  U3_A(x4)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x1, x5)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x1, x3)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x1, x4)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x1, x5)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)
U5_AG(x1, x2, x3)  =  U5_AG(x2, x3)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
U9_AGA(x1, x2, x3)  =  U9_AGA(x1, x3)
U20_GA(x1, x2, x3, x4)  =  U20_GA(x4)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x5)
U10_AGA(x1, x2, x3, x4)  =  U10_AGA(x2, x4)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U11_AGA(x1, x2, x3, x4)  =  U11_AGA(x2, x4)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)
U13_AGA(x1, x2, x3, x4)  =  U13_AGA(x1, x2, x4)
U23_GA(x1, x2, x3, x4)  =  U23_GA(x1, x4)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x5)

We have to consider all (P,R,Pi)-chains

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 4 SCCs with 25 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)

We have to consider all (P,R,Pi)-chains

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)

We have to consider all (P,R,Pi)-chains

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T155)) → LESS56_IN_AG(T155)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LESS56_IN_AG(s(T155)) → LESS56_IN_AG(T155)
    The graph contains the following edges 1 > 1

(15) YES

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115)) → LESS43_IN_GA(T115)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LESS43_IN_GA(s(T115)) → LESS43_IN_GA(T115)
    The graph contains the following edges 1 > 1

(22) YES

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
IN11_IN_A(x1)  =  IN11_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)

We have to consider all (P,R,Pi)-chains

(24) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(25) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)

The TRS R consists of the following rules:

less23_in_a(s(T65)) → less23_out_a(s(T65))

The argument filtering Pi contains the following mapping:
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
s(x1)  =  s(x1)
IN11_IN_A(x1)  =  IN11_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)

We have to consider all (P,R,Pi)-chains

(26) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN11_IN_AU2_A(less23_in_a)
U2_A(less23_out_a) → IN11_IN_A

The TRS R consists of the following rules:

less23_in_aless23_out_a

The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(28) Rewriting (EQUIVALENT transformation)

By rewriting [LPAR04] the rule IN11_IN_AU2_A(less23_in_a) at position [0] we obtained the following new rules [LPAR04]:

IN11_IN_AU2_A(less23_out_a)

(29) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

The TRS R consists of the following rules:

less23_in_aless23_out_a

The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(30) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(31) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

R is empty.
The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(32) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

less23_in_a

(33) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(34) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = IN11_IN_A evaluates to t =IN11_IN_A

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

IN11_IN_AU2_A(less23_out_a)
with rule IN11_IN_AU2_A(less23_out_a) at position [] and matcher [ ]

U2_A(less23_out_a)IN11_IN_A
with rule U2_A(less23_out_a) → IN11_IN_A

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(35) NO

(36) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga(x1)
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa(x1)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x1, x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x2, x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x2, x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1, x2)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x2, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x1, x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1, x2)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)

We have to consider all (P,R,Pi)-chains

(37) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(38) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)

The TRS R consists of the following rules:

less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1, x2)
U5_ag(x1, x2, x3)  =  U5_ag(x2, x3)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)

We have to consider all (P,R,Pi)-chains

(39) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(40) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P41_IN_GAA(T97) → U7_GAA(T97, less43_in_ga(T97))
U7_GAA(T97, less43_out_ga(T97)) → IN1_IN_GA(s(T97))
IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134))
U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(41) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P41_IN_GAA(T97) → U7_GAA(T97, less43_in_ga(T97)) at position [1] we obtained the following new rules [LPAR04]:

P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))

(42) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga(T97)) → IN1_IN_GA(s(T97))
IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134))
U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(43) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134)) at position [1] we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))

(44) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga(T97)) → IN1_IN_GA(s(T97))
U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(45) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192)) at position [1] we obtained the following new rules [LPAR04]:

P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))

(46) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga(T97)) → IN1_IN_GA(s(T97))
U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(47) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U7_GAA(T97, less43_out_ga(T97)) → IN1_IN_GA(s(T97)) we obtained the following new rules [LPAR04]:

U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))

(48) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(49) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U17_GA(T134, less56_out_ag(T138, T134)) → IN1_IN_GA(T134) we obtained the following new rules [LPAR04]:

U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))

(50) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(51) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule IN1_IN_GA(T169) → P66_IN_AGA(T169) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))

(52) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(53) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U12_AGA(T192, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192)) we obtained the following new rules [LPAR04]:

U12_AGA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(s(z0)))

(54) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(55) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule IN1_IN_GA(s(T97)) → P41_IN_GAA(T97) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))

(56) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(57) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule IN1_IN_GA(s(T283)) → P73_IN_AGA(T283) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))

(58) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))
IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(59) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule P66_IN_AGA(s(T192)) → P73_IN_AGA(T192) we obtained the following new rules [LPAR04]:

P66_IN_AGA(s(s(y_0))) → P73_IN_AGA(s(y_0))

(60) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga(0))
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(x0, less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0, s(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(x0, less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0, s(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(x0, less56_in_ag(x0)))
U7_GAA(0, less43_out_ga(0)) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga(s(z0))) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0, s(z0))) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1, s(z0))) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))
IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))
P66_IN_AGA(s(s(y_0))) → P73_IN_AGA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga(0)
less43_in_ga(s(T115)) → U4_ga(T115, less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T155)) → U5_ag(T155, less56_in_ag(T155))
U4_ga(T115, less43_out_ga(T115)) → less43_out_ga(s(T115))
U5_ag(T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0, x1)
U5_ag(x0, x1)

We have to consider all (P,Q,R)-chains.

(61) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = IN1_IN_GA(s(T270)) evaluates to t =IN1_IN_GA(s(T270))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from IN1_IN_GA(s(T270)) to IN1_IN_GA(s(T270)).



(62) NO

(63) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
in1_in: (b,f)
in11_in: (f)
p41_in: (b,f,f)
less43_in: (b,f)
less56_in: (f,b)
p66_in: (f,b,f)
p73_in: (f,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(64) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)

(65) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(0, tree(s(T23), T24, T16)) → U14_GA(T23, T24, T16, in11_in_a(T24))
IN1_IN_GA(0, tree(s(T23), T24, T16)) → IN11_IN_A(T24)
IN11_IN_A(tree(T54, T55, T53)) → U1_A(T54, T55, T53, less23_in_a(T54))
IN11_IN_A(tree(T54, T55, T53)) → LESS23_IN_A(T54)
IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → U3_A(T54, T58, T53, in11_in_a(T58))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → U15_GA(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T100) → U6_GAA(T97, T99, T100, less43_in_ga(T97, T99))
P41_IN_GAA(T97, T99, T100) → LESS43_IN_GA(T97, T99)
LESS43_IN_GA(s(T115), s(T117)) → U4_GA(T115, T117, less43_in_ga(T115, T117))
LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → U8_GAA(T97, T99, T103, in1_in_ga(s(T97), T103))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T139)) → U16_GA(T134, T138, T136, T139, less56_in_ag(T138, T134))
IN1_IN_GA(T134, tree(T138, T136, T139)) → LESS56_IN_AG(T138, T134)
LESS56_IN_AG(s(T156), s(T155)) → U5_AG(T156, T155, less56_in_ag(T156, T155))
LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_GA(T134, T138, T136, T142, in1_in_ga(T134, T142))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → U19_GA(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → U9_AGA(T179, T180, in1_in_ga(s(T179), T180))
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(0, tree(s(T220), T221, T213)) → U20_GA(T220, T221, T213, in11_in_a(T221))
IN1_IN_GA(s(T234), tree(s(T236), T237, T213)) → U21_GA(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
IN1_IN_GA(T248, tree(T252, T250, T253)) → U22_GA(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
P66_IN_AGA(s(T193), s(T192), T194) → U10_AGA(T193, T192, T194, p73_in_aga(T193, T192, T194))
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)
P73_IN_AGA(T193, T192, T194) → U11_AGA(T193, T192, T194, less56_in_ag(T193, T192))
P73_IN_AGA(T193, T192, T194) → LESS56_IN_AG(T193, T192)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → U13_AGA(T193, T192, T197, in1_in_ga(s(T192), T197))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → U23_GA(T270, T262, T271, in1_in_ga(s(T270), T271))
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → U24_GA(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
IN11_IN_A(x1)  =  IN11_IN_A
U1_A(x1, x2, x3, x4)  =  U1_A(x4)
LESS23_IN_A(x1)  =  LESS23_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)
U3_A(x1, x2, x3, x4)  =  U3_A(x4)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x5)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x4)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x4)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x5)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)
U5_AG(x1, x2, x3)  =  U5_AG(x3)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
U9_AGA(x1, x2, x3)  =  U9_AGA(x3)
U20_GA(x1, x2, x3, x4)  =  U20_GA(x4)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
U10_AGA(x1, x2, x3, x4)  =  U10_AGA(x4)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U11_AGA(x1, x2, x3, x4)  =  U11_AGA(x4)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)
U13_AGA(x1, x2, x3, x4)  =  U13_AGA(x1, x4)
U23_GA(x1, x2, x3, x4)  =  U23_GA(x4)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)

We have to consider all (P,R,Pi)-chains

(66) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(0, tree(s(T23), T24, T16)) → U14_GA(T23, T24, T16, in11_in_a(T24))
IN1_IN_GA(0, tree(s(T23), T24, T16)) → IN11_IN_A(T24)
IN11_IN_A(tree(T54, T55, T53)) → U1_A(T54, T55, T53, less23_in_a(T54))
IN11_IN_A(tree(T54, T55, T53)) → LESS23_IN_A(T54)
IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → U3_A(T54, T58, T53, in11_in_a(T58))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → U15_GA(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T100) → U6_GAA(T97, T99, T100, less43_in_ga(T97, T99))
P41_IN_GAA(T97, T99, T100) → LESS43_IN_GA(T97, T99)
LESS43_IN_GA(s(T115), s(T117)) → U4_GA(T115, T117, less43_in_ga(T115, T117))
LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → U8_GAA(T97, T99, T103, in1_in_ga(s(T97), T103))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T139)) → U16_GA(T134, T138, T136, T139, less56_in_ag(T138, T134))
IN1_IN_GA(T134, tree(T138, T136, T139)) → LESS56_IN_AG(T138, T134)
LESS56_IN_AG(s(T156), s(T155)) → U5_AG(T156, T155, less56_in_ag(T156, T155))
LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_GA(T134, T138, T136, T142, in1_in_ga(T134, T142))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → U19_GA(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → U9_AGA(T179, T180, in1_in_ga(s(T179), T180))
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(0, tree(s(T220), T221, T213)) → U20_GA(T220, T221, T213, in11_in_a(T221))
IN1_IN_GA(s(T234), tree(s(T236), T237, T213)) → U21_GA(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
IN1_IN_GA(T248, tree(T252, T250, T253)) → U22_GA(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
P66_IN_AGA(s(T193), s(T192), T194) → U10_AGA(T193, T192, T194, p73_in_aga(T193, T192, T194))
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)
P73_IN_AGA(T193, T192, T194) → U11_AGA(T193, T192, T194, less56_in_ag(T193, T192))
P73_IN_AGA(T193, T192, T194) → LESS56_IN_AG(T193, T192)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → U13_AGA(T193, T192, T197, in1_in_ga(s(T192), T197))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → U23_GA(T270, T262, T271, in1_in_ga(s(T270), T271))
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → U24_GA(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
IN11_IN_A(x1)  =  IN11_IN_A
U1_A(x1, x2, x3, x4)  =  U1_A(x4)
LESS23_IN_A(x1)  =  LESS23_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)
U3_A(x1, x2, x3, x4)  =  U3_A(x4)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x5)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x4)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x4)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x5)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)
U5_AG(x1, x2, x3)  =  U5_AG(x3)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
U9_AGA(x1, x2, x3)  =  U9_AGA(x3)
U20_GA(x1, x2, x3, x4)  =  U20_GA(x4)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
U10_AGA(x1, x2, x3, x4)  =  U10_AGA(x4)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U11_AGA(x1, x2, x3, x4)  =  U11_AGA(x4)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)
U13_AGA(x1, x2, x3, x4)  =  U13_AGA(x1, x4)
U23_GA(x1, x2, x3, x4)  =  U23_GA(x4)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)

We have to consider all (P,R,Pi)-chains

(67) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 4 SCCs with 25 less nodes.

(68) Complex Obligation (AND)

(69) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)

We have to consider all (P,R,Pi)-chains

(70) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(71) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T156), s(T155)) → LESS56_IN_AG(T156, T155)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LESS56_IN_AG(x1, x2)  =  LESS56_IN_AG(x2)

We have to consider all (P,R,Pi)-chains

(72) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(73) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LESS56_IN_AG(s(T155)) → LESS56_IN_AG(T155)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(74) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LESS56_IN_AG(s(T155)) → LESS56_IN_AG(T155)
    The graph contains the following edges 1 > 1

(75) YES

(76) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(77) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(78) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115), s(T117)) → LESS43_IN_GA(T115, T117)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LESS43_IN_GA(x1, x2)  =  LESS43_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(79) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(80) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LESS43_IN_GA(s(T115)) → LESS43_IN_GA(T115)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(81) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LESS43_IN_GA(s(T115)) → LESS43_IN_GA(T115)
    The graph contains the following edges 1 > 1

(82) YES

(83) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
IN11_IN_A(x1)  =  IN11_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)

We have to consider all (P,R,Pi)-chains

(84) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(85) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN11_IN_A(tree(T54, T58, T53)) → U2_A(T54, T58, T53, less23_in_a(T54))
U2_A(T54, T58, T53, less23_out_a(T54)) → IN11_IN_A(T58)

The TRS R consists of the following rules:

less23_in_a(s(T65)) → less23_out_a(s(T65))

The argument filtering Pi contains the following mapping:
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
s(x1)  =  s(x1)
IN11_IN_A(x1)  =  IN11_IN_A
U2_A(x1, x2, x3, x4)  =  U2_A(x4)

We have to consider all (P,R,Pi)-chains

(86) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(87) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN11_IN_AU2_A(less23_in_a)
U2_A(less23_out_a) → IN11_IN_A

The TRS R consists of the following rules:

less23_in_aless23_out_a

The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(88) Rewriting (EQUIVALENT transformation)

By rewriting [LPAR04] the rule IN11_IN_AU2_A(less23_in_a) at position [0] we obtained the following new rules [LPAR04]:

IN11_IN_AU2_A(less23_out_a)

(89) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

The TRS R consists of the following rules:

less23_in_aless23_out_a

The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(90) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(91) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

R is empty.
The set Q consists of the following terms:

less23_in_a

We have to consider all (P,Q,R)-chains.

(92) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

less23_in_a

(93) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U2_A(less23_out_a) → IN11_IN_A
IN11_IN_AU2_A(less23_out_a)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(94) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = IN11_IN_A evaluates to t =IN11_IN_A

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

IN11_IN_AU2_A(less23_out_a)
with rule IN11_IN_AU2_A(less23_out_a) at position [] and matcher [ ]

U2_A(less23_out_a)IN11_IN_A
with rule U2_A(less23_out_a) → IN11_IN_A

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(95) NO

(96) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)

The TRS R consists of the following rules:

in1_in_ga(T6, tree(T6, T7, T8)) → in1_out_ga(T6, tree(T6, T7, T8))
in1_in_ga(0, tree(s(T23), T24, T16)) → U14_ga(T23, T24, T16, in11_in_a(T24))
in11_in_a(tree(0, T37, T38)) → in11_out_a(tree(0, T37, T38))
in11_in_a(tree(T54, T55, T53)) → U1_a(T54, T55, T53, less23_in_a(T54))
less23_in_a(s(T65)) → less23_out_a(s(T65))
U1_a(T54, T55, T53, less23_out_a(T54)) → in11_out_a(tree(T54, T55, T53))
in11_in_a(tree(T54, T58, T53)) → U2_a(T54, T58, T53, less23_in_a(T54))
U2_a(T54, T58, T53, less23_out_a(T54)) → U3_a(T54, T58, T53, in11_in_a(T58))
U3_a(T54, T58, T53, in11_out_a(T58)) → in11_out_a(tree(T54, T58, T53))
U14_ga(T23, T24, T16, in11_out_a(T24)) → in1_out_ga(0, tree(s(T23), T24, T16))
in1_in_ga(s(T97), tree(s(T99), T100, T16)) → U15_ga(T97, T99, T100, T16, p41_in_gaa(T97, T99, T100))
p41_in_gaa(T97, T99, T100) → U6_gaa(T97, T99, T100, less43_in_ga(T97, T99))
less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U6_gaa(T97, T99, T100, less43_out_ga(T97, T99)) → p41_out_gaa(T97, T99, T100)
p41_in_gaa(T97, T99, T103) → U7_gaa(T97, T99, T103, less43_in_ga(T97, T99))
U7_gaa(T97, T99, T103, less43_out_ga(T97, T99)) → U8_gaa(T97, T99, T103, in1_in_ga(s(T97), T103))
in1_in_ga(T134, tree(T138, T136, T139)) → U16_ga(T134, T138, T136, T139, less56_in_ag(T138, T134))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))
U16_ga(T134, T138, T136, T139, less56_out_ag(T138, T134)) → in1_out_ga(T134, tree(T138, T136, T139))
in1_in_ga(T134, tree(T138, T136, T142)) → U17_ga(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_ga(T134, T138, T136, T142, less56_out_ag(T138, T134)) → U18_ga(T134, T138, T136, T142, in1_in_ga(T134, T142))
in1_in_ga(T169, tree(T173, T171, T174)) → U19_ga(T169, T173, T171, T174, p66_in_aga(T173, T169, T174))
p66_in_aga(0, s(T179), T180) → U9_aga(T179, T180, in1_in_ga(s(T179), T180))
in1_in_ga(0, tree(s(T220), T221, T213)) → U20_ga(T220, T221, T213, in11_in_a(T221))
U20_ga(T220, T221, T213, in11_out_a(T221)) → in1_out_ga(0, tree(s(T220), T221, T213))
in1_in_ga(s(T234), tree(s(T236), T237, T213)) → U21_ga(T234, T236, T237, T213, p41_in_gaa(T234, T236, T237))
U21_ga(T234, T236, T237, T213, p41_out_gaa(T234, T236, T237)) → in1_out_ga(s(T234), tree(s(T236), T237, T213))
in1_in_ga(T248, tree(T252, T250, T253)) → U22_ga(T248, T252, T250, T253, p66_in_aga(T252, T248, T253))
p66_in_aga(s(T193), s(T192), T194) → U10_aga(T193, T192, T194, p73_in_aga(T193, T192, T194))
p73_in_aga(T193, T192, T194) → U11_aga(T193, T192, T194, less56_in_ag(T193, T192))
U11_aga(T193, T192, T194, less56_out_ag(T193, T192)) → p73_out_aga(T193, T192, T194)
p73_in_aga(T193, T192, T197) → U12_aga(T193, T192, T197, less56_in_ag(T193, T192))
U12_aga(T193, T192, T197, less56_out_ag(T193, T192)) → U13_aga(T193, T192, T197, in1_in_ga(s(T192), T197))
in1_in_ga(s(T270), tree(0, T262, T271)) → U23_ga(T270, T262, T271, in1_in_ga(s(T270), T271))
in1_in_ga(s(T283), tree(s(T284), T262, T285)) → U24_ga(T283, T284, T262, T285, p73_in_aga(T284, T283, T285))
U24_ga(T283, T284, T262, T285, p73_out_aga(T284, T283, T285)) → in1_out_ga(s(T283), tree(s(T284), T262, T285))
U23_ga(T270, T262, T271, in1_out_ga(s(T270), T271)) → in1_out_ga(s(T270), tree(0, T262, T271))
U13_aga(T193, T192, T197, in1_out_ga(s(T192), T197)) → p73_out_aga(T193, T192, T197)
U10_aga(T193, T192, T194, p73_out_aga(T193, T192, T194)) → p66_out_aga(s(T193), s(T192), T194)
U22_ga(T248, T252, T250, T253, p66_out_aga(T252, T248, T253)) → in1_out_ga(T248, tree(T252, T250, T253))
U9_aga(T179, T180, in1_out_ga(s(T179), T180)) → p66_out_aga(0, s(T179), T180)
U19_ga(T169, T173, T171, T174, p66_out_aga(T173, T169, T174)) → in1_out_ga(T169, tree(T173, T171, T174))
U18_ga(T134, T138, T136, T142, in1_out_ga(T134, T142)) → in1_out_ga(T134, tree(T138, T136, T142))
U8_gaa(T97, T99, T103, in1_out_ga(s(T97), T103)) → p41_out_gaa(T97, T99, T103)
U15_ga(T97, T99, T100, T16, p41_out_gaa(T97, T99, T100)) → in1_out_ga(s(T97), tree(s(T99), T100, T16))

The argument filtering Pi contains the following mapping:
in1_in_ga(x1, x2)  =  in1_in_ga(x1)
in1_out_ga(x1, x2)  =  in1_out_ga
0  =  0
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
in11_in_a(x1)  =  in11_in_a
in11_out_a(x1)  =  in11_out_a
U1_a(x1, x2, x3, x4)  =  U1_a(x4)
less23_in_a(x1)  =  less23_in_a
less23_out_a(x1)  =  less23_out_a
U2_a(x1, x2, x3, x4)  =  U2_a(x4)
U3_a(x1, x2, x3, x4)  =  U3_a(x4)
s(x1)  =  s(x1)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x5)
p41_in_gaa(x1, x2, x3)  =  p41_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x4)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p41_out_gaa(x1, x2, x3)  =  p41_out_gaa
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x4)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x4)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
p66_in_aga(x1, x2, x3)  =  p66_in_aga(x2)
U9_aga(x1, x2, x3)  =  U9_aga(x3)
U20_ga(x1, x2, x3, x4)  =  U20_ga(x4)
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U10_aga(x1, x2, x3, x4)  =  U10_aga(x4)
p73_in_aga(x1, x2, x3)  =  p73_in_aga(x2)
U11_aga(x1, x2, x3, x4)  =  U11_aga(x4)
p73_out_aga(x1, x2, x3)  =  p73_out_aga(x1)
U12_aga(x1, x2, x3, x4)  =  U12_aga(x2, x4)
U13_aga(x1, x2, x3, x4)  =  U13_aga(x1, x4)
U23_ga(x1, x2, x3, x4)  =  U23_ga(x4)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
p66_out_aga(x1, x2, x3)  =  p66_out_aga(x1)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)

We have to consider all (P,R,Pi)-chains

(97) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(98) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97), tree(s(T99), T100, T16)) → P41_IN_GAA(T97, T99, T100)
P41_IN_GAA(T97, T99, T103) → U7_GAA(T97, T99, T103, less43_in_ga(T97, T99))
U7_GAA(T97, T99, T103, less43_out_ga(T97, T99)) → IN1_IN_GA(s(T97), T103)
IN1_IN_GA(T134, tree(T138, T136, T142)) → U17_GA(T134, T138, T136, T142, less56_in_ag(T138, T134))
U17_GA(T134, T138, T136, T142, less56_out_ag(T138, T134)) → IN1_IN_GA(T134, T142)
IN1_IN_GA(T169, tree(T173, T171, T174)) → P66_IN_AGA(T173, T169, T174)
P66_IN_AGA(0, s(T179), T180) → IN1_IN_GA(s(T179), T180)
IN1_IN_GA(s(T270), tree(0, T262, T271)) → IN1_IN_GA(s(T270), T271)
IN1_IN_GA(s(T283), tree(s(T284), T262, T285)) → P73_IN_AGA(T284, T283, T285)
P73_IN_AGA(T193, T192, T197) → U12_AGA(T193, T192, T197, less56_in_ag(T193, T192))
U12_AGA(T193, T192, T197, less56_out_ag(T193, T192)) → IN1_IN_GA(s(T192), T197)
P66_IN_AGA(s(T193), s(T192), T194) → P73_IN_AGA(T193, T192, T194)

The TRS R consists of the following rules:

less43_in_ga(0, s(T110)) → less43_out_ga(0, s(T110))
less43_in_ga(s(T115), s(T117)) → U4_ga(T115, T117, less43_in_ga(T115, T117))
less56_in_ag(0, s(T149)) → less56_out_ag(0, s(T149))
less56_in_ag(s(T156), s(T155)) → U5_ag(T156, T155, less56_in_ag(T156, T155))
U4_ga(T115, T117, less43_out_ga(T115, T117)) → less43_out_ga(s(T115), s(T117))
U5_ag(T156, T155, less56_out_ag(T156, T155)) → less56_out_ag(s(T156), s(T155))

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
less43_in_ga(x1, x2)  =  less43_in_ga(x1)
less43_out_ga(x1, x2)  =  less43_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
less56_in_ag(x1, x2)  =  less56_in_ag(x2)
less56_out_ag(x1, x2)  =  less56_out_ag(x1)
U5_ag(x1, x2, x3)  =  U5_ag(x3)
IN1_IN_GA(x1, x2)  =  IN1_IN_GA(x1)
P41_IN_GAA(x1, x2, x3)  =  P41_IN_GAA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x4)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x5)
P66_IN_AGA(x1, x2, x3)  =  P66_IN_AGA(x2)
P73_IN_AGA(x1, x2, x3)  =  P73_IN_AGA(x2)
U12_AGA(x1, x2, x3, x4)  =  U12_AGA(x2, x4)

We have to consider all (P,R,Pi)-chains

(99) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(100) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P41_IN_GAA(T97) → U7_GAA(T97, less43_in_ga(T97))
U7_GAA(T97, less43_out_ga) → IN1_IN_GA(s(T97))
IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134))
U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(101) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P41_IN_GAA(T97) → U7_GAA(T97, less43_in_ga(T97)) at position [1] we obtained the following new rules [LPAR04]:

P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))

(102) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga) → IN1_IN_GA(s(T97))
IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134))
U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(103) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule IN1_IN_GA(T134) → U17_GA(T134, less56_in_ag(T134)) at position [1] we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))

(104) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga) → IN1_IN_GA(s(T97))
U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192))
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(105) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P73_IN_AGA(T192) → U12_AGA(T192, less56_in_ag(T192)) at position [1] we obtained the following new rules [LPAR04]:

P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))

(106) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U7_GAA(T97, less43_out_ga) → IN1_IN_GA(s(T97))
U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(107) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U7_GAA(T97, less43_out_ga) → IN1_IN_GA(s(T97)) we obtained the following new rules [LPAR04]:

U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))

(108) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(109) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U17_GA(T134, less56_out_ag(T138)) → IN1_IN_GA(T134) we obtained the following new rules [LPAR04]:

U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))

(110) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
IN1_IN_GA(T169) → P66_IN_AGA(T169)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(111) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule IN1_IN_GA(T169) → P66_IN_AGA(T169) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))

(112) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(113) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U12_AGA(T192, less56_out_ag(T193)) → IN1_IN_GA(s(T192)) we obtained the following new rules [LPAR04]:

U12_AGA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(s(z0)))

(114) Obligation:

Q DP problem:
The TRS P consists of the following rules:

IN1_IN_GA(s(T97)) → P41_IN_GAA(T97)
P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(s(z0)))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(115) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule IN1_IN_GA(s(T97)) → P41_IN_GAA(T97) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))

(116) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
IN1_IN_GA(s(T283)) → P73_IN_AGA(T283)
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(117) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule IN1_IN_GA(s(T283)) → P73_IN_AGA(T283) we obtained the following new rules [LPAR04]:

IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))

(118) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
P66_IN_AGA(s(T192)) → P73_IN_AGA(T192)
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))
IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(119) ForwardInstantiation (EQUIVALENT transformation)

By forward instantiating [JAR06] the rule P66_IN_AGA(s(T192)) → P73_IN_AGA(T192) we obtained the following new rules [LPAR04]:

P66_IN_AGA(s(s(y_0))) → P73_IN_AGA(s(y_0))

(120) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P66_IN_AGA(s(T179)) → IN1_IN_GA(s(T179))
IN1_IN_GA(s(T270)) → IN1_IN_GA(s(T270))
P41_IN_GAA(0) → U7_GAA(0, less43_out_ga)
P41_IN_GAA(s(x0)) → U7_GAA(s(x0), U4_ga(less43_in_ga(x0)))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), less56_out_ag(0))
IN1_IN_GA(s(x0)) → U17_GA(s(x0), U5_ag(less56_in_ag(x0)))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), less56_out_ag(0))
P73_IN_AGA(s(x0)) → U12_AGA(s(x0), U5_ag(less56_in_ag(x0)))
U7_GAA(0, less43_out_ga) → IN1_IN_GA(s(0))
U7_GAA(s(z0), less43_out_ga) → IN1_IN_GA(s(s(z0)))
U17_GA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(z0))
U17_GA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(z0))
IN1_IN_GA(s(z0)) → P66_IN_AGA(s(z0))
IN1_IN_GA(s(0)) → P66_IN_AGA(s(0))
IN1_IN_GA(s(s(z0))) → P66_IN_AGA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(0)) → IN1_IN_GA(s(s(z0)))
U12_AGA(s(z0), less56_out_ag(x1)) → IN1_IN_GA(s(s(z0)))
IN1_IN_GA(s(0)) → P41_IN_GAA(0)
IN1_IN_GA(s(s(y_0))) → P41_IN_GAA(s(y_0))
IN1_IN_GA(s(s(y_0))) → P73_IN_AGA(s(y_0))
P66_IN_AGA(s(s(y_0))) → P73_IN_AGA(s(y_0))

The TRS R consists of the following rules:

less43_in_ga(0) → less43_out_ga
less43_in_ga(s(T115)) → U4_ga(less43_in_ga(T115))
less56_in_ag(s(T149)) → less56_out_ag(0)
less56_in_ag(s(T155)) → U5_ag(less56_in_ag(T155))
U4_ga(less43_out_ga) → less43_out_ga
U5_ag(less56_out_ag(T156)) → less56_out_ag(s(T156))

The set Q consists of the following terms:

less43_in_ga(x0)
less56_in_ag(x0)
U4_ga(x0)
U5_ag(x0)

We have to consider all (P,Q,R)-chains.

(121) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = IN1_IN_GA(s(T270)) evaluates to t =IN1_IN_GA(s(T270))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from IN1_IN_GA(s(T270)) to IN1_IN_GA(s(T270)).



(122) NO