Step | Hyp | Ref
| Expression |
1 | | df-ihash 10710 |
. . . . 5
⊢ ♯ =
((frec((𝑥 ∈ ℤ
↦ (𝑥 + 1)), 0) ∪
{〈ω, +∞〉}) ∘ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})) |
2 | 1 | fveq1i 5497 |
. . . 4
⊢
(♯‘𝐴) =
(((frec((𝑥 ∈ ℤ
↦ (𝑥 + 1)), 0) ∪
{〈ω, +∞〉}) ∘ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}))‘𝐴) |
3 | | funmpt 5236 |
. . . . 5
⊢ Fun
(𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) |
4 | | hashennnuni 10713 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴} = 𝑁) |
5 | 4 | eqcomd 2176 |
. . . . . . . 8
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝑁 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴}) |
6 | | nnfi 6850 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ω → 𝑁 ∈ Fin) |
7 | 6 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝑁 ∈ Fin) |
8 | | simpr 109 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝑁 ≈ 𝐴) |
9 | 8 | ensymd 6761 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝐴 ≈ 𝑁) |
10 | | enfii 6852 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ Fin ∧ 𝐴 ≈ 𝑁) → 𝐴 ∈ Fin) |
11 | 7, 9, 10 | syl2anc 409 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝐴 ∈ Fin) |
12 | | simpl 108 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝑁 ∈ ω) |
13 | | simpr 109 |
. . . . . . . . . . 11
⊢ ((𝑥 = 𝐴 ∧ 𝑧 = 𝑁) → 𝑧 = 𝑁) |
14 | | breq2 3993 |
. . . . . . . . . . . . . 14
⊢ (𝑥 = 𝐴 → (𝑦 ≼ 𝑥 ↔ 𝑦 ≼ 𝐴)) |
15 | 14 | adantr 274 |
. . . . . . . . . . . . 13
⊢ ((𝑥 = 𝐴 ∧ 𝑧 = 𝑁) → (𝑦 ≼ 𝑥 ↔ 𝑦 ≼ 𝐴)) |
16 | 15 | rabbidv 2719 |
. . . . . . . . . . . 12
⊢ ((𝑥 = 𝐴 ∧ 𝑧 = 𝑁) → {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥} = {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝐴}) |
17 | 16 | unieqd 3807 |
. . . . . . . . . . 11
⊢ ((𝑥 = 𝐴 ∧ 𝑧 = 𝑁) → ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥} = ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝐴}) |
18 | 13, 17 | eqeq12d 2185 |
. . . . . . . . . 10
⊢ ((𝑥 = 𝐴 ∧ 𝑧 = 𝑁) → (𝑧 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥} ↔ 𝑁 = ∪
{𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴})) |
19 | 18 | opelopabga 4248 |
. . . . . . . . 9
⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ω) →
(〈𝐴, 𝑁〉 ∈ {〈𝑥, 𝑧〉 ∣ 𝑧 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥}} ↔ 𝑁 = ∪
{𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴})) |
20 | 11, 12, 19 | syl2anc 409 |
. . . . . . . 8
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (〈𝐴, 𝑁〉 ∈ {〈𝑥, 𝑧〉 ∣ 𝑧 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥}} ↔ 𝑁 = ∪
{𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴})) |
21 | 5, 20 | mpbird 166 |
. . . . . . 7
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 〈𝐴, 𝑁〉 ∈ {〈𝑥, 𝑧〉 ∣ 𝑧 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥}}) |
22 | | mptv 4086 |
. . . . . . 7
⊢ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) = {〈𝑥, 𝑧〉 ∣ 𝑧 = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥}} |
23 | 21, 22 | eleqtrrdi 2264 |
. . . . . 6
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 〈𝐴, 𝑁〉 ∈ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})) |
24 | | opeldmg 4816 |
. . . . . . 7
⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ω) →
(〈𝐴, 𝑁〉 ∈ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) → 𝐴 ∈ dom (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}))) |
25 | 11, 12, 24 | syl2anc 409 |
. . . . . 6
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (〈𝐴, 𝑁〉 ∈ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) → 𝐴 ∈ dom (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}))) |
26 | 23, 25 | mpd 13 |
. . . . 5
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝐴 ∈ dom (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})) |
27 | | fvco 5566 |
. . . . 5
⊢ ((Fun
(𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) ∧ 𝐴 ∈ dom (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})) → (((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉}) ∘ (𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥}))‘𝐴) = ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘((𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥})‘𝐴))) |
28 | 3, 26, 27 | sylancr 412 |
. . . 4
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉}) ∘ (𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥}))‘𝐴) = ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘((𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥})‘𝐴))) |
29 | 2, 28 | eqtrid 2215 |
. . 3
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (♯‘𝐴) = ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘((𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥})‘𝐴))) |
30 | 11 | elexd 2743 |
. . . . . 6
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → 𝐴 ∈ V) |
31 | 4, 12 | eqeltrd 2247 |
. . . . . 6
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴} ∈
ω) |
32 | 14 | rabbidv 2719 |
. . . . . . . 8
⊢ (𝑥 = 𝐴 → {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥} = {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝐴}) |
33 | 32 | unieqd 3807 |
. . . . . . 7
⊢ (𝑥 = 𝐴 → ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝑥} = ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝐴}) |
34 | | eqid 2170 |
. . . . . . 7
⊢ (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) = (𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥}) |
35 | 33, 34 | fvmptg 5572 |
. . . . . 6
⊢ ((𝐴 ∈ V ∧ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝐴} ∈ ω) → ((𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})‘𝐴) = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴}) |
36 | 30, 31, 35 | syl2anc 409 |
. . . . 5
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ((𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})‘𝐴) = ∪ {𝑦 ∈ (ω ∪
{ω}) ∣ 𝑦
≼ 𝐴}) |
37 | 36, 4 | eqtrd 2203 |
. . . 4
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ((𝑥 ∈ V ↦ ∪ {𝑦
∈ (ω ∪ {ω}) ∣ 𝑦 ≼ 𝑥})‘𝐴) = 𝑁) |
38 | 37 | fveq2d 5500 |
. . 3
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘((𝑥
∈ V ↦ ∪ {𝑦 ∈ (ω ∪ {ω}) ∣
𝑦 ≼ 𝑥})‘𝐴)) = ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘𝑁)) |
39 | 29, 38 | eqtrd 2203 |
. 2
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (♯‘𝐴) = ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘𝑁)) |
40 | | ordom 4591 |
. . . . . . 7
⊢ Ord
ω |
41 | | ordirr 4526 |
. . . . . . 7
⊢ (Ord
ω → ¬ ω ∈ ω) |
42 | 40, 41 | ax-mp 5 |
. . . . . 6
⊢ ¬
ω ∈ ω |
43 | | eleq1 2233 |
. . . . . 6
⊢ (ω
= 𝑁 → (ω ∈
ω ↔ 𝑁 ∈
ω)) |
44 | 42, 43 | mtbii 669 |
. . . . 5
⊢ (ω
= 𝑁 → ¬ 𝑁 ∈
ω) |
45 | 44 | necon2ai 2394 |
. . . 4
⊢ (𝑁 ∈ ω → ω
≠ 𝑁) |
46 | | fvunsng 5690 |
. . . 4
⊢ ((𝑁 ∈ ω ∧ ω
≠ 𝑁) →
((frec((𝑥 ∈ ℤ
↦ (𝑥 + 1)), 0) ∪
{〈ω, +∞〉})‘𝑁) = (frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)‘𝑁)) |
47 | 45, 46 | mpdan 419 |
. . 3
⊢ (𝑁 ∈ ω →
((frec((𝑥 ∈ ℤ
↦ (𝑥 + 1)), 0) ∪
{〈ω, +∞〉})‘𝑁) = (frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)‘𝑁)) |
48 | 47 | adantr 274 |
. 2
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → ((frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0) ∪ {〈ω,
+∞〉})‘𝑁) =
(frec((𝑥 ∈ ℤ
↦ (𝑥 + 1)),
0)‘𝑁)) |
49 | 39, 48 | eqtrd 2203 |
1
⊢ ((𝑁 ∈ ω ∧ 𝑁 ≈ 𝐴) → (♯‘𝐴) = (frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)‘𝑁)) |