Step | Hyp | Ref
| Expression |
1 | | n0 4277 |
. . . . . . 7
⊢ (𝐴 ≠ ∅ ↔
∃𝑥 𝑥 ∈ 𝐴) |
2 | | opelxp 5616 |
. . . . . . . . . 10
⊢
(〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) |
3 | | fvres 6775 |
. . . . . . . . . . . 12
⊢
(〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵) → ((2nd ↾ (𝐴 × 𝐵))‘〈𝑥, 𝑦〉) = (2nd ‘〈𝑥, 𝑦〉)) |
4 | | vex 3426 |
. . . . . . . . . . . . 13
⊢ 𝑥 ∈ V |
5 | | vex 3426 |
. . . . . . . . . . . . 13
⊢ 𝑦 ∈ V |
6 | 4, 5 | op2nd 7813 |
. . . . . . . . . . . 12
⊢
(2nd ‘〈𝑥, 𝑦〉) = 𝑦 |
7 | 3, 6 | eqtr2di 2796 |
. . . . . . . . . . 11
⊢
(〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵) → 𝑦 = ((2nd ↾ (𝐴 × 𝐵))‘〈𝑥, 𝑦〉)) |
8 | | f2ndres 7829 |
. . . . . . . . . . . . 13
⊢
(2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 |
9 | | ffn 6584 |
. . . . . . . . . . . . 13
⊢
((2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 → (2nd ↾ (𝐴 × 𝐵)) Fn (𝐴 × 𝐵)) |
10 | 8, 9 | ax-mp 5 |
. . . . . . . . . . . 12
⊢
(2nd ↾ (𝐴 × 𝐵)) Fn (𝐴 × 𝐵) |
11 | | fnfvelrn 6940 |
. . . . . . . . . . . 12
⊢
(((2nd ↾ (𝐴 × 𝐵)) Fn (𝐴 × 𝐵) ∧ 〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵)) → ((2nd ↾ (𝐴 × 𝐵))‘〈𝑥, 𝑦〉) ∈ ran (2nd ↾
(𝐴 × 𝐵))) |
12 | 10, 11 | mpan 686 |
. . . . . . . . . . 11
⊢
(〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵) → ((2nd ↾ (𝐴 × 𝐵))‘〈𝑥, 𝑦〉) ∈ ran (2nd ↾
(𝐴 × 𝐵))) |
13 | 7, 12 | eqeltrd 2839 |
. . . . . . . . . 10
⊢
(〈𝑥, 𝑦〉 ∈ (𝐴 × 𝐵) → 𝑦 ∈ ran (2nd ↾ (𝐴 × 𝐵))) |
14 | 2, 13 | sylbir 234 |
. . . . . . . . 9
⊢ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝑦 ∈ ran (2nd ↾ (𝐴 × 𝐵))) |
15 | 14 | ex 412 |
. . . . . . . 8
⊢ (𝑥 ∈ 𝐴 → (𝑦 ∈ 𝐵 → 𝑦 ∈ ran (2nd ↾ (𝐴 × 𝐵)))) |
16 | 15 | exlimiv 1934 |
. . . . . . 7
⊢
(∃𝑥 𝑥 ∈ 𝐴 → (𝑦 ∈ 𝐵 → 𝑦 ∈ ran (2nd ↾ (𝐴 × 𝐵)))) |
17 | 1, 16 | sylbi 216 |
. . . . . 6
⊢ (𝐴 ≠ ∅ → (𝑦 ∈ 𝐵 → 𝑦 ∈ ran (2nd ↾ (𝐴 × 𝐵)))) |
18 | 17 | ssrdv 3923 |
. . . . 5
⊢ (𝐴 ≠ ∅ → 𝐵 ⊆ ran (2nd
↾ (𝐴 × 𝐵))) |
19 | | frn 6591 |
. . . . . 6
⊢
((2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 → ran (2nd ↾ (𝐴 × 𝐵)) ⊆ 𝐵) |
20 | 8, 19 | ax-mp 5 |
. . . . 5
⊢ ran
(2nd ↾ (𝐴
× 𝐵)) ⊆ 𝐵 |
21 | 18, 20 | jctil 519 |
. . . 4
⊢ (𝐴 ≠ ∅ → (ran
(2nd ↾ (𝐴
× 𝐵)) ⊆ 𝐵 ∧ 𝐵 ⊆ ran (2nd ↾ (𝐴 × 𝐵)))) |
22 | | eqss 3932 |
. . . 4
⊢ (ran
(2nd ↾ (𝐴
× 𝐵)) = 𝐵 ↔ (ran (2nd
↾ (𝐴 × 𝐵)) ⊆ 𝐵 ∧ 𝐵 ⊆ ran (2nd ↾ (𝐴 × 𝐵)))) |
23 | 21, 22 | sylibr 233 |
. . 3
⊢ (𝐴 ≠ ∅ → ran
(2nd ↾ (𝐴
× 𝐵)) = 𝐵) |
24 | 23, 8 | jctil 519 |
. 2
⊢ (𝐴 ≠ ∅ →
((2nd ↾ (𝐴
× 𝐵)):(𝐴 × 𝐵)⟶𝐵 ∧ ran (2nd ↾ (𝐴 × 𝐵)) = 𝐵)) |
25 | | dffo2 6676 |
. 2
⊢
((2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)–onto→𝐵 ↔ ((2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 ∧ ran (2nd ↾ (𝐴 × 𝐵)) = 𝐵)) |
26 | 24, 25 | sylibr 233 |
1
⊢ (𝐴 ≠ ∅ →
(2nd ↾ (𝐴
× 𝐵)):(𝐴 × 𝐵)–onto→𝐵) |