(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

a__fib(N) → a__sel(mark(N), a__fib1(s(0), s(0)))
a__fib1(X, Y) → cons(mark(X), fib1(Y, add(X, Y)))
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(a__add(mark(X), mark(Y)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(fib(X)) → a__fib(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(fib1(X1, X2)) → a__fib1(mark(X1), mark(X2))
mark(add(X1, X2)) → a__add(mark(X1), mark(X2))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__fib(X) → fib(X)
a__sel(X1, X2) → sel(X1, X2)
a__fib1(X1, X2) → fib1(X1, X2)
a__add(X1, X2) → add(X1, X2)

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

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

A__FIB(N) → A__SEL(mark(N), a__fib1(s(0), s(0)))
A__FIB(N) → MARK(N)
A__FIB(N) → A__FIB1(s(0), s(0))
A__FIB1(X, Y) → MARK(X)
A__ADD(0, X) → MARK(X)
A__ADD(s(X), Y) → A__ADD(mark(X), mark(Y))
A__ADD(s(X), Y) → MARK(X)
A__ADD(s(X), Y) → MARK(Y)
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(fib(X)) → A__FIB(mark(X))
MARK(fib(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
MARK(fib1(X1, X2)) → A__FIB1(mark(X1), mark(X2))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(fib1(X1, X2)) → MARK(X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), mark(X2))
MARK(add(X1, X2)) → MARK(X1)
MARK(add(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)

The TRS R consists of the following rules:

a__fib(N) → a__sel(mark(N), a__fib1(s(0), s(0)))
a__fib1(X, Y) → cons(mark(X), fib1(Y, add(X, Y)))
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(a__add(mark(X), mark(Y)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(fib(X)) → a__fib(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(fib1(X1, X2)) → a__fib1(mark(X1), mark(X2))
mark(add(X1, X2)) → a__add(mark(X1), mark(X2))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__fib(X) → fib(X)
a__sel(X1, X2) → sel(X1, X2)
a__fib1(X1, X2) → fib1(X1, X2)
a__add(X1, X2) → add(X1, X2)

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