Step | Hyp | Ref
| Expression |
1 | | eqidd 2611 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))) |
2 | | simprr 792 |
. . . . 5
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ 𝑛 = (𝑁 + 1))) → 𝑛 = (𝑁 + 1)) |
3 | | dmeq 5246 |
. . . . . . . . . . 11
⊢ (𝑟 = 𝑅 → dom 𝑟 = dom 𝑅) |
4 | | rneq 5272 |
. . . . . . . . . . 11
⊢ (𝑟 = 𝑅 → ran 𝑟 = ran 𝑅) |
5 | 3, 4 | uneq12d 3730 |
. . . . . . . . . 10
⊢ (𝑟 = 𝑅 → (dom 𝑟 ∪ ran 𝑟) = (dom 𝑅 ∪ ran 𝑅)) |
6 | 5 | reseq2d 5317 |
. . . . . . . . 9
⊢ (𝑟 = 𝑅 → ( I ↾ (dom 𝑟 ∪ ran 𝑟)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))) |
7 | | eqidd 2611 |
. . . . . . . . . . 11
⊢ (𝑟 = 𝑅 → 1 = 1) |
8 | | coeq2 5202 |
. . . . . . . . . . . 12
⊢ (𝑟 = 𝑅 → (𝑥 ∘ 𝑟) = (𝑥 ∘ 𝑅)) |
9 | 8 | mpt2eq3dv 6619 |
. . . . . . . . . . 11
⊢ (𝑟 = 𝑅 → (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)) = (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))) |
10 | | id 22 |
. . . . . . . . . . . 12
⊢ (𝑟 = 𝑅 → 𝑟 = 𝑅) |
11 | 10 | mpteq2dv 4673 |
. . . . . . . . . . 11
⊢ (𝑟 = 𝑅 → (𝑧 ∈ V ↦ 𝑟) = (𝑧 ∈ V ↦ 𝑅)) |
12 | 7, 9, 11 | seqeq123d 12672 |
. . . . . . . . . 10
⊢ (𝑟 = 𝑅 → seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟)) = seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))) |
13 | 12 | fveq1d 6105 |
. . . . . . . . 9
⊢ (𝑟 = 𝑅 → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1)) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))) |
14 | 6, 13 | ifeq12d 4056 |
. . . . . . . 8
⊢ (𝑟 = 𝑅 → if((𝑁 + 1) = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1))) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)))) |
15 | 14 | ad2antrl 760 |
. . . . . . 7
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ (𝑁 + 1) = (𝑁 + 1))) → if((𝑁 + 1) = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1))) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)))) |
16 | 15 | a1i 11 |
. . . . . 6
⊢ (𝑛 = (𝑁 + 1) → (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ (𝑁 + 1) = (𝑁 + 1))) → if((𝑁 + 1) = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1))) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))))) |
17 | | eqeq1 2614 |
. . . . . . . 8
⊢ (𝑛 = (𝑁 + 1) → (𝑛 = (𝑁 + 1) ↔ (𝑁 + 1) = (𝑁 + 1))) |
18 | 17 | anbi2d 736 |
. . . . . . 7
⊢ (𝑛 = (𝑁 + 1) → ((𝑟 = 𝑅 ∧ 𝑛 = (𝑁 + 1)) ↔ (𝑟 = 𝑅 ∧ (𝑁 + 1) = (𝑁 + 1)))) |
19 | 18 | anbi2d 736 |
. . . . . 6
⊢ (𝑛 = (𝑁 + 1) → (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ 𝑛 = (𝑁 + 1))) ↔ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ (𝑁 + 1) = (𝑁 + 1))))) |
20 | | eqeq1 2614 |
. . . . . . . 8
⊢ (𝑛 = (𝑁 + 1) → (𝑛 = 0 ↔ (𝑁 + 1) = 0)) |
21 | | fveq2 6103 |
. . . . . . . 8
⊢ (𝑛 = (𝑁 + 1) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1))) |
22 | 20, 21 | ifbieq2d 4061 |
. . . . . . 7
⊢ (𝑛 = (𝑁 + 1) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1)))) |
23 | 22 | eqeq1d 2612 |
. . . . . 6
⊢ (𝑛 = (𝑁 + 1) → (if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))) ↔ if((𝑁 + 1) = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘(𝑁 + 1))) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))))) |
24 | 16, 19, 23 | 3imtr4d 282 |
. . . . 5
⊢ (𝑛 = (𝑁 + 1) → (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ 𝑛 = (𝑁 + 1))) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))))) |
25 | 2, 24 | mpcom 37 |
. . . 4
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ 𝑛 = (𝑁 + 1))) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)))) |
26 | | elex 3185 |
. . . . 5
⊢ (𝑅 ∈ 𝑉 → 𝑅 ∈ V) |
27 | 26 | adantr 480 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑅 ∈ V) |
28 | | simpr 476 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ ℕ) |
29 | 28 | peano2nnd 10914 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑁 + 1) ∈ ℕ) |
30 | 29 | nnnn0d 11228 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑁 + 1) ∈
ℕ0) |
31 | | dmexg 6989 |
. . . . . . . 8
⊢ (𝑅 ∈ 𝑉 → dom 𝑅 ∈ V) |
32 | | rnexg 6990 |
. . . . . . . 8
⊢ (𝑅 ∈ 𝑉 → ran 𝑅 ∈ V) |
33 | | unexg 6857 |
. . . . . . . 8
⊢ ((dom
𝑅 ∈ V ∧ ran 𝑅 ∈ V) → (dom 𝑅 ∪ ran 𝑅) ∈ V) |
34 | 31, 32, 33 | syl2anc 691 |
. . . . . . 7
⊢ (𝑅 ∈ 𝑉 → (dom 𝑅 ∪ ran 𝑅) ∈ V) |
35 | | resiexg 6994 |
. . . . . . 7
⊢ ((dom
𝑅 ∪ ran 𝑅) ∈ V → ( I ↾
(dom 𝑅 ∪ ran 𝑅)) ∈ V) |
36 | 34, 35 | syl 17 |
. . . . . 6
⊢ (𝑅 ∈ 𝑉 → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ∈ V) |
37 | 36 | adantr 480 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ( I ↾ (dom
𝑅 ∪ ran 𝑅)) ∈ V) |
38 | | fvex 6113 |
. . . . . 6
⊢
(seq1((𝑥 ∈ V,
𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)) ∈ V |
39 | 38 | a1i 11 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)) ∈ V) |
40 | 37, 39 | ifcld 4081 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → if((𝑁 + 1) = 0, ( I ↾ (dom
𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))) ∈ V) |
41 | 1, 25, 27, 30, 40 | ovmpt2d 6686 |
. . 3
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1)) = if((𝑁 + 1) = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)))) |
42 | | nnne0 10930 |
. . . . . 6
⊢ ((𝑁 + 1) ∈ ℕ →
(𝑁 + 1) ≠
0) |
43 | 42 | neneqd 2787 |
. . . . 5
⊢ ((𝑁 + 1) ∈ ℕ →
¬ (𝑁 + 1) =
0) |
44 | 29, 43 | syl 17 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ¬ (𝑁 + 1) = 0) |
45 | 44 | iffalsed 4047 |
. . 3
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → if((𝑁 + 1) = 0, ( I ↾ (dom
𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1))) |
46 | | elnnuz 11600 |
. . . . . . 7
⊢ (𝑁 ∈ ℕ ↔ 𝑁 ∈
(ℤ≥‘1)) |
47 | 46 | biimpi 205 |
. . . . . 6
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
(ℤ≥‘1)) |
48 | 47 | adantl 481 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
(ℤ≥‘1)) |
49 | | seqp1 12678 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘1) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))((𝑧 ∈ V ↦ 𝑅)‘(𝑁 + 1)))) |
50 | 48, 49 | syl 17 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))((𝑧 ∈ V ↦ 𝑅)‘(𝑁 + 1)))) |
51 | | ovex 6577 |
. . . . . 6
⊢ (𝑁 + 1) ∈ V |
52 | | simpl 472 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑅 ∈ 𝑉) |
53 | | eqidd 2611 |
. . . . . . 7
⊢ (𝑧 = (𝑁 + 1) → 𝑅 = 𝑅) |
54 | | eqid 2610 |
. . . . . . 7
⊢ (𝑧 ∈ V ↦ 𝑅) = (𝑧 ∈ V ↦ 𝑅) |
55 | 53, 54 | fvmptg 6189 |
. . . . . 6
⊢ (((𝑁 + 1) ∈ V ∧ 𝑅 ∈ 𝑉) → ((𝑧 ∈ V ↦ 𝑅)‘(𝑁 + 1)) = 𝑅) |
56 | 51, 52, 55 | sylancr 694 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((𝑧 ∈ V ↦ 𝑅)‘(𝑁 + 1)) = 𝑅) |
57 | 56 | oveq2d 6565 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))((𝑧 ∈ V ↦ 𝑅)‘(𝑁 + 1))) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))𝑅)) |
58 | | nfcv 2751 |
. . . . . . 7
⊢
Ⅎ𝑎(𝑥 ∘ 𝑅) |
59 | | nfcv 2751 |
. . . . . . 7
⊢
Ⅎ𝑏(𝑥 ∘ 𝑅) |
60 | | nfcv 2751 |
. . . . . . 7
⊢
Ⅎ𝑥(𝑎 ∘ 𝑅) |
61 | | nfcv 2751 |
. . . . . . 7
⊢
Ⅎ𝑦(𝑎 ∘ 𝑅) |
62 | | simpl 472 |
. . . . . . . 8
⊢ ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → 𝑥 = 𝑎) |
63 | 62 | coeq1d 5205 |
. . . . . . 7
⊢ ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → (𝑥 ∘ 𝑅) = (𝑎 ∘ 𝑅)) |
64 | 58, 59, 60, 61, 63 | cbvmpt2 6632 |
. . . . . 6
⊢ (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)) = (𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅)) |
65 | | oveq 6555 |
. . . . . 6
⊢ ((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)) = (𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅)) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))𝑅) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅))𝑅)) |
66 | 64, 65 | mp1i 13 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))𝑅) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅))𝑅)) |
67 | | eqidd 2611 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅)) = (𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅))) |
68 | | simprl 790 |
. . . . . . 7
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑎 = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∧ 𝑏 = 𝑅)) → 𝑎 = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)) |
69 | 68 | coeq1d 5205 |
. . . . . 6
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑎 = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∧ 𝑏 = 𝑅)) → (𝑎 ∘ 𝑅) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∘ 𝑅)) |
70 | | fvex 6113 |
. . . . . . 7
⊢
(seq1((𝑥 ∈ V,
𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∈ V |
71 | 70 | a1i 11 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∈ V) |
72 | | coexg 7010 |
. . . . . . 7
⊢
(((seq1((𝑥 ∈ V,
𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∈ V ∧ 𝑅 ∈ 𝑉) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∘ 𝑅) ∈ V) |
73 | 70, 52, 72 | sylancr 694 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∘ 𝑅) ∈ V) |
74 | 67, 69, 71, 27, 73 | ovmpt2d 6686 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑎 ∈ V, 𝑏 ∈ V ↦ (𝑎 ∘ 𝑅))𝑅) = ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∘ 𝑅)) |
75 | | simpr 476 |
. . . . . . . . . . 11
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → 𝑛 = 𝑁) |
76 | 75 | eqeq1d 2612 |
. . . . . . . . . 10
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → (𝑛 = 0 ↔ 𝑁 = 0)) |
77 | 6 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → ( I ↾ (dom 𝑟 ∪ ran 𝑟)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))) |
78 | 12 | adantr 480 |
. . . . . . . . . . 11
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟)) = seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))) |
79 | 78, 75 | fveq12d 6109 |
. . . . . . . . . 10
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)) |
80 | 76, 77, 79 | ifbieq12d 4063 |
. . . . . . . . 9
⊢ ((𝑟 = 𝑅 ∧ 𝑛 = 𝑁) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if(𝑁 = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁))) |
81 | 80 | adantl 481 |
. . . . . . . 8
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) ∧ (𝑟 = 𝑅 ∧ 𝑛 = 𝑁)) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = if(𝑁 = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁))) |
82 | 28 | nnnn0d 11228 |
. . . . . . . 8
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℕ0) |
83 | 37, 71 | ifcld 4081 |
. . . . . . . 8
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → if(𝑁 = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)) ∈ V) |
84 | 1, 81, 27, 82, 83 | ovmpt2d 6686 |
. . . . . . 7
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) = if(𝑁 = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁))) |
85 | | nnne0 10930 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ → 𝑁 ≠ 0) |
86 | 85 | adantl 481 |
. . . . . . . . 9
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → 𝑁 ≠ 0) |
87 | 86 | neneqd 2787 |
. . . . . . . 8
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ¬ 𝑁 = 0) |
88 | 87 | iffalsed 4047 |
. . . . . . 7
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → if(𝑁 = 0, ( I ↾ (dom 𝑅 ∪ ran 𝑅)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)) |
89 | 84, 88 | eqtr2d 2645 |
. . . . . 6
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) = (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁)) |
90 | 89 | coeq1d 5205 |
. . . . 5
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁) ∘ 𝑅) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)) |
91 | 66, 74, 90 | 3eqtrd 2648 |
. . . 4
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘𝑁)(𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅))𝑅) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)) |
92 | 50, 57, 91 | 3eqtrd 2648 |
. . 3
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑅)), (𝑧 ∈ V ↦ 𝑅))‘(𝑁 + 1)) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)) |
93 | 41, 45, 92 | 3eqtrd 2648 |
. 2
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1)) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)) |
94 | | df-relexp 13609 |
. . 3
⊢
↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) |
95 | | oveq 6555 |
. . . . 5
⊢
(↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) → (𝑅↑𝑟(𝑁 + 1)) = (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1))) |
96 | | oveq 6555 |
. . . . . 6
⊢
(↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) → (𝑅↑𝑟𝑁) = (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁)) |
97 | 96 | coeq1d 5205 |
. . . . 5
⊢
(↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) → ((𝑅↑𝑟𝑁) ∘ 𝑅) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)) |
98 | 95, 97 | eqeq12d 2625 |
. . . 4
⊢
(↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) → ((𝑅↑𝑟(𝑁 + 1)) = ((𝑅↑𝑟𝑁) ∘ 𝑅) ↔ (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1)) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅))) |
99 | 98 | imbi2d 329 |
. . 3
⊢
(↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) → (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅↑𝑟(𝑁 + 1)) = ((𝑅↑𝑟𝑁) ∘ 𝑅)) ↔ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1)) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅)))) |
100 | 94, 99 | ax-mp 5 |
. 2
⊢ (((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅↑𝑟(𝑁 + 1)) = ((𝑅↑𝑟𝑁) ∘ 𝑅)) ↔ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))(𝑁 + 1)) = ((𝑅(𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))𝑁) ∘ 𝑅))) |
101 | 93, 100 | mpbir 220 |
1
⊢ ((𝑅 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑅↑𝑟(𝑁 + 1)) = ((𝑅↑𝑟𝑁) ∘ 𝑅)) |