| Metamath Proof Explorer |
< Previous
Next >
Related theorems Unicode version |
| Description: Define a general-purpose
operation that builds an recursive sequence
(i.e. a function on the natural numbers
The first operand is the operation that is applied to the previous value
and the value of the input sequence (second operand). For example, for
the operation
Internally, we define a recursive function whose values are ordered
pairs starting at
This definition has its roots in a series of theorems starting at
om2uz0 6295, originally proved by Raph Levien for use
with df-exp 6569 and
later generalized for arbitrary recursive sequences. The related
definitions df-seq0 6534 and df-seqz 6533 build recursive sequences on |
| Ref | Expression |
|---|---|
| df-seq1 |
|
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cseq1 6307 |
. 2
| |
| 2 | vh |
. . . . 5
| |
| 3 | 2 | cv 955 |
. . . 4
|
| 4 | vx |
. . . . . . . 8
| |
| 5 | 4 | cv 955 |
. . . . . . 7
|
| 6 | cn 5296 |
. . . . . . 7
| |
| 7 | 5, 6 | wcel 958 |
. . . . . 6
|
| 8 | vy |
. . . . . . . 8
| |
| 9 | 8 | cv 955 |
. . . . . . 7
|
| 10 | vw |
. . . . . . . . . . . . . 14
| |
| 11 | 10 | cv 955 |
. . . . . . . . . . . . 13
|
| 12 | vz |
. . . . . . . . . . . . . . . . 17
| |
| 13 | 12 | cv 955 |
. . . . . . . . . . . . . . . 16
|
| 14 | c1st 4077 |
. . . . . . . . . . . . . . . 16
| |
| 15 | 13, 14 | cfv 3182 |
. . . . . . . . . . . . . . 15
|
| 16 | c1 5235 |
. . . . . . . . . . . . . . 15
| |
| 17 | caddc 5237 |
. . . . . . . . . . . . . . 15
| |
| 18 | 15, 16, 17 | co 3963 |
. . . . . . . . . . . . . 14
|
| 19 | c2nd 4078 |
. . . . . . . . . . . . . . . 16
| |
| 20 | 13, 19 | cfv 3182 |
. . . . . . . . . . . . . . 15
|
| 21 | vg |
. . . . . . . . . . . . . . . . 17
| |
| 22 | 21 | cv 955 |
. . . . . . . . . . . . . . . 16
|
| 23 | 18, 22 | cfv 3182 |
. . . . . . . . . . . . . . 15
|
| 24 | vf |
. . . . . . . . . . . . . . . 16
| |
| 25 | 24 | cv 955 |
. . . . . . . . . . . . . . 15
|
| 26 | 20, 23, 25 | co 3963 |
. . . . . . . . . . . . . 14
|
| 27 | 18, 26 | cop 2411 |
. . . . . . . . . . . . 13
|
| 28 | 11, 27 | wceq 956 |
. . . . . . . . . . . 12
|
| 29 | 28, 12, 10 | copab 2666 |
. . . . . . . . . . 11
|
| 30 | 16, 22 | cfv 3182 |
. . . . . . . . . . . 12
|
| 31 | 16, 30 | cop 2411 |
. . . . . . . . . . 11
|
| 32 | 29, 31 | crdg 3931 |
. . . . . . . . . 10
|
| 33 | 13, 16, 17 | co 3963 |
. . . . . . . . . . . . . . 15
|
| 34 | 11, 33 | wceq 956 |
. . . . . . . . . . . . . 14
|
| 35 | 34, 12, 10 | copab 2666 |
. . . . . . . . . . . . 13
|
| 36 | 35, 16 | crdg 3931 |
. . . . . . . . . . . 12
|
| 37 | com 3131 |
. . . . . . . . . . . 12
| |
| 38 | 36, 37 | cres 3172 |
. . . . . . . . . . 11
|
| 39 | 38 | ccnv 3169 |
. . . . . . . . . 10
|
| 40 | 32, 39 | ccom 3174 |
. . . . . . . . 9
|
| 41 | 5, 40 | cfv 3182 |
. . . . . . . 8
|
| 42 | 41, 19 | cfv 3182 |
. . . . . . 7
|
| 43 | 9, 42 | wceq 956 |
. . . . . 6
|
| 44 | 7, 43 | wa 223 |
. . . . 5
|
| 45 | 44, 4, 8 | copab 2666 |
. . . 4
|
| 46 | 3, 45 | wceq 956 |
. . 3
|
| 47 | 46, 24, 21, 2 | copab2 3964 |
. 2
|
| 48 | 1, 47 | wceq 956 |
1
|
| Colors of variables: wff set class |
| This definition is referenced by: seq1val 6312 |