Proof of Theorem curry2
Step | Hyp | Ref
| Expression |
1 | | fnfun 6517 |
. . . . 5
⊢ (𝐹 Fn (𝐴 × 𝐵) → Fun 𝐹) |
2 | | 1stconst 7911 |
. . . . . 6
⊢ (𝐶 ∈ 𝐵 → (1st ↾ (V ×
{𝐶})):(V × {𝐶})–1-1-onto→V) |
3 | | dff1o3 6706 |
. . . . . . 7
⊢
((1st ↾ (V × {𝐶})):(V × {𝐶})–1-1-onto→V
↔ ((1st ↾ (V × {𝐶})):(V × {𝐶})–onto→V ∧ Fun ◡(1st ↾ (V × {𝐶})))) |
4 | 3 | simprbi 496 |
. . . . . 6
⊢
((1st ↾ (V × {𝐶})):(V × {𝐶})–1-1-onto→V
→ Fun ◡(1st ↾ (V
× {𝐶}))) |
5 | 2, 4 | syl 17 |
. . . . 5
⊢ (𝐶 ∈ 𝐵 → Fun ◡(1st ↾ (V × {𝐶}))) |
6 | | funco 6458 |
. . . . 5
⊢ ((Fun
𝐹 ∧ Fun ◡(1st ↾ (V × {𝐶}))) → Fun (𝐹 ∘ ◡(1st ↾ (V × {𝐶})))) |
7 | 1, 5, 6 | syl2an 595 |
. . . 4
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → Fun (𝐹 ∘ ◡(1st ↾ (V × {𝐶})))) |
8 | | dmco 6147 |
. . . . 5
⊢ dom
(𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) = (◡◡(1st ↾ (V × {𝐶})) “ dom 𝐹) |
9 | | fndm 6520 |
. . . . . . . 8
⊢ (𝐹 Fn (𝐴 × 𝐵) → dom 𝐹 = (𝐴 × 𝐵)) |
10 | 9 | adantr 480 |
. . . . . . 7
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → dom 𝐹 = (𝐴 × 𝐵)) |
11 | 10 | imaeq2d 5958 |
. . . . . 6
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (◡◡(1st ↾ (V × {𝐶})) “ dom 𝐹) = (◡◡(1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵))) |
12 | | imacnvcnv 6098 |
. . . . . . . . 9
⊢ (◡◡(1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵)) = ((1st ↾ (V ×
{𝐶})) “ (𝐴 × 𝐵)) |
13 | | df-ima 5593 |
. . . . . . . . 9
⊢
((1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵)) = ran ((1st ↾ (V ×
{𝐶})) ↾ (𝐴 × 𝐵)) |
14 | | resres 5893 |
. . . . . . . . . 10
⊢
((1st ↾ (V × {𝐶})) ↾ (𝐴 × 𝐵)) = (1st ↾ ((V ×
{𝐶}) ∩ (𝐴 × 𝐵))) |
15 | 14 | rneqi 5835 |
. . . . . . . . 9
⊢ ran
((1st ↾ (V × {𝐶})) ↾ (𝐴 × 𝐵)) = ran (1st ↾ ((V ×
{𝐶}) ∩ (𝐴 × 𝐵))) |
16 | 12, 13, 15 | 3eqtri 2770 |
. . . . . . . 8
⊢ (◡◡(1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵)) = ran (1st ↾ ((V ×
{𝐶}) ∩ (𝐴 × 𝐵))) |
17 | | inxp 5730 |
. . . . . . . . . . . . 13
⊢ ((V
× {𝐶}) ∩ (𝐴 × 𝐵)) = ((V ∩ 𝐴) × ({𝐶} ∩ 𝐵)) |
18 | | incom 4131 |
. . . . . . . . . . . . . . 15
⊢ (V ∩
𝐴) = (𝐴 ∩ V) |
19 | | inv1 4325 |
. . . . . . . . . . . . . . 15
⊢ (𝐴 ∩ V) = 𝐴 |
20 | 18, 19 | eqtri 2766 |
. . . . . . . . . . . . . 14
⊢ (V ∩
𝐴) = 𝐴 |
21 | 20 | xpeq1i 5606 |
. . . . . . . . . . . . 13
⊢ ((V ∩
𝐴) × ({𝐶} ∩ 𝐵)) = (𝐴 × ({𝐶} ∩ 𝐵)) |
22 | 17, 21 | eqtri 2766 |
. . . . . . . . . . . 12
⊢ ((V
× {𝐶}) ∩ (𝐴 × 𝐵)) = (𝐴 × ({𝐶} ∩ 𝐵)) |
23 | | snssi 4738 |
. . . . . . . . . . . . . 14
⊢ (𝐶 ∈ 𝐵 → {𝐶} ⊆ 𝐵) |
24 | | df-ss 3900 |
. . . . . . . . . . . . . 14
⊢ ({𝐶} ⊆ 𝐵 ↔ ({𝐶} ∩ 𝐵) = {𝐶}) |
25 | 23, 24 | sylib 217 |
. . . . . . . . . . . . 13
⊢ (𝐶 ∈ 𝐵 → ({𝐶} ∩ 𝐵) = {𝐶}) |
26 | 25 | xpeq2d 5610 |
. . . . . . . . . . . 12
⊢ (𝐶 ∈ 𝐵 → (𝐴 × ({𝐶} ∩ 𝐵)) = (𝐴 × {𝐶})) |
27 | 22, 26 | eqtrid 2790 |
. . . . . . . . . . 11
⊢ (𝐶 ∈ 𝐵 → ((V × {𝐶}) ∩ (𝐴 × 𝐵)) = (𝐴 × {𝐶})) |
28 | 27 | reseq2d 5880 |
. . . . . . . . . 10
⊢ (𝐶 ∈ 𝐵 → (1st ↾ ((V ×
{𝐶}) ∩ (𝐴 × 𝐵))) = (1st ↾ (𝐴 × {𝐶}))) |
29 | 28 | rneqd 5836 |
. . . . . . . . 9
⊢ (𝐶 ∈ 𝐵 → ran (1st ↾ ((V
× {𝐶}) ∩ (𝐴 × 𝐵))) = ran (1st ↾ (𝐴 × {𝐶}))) |
30 | | 1stconst 7911 |
. . . . . . . . . 10
⊢ (𝐶 ∈ 𝐵 → (1st ↾ (𝐴 × {𝐶})):(𝐴 × {𝐶})–1-1-onto→𝐴) |
31 | | f1ofo 6707 |
. . . . . . . . . 10
⊢
((1st ↾ (𝐴 × {𝐶})):(𝐴 × {𝐶})–1-1-onto→𝐴 → (1st ↾
(𝐴 × {𝐶})):(𝐴 × {𝐶})–onto→𝐴) |
32 | | forn 6675 |
. . . . . . . . . 10
⊢
((1st ↾ (𝐴 × {𝐶})):(𝐴 × {𝐶})–onto→𝐴 → ran (1st ↾ (𝐴 × {𝐶})) = 𝐴) |
33 | 30, 31, 32 | 3syl 18 |
. . . . . . . . 9
⊢ (𝐶 ∈ 𝐵 → ran (1st ↾ (𝐴 × {𝐶})) = 𝐴) |
34 | 29, 33 | eqtrd 2778 |
. . . . . . . 8
⊢ (𝐶 ∈ 𝐵 → ran (1st ↾ ((V
× {𝐶}) ∩ (𝐴 × 𝐵))) = 𝐴) |
35 | 16, 34 | eqtrid 2790 |
. . . . . . 7
⊢ (𝐶 ∈ 𝐵 → (◡◡(1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵)) = 𝐴) |
36 | 35 | adantl 481 |
. . . . . 6
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (◡◡(1st ↾ (V × {𝐶})) “ (𝐴 × 𝐵)) = 𝐴) |
37 | 11, 36 | eqtrd 2778 |
. . . . 5
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (◡◡(1st ↾ (V × {𝐶})) “ dom 𝐹) = 𝐴) |
38 | 8, 37 | eqtrid 2790 |
. . . 4
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → dom (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) = 𝐴) |
39 | | curry2.1 |
. . . . . 6
⊢ 𝐺 = (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) |
40 | 39 | fneq1i 6514 |
. . . . 5
⊢ (𝐺 Fn 𝐴 ↔ (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) Fn 𝐴) |
41 | | df-fn 6421 |
. . . . 5
⊢ ((𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) Fn 𝐴 ↔ (Fun (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) ∧ dom (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) = 𝐴)) |
42 | 40, 41 | bitri 274 |
. . . 4
⊢ (𝐺 Fn 𝐴 ↔ (Fun (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) ∧ dom (𝐹 ∘ ◡(1st ↾ (V × {𝐶}))) = 𝐴)) |
43 | 7, 38, 42 | sylanbrc 582 |
. . 3
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → 𝐺 Fn 𝐴) |
44 | | dffn5 6810 |
. . 3
⊢ (𝐺 Fn 𝐴 ↔ 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝐺‘𝑥))) |
45 | 43, 44 | sylib 217 |
. 2
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝐺‘𝑥))) |
46 | 39 | fveq1i 6757 |
. . . . 5
⊢ (𝐺‘𝑥) = ((𝐹 ∘ ◡(1st ↾ (V × {𝐶})))‘𝑥) |
47 | | dff1o4 6708 |
. . . . . . . . 9
⊢
((1st ↾ (V × {𝐶})):(V × {𝐶})–1-1-onto→V
↔ ((1st ↾ (V × {𝐶})) Fn (V × {𝐶}) ∧ ◡(1st ↾ (V × {𝐶})) Fn V)) |
48 | 2, 47 | sylib 217 |
. . . . . . . 8
⊢ (𝐶 ∈ 𝐵 → ((1st ↾ (V ×
{𝐶})) Fn (V × {𝐶}) ∧ ◡(1st ↾ (V × {𝐶})) Fn V)) |
49 | 48 | simprd 495 |
. . . . . . 7
⊢ (𝐶 ∈ 𝐵 → ◡(1st ↾ (V × {𝐶})) Fn V) |
50 | | vex 3426 |
. . . . . . 7
⊢ 𝑥 ∈ V |
51 | | fvco2 6847 |
. . . . . . 7
⊢ ((◡(1st ↾ (V × {𝐶})) Fn V ∧ 𝑥 ∈ V) → ((𝐹 ∘ ◡(1st ↾ (V × {𝐶})))‘𝑥) = (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥))) |
52 | 49, 50, 51 | sylancl 585 |
. . . . . 6
⊢ (𝐶 ∈ 𝐵 → ((𝐹 ∘ ◡(1st ↾ (V × {𝐶})))‘𝑥) = (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥))) |
53 | 52 | ad2antlr 723 |
. . . . 5
⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → ((𝐹 ∘ ◡(1st ↾ (V × {𝐶})))‘𝑥) = (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥))) |
54 | 46, 53 | eqtrid 2790 |
. . . 4
⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) = (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥))) |
55 | 2 | adantr 480 |
. . . . . . . . 9
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (1st ↾ (V ×
{𝐶})):(V × {𝐶})–1-1-onto→V) |
56 | 50 | a1i 11 |
. . . . . . . . . 10
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ V) |
57 | | snidg 4592 |
. . . . . . . . . . 11
⊢ (𝐶 ∈ 𝐵 → 𝐶 ∈ {𝐶}) |
58 | 57 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ {𝐶}) |
59 | 56, 58 | opelxpd 5618 |
. . . . . . . . 9
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 〈𝑥, 𝐶〉 ∈ (V × {𝐶})) |
60 | 55, 59 | jca 511 |
. . . . . . . 8
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → ((1st ↾ (V ×
{𝐶})):(V × {𝐶})–1-1-onto→V
∧ 〈𝑥, 𝐶〉 ∈ (V × {𝐶}))) |
61 | 50 | a1i 11 |
. . . . . . . . . . . 12
⊢ (𝐶 ∈ 𝐵 → 𝑥 ∈ V) |
62 | 61, 57 | opelxpd 5618 |
. . . . . . . . . . 11
⊢ (𝐶 ∈ 𝐵 → 〈𝑥, 𝐶〉 ∈ (V × {𝐶})) |
63 | 62 | fvresd 6776 |
. . . . . . . . . 10
⊢ (𝐶 ∈ 𝐵 → ((1st ↾ (V ×
{𝐶}))‘〈𝑥, 𝐶〉) = (1st ‘〈𝑥, 𝐶〉)) |
64 | 63 | adantr 480 |
. . . . . . . . 9
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → ((1st ↾ (V ×
{𝐶}))‘〈𝑥, 𝐶〉) = (1st ‘〈𝑥, 𝐶〉)) |
65 | | op1stg 7816 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ 𝐴 ∧ 𝐶 ∈ 𝐵) → (1st ‘〈𝑥, 𝐶〉) = 𝑥) |
66 | 65 | ancoms 458 |
. . . . . . . . 9
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (1st ‘〈𝑥, 𝐶〉) = 𝑥) |
67 | 64, 66 | eqtrd 2778 |
. . . . . . . 8
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → ((1st ↾ (V ×
{𝐶}))‘〈𝑥, 𝐶〉) = 𝑥) |
68 | | f1ocnvfv 7131 |
. . . . . . . 8
⊢
(((1st ↾ (V × {𝐶})):(V × {𝐶})–1-1-onto→V
∧ 〈𝑥, 𝐶〉 ∈ (V × {𝐶})) → (((1st
↾ (V × {𝐶}))‘〈𝑥, 𝐶〉) = 𝑥 → (◡(1st ↾ (V × {𝐶}))‘𝑥) = 〈𝑥, 𝐶〉)) |
69 | 60, 67, 68 | sylc 65 |
. . . . . . 7
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (◡(1st ↾ (V × {𝐶}))‘𝑥) = 〈𝑥, 𝐶〉) |
70 | 69 | fveq2d 6760 |
. . . . . 6
⊢ ((𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥)) = (𝐹‘〈𝑥, 𝐶〉)) |
71 | 70 | adantll 710 |
. . . . 5
⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥)) = (𝐹‘〈𝑥, 𝐶〉)) |
72 | | df-ov 7258 |
. . . . 5
⊢ (𝑥𝐹𝐶) = (𝐹‘〈𝑥, 𝐶〉) |
73 | 71, 72 | eqtr4di 2797 |
. . . 4
⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐹‘(◡(1st ↾ (V × {𝐶}))‘𝑥)) = (𝑥𝐹𝐶)) |
74 | 54, 73 | eqtrd 2778 |
. . 3
⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) = (𝑥𝐹𝐶)) |
75 | 74 | mpteq2dva 5170 |
. 2
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (𝑥 ∈ 𝐴 ↦ (𝐺‘𝑥)) = (𝑥 ∈ 𝐴 ↦ (𝑥𝐹𝐶))) |
76 | 45, 75 | eqtrd 2778 |
1
⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝑥𝐹𝐶))) |