Description: Value of the Fibonacci sequence at index 5. (Contributed by Thierry Arnoux, 25-Apr-2019)
Ref | Expression | ||
---|---|---|---|
Assertion | fib5 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 4p1e5 | |
|
2 | 1 | fveq2i | |
3 | 4nn | |
|
4 | fibp1 | |
|
5 | 3 4 | ax-mp | |
6 | 4cn | |
|
7 | ax-1cn | |
|
8 | 3cn | |
|
9 | 3p1e4 | |
|
10 | 8 7 9 | addcomli | |
11 | 6 7 8 10 | subaddrii | |
12 | 11 | fveq2i | |
13 | fib3 | |
|
14 | 12 13 | eqtri | |
15 | fib4 | |
|
16 | 14 15 | oveq12i | |
17 | 2cn | |
|
18 | 3p2e5 | |
|
19 | 8 17 18 | addcomli | |
20 | 5 16 19 | 3eqtri | |
21 | 2 20 | eqtr3i | |