Step | Hyp | Ref
| Expression |
1 | | bren 8743 |
. 2
⊢ (suc
𝐴 ≈ suc 𝐵 ↔ ∃𝑓 𝑓:suc 𝐴–1-1-onto→suc
𝐵) |
2 | | f1of1 6715 |
. . . . . . . . 9
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → 𝑓:suc 𝐴–1-1→suc 𝐵) |
3 | | nnfi 8950 |
. . . . . . . . 9
⊢ (𝐴 ∈ ω → 𝐴 ∈ Fin) |
4 | | sssucid 6343 |
. . . . . . . . . 10
⊢ 𝐴 ⊆ suc 𝐴 |
5 | | f1imaenfi 8981 |
. . . . . . . . . 10
⊢ ((𝑓:suc 𝐴–1-1→suc 𝐵 ∧ 𝐴 ⊆ suc 𝐴 ∧ 𝐴 ∈ Fin) → (𝑓 “ 𝐴) ≈ 𝐴) |
6 | 4, 5 | mp3an2 1448 |
. . . . . . . . 9
⊢ ((𝑓:suc 𝐴–1-1→suc 𝐵 ∧ 𝐴 ∈ Fin) → (𝑓 “ 𝐴) ≈ 𝐴) |
7 | 2, 3, 6 | syl2anr 597 |
. . . . . . . 8
⊢ ((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → (𝑓 “ 𝐴) ≈ 𝐴) |
8 | | ensymfib 8970 |
. . . . . . . . . 10
⊢ (𝐴 ∈ Fin → (𝐴 ≈ (𝑓 “ 𝐴) ↔ (𝑓 “ 𝐴) ≈ 𝐴)) |
9 | 3, 8 | syl 17 |
. . . . . . . . 9
⊢ (𝐴 ∈ ω → (𝐴 ≈ (𝑓 “ 𝐴) ↔ (𝑓 “ 𝐴) ≈ 𝐴)) |
10 | 9 | adantr 481 |
. . . . . . . 8
⊢ ((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → (𝐴 ≈ (𝑓 “ 𝐴) ↔ (𝑓 “ 𝐴) ≈ 𝐴)) |
11 | 7, 10 | mpbird 256 |
. . . . . . 7
⊢ ((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → 𝐴 ≈ (𝑓 “ 𝐴)) |
12 | | nnord 7720 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ω → Ord 𝐴) |
13 | | orddif 6359 |
. . . . . . . . . 10
⊢ (Ord
𝐴 → 𝐴 = (suc 𝐴 ∖ {𝐴})) |
14 | 12, 13 | syl 17 |
. . . . . . . . 9
⊢ (𝐴 ∈ ω → 𝐴 = (suc 𝐴 ∖ {𝐴})) |
15 | 14 | imaeq2d 5969 |
. . . . . . . 8
⊢ (𝐴 ∈ ω → (𝑓 “ 𝐴) = (𝑓 “ (suc 𝐴 ∖ {𝐴}))) |
16 | | f1ofn 6717 |
. . . . . . . . . . 11
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → 𝑓 Fn suc 𝐴) |
17 | | phplem2.1 |
. . . . . . . . . . . 12
⊢ 𝐴 ∈ V |
18 | 17 | sucid 6345 |
. . . . . . . . . . 11
⊢ 𝐴 ∈ suc 𝐴 |
19 | | fnsnfv 6847 |
. . . . . . . . . . 11
⊢ ((𝑓 Fn suc 𝐴 ∧ 𝐴 ∈ suc 𝐴) → {(𝑓‘𝐴)} = (𝑓 “ {𝐴})) |
20 | 16, 18, 19 | sylancl 586 |
. . . . . . . . . 10
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → {(𝑓‘𝐴)} = (𝑓 “ {𝐴})) |
21 | 20 | difeq2d 4057 |
. . . . . . . . 9
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → ((𝑓 “ suc 𝐴) ∖ {(𝑓‘𝐴)}) = ((𝑓 “ suc 𝐴) ∖ (𝑓 “ {𝐴}))) |
22 | | imadmrn 5979 |
. . . . . . . . . . . 12
⊢ (𝑓 “ dom 𝑓) = ran 𝑓 |
23 | 22 | eqcomi 2747 |
. . . . . . . . . . 11
⊢ ran 𝑓 = (𝑓 “ dom 𝑓) |
24 | | f1ofo 6723 |
. . . . . . . . . . . 12
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → 𝑓:suc 𝐴–onto→suc 𝐵) |
25 | | forn 6691 |
. . . . . . . . . . . 12
⊢ (𝑓:suc 𝐴–onto→suc 𝐵 → ran 𝑓 = suc 𝐵) |
26 | 24, 25 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → ran 𝑓 = suc 𝐵) |
27 | | f1odm 6720 |
. . . . . . . . . . . 12
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → dom 𝑓 = suc 𝐴) |
28 | 27 | imaeq2d 5969 |
. . . . . . . . . . 11
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (𝑓 “ dom 𝑓) = (𝑓 “ suc 𝐴)) |
29 | 23, 26, 28 | 3eqtr3a 2802 |
. . . . . . . . . 10
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → suc 𝐵 = (𝑓 “ suc 𝐴)) |
30 | 29 | difeq1d 4056 |
. . . . . . . . 9
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (suc 𝐵 ∖ {(𝑓‘𝐴)}) = ((𝑓 “ suc 𝐴) ∖ {(𝑓‘𝐴)})) |
31 | | dff1o3 6722 |
. . . . . . . . . 10
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 ↔ (𝑓:suc 𝐴–onto→suc 𝐵 ∧ Fun ◡𝑓)) |
32 | | imadif 6518 |
. . . . . . . . . 10
⊢ (Fun
◡𝑓 → (𝑓 “ (suc 𝐴 ∖ {𝐴})) = ((𝑓 “ suc 𝐴) ∖ (𝑓 “ {𝐴}))) |
33 | 31, 32 | simplbiim 505 |
. . . . . . . . 9
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (𝑓 “ (suc 𝐴 ∖ {𝐴})) = ((𝑓 “ suc 𝐴) ∖ (𝑓 “ {𝐴}))) |
34 | 21, 30, 33 | 3eqtr4rd 2789 |
. . . . . . . 8
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (𝑓 “ (suc 𝐴 ∖ {𝐴})) = (suc 𝐵 ∖ {(𝑓‘𝐴)})) |
35 | 15, 34 | sylan9eq 2798 |
. . . . . . 7
⊢ ((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → (𝑓 “ 𝐴) = (suc 𝐵 ∖ {(𝑓‘𝐴)})) |
36 | 11, 35 | breqtrd 5100 |
. . . . . 6
⊢ ((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → 𝐴 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)})) |
37 | | fnfvelrn 6958 |
. . . . . . . . . . . 12
⊢ ((𝑓 Fn suc 𝐴 ∧ 𝐴 ∈ suc 𝐴) → (𝑓‘𝐴) ∈ ran 𝑓) |
38 | 16, 18, 37 | sylancl 586 |
. . . . . . . . . . 11
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (𝑓‘𝐴) ∈ ran 𝑓) |
39 | 25 | eleq2d 2824 |
. . . . . . . . . . . 12
⊢ (𝑓:suc 𝐴–onto→suc 𝐵 → ((𝑓‘𝐴) ∈ ran 𝑓 ↔ (𝑓‘𝐴) ∈ suc 𝐵)) |
40 | 24, 39 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → ((𝑓‘𝐴) ∈ ran 𝑓 ↔ (𝑓‘𝐴) ∈ suc 𝐵)) |
41 | 38, 40 | mpbid 231 |
. . . . . . . . . 10
⊢ (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → (𝑓‘𝐴) ∈ suc 𝐵) |
42 | | phplem1 8990 |
. . . . . . . . . 10
⊢ ((𝐵 ∈ ω ∧ (𝑓‘𝐴) ∈ suc 𝐵) → 𝐵 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)})) |
43 | 41, 42 | sylan2 593 |
. . . . . . . . 9
⊢ ((𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → 𝐵 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)})) |
44 | | nnfi 8950 |
. . . . . . . . . . 11
⊢ (𝐵 ∈ ω → 𝐵 ∈ Fin) |
45 | | ensymfib 8970 |
. . . . . . . . . . 11
⊢ (𝐵 ∈ Fin → (𝐵 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ↔ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵)) |
46 | 44, 45 | syl 17 |
. . . . . . . . . 10
⊢ (𝐵 ∈ ω → (𝐵 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ↔ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵)) |
47 | 46 | adantr 481 |
. . . . . . . . 9
⊢ ((𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → (𝐵 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ↔ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵)) |
48 | 43, 47 | mpbid 231 |
. . . . . . . 8
⊢ ((𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵) |
49 | | entrfil 8971 |
. . . . . . . . 9
⊢ ((𝐴 ∈ Fin ∧ 𝐴 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ∧ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵) → 𝐴 ≈ 𝐵) |
50 | 3, 49 | syl3an1 1162 |
. . . . . . . 8
⊢ ((𝐴 ∈ ω ∧ 𝐴 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ∧ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ≈ 𝐵) → 𝐴 ≈ 𝐵) |
51 | 48, 50 | syl3an3 1164 |
. . . . . . 7
⊢ ((𝐴 ∈ ω ∧ 𝐴 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)}) ∧ (𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵)) → 𝐴 ≈ 𝐵) |
52 | 51 | 3expa 1117 |
. . . . . 6
⊢ (((𝐴 ∈ ω ∧ 𝐴 ≈ (suc 𝐵 ∖ {(𝑓‘𝐴)})) ∧ (𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵)) → 𝐴 ≈ 𝐵) |
53 | 36, 52 | syldanl 602 |
. . . . 5
⊢ (((𝐴 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) ∧ (𝐵 ∈ ω ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵)) → 𝐴 ≈ 𝐵) |
54 | 53 | anandirs 676 |
. . . 4
⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝑓:suc 𝐴–1-1-onto→suc
𝐵) → 𝐴 ≈ 𝐵) |
55 | 54 | ex 413 |
. . 3
⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝑓:suc 𝐴–1-1-onto→suc
𝐵 → 𝐴 ≈ 𝐵)) |
56 | 55 | exlimdv 1936 |
. 2
⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) →
(∃𝑓 𝑓:suc 𝐴–1-1-onto→suc
𝐵 → 𝐴 ≈ 𝐵)) |
57 | 1, 56 | syl5bi 241 |
1
⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (suc
𝐴 ≈ suc 𝐵 → 𝐴 ≈ 𝐵)) |