Step | Hyp | Ref
| Expression |
1 | | disjf1o.xph |
. . . 4
⊢
Ⅎ𝑥𝜑 |
2 | | eqid 2738 |
. . . 4
⊢ (𝑥 ∈ 𝐶 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐵) |
3 | | simpl 482 |
. . . . 5
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝜑) |
4 | | disjf1o.d |
. . . . . . . 8
⊢ 𝐶 = {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} |
5 | | ssrab2 4009 |
. . . . . . . 8
⊢ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} ⊆ 𝐴 |
6 | 4, 5 | eqsstri 3951 |
. . . . . . 7
⊢ 𝐶 ⊆ 𝐴 |
7 | | id 22 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐶) |
8 | 6, 7 | sselid 3915 |
. . . . . 6
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴) |
9 | 8 | adantl 481 |
. . . . 5
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝑥 ∈ 𝐴) |
10 | | disjf1o.b |
. . . . 5
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ 𝑉) |
11 | 3, 9, 10 | syl2anc 583 |
. . . 4
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝐵 ∈ 𝑉) |
12 | 7, 4 | eleqtrdi 2849 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅}) |
13 | | rabid 3304 |
. . . . . . . 8
⊢ (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} ↔ (𝑥 ∈ 𝐴 ∧ 𝐵 ≠ ∅)) |
14 | 13 | a1i 11 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} ↔ (𝑥 ∈ 𝐴 ∧ 𝐵 ≠ ∅))) |
15 | 12, 14 | mpbid 231 |
. . . . . 6
⊢ (𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐴 ∧ 𝐵 ≠ ∅)) |
16 | 15 | simprd 495 |
. . . . 5
⊢ (𝑥 ∈ 𝐶 → 𝐵 ≠ ∅) |
17 | 16 | adantl 481 |
. . . 4
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝐵 ≠ ∅) |
18 | 6 | a1i 11 |
. . . . 5
⊢ (𝜑 → 𝐶 ⊆ 𝐴) |
19 | | disjf1o.dj |
. . . . 5
⊢ (𝜑 → Disj 𝑥 ∈ 𝐴 𝐵) |
20 | | disjss1 5041 |
. . . . 5
⊢ (𝐶 ⊆ 𝐴 → (Disj 𝑥 ∈ 𝐴 𝐵 → Disj 𝑥 ∈ 𝐶 𝐵)) |
21 | 18, 19, 20 | sylc 65 |
. . . 4
⊢ (𝜑 → Disj 𝑥 ∈ 𝐶 𝐵) |
22 | 1, 2, 11, 17, 21 | disjf1 42609 |
. . 3
⊢ (𝜑 → (𝑥 ∈ 𝐶 ↦ 𝐵):𝐶–1-1→𝑉) |
23 | | f1f1orn 6711 |
. . 3
⊢ ((𝑥 ∈ 𝐶 ↦ 𝐵):𝐶–1-1→𝑉 → (𝑥 ∈ 𝐶 ↦ 𝐵):𝐶–1-1-onto→ran
(𝑥 ∈ 𝐶 ↦ 𝐵)) |
24 | 22, 23 | syl 17 |
. 2
⊢ (𝜑 → (𝑥 ∈ 𝐶 ↦ 𝐵):𝐶–1-1-onto→ran
(𝑥 ∈ 𝐶 ↦ 𝐵)) |
25 | | disjf1o.f |
. . . . . 6
⊢ 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵) |
26 | 25 | a1i 11 |
. . . . 5
⊢ (𝜑 → 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)) |
27 | 26 | reseq1d 5879 |
. . . 4
⊢ (𝜑 → (𝐹 ↾ 𝐶) = ((𝑥 ∈ 𝐴 ↦ 𝐵) ↾ 𝐶)) |
28 | 18 | resmptd 5937 |
. . . 4
⊢ (𝜑 → ((𝑥 ∈ 𝐴 ↦ 𝐵) ↾ 𝐶) = (𝑥 ∈ 𝐶 ↦ 𝐵)) |
29 | 27, 28 | eqtrd 2778 |
. . 3
⊢ (𝜑 → (𝐹 ↾ 𝐶) = (𝑥 ∈ 𝐶 ↦ 𝐵)) |
30 | | eqidd 2739 |
. . 3
⊢ (𝜑 → 𝐶 = 𝐶) |
31 | | simpl 482 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ 𝐷) → 𝜑) |
32 | | id 22 |
. . . . . . . . . 10
⊢ (𝑦 ∈ 𝐷 → 𝑦 ∈ 𝐷) |
33 | | disjf1o.e |
. . . . . . . . . 10
⊢ 𝐷 = (ran 𝐹 ∖ {∅}) |
34 | 32, 33 | eleqtrdi 2849 |
. . . . . . . . 9
⊢ (𝑦 ∈ 𝐷 → 𝑦 ∈ (ran 𝐹 ∖ {∅})) |
35 | | eldifsni 4720 |
. . . . . . . . 9
⊢ (𝑦 ∈ (ran 𝐹 ∖ {∅}) → 𝑦 ≠ ∅) |
36 | 34, 35 | syl 17 |
. . . . . . . 8
⊢ (𝑦 ∈ 𝐷 → 𝑦 ≠ ∅) |
37 | 36 | adantl 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ 𝐷) → 𝑦 ≠ ∅) |
38 | | eldifi 4057 |
. . . . . . . . . 10
⊢ (𝑦 ∈ (ran 𝐹 ∖ {∅}) → 𝑦 ∈ ran 𝐹) |
39 | 34, 38 | syl 17 |
. . . . . . . . 9
⊢ (𝑦 ∈ 𝐷 → 𝑦 ∈ ran 𝐹) |
40 | 25 | elrnmpt 5854 |
. . . . . . . . . 10
⊢ (𝑦 ∈ ran 𝐹 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵)) |
41 | 39, 40 | syl 17 |
. . . . . . . . 9
⊢ (𝑦 ∈ 𝐷 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵)) |
42 | 39, 41 | mpbid 231 |
. . . . . . . 8
⊢ (𝑦 ∈ 𝐷 → ∃𝑥 ∈ 𝐴 𝑦 = 𝐵) |
43 | 42 | adantl 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ 𝐷) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐵) |
44 | | nfv 1918 |
. . . . . . . . . 10
⊢
Ⅎ𝑥 𝑦 ≠ ∅ |
45 | 1, 44 | nfan 1903 |
. . . . . . . . 9
⊢
Ⅎ𝑥(𝜑 ∧ 𝑦 ≠ ∅) |
46 | | nfcv 2906 |
. . . . . . . . . 10
⊢
Ⅎ𝑥𝑦 |
47 | | nfmpt1 5178 |
. . . . . . . . . . 11
⊢
Ⅎ𝑥(𝑥 ∈ 𝐶 ↦ 𝐵) |
48 | 47 | nfrn 5850 |
. . . . . . . . . 10
⊢
Ⅎ𝑥ran
(𝑥 ∈ 𝐶 ↦ 𝐵) |
49 | 46, 48 | nfel 2920 |
. . . . . . . . 9
⊢
Ⅎ𝑥 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵) |
50 | | simp3 1136 |
. . . . . . . . . . . 12
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵) |
51 | | simp2 1135 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐴) |
52 | | id 22 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑦 = 𝐵 → 𝑦 = 𝐵) |
53 | 52 | eqcomd 2744 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑦 = 𝐵 → 𝐵 = 𝑦) |
54 | 53 | adantl 481 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑦 ≠ ∅ ∧ 𝑦 = 𝐵) → 𝐵 = 𝑦) |
55 | | simpl 482 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑦 ≠ ∅ ∧ 𝑦 = 𝐵) → 𝑦 ≠ ∅) |
56 | 54, 55 | eqnetrd 3010 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑦 ≠ ∅ ∧ 𝑦 = 𝐵) → 𝐵 ≠ ∅) |
57 | 56 | 3adant2 1129 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝐵 ≠ ∅) |
58 | 51, 57 | jca 511 |
. . . . . . . . . . . . . . 15
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 ∈ 𝐴 ∧ 𝐵 ≠ ∅)) |
59 | 58, 13 | sylibr 233 |
. . . . . . . . . . . . . 14
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅}) |
60 | 4 | eqcomi 2747 |
. . . . . . . . . . . . . . 15
⊢ {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} = 𝐶 |
61 | 60 | a1i 11 |
. . . . . . . . . . . . . 14
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → {𝑥 ∈ 𝐴 ∣ 𝐵 ≠ ∅} = 𝐶) |
62 | 59, 61 | eleqtrd 2841 |
. . . . . . . . . . . . 13
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐶) |
63 | | eqvisset 3439 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝐵 → 𝐵 ∈ V) |
64 | 63 | 3ad2ant3 1133 |
. . . . . . . . . . . . 13
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝐵 ∈ V) |
65 | 2 | elrnmpt1 5856 |
. . . . . . . . . . . . 13
⊢ ((𝑥 ∈ 𝐶 ∧ 𝐵 ∈ V) → 𝐵 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
66 | 62, 64, 65 | syl2anc 583 |
. . . . . . . . . . . 12
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝐵 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
67 | 50, 66 | eqeltrd 2839 |
. . . . . . . . . . 11
⊢ ((𝑦 ≠ ∅ ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
68 | 67 | 3adant1l 1174 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑦 ≠ ∅) ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
69 | 68 | 3exp 1117 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ≠ ∅) → (𝑥 ∈ 𝐴 → (𝑦 = 𝐵 → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)))) |
70 | 45, 49, 69 | rexlimd 3245 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ≠ ∅) → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵))) |
71 | 70 | imp 406 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑦 ≠ ∅) ∧ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵) → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
72 | 31, 37, 43, 71 | syl21anc 834 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ 𝐷) → 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
73 | 72 | ralrimiva 3107 |
. . . . 5
⊢ (𝜑 → ∀𝑦 ∈ 𝐷 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
74 | | dfss3 3905 |
. . . . 5
⊢ (𝐷 ⊆ ran (𝑥 ∈ 𝐶 ↦ 𝐵) ↔ ∀𝑦 ∈ 𝐷 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
75 | 73, 74 | sylibr 233 |
. . . 4
⊢ (𝜑 → 𝐷 ⊆ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
76 | | simpl 482 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) → 𝜑) |
77 | | vex 3426 |
. . . . . . . 8
⊢ 𝑦 ∈ V |
78 | 2 | elrnmpt 5854 |
. . . . . . . 8
⊢ (𝑦 ∈ V → (𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵) ↔ ∃𝑥 ∈ 𝐶 𝑦 = 𝐵)) |
79 | 77, 78 | ax-mp 5 |
. . . . . . 7
⊢ (𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵) ↔ ∃𝑥 ∈ 𝐶 𝑦 = 𝐵) |
80 | 79 | biimpi 215 |
. . . . . 6
⊢ (𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵) → ∃𝑥 ∈ 𝐶 𝑦 = 𝐵) |
81 | 80 | adantl 481 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) → ∃𝑥 ∈ 𝐶 𝑦 = 𝐵) |
82 | | nfv 1918 |
. . . . . . 7
⊢
Ⅎ𝑥 𝑦 ∈ 𝐷 |
83 | | simpr 484 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵) |
84 | 8 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐴) |
85 | 83, 63 | syl 17 |
. . . . . . . . . . . . 13
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝐵 ∈ V) |
86 | 25 | elrnmpt1 5856 |
. . . . . . . . . . . . 13
⊢ ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V) → 𝐵 ∈ ran 𝐹) |
87 | 84, 85, 86 | syl2anc 583 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝐵 ∈ ran 𝐹) |
88 | 83, 87 | eqeltrd 2839 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 ∈ ran 𝐹) |
89 | 88 | 3adant1 1128 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 ∈ ran 𝐹) |
90 | 16 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝐵 ≠ ∅) |
91 | 83, 90 | eqnetrd 3010 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 ≠ ∅) |
92 | | nelsn 4598 |
. . . . . . . . . . . 12
⊢ (𝑦 ≠ ∅ → ¬ 𝑦 ∈
{∅}) |
93 | 91, 92 | syl 17 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → ¬ 𝑦 ∈ {∅}) |
94 | 93 | 3adant1 1128 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → ¬ 𝑦 ∈ {∅}) |
95 | 89, 94 | eldifd 3894 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 ∈ (ran 𝐹 ∖ {∅})) |
96 | 95, 33 | eleqtrrdi 2850 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐵) → 𝑦 ∈ 𝐷) |
97 | 96 | 3exp 1117 |
. . . . . . 7
⊢ (𝜑 → (𝑥 ∈ 𝐶 → (𝑦 = 𝐵 → 𝑦 ∈ 𝐷))) |
98 | 1, 82, 97 | rexlimd 3245 |
. . . . . 6
⊢ (𝜑 → (∃𝑥 ∈ 𝐶 𝑦 = 𝐵 → 𝑦 ∈ 𝐷)) |
99 | 98 | imp 406 |
. . . . 5
⊢ ((𝜑 ∧ ∃𝑥 ∈ 𝐶 𝑦 = 𝐵) → 𝑦 ∈ 𝐷) |
100 | 76, 81, 99 | syl2anc 583 |
. . . 4
⊢ ((𝜑 ∧ 𝑦 ∈ ran (𝑥 ∈ 𝐶 ↦ 𝐵)) → 𝑦 ∈ 𝐷) |
101 | 75, 100 | eqelssd 3938 |
. . 3
⊢ (𝜑 → 𝐷 = ran (𝑥 ∈ 𝐶 ↦ 𝐵)) |
102 | 29, 30, 101 | f1oeq123d 6694 |
. 2
⊢ (𝜑 → ((𝐹 ↾ 𝐶):𝐶–1-1-onto→𝐷 ↔ (𝑥 ∈ 𝐶 ↦ 𝐵):𝐶–1-1-onto→ran
(𝑥 ∈ 𝐶 ↦ 𝐵))) |
103 | 24, 102 | mpbird 256 |
1
⊢ (𝜑 → (𝐹 ↾ 𝐶):𝐶–1-1-onto→𝐷) |