(0) Obligation:

Clauses:

add(0, 0, 0).
add(s(X), Y, s(N)) :- add(X, Y, N).
add(X, s(Y), s(N)) :- add(X, Y, N).
fib(0, 0).
fib(s(0), s(0)).
fib(s(s(X)), N) :- ','(fib(s(X), N1), ','(fib(X, N2), add(N1, N2, N))).

Queries:

fib(g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

add33(0, 0).
add33(s(T27), s(T29)) :- add33(T27, T29).
add21(T20, s(T22)) :- add33(T20, T22).
add21(s(T34), s(T36)) :- add21(T34, T36).
fib48(0, s(0)).
fib48(s(T45), X97) :- p57(T45, X95, X96, X97).
p57(T45, X95, X96, X97) :- fib48(T45, X95).
p57(T45, T46, X96, X97) :- ','(fib48(T45, T46), fib61(T45, X96)).
p57(T45, T46, T47, X97) :- ','(fib48(T45, T46), ','(fib61(T45, T47), add62(T46, T47, X97))).
add62(0, 0, 0).
add62(s(T59), T60, s(X134)) :- add62(T59, T60, X134).
add62(T65, s(T66), s(X149)) :- add62(T65, T66, X149).
fib61(0, 0).
fib61(s(0), s(0)).
fib61(s(s(T50)), X112) :- p57(T50, X110, X111, X112).
add93(0, 0, 0).
add93(s(T82), T83, s(T85)) :- add93(T82, T83, T85).
add93(T92, s(T93), s(T95)) :- add93(T92, T93, T95).
fib20(0).
fib1(0, 0).
fib1(s(0), s(0)).
fib1(s(s(0)), T7) :- fib20(X10).
fib1(s(s(0)), T7) :- ','(fib20(T9), add21(T9, T7)).
fib1(s(s(s(T41))), T7) :- fib48(T41, X80).
fib1(s(s(s(T41))), T7) :- ','(fib48(T41, T42), fib61(T41, X81)).
fib1(s(s(s(T41))), T7) :- ','(fib48(T41, T42), ','(fib61(T41, T67), add62(T42, T67, X82))).
fib1(s(s(s(T41))), T7) :- ','(fib48(T41, T42), ','(fib61(T41, T67), ','(add62(T42, T67, T68), fib48(T41, X10)))).
fib1(s(s(s(T41))), T7) :- ','(fib48(T41, T42), ','(fib61(T41, T67), ','(add62(T42, T67, T68), ','(fib48(T41, T69), add93(T68, T69, T7))))).

Queries:

fib1(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:
fib1_in: (b,f)
add21_in: (b,f)
add33_in: (b,f)
fib48_in: (b,f)
p57_in: (b,f,f,f)
fib61_in: (b,f)
add62_in: (f,f,f)
add93_in: (b,f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)

(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:

FIB1_IN_GA(s(s(0)), T7) → U16_GA(T7, fib20_in_a(X10))
FIB1_IN_GA(s(s(0)), T7) → FIB20_IN_A(X10)
FIB1_IN_GA(s(s(0)), T7) → U17_GA(T7, fib20_in_a(T9))
U17_GA(T7, fib20_out_a(T9)) → U18_GA(T7, add21_in_ga(T9, T7))
U17_GA(T7, fib20_out_a(T9)) → ADD21_IN_GA(T9, T7)
ADD21_IN_GA(T20, s(T22)) → U2_GA(T20, T22, add33_in_ga(T20, T22))
ADD21_IN_GA(T20, s(T22)) → ADD33_IN_GA(T20, T22)
ADD33_IN_GA(s(T27), s(T29)) → U1_GA(T27, T29, add33_in_ga(T27, T29))
ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)
ADD21_IN_GA(s(T34), s(T36)) → U3_GA(T34, T36, add21_in_ga(T34, T36))
ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)
FIB1_IN_GA(s(s(s(T41))), T7) → U19_GA(T41, T7, fib48_in_ga(T41, X80))
FIB1_IN_GA(s(s(s(T41))), T7) → FIB48_IN_GA(T41, X80)
FIB48_IN_GA(s(T45), X97) → U4_GA(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → U5_GAAA(T45, X95, X96, X97, fib48_in_ga(T45, X95))
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_GAAA(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → U13_GA(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_GAAA(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_GAAA(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → ADD62_IN_AAA(T46, T47, X97)
ADD62_IN_AAA(s(T59), T60, s(X134)) → U11_AAA(T59, T60, X134, add62_in_aaa(T59, T60, X134))
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)
ADD62_IN_AAA(T65, s(T66), s(X149)) → U12_AAA(T65, T66, X149, add62_in_aaa(T65, T66, X149))
ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
FIB1_IN_GA(s(s(s(T41))), T7) → U20_GA(T41, T7, fib48_in_ga(T41, T42))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U21_GA(T41, T7, fib61_in_ga(T41, X81))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → FIB61_IN_GA(T41, X81)
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U22_GA(T41, T7, T42, fib61_in_ga(T41, T67))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_GA(T41, T7, add62_in_aaa(T42, T67, X82))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → ADD62_IN_AAA(T42, T67, X82)
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_GA(T41, T7, add62_in_aaa(T42, T67, T68))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_GA(T41, T7, fib48_in_ga(T41, X10))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → FIB48_IN_GA(T41, X10)
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_GA(T41, T7, T68, fib48_in_ga(T41, T69))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_GA(T41, T7, add93_in_gaa(T68, T69, T7))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → ADD93_IN_GAA(T68, T69, T7)
ADD93_IN_GAA(s(T82), T83, s(T85)) → U14_GAA(T82, T83, T85, add93_in_gaa(T82, T83, T85))
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)
ADD93_IN_GAA(T92, s(T93), s(T95)) → U15_GAA(T92, T93, T95, add93_in_gaa(T92, T93, T95))
ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
FIB1_IN_GA(x1, x2)  =  FIB1_IN_GA(x1)
U16_GA(x1, x2)  =  U16_GA(x2)
FIB20_IN_A(x1)  =  FIB20_IN_A
U17_GA(x1, x2)  =  U17_GA(x2)
U18_GA(x1, x2)  =  U18_GA(x2)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x1, x3)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x1, x3)
U3_GA(x1, x2, x3)  =  U3_GA(x1, x3)
U19_GA(x1, x2, x3)  =  U19_GA(x1, x3)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x1, x3)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U5_GAAA(x1, x2, x3, x4, x5)  =  U5_GAAA(x1, x5)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
U7_GAAA(x1, x2, x3, x4, x5)  =  U7_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U13_GA(x1, x2, x3)  =  U13_GA(x1, x3)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)
U9_GAAA(x1, x2, x3, x4, x5)  =  U9_GAAA(x1, x5)
U10_GAAA(x1, x2, x3, x4, x5)  =  U10_GAAA(x1, x5)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA
U11_AAA(x1, x2, x3, x4)  =  U11_AAA(x4)
U12_AAA(x1, x2, x3, x4)  =  U12_AAA(x4)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x4)
U23_GA(x1, x2, x3)  =  U23_GA(x1, x3)
U24_GA(x1, x2, x3)  =  U24_GA(x1, x3)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x1, x3, x4)
U27_GA(x1, x2, x3)  =  U27_GA(x1, x3)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x1, x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x1, x4)

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

(6) Obligation:

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

FIB1_IN_GA(s(s(0)), T7) → U16_GA(T7, fib20_in_a(X10))
FIB1_IN_GA(s(s(0)), T7) → FIB20_IN_A(X10)
FIB1_IN_GA(s(s(0)), T7) → U17_GA(T7, fib20_in_a(T9))
U17_GA(T7, fib20_out_a(T9)) → U18_GA(T7, add21_in_ga(T9, T7))
U17_GA(T7, fib20_out_a(T9)) → ADD21_IN_GA(T9, T7)
ADD21_IN_GA(T20, s(T22)) → U2_GA(T20, T22, add33_in_ga(T20, T22))
ADD21_IN_GA(T20, s(T22)) → ADD33_IN_GA(T20, T22)
ADD33_IN_GA(s(T27), s(T29)) → U1_GA(T27, T29, add33_in_ga(T27, T29))
ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)
ADD21_IN_GA(s(T34), s(T36)) → U3_GA(T34, T36, add21_in_ga(T34, T36))
ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)
FIB1_IN_GA(s(s(s(T41))), T7) → U19_GA(T41, T7, fib48_in_ga(T41, X80))
FIB1_IN_GA(s(s(s(T41))), T7) → FIB48_IN_GA(T41, X80)
FIB48_IN_GA(s(T45), X97) → U4_GA(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → U5_GAAA(T45, X95, X96, X97, fib48_in_ga(T45, X95))
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_GAAA(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → U13_GA(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_GAAA(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_GAAA(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → ADD62_IN_AAA(T46, T47, X97)
ADD62_IN_AAA(s(T59), T60, s(X134)) → U11_AAA(T59, T60, X134, add62_in_aaa(T59, T60, X134))
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)
ADD62_IN_AAA(T65, s(T66), s(X149)) → U12_AAA(T65, T66, X149, add62_in_aaa(T65, T66, X149))
ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
FIB1_IN_GA(s(s(s(T41))), T7) → U20_GA(T41, T7, fib48_in_ga(T41, T42))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U21_GA(T41, T7, fib61_in_ga(T41, X81))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → FIB61_IN_GA(T41, X81)
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U22_GA(T41, T7, T42, fib61_in_ga(T41, T67))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_GA(T41, T7, add62_in_aaa(T42, T67, X82))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → ADD62_IN_AAA(T42, T67, X82)
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_GA(T41, T7, add62_in_aaa(T42, T67, T68))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_GA(T41, T7, fib48_in_ga(T41, X10))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → FIB48_IN_GA(T41, X10)
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_GA(T41, T7, T68, fib48_in_ga(T41, T69))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_GA(T41, T7, add93_in_gaa(T68, T69, T7))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → ADD93_IN_GAA(T68, T69, T7)
ADD93_IN_GAA(s(T82), T83, s(T85)) → U14_GAA(T82, T83, T85, add93_in_gaa(T82, T83, T85))
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)
ADD93_IN_GAA(T92, s(T93), s(T95)) → U15_GAA(T92, T93, T95, add93_in_gaa(T92, T93, T95))
ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
FIB1_IN_GA(x1, x2)  =  FIB1_IN_GA(x1)
U16_GA(x1, x2)  =  U16_GA(x2)
FIB20_IN_A(x1)  =  FIB20_IN_A
U17_GA(x1, x2)  =  U17_GA(x2)
U18_GA(x1, x2)  =  U18_GA(x2)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x1, x3)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x1, x3)
U3_GA(x1, x2, x3)  =  U3_GA(x1, x3)
U19_GA(x1, x2, x3)  =  U19_GA(x1, x3)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x1, x3)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U5_GAAA(x1, x2, x3, x4, x5)  =  U5_GAAA(x1, x5)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
U7_GAAA(x1, x2, x3, x4, x5)  =  U7_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U13_GA(x1, x2, x3)  =  U13_GA(x1, x3)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)
U9_GAAA(x1, x2, x3, x4, x5)  =  U9_GAAA(x1, x5)
U10_GAAA(x1, x2, x3, x4, x5)  =  U10_GAAA(x1, x5)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA
U11_AAA(x1, x2, x3, x4)  =  U11_AAA(x4)
U12_AAA(x1, x2, x3, x4)  =  U12_AAA(x4)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x4)
U23_GA(x1, x2, x3)  =  U23_GA(x1, x3)
U24_GA(x1, x2, x3)  =  U24_GA(x1, x3)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x1, x3, x4)
U27_GA(x1, x2, x3)  =  U27_GA(x1, x3)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x1, x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x1, x4)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 5 SCCs with 34 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)

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:

ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)

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

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:

ADD93_IN_GAA(T92) → ADD93_IN_GAA(T92)
ADD93_IN_GAA(s(T82)) → ADD93_IN_GAA(T82)

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

(14) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

ADD93_IN_GAA(s(T82)) → ADD93_IN_GAA(T82)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(ADD93_IN_GAA(x1)) = 2·x1   
POL(s(x1)) = 2·x1   

(15) Obligation:

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

ADD93_IN_GAA(T92) → ADD93_IN_GAA(T92)

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

(16) 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 = ADD93_IN_GAA(T92) evaluates to t =ADD93_IN_GAA(T92)

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 ADD93_IN_GAA(T92) to ADD93_IN_GAA(T92).



(17) NO

(18) Obligation:

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

ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA

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

(19) UsableRulesProof (EQUIVALENT transformation)

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

(20) Obligation:

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

ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)

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

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

(21) PiDPToQDPProof (SOUND transformation)

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

(22) Obligation:

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

ADD62_IN_AAAADD62_IN_AAA

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

(23) 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 = ADD62_IN_AAA evaluates to t =ADD62_IN_AAA

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 ADD62_IN_AAA to ADD62_IN_AAA.



(24) NO

(25) Obligation:

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

FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)

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

(26) UsableRulesProof (EQUIVALENT transformation)

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

(27) Obligation:

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

FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)

The TRS R consists of the following rules:

fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)

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

(28) PiDPToQDPProof (SOUND transformation)

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

(29) Obligation:

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

FIB48_IN_GA(s(T45)) → P57_IN_GAAA(T45)
P57_IN_GAAA(T45) → FIB48_IN_GA(T45)
P57_IN_GAAA(T45) → U6_GAAA(T45, fib48_in_ga(T45))
U6_GAAA(T45, fib48_out_ga(T45)) → FIB61_IN_GA(T45)
FIB61_IN_GA(s(s(T50))) → P57_IN_GAAA(T50)
P57_IN_GAAA(T45) → U8_GAAA(T45, fib48_in_ga(T45))
U8_GAAA(T45, fib48_out_ga(T45)) → FIB61_IN_GA(T45)

The TRS R consists of the following rules:

fib48_in_ga(0) → fib48_out_ga(0)
fib48_in_ga(s(T45)) → U4_ga(T45, p57_in_gaaa(T45))
U4_ga(T45, p57_out_gaaa(T45)) → fib48_out_ga(s(T45))
p57_in_gaaa(T45) → U5_gaaa(T45, fib48_in_ga(T45))
p57_in_gaaa(T45) → U6_gaaa(T45, fib48_in_ga(T45))
p57_in_gaaa(T45) → U8_gaaa(T45, fib48_in_ga(T45))
U5_gaaa(T45, fib48_out_ga(T45)) → p57_out_gaaa(T45)
U6_gaaa(T45, fib48_out_ga(T45)) → U7_gaaa(T45, fib61_in_ga(T45))
U8_gaaa(T45, fib48_out_ga(T45)) → U9_gaaa(T45, fib61_in_ga(T45))
U7_gaaa(T45, fib61_out_ga(T45)) → p57_out_gaaa(T45)
U9_gaaa(T45, fib61_out_ga(T45)) → U10_gaaa(T45, add62_in_aaa)
fib61_in_ga(0) → fib61_out_ga(0)
fib61_in_ga(s(0)) → fib61_out_ga(s(0))
fib61_in_ga(s(s(T50))) → U13_ga(T50, p57_in_gaaa(T50))
U10_gaaa(T45, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45)
U13_ga(T50, p57_out_gaaa(T50)) → fib61_out_ga(s(s(T50)))
add62_in_aaaadd62_out_aaa(0, 0, 0)
add62_in_aaaU11_aaa(add62_in_aaa)
add62_in_aaaU12_aaa(add62_in_aaa)
U11_aaa(add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U12_aaa(add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))

The set Q consists of the following terms:

fib48_in_ga(x0)
U4_ga(x0, x1)
p57_in_gaaa(x0)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U8_gaaa(x0, x1)
U7_gaaa(x0, x1)
U9_gaaa(x0, x1)
fib61_in_ga(x0)
U10_gaaa(x0, x1)
U13_ga(x0, x1)
add62_in_aaa
U11_aaa(x0)
U12_aaa(x0)

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

(30) 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:

  • P57_IN_GAAA(T45) → FIB48_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • FIB48_IN_GA(s(T45)) → P57_IN_GAAA(T45)
    The graph contains the following edges 1 > 1

  • FIB61_IN_GA(s(s(T50))) → P57_IN_GAAA(T50)
    The graph contains the following edges 1 > 1

  • U6_GAAA(T45, fib48_out_ga(T45)) → FIB61_IN_GA(T45)
    The graph contains the following edges 1 >= 1, 2 > 1

  • U8_GAAA(T45, fib48_out_ga(T45)) → FIB61_IN_GA(T45)
    The graph contains the following edges 1 >= 1, 2 > 1

  • P57_IN_GAAA(T45) → U6_GAAA(T45, fib48_in_ga(T45))
    The graph contains the following edges 1 >= 1

  • P57_IN_GAAA(T45) → U8_GAAA(T45, fib48_in_ga(T45))
    The graph contains the following edges 1 >= 1

(31) YES

(32) Obligation:

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

ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)

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

(33) UsableRulesProof (EQUIVALENT transformation)

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

(34) Obligation:

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

ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)

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

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

(35) PiDPToQDPProof (SOUND transformation)

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

(36) Obligation:

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

ADD33_IN_GA(s(T27)) → ADD33_IN_GA(T27)

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

(37) 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:

  • ADD33_IN_GA(s(T27)) → ADD33_IN_GA(T27)
    The graph contains the following edges 1 > 1

(38) YES

(39) Obligation:

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

ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga(x1)
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x1, x2)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
U19_ga(x1, x2, x3)  =  U19_ga(x1, x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga(x1)
U4_ga(x1, x2, x3)  =  U4_ga(x1, x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x1, x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa(x1)
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x1, x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga(x1)
U13_ga(x1, x2, x3)  =  U13_ga(x1, x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x1, x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x1, x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x1, x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x1, x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x1, x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x4)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)

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

(40) UsableRulesProof (EQUIVALENT transformation)

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

(41) Obligation:

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

ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)

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

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

(42) PiDPToQDPProof (SOUND transformation)

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

(43) Obligation:

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

ADD21_IN_GA(s(T34)) → ADD21_IN_GA(T34)

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

(44) 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:

  • ADD21_IN_GA(s(T34)) → ADD21_IN_GA(T34)
    The graph contains the following edges 1 > 1

(45) YES

(46) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
fib1_in: (b,f)
add21_in: (b,f)
add33_in: (b,f)
fib48_in: (b,f)
p57_in: (b,f,f,f)
fib61_in: (b,f)
add62_in: (f,f,f)
add93_in: (b,f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(47) Obligation:

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

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)

(48) 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:

FIB1_IN_GA(s(s(0)), T7) → U16_GA(T7, fib20_in_a(X10))
FIB1_IN_GA(s(s(0)), T7) → FIB20_IN_A(X10)
FIB1_IN_GA(s(s(0)), T7) → U17_GA(T7, fib20_in_a(T9))
U17_GA(T7, fib20_out_a(T9)) → U18_GA(T7, add21_in_ga(T9, T7))
U17_GA(T7, fib20_out_a(T9)) → ADD21_IN_GA(T9, T7)
ADD21_IN_GA(T20, s(T22)) → U2_GA(T20, T22, add33_in_ga(T20, T22))
ADD21_IN_GA(T20, s(T22)) → ADD33_IN_GA(T20, T22)
ADD33_IN_GA(s(T27), s(T29)) → U1_GA(T27, T29, add33_in_ga(T27, T29))
ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)
ADD21_IN_GA(s(T34), s(T36)) → U3_GA(T34, T36, add21_in_ga(T34, T36))
ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)
FIB1_IN_GA(s(s(s(T41))), T7) → U19_GA(T41, T7, fib48_in_ga(T41, X80))
FIB1_IN_GA(s(s(s(T41))), T7) → FIB48_IN_GA(T41, X80)
FIB48_IN_GA(s(T45), X97) → U4_GA(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → U5_GAAA(T45, X95, X96, X97, fib48_in_ga(T45, X95))
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_GAAA(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → U13_GA(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_GAAA(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_GAAA(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → ADD62_IN_AAA(T46, T47, X97)
ADD62_IN_AAA(s(T59), T60, s(X134)) → U11_AAA(T59, T60, X134, add62_in_aaa(T59, T60, X134))
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)
ADD62_IN_AAA(T65, s(T66), s(X149)) → U12_AAA(T65, T66, X149, add62_in_aaa(T65, T66, X149))
ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
FIB1_IN_GA(s(s(s(T41))), T7) → U20_GA(T41, T7, fib48_in_ga(T41, T42))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U21_GA(T41, T7, fib61_in_ga(T41, X81))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → FIB61_IN_GA(T41, X81)
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U22_GA(T41, T7, T42, fib61_in_ga(T41, T67))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_GA(T41, T7, add62_in_aaa(T42, T67, X82))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → ADD62_IN_AAA(T42, T67, X82)
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_GA(T41, T7, add62_in_aaa(T42, T67, T68))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_GA(T41, T7, fib48_in_ga(T41, X10))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → FIB48_IN_GA(T41, X10)
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_GA(T41, T7, T68, fib48_in_ga(T41, T69))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_GA(T41, T7, add93_in_gaa(T68, T69, T7))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → ADD93_IN_GAA(T68, T69, T7)
ADD93_IN_GAA(s(T82), T83, s(T85)) → U14_GAA(T82, T83, T85, add93_in_gaa(T82, T83, T85))
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)
ADD93_IN_GAA(T92, s(T93), s(T95)) → U15_GAA(T92, T93, T95, add93_in_gaa(T92, T93, T95))
ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
FIB1_IN_GA(x1, x2)  =  FIB1_IN_GA(x1)
U16_GA(x1, x2)  =  U16_GA(x2)
FIB20_IN_A(x1)  =  FIB20_IN_A
U17_GA(x1, x2)  =  U17_GA(x2)
U18_GA(x1, x2)  =  U18_GA(x2)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U5_GAAA(x1, x2, x3, x4, x5)  =  U5_GAAA(x5)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
U7_GAAA(x1, x2, x3, x4, x5)  =  U7_GAAA(x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U13_GA(x1, x2, x3)  =  U13_GA(x3)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)
U9_GAAA(x1, x2, x3, x4, x5)  =  U9_GAAA(x5)
U10_GAAA(x1, x2, x3, x4, x5)  =  U10_GAAA(x5)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA
U11_AAA(x1, x2, x3, x4)  =  U11_AAA(x4)
U12_AAA(x1, x2, x3, x4)  =  U12_AAA(x4)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x4)
U23_GA(x1, x2, x3)  =  U23_GA(x3)
U24_GA(x1, x2, x3)  =  U24_GA(x1, x3)
U25_GA(x1, x2, x3)  =  U25_GA(x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x3, x4)
U27_GA(x1, x2, x3)  =  U27_GA(x3)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x4)

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

(49) Obligation:

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

FIB1_IN_GA(s(s(0)), T7) → U16_GA(T7, fib20_in_a(X10))
FIB1_IN_GA(s(s(0)), T7) → FIB20_IN_A(X10)
FIB1_IN_GA(s(s(0)), T7) → U17_GA(T7, fib20_in_a(T9))
U17_GA(T7, fib20_out_a(T9)) → U18_GA(T7, add21_in_ga(T9, T7))
U17_GA(T7, fib20_out_a(T9)) → ADD21_IN_GA(T9, T7)
ADD21_IN_GA(T20, s(T22)) → U2_GA(T20, T22, add33_in_ga(T20, T22))
ADD21_IN_GA(T20, s(T22)) → ADD33_IN_GA(T20, T22)
ADD33_IN_GA(s(T27), s(T29)) → U1_GA(T27, T29, add33_in_ga(T27, T29))
ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)
ADD21_IN_GA(s(T34), s(T36)) → U3_GA(T34, T36, add21_in_ga(T34, T36))
ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)
FIB1_IN_GA(s(s(s(T41))), T7) → U19_GA(T41, T7, fib48_in_ga(T41, X80))
FIB1_IN_GA(s(s(s(T41))), T7) → FIB48_IN_GA(T41, X80)
FIB48_IN_GA(s(T45), X97) → U4_GA(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → U5_GAAA(T45, X95, X96, X97, fib48_in_ga(T45, X95))
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_GAAA(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → U13_GA(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_GAAA(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_GAAA(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
U9_GAAA(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → ADD62_IN_AAA(T46, T47, X97)
ADD62_IN_AAA(s(T59), T60, s(X134)) → U11_AAA(T59, T60, X134, add62_in_aaa(T59, T60, X134))
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)
ADD62_IN_AAA(T65, s(T66), s(X149)) → U12_AAA(T65, T66, X149, add62_in_aaa(T65, T66, X149))
ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
FIB1_IN_GA(s(s(s(T41))), T7) → U20_GA(T41, T7, fib48_in_ga(T41, T42))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U21_GA(T41, T7, fib61_in_ga(T41, X81))
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → FIB61_IN_GA(T41, X81)
U20_GA(T41, T7, fib48_out_ga(T41, T42)) → U22_GA(T41, T7, T42, fib61_in_ga(T41, T67))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_GA(T41, T7, add62_in_aaa(T42, T67, X82))
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → ADD62_IN_AAA(T42, T67, X82)
U22_GA(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_GA(T41, T7, add62_in_aaa(T42, T67, T68))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_GA(T41, T7, fib48_in_ga(T41, X10))
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → FIB48_IN_GA(T41, X10)
U24_GA(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_GA(T41, T7, T68, fib48_in_ga(T41, T69))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_GA(T41, T7, add93_in_gaa(T68, T69, T7))
U26_GA(T41, T7, T68, fib48_out_ga(T41, T69)) → ADD93_IN_GAA(T68, T69, T7)
ADD93_IN_GAA(s(T82), T83, s(T85)) → U14_GAA(T82, T83, T85, add93_in_gaa(T82, T83, T85))
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)
ADD93_IN_GAA(T92, s(T93), s(T95)) → U15_GAA(T92, T93, T95, add93_in_gaa(T92, T93, T95))
ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
FIB1_IN_GA(x1, x2)  =  FIB1_IN_GA(x1)
U16_GA(x1, x2)  =  U16_GA(x2)
FIB20_IN_A(x1)  =  FIB20_IN_A
U17_GA(x1, x2)  =  U17_GA(x2)
U18_GA(x1, x2)  =  U18_GA(x2)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U5_GAAA(x1, x2, x3, x4, x5)  =  U5_GAAA(x5)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
U7_GAAA(x1, x2, x3, x4, x5)  =  U7_GAAA(x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U13_GA(x1, x2, x3)  =  U13_GA(x3)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)
U9_GAAA(x1, x2, x3, x4, x5)  =  U9_GAAA(x5)
U10_GAAA(x1, x2, x3, x4, x5)  =  U10_GAAA(x5)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA
U11_AAA(x1, x2, x3, x4)  =  U11_AAA(x4)
U12_AAA(x1, x2, x3, x4)  =  U12_AAA(x4)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x4)
U23_GA(x1, x2, x3)  =  U23_GA(x3)
U24_GA(x1, x2, x3)  =  U24_GA(x1, x3)
U25_GA(x1, x2, x3)  =  U25_GA(x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x3, x4)
U27_GA(x1, x2, x3)  =  U27_GA(x3)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x4)

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

(50) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 5 SCCs with 34 less nodes.

(51) Complex Obligation (AND)

(52) Obligation:

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

ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
ADD93_IN_GAA(x1, x2, x3)  =  ADD93_IN_GAA(x1)

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

(53) UsableRulesProof (EQUIVALENT transformation)

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

(54) Obligation:

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

ADD93_IN_GAA(T92, s(T93), s(T95)) → ADD93_IN_GAA(T92, T93, T95)
ADD93_IN_GAA(s(T82), T83, s(T85)) → ADD93_IN_GAA(T82, T83, T85)

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

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

(55) PiDPToQDPProof (SOUND transformation)

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

(56) Obligation:

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

ADD93_IN_GAA(T92) → ADD93_IN_GAA(T92)
ADD93_IN_GAA(s(T82)) → ADD93_IN_GAA(T82)

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

(57) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

ADD93_IN_GAA(s(T82)) → ADD93_IN_GAA(T82)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(ADD93_IN_GAA(x1)) = 2·x1   
POL(s(x1)) = 2·x1   

(58) Obligation:

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

ADD93_IN_GAA(T92) → ADD93_IN_GAA(T92)

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

(59) 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 = ADD93_IN_GAA(T92) evaluates to t =ADD93_IN_GAA(T92)

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 ADD93_IN_GAA(T92) to ADD93_IN_GAA(T92).



(60) NO

(61) Obligation:

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

ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
ADD62_IN_AAA(x1, x2, x3)  =  ADD62_IN_AAA

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

(62) UsableRulesProof (EQUIVALENT transformation)

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

(63) Obligation:

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

ADD62_IN_AAA(T65, s(T66), s(X149)) → ADD62_IN_AAA(T65, T66, X149)
ADD62_IN_AAA(s(T59), T60, s(X134)) → ADD62_IN_AAA(T59, T60, X134)

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

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

(64) PiDPToQDPProof (SOUND transformation)

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

(65) Obligation:

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

ADD62_IN_AAAADD62_IN_AAA

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

(66) 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 = ADD62_IN_AAA evaluates to t =ADD62_IN_AAA

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 ADD62_IN_AAA to ADD62_IN_AAA.



(67) NO

(68) Obligation:

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

FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)

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

(69) UsableRulesProof (EQUIVALENT transformation)

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

(70) Obligation:

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

FIB48_IN_GA(s(T45), X97) → P57_IN_GAAA(T45, X95, X96, X97)
P57_IN_GAAA(T45, X95, X96, X97) → FIB48_IN_GA(T45, X95)
P57_IN_GAAA(T45, T46, X96, X97) → U6_GAAA(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_GAAA(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, X96)
FIB61_IN_GA(s(s(T50)), X112) → P57_IN_GAAA(T50, X110, X111, X112)
P57_IN_GAAA(T45, T46, T47, X97) → U8_GAAA(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_GAAA(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → FIB61_IN_GA(T45, T47)

The TRS R consists of the following rules:

fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
FIB48_IN_GA(x1, x2)  =  FIB48_IN_GA(x1)
P57_IN_GAAA(x1, x2, x3, x4)  =  P57_IN_GAAA(x1)
U6_GAAA(x1, x2, x3, x4, x5)  =  U6_GAAA(x1, x5)
FIB61_IN_GA(x1, x2)  =  FIB61_IN_GA(x1)
U8_GAAA(x1, x2, x3, x4, x5)  =  U8_GAAA(x1, x5)

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

(71) PiDPToQDPProof (SOUND transformation)

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

(72) Obligation:

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

FIB48_IN_GA(s(T45)) → P57_IN_GAAA(T45)
P57_IN_GAAA(T45) → FIB48_IN_GA(T45)
P57_IN_GAAA(T45) → U6_GAAA(T45, fib48_in_ga(T45))
U6_GAAA(T45, fib48_out_ga) → FIB61_IN_GA(T45)
FIB61_IN_GA(s(s(T50))) → P57_IN_GAAA(T50)
P57_IN_GAAA(T45) → U8_GAAA(T45, fib48_in_ga(T45))
U8_GAAA(T45, fib48_out_ga) → FIB61_IN_GA(T45)

The TRS R consists of the following rules:

fib48_in_ga(0) → fib48_out_ga
fib48_in_ga(s(T45)) → U4_ga(p57_in_gaaa(T45))
U4_ga(p57_out_gaaa) → fib48_out_ga
p57_in_gaaa(T45) → U5_gaaa(fib48_in_ga(T45))
p57_in_gaaa(T45) → U6_gaaa(T45, fib48_in_ga(T45))
p57_in_gaaa(T45) → U8_gaaa(T45, fib48_in_ga(T45))
U5_gaaa(fib48_out_ga) → p57_out_gaaa
U6_gaaa(T45, fib48_out_ga) → U7_gaaa(fib61_in_ga(T45))
U8_gaaa(T45, fib48_out_ga) → U9_gaaa(fib61_in_ga(T45))
U7_gaaa(fib61_out_ga) → p57_out_gaaa
U9_gaaa(fib61_out_ga) → U10_gaaa(add62_in_aaa)
fib61_in_ga(0) → fib61_out_ga
fib61_in_ga(s(0)) → fib61_out_ga
fib61_in_ga(s(s(T50))) → U13_ga(p57_in_gaaa(T50))
U10_gaaa(add62_out_aaa(T46, T47, X97)) → p57_out_gaaa
U13_ga(p57_out_gaaa) → fib61_out_ga
add62_in_aaaadd62_out_aaa(0, 0, 0)
add62_in_aaaU11_aaa(add62_in_aaa)
add62_in_aaaU12_aaa(add62_in_aaa)
U11_aaa(add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U12_aaa(add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))

The set Q consists of the following terms:

fib48_in_ga(x0)
U4_ga(x0)
p57_in_gaaa(x0)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U8_gaaa(x0, x1)
U7_gaaa(x0)
U9_gaaa(x0)
fib61_in_ga(x0)
U10_gaaa(x0)
U13_ga(x0)
add62_in_aaa
U11_aaa(x0)
U12_aaa(x0)

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

(73) 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:

  • P57_IN_GAAA(T45) → FIB48_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • FIB48_IN_GA(s(T45)) → P57_IN_GAAA(T45)
    The graph contains the following edges 1 > 1

  • FIB61_IN_GA(s(s(T50))) → P57_IN_GAAA(T50)
    The graph contains the following edges 1 > 1

  • U6_GAAA(T45, fib48_out_ga) → FIB61_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • U8_GAAA(T45, fib48_out_ga) → FIB61_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • P57_IN_GAAA(T45) → U6_GAAA(T45, fib48_in_ga(T45))
    The graph contains the following edges 1 >= 1

  • P57_IN_GAAA(T45) → U8_GAAA(T45, fib48_in_ga(T45))
    The graph contains the following edges 1 >= 1

(74) YES

(75) Obligation:

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

ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
ADD33_IN_GA(x1, x2)  =  ADD33_IN_GA(x1)

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

(76) UsableRulesProof (EQUIVALENT transformation)

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

(77) Obligation:

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

ADD33_IN_GA(s(T27), s(T29)) → ADD33_IN_GA(T27, T29)

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

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

(78) PiDPToQDPProof (SOUND transformation)

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

(79) Obligation:

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

ADD33_IN_GA(s(T27)) → ADD33_IN_GA(T27)

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

(80) 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:

  • ADD33_IN_GA(s(T27)) → ADD33_IN_GA(T27)
    The graph contains the following edges 1 > 1

(81) YES

(82) Obligation:

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

ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)

The TRS R consists of the following rules:

fib1_in_ga(0, 0) → fib1_out_ga(0, 0)
fib1_in_ga(s(0), s(0)) → fib1_out_ga(s(0), s(0))
fib1_in_ga(s(s(0)), T7) → U16_ga(T7, fib20_in_a(X10))
fib20_in_a(0) → fib20_out_a(0)
U16_ga(T7, fib20_out_a(X10)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(0)), T7) → U17_ga(T7, fib20_in_a(T9))
U17_ga(T7, fib20_out_a(T9)) → U18_ga(T7, add21_in_ga(T9, T7))
add21_in_ga(T20, s(T22)) → U2_ga(T20, T22, add33_in_ga(T20, T22))
add33_in_ga(0, 0) → add33_out_ga(0, 0)
add33_in_ga(s(T27), s(T29)) → U1_ga(T27, T29, add33_in_ga(T27, T29))
U1_ga(T27, T29, add33_out_ga(T27, T29)) → add33_out_ga(s(T27), s(T29))
U2_ga(T20, T22, add33_out_ga(T20, T22)) → add21_out_ga(T20, s(T22))
add21_in_ga(s(T34), s(T36)) → U3_ga(T34, T36, add21_in_ga(T34, T36))
U3_ga(T34, T36, add21_out_ga(T34, T36)) → add21_out_ga(s(T34), s(T36))
U18_ga(T7, add21_out_ga(T9, T7)) → fib1_out_ga(s(s(0)), T7)
fib1_in_ga(s(s(s(T41))), T7) → U19_ga(T41, T7, fib48_in_ga(T41, X80))
fib48_in_ga(0, s(0)) → fib48_out_ga(0, s(0))
fib48_in_ga(s(T45), X97) → U4_ga(T45, X97, p57_in_gaaa(T45, X95, X96, X97))
p57_in_gaaa(T45, X95, X96, X97) → U5_gaaa(T45, X95, X96, X97, fib48_in_ga(T45, X95))
U5_gaaa(T45, X95, X96, X97, fib48_out_ga(T45, X95)) → p57_out_gaaa(T45, X95, X96, X97)
p57_in_gaaa(T45, T46, X96, X97) → U6_gaaa(T45, T46, X96, X97, fib48_in_ga(T45, T46))
U6_gaaa(T45, T46, X96, X97, fib48_out_ga(T45, T46)) → U7_gaaa(T45, T46, X96, X97, fib61_in_ga(T45, X96))
fib61_in_ga(0, 0) → fib61_out_ga(0, 0)
fib61_in_ga(s(0), s(0)) → fib61_out_ga(s(0), s(0))
fib61_in_ga(s(s(T50)), X112) → U13_ga(T50, X112, p57_in_gaaa(T50, X110, X111, X112))
p57_in_gaaa(T45, T46, T47, X97) → U8_gaaa(T45, T46, T47, X97, fib48_in_ga(T45, T46))
U8_gaaa(T45, T46, T47, X97, fib48_out_ga(T45, T46)) → U9_gaaa(T45, T46, T47, X97, fib61_in_ga(T45, T47))
U9_gaaa(T45, T46, T47, X97, fib61_out_ga(T45, T47)) → U10_gaaa(T45, T46, T47, X97, add62_in_aaa(T46, T47, X97))
add62_in_aaa(0, 0, 0) → add62_out_aaa(0, 0, 0)
add62_in_aaa(s(T59), T60, s(X134)) → U11_aaa(T59, T60, X134, add62_in_aaa(T59, T60, X134))
add62_in_aaa(T65, s(T66), s(X149)) → U12_aaa(T65, T66, X149, add62_in_aaa(T65, T66, X149))
U12_aaa(T65, T66, X149, add62_out_aaa(T65, T66, X149)) → add62_out_aaa(T65, s(T66), s(X149))
U11_aaa(T59, T60, X134, add62_out_aaa(T59, T60, X134)) → add62_out_aaa(s(T59), T60, s(X134))
U10_gaaa(T45, T46, T47, X97, add62_out_aaa(T46, T47, X97)) → p57_out_gaaa(T45, T46, T47, X97)
U13_ga(T50, X112, p57_out_gaaa(T50, X110, X111, X112)) → fib61_out_ga(s(s(T50)), X112)
U7_gaaa(T45, T46, X96, X97, fib61_out_ga(T45, X96)) → p57_out_gaaa(T45, T46, X96, X97)
U4_ga(T45, X97, p57_out_gaaa(T45, X95, X96, X97)) → fib48_out_ga(s(T45), X97)
U19_ga(T41, T7, fib48_out_ga(T41, X80)) → fib1_out_ga(s(s(s(T41))), T7)
fib1_in_ga(s(s(s(T41))), T7) → U20_ga(T41, T7, fib48_in_ga(T41, T42))
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U21_ga(T41, T7, fib61_in_ga(T41, X81))
U21_ga(T41, T7, fib61_out_ga(T41, X81)) → fib1_out_ga(s(s(s(T41))), T7)
U20_ga(T41, T7, fib48_out_ga(T41, T42)) → U22_ga(T41, T7, T42, fib61_in_ga(T41, T67))
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U23_ga(T41, T7, add62_in_aaa(T42, T67, X82))
U23_ga(T41, T7, add62_out_aaa(T42, T67, X82)) → fib1_out_ga(s(s(s(T41))), T7)
U22_ga(T41, T7, T42, fib61_out_ga(T41, T67)) → U24_ga(T41, T7, add62_in_aaa(T42, T67, T68))
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U25_ga(T41, T7, fib48_in_ga(T41, X10))
U25_ga(T41, T7, fib48_out_ga(T41, X10)) → fib1_out_ga(s(s(s(T41))), T7)
U24_ga(T41, T7, add62_out_aaa(T42, T67, T68)) → U26_ga(T41, T7, T68, fib48_in_ga(T41, T69))
U26_ga(T41, T7, T68, fib48_out_ga(T41, T69)) → U27_ga(T41, T7, add93_in_gaa(T68, T69, T7))
add93_in_gaa(0, 0, 0) → add93_out_gaa(0, 0, 0)
add93_in_gaa(s(T82), T83, s(T85)) → U14_gaa(T82, T83, T85, add93_in_gaa(T82, T83, T85))
add93_in_gaa(T92, s(T93), s(T95)) → U15_gaa(T92, T93, T95, add93_in_gaa(T92, T93, T95))
U15_gaa(T92, T93, T95, add93_out_gaa(T92, T93, T95)) → add93_out_gaa(T92, s(T93), s(T95))
U14_gaa(T82, T83, T85, add93_out_gaa(T82, T83, T85)) → add93_out_gaa(s(T82), T83, s(T85))
U27_ga(T41, T7, add93_out_gaa(T68, T69, T7)) → fib1_out_ga(s(s(s(T41))), T7)

The argument filtering Pi contains the following mapping:
fib1_in_ga(x1, x2)  =  fib1_in_ga(x1)
0  =  0
fib1_out_ga(x1, x2)  =  fib1_out_ga
s(x1)  =  s(x1)
U16_ga(x1, x2)  =  U16_ga(x2)
fib20_in_a(x1)  =  fib20_in_a
fib20_out_a(x1)  =  fib20_out_a(x1)
U17_ga(x1, x2)  =  U17_ga(x2)
U18_ga(x1, x2)  =  U18_ga(x2)
add21_in_ga(x1, x2)  =  add21_in_ga(x1)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
add33_in_ga(x1, x2)  =  add33_in_ga(x1)
add33_out_ga(x1, x2)  =  add33_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
add21_out_ga(x1, x2)  =  add21_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
fib48_in_ga(x1, x2)  =  fib48_in_ga(x1)
fib48_out_ga(x1, x2)  =  fib48_out_ga
U4_ga(x1, x2, x3)  =  U4_ga(x3)
p57_in_gaaa(x1, x2, x3, x4)  =  p57_in_gaaa(x1)
U5_gaaa(x1, x2, x3, x4, x5)  =  U5_gaaa(x5)
p57_out_gaaa(x1, x2, x3, x4)  =  p57_out_gaaa
U6_gaaa(x1, x2, x3, x4, x5)  =  U6_gaaa(x1, x5)
U7_gaaa(x1, x2, x3, x4, x5)  =  U7_gaaa(x5)
fib61_in_ga(x1, x2)  =  fib61_in_ga(x1)
fib61_out_ga(x1, x2)  =  fib61_out_ga
U13_ga(x1, x2, x3)  =  U13_ga(x3)
U8_gaaa(x1, x2, x3, x4, x5)  =  U8_gaaa(x1, x5)
U9_gaaa(x1, x2, x3, x4, x5)  =  U9_gaaa(x5)
U10_gaaa(x1, x2, x3, x4, x5)  =  U10_gaaa(x5)
add62_in_aaa(x1, x2, x3)  =  add62_in_aaa
add62_out_aaa(x1, x2, x3)  =  add62_out_aaa(x1, x2, x3)
U11_aaa(x1, x2, x3, x4)  =  U11_aaa(x4)
U12_aaa(x1, x2, x3, x4)  =  U12_aaa(x4)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3, x4)  =  U22_ga(x1, x4)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
U24_ga(x1, x2, x3)  =  U24_ga(x1, x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3, x4)  =  U26_ga(x3, x4)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
add93_in_gaa(x1, x2, x3)  =  add93_in_gaa(x1)
add93_out_gaa(x1, x2, x3)  =  add93_out_gaa(x2, x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x4)
ADD21_IN_GA(x1, x2)  =  ADD21_IN_GA(x1)

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

(83) UsableRulesProof (EQUIVALENT transformation)

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

(84) Obligation:

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

ADD21_IN_GA(s(T34), s(T36)) → ADD21_IN_GA(T34, T36)

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

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

(85) PiDPToQDPProof (SOUND transformation)

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

(86) Obligation:

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

ADD21_IN_GA(s(T34)) → ADD21_IN_GA(T34)

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

(87) 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:

  • ADD21_IN_GA(s(T34)) → ADD21_IN_GA(T34)
    The graph contains the following edges 1 > 1

(88) YES