Step | Hyp | Ref
| Expression |
1 | | fzfi 13620 |
. . . . . . . 8
⊢
(1...((♯‘𝐵) − (♯‘𝐴))) ∈ Fin |
2 | | ficardom 9650 |
. . . . . . . 8
⊢
((1...((♯‘𝐵) − (♯‘𝐴))) ∈ Fin →
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))) ∈ ω) |
3 | 1, 2 | ax-mp 5 |
. . . . . . 7
⊢
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))) ∈ ω |
4 | | eqid 2738 |
. . . . . . . . . . . . . 14
⊢
(rec((𝑥 ∈ V
↦ (𝑥 + 1)), 0)
↾ ω) = (rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω) |
5 | 4 | hashgval 13975 |
. . . . . . . . . . . . 13
⊢ (𝐴 ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) = (♯‘𝐴)) |
6 | 5 | ad2antrr 722 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) = (♯‘𝐴)) |
7 | 4 | hashgval 13975 |
. . . . . . . . . . . . . 14
⊢
((1...((♯‘𝐵) − (♯‘𝐴))) ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴))))) =
(♯‘(1...((♯‘𝐵) − (♯‘𝐴))))) |
8 | 1, 7 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
((rec((𝑥 ∈ V
↦ (𝑥 + 1)), 0)
↾ ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴))))) =
(♯‘(1...((♯‘𝐵) − (♯‘𝐴)))) |
9 | | hashcl 13999 |
. . . . . . . . . . . . . . . 16
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℕ0) |
10 | 9 | ad2antrr 722 |
. . . . . . . . . . . . . . 15
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(♯‘𝐴) ∈
ℕ0) |
11 | | hashcl 13999 |
. . . . . . . . . . . . . . . 16
⊢ (𝐵 ∈ Fin →
(♯‘𝐵) ∈
ℕ0) |
12 | 11 | ad2antlr 723 |
. . . . . . . . . . . . . . 15
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(♯‘𝐵) ∈
ℕ0) |
13 | | simpr 484 |
. . . . . . . . . . . . . . 15
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(♯‘𝐴) ≤
(♯‘𝐵)) |
14 | | nn0sub2 12311 |
. . . . . . . . . . . . . . 15
⊢
(((♯‘𝐴)
∈ ℕ0 ∧ (♯‘𝐵) ∈ ℕ0 ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((♯‘𝐵) −
(♯‘𝐴)) ∈
ℕ0) |
15 | 10, 12, 13, 14 | syl3anc 1369 |
. . . . . . . . . . . . . 14
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((♯‘𝐵) −
(♯‘𝐴)) ∈
ℕ0) |
16 | | hashfz1 13988 |
. . . . . . . . . . . . . 14
⊢
(((♯‘𝐵)
− (♯‘𝐴))
∈ ℕ0 → (♯‘(1...((♯‘𝐵) − (♯‘𝐴)))) = ((♯‘𝐵) − (♯‘𝐴))) |
17 | 15, 16 | syl 17 |
. . . . . . . . . . . . 13
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(♯‘(1...((♯‘𝐵) − (♯‘𝐴)))) = ((♯‘𝐵) − (♯‘𝐴))) |
18 | 8, 17 | eqtrid 2790 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴))))) = ((♯‘𝐵) − (♯‘𝐴))) |
19 | 6, 18 | oveq12d 7273 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) = ((♯‘𝐴) + ((♯‘𝐵) − (♯‘𝐴)))) |
20 | 9 | nn0cnd 12225 |
. . . . . . . . . . . . 13
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℂ) |
21 | 11 | nn0cnd 12225 |
. . . . . . . . . . . . 13
⊢ (𝐵 ∈ Fin →
(♯‘𝐵) ∈
ℂ) |
22 | | pncan3 11159 |
. . . . . . . . . . . . 13
⊢
(((♯‘𝐴)
∈ ℂ ∧ (♯‘𝐵) ∈ ℂ) →
((♯‘𝐴) +
((♯‘𝐵) −
(♯‘𝐴))) =
(♯‘𝐵)) |
23 | 20, 21, 22 | syl2an 595 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((♯‘𝐴) +
((♯‘𝐵) −
(♯‘𝐴))) =
(♯‘𝐵)) |
24 | 23 | adantr 480 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((♯‘𝐴) +
((♯‘𝐵) −
(♯‘𝐴))) =
(♯‘𝐵)) |
25 | 19, 24 | eqtrd 2778 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) = (♯‘𝐵)) |
26 | | ficardom 9650 |
. . . . . . . . . . . 12
⊢ (𝐴 ∈ Fin →
(card‘𝐴) ∈
ω) |
27 | 26 | ad2antrr 722 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(card‘𝐴) ∈
ω) |
28 | 4 | hashgadd 14020 |
. . . . . . . . . . 11
⊢
(((card‘𝐴)
∈ ω ∧ (card‘(1...((♯‘𝐵) − (♯‘𝐴)))) ∈ ω) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) = (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴))))))) |
29 | 27, 3, 28 | sylancl 585 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) = (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘(1...((♯‘𝐵) − (♯‘𝐴))))))) |
30 | 4 | hashgval 13975 |
. . . . . . . . . . 11
⊢ (𝐵 ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) = (♯‘𝐵)) |
31 | 30 | ad2antlr 723 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) = (♯‘𝐵)) |
32 | 25, 29, 31 | 3eqtr4d 2788 |
. . . . . . . . 9
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵))) |
33 | 32 | fveq2d 6760 |
. . . . . . . 8
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴))))))) = (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘(card‘𝐵)))) |
34 | 4 | hashgf1o 13619 |
. . . . . . . . 9
⊢
(rec((𝑥 ∈ V
↦ (𝑥 + 1)), 0)
↾ ω):ω–1-1-onto→ℕ0 |
35 | | nnacl 8404 |
. . . . . . . . . 10
⊢
(((card‘𝐴)
∈ ω ∧ (card‘(1...((♯‘𝐵) − (♯‘𝐴)))) ∈ ω) →
((card‘𝐴)
+o (card‘(1...((♯‘𝐵) − (♯‘𝐴))))) ∈ ω) |
36 | 27, 3, 35 | sylancl 585 |
. . . . . . . . 9
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((card‘𝐴)
+o (card‘(1...((♯‘𝐵) − (♯‘𝐴))))) ∈ ω) |
37 | | f1ocnvfv1 7129 |
. . . . . . . . 9
⊢
(((rec((𝑥 ∈ V
↦ (𝑥 + 1)), 0)
↾ ω):ω–1-1-onto→ℕ0 ∧
((card‘𝐴)
+o (card‘(1...((♯‘𝐵) − (♯‘𝐴))))) ∈ ω) → (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴))))))) = ((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) |
38 | 34, 36, 37 | sylancr 586 |
. . . . . . . 8
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴))))))) = ((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) |
39 | | ficardom 9650 |
. . . . . . . . . 10
⊢ (𝐵 ∈ Fin →
(card‘𝐵) ∈
ω) |
40 | 39 | ad2antlr 723 |
. . . . . . . . 9
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(card‘𝐵) ∈
ω) |
41 | | f1ocnvfv1 7129 |
. . . . . . . . 9
⊢
(((rec((𝑥 ∈ V
↦ (𝑥 + 1)), 0)
↾ ω):ω–1-1-onto→ℕ0 ∧
(card‘𝐵) ∈
ω) → (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘(card‘𝐵))) = (card‘𝐵)) |
42 | 34, 40, 41 | sylancr 586 |
. . . . . . . 8
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((rec((𝑥
∈ V ↦ (𝑥 + 1)),
0) ↾ ω)‘(card‘𝐵))) = (card‘𝐵)) |
43 | 33, 38, 42 | 3eqtr3d 2786 |
. . . . . . 7
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
((card‘𝐴)
+o (card‘(1...((♯‘𝐵) − (♯‘𝐴))))) = (card‘𝐵)) |
44 | | oveq2 7263 |
. . . . . . . . 9
⊢ (𝑦 =
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))) → ((card‘𝐴) +o 𝑦) = ((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))))) |
45 | 44 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑦 =
(card‘(1...((♯‘𝐵) − (♯‘𝐴)))) → (((card‘𝐴) +o 𝑦) = (card‘𝐵) ↔ ((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴))))) = (card‘𝐵))) |
46 | 45 | rspcev 3552 |
. . . . . . 7
⊢
(((card‘(1...((♯‘𝐵) − (♯‘𝐴)))) ∈ ω ∧ ((card‘𝐴) +o
(card‘(1...((♯‘𝐵) − (♯‘𝐴))))) = (card‘𝐵)) → ∃𝑦 ∈ ω ((card‘𝐴) +o 𝑦) = (card‘𝐵)) |
47 | 3, 43, 46 | sylancr 586 |
. . . . . 6
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧
(♯‘𝐴) ≤
(♯‘𝐵)) →
∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵)) |
48 | 47 | ex 412 |
. . . . 5
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((♯‘𝐴) ≤
(♯‘𝐵) →
∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵))) |
49 | | cardnn 9652 |
. . . . . . . . . 10
⊢ (𝑦 ∈ ω →
(card‘𝑦) = 𝑦) |
50 | 49 | adantl 481 |
. . . . . . . . 9
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
(card‘𝑦) = 𝑦) |
51 | 50 | oveq2d 7271 |
. . . . . . . 8
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
((card‘𝐴)
+o (card‘𝑦)) = ((card‘𝐴) +o 𝑦)) |
52 | 51 | eqeq1d 2740 |
. . . . . . 7
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
(((card‘𝐴)
+o (card‘𝑦)) = (card‘𝐵) ↔ ((card‘𝐴) +o 𝑦) = (card‘𝐵))) |
53 | | fveq2 6756 |
. . . . . . . 8
⊢
(((card‘𝐴)
+o (card‘𝑦)) = (card‘𝐵) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵))) |
54 | | nnfi 8912 |
. . . . . . . . 9
⊢ (𝑦 ∈ ω → 𝑦 ∈ Fin) |
55 | | ficardom 9650 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ Fin →
(card‘𝑦) ∈
ω) |
56 | 4 | hashgadd 14020 |
. . . . . . . . . . . . . 14
⊢
(((card‘𝐴)
∈ ω ∧ (card‘𝑦) ∈ ω) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝑦)))) |
57 | 26, 55, 56 | syl2an 595 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝑦)))) |
58 | 4 | hashgval 13975 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝑦)) = (♯‘𝑦)) |
59 | 5, 58 | oveqan12d 7274 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘(card‘𝐴)) + ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝑦))) = ((♯‘𝐴) + (♯‘𝑦))) |
60 | 57, 59 | eqtrd 2778 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((♯‘𝐴) + (♯‘𝑦))) |
61 | 60 | adantlr 711 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((♯‘𝐴) + (♯‘𝑦))) |
62 | 30 | ad2antlr 723 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) = (♯‘𝐵)) |
63 | 61, 62 | eqeq12d 2754 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) ↔ ((♯‘𝐴) + (♯‘𝑦)) = (♯‘𝐵))) |
64 | | hashcl 13999 |
. . . . . . . . . . . . . . 15
⊢ (𝑦 ∈ Fin →
(♯‘𝑦) ∈
ℕ0) |
65 | 64 | nn0ge0d 12226 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ Fin → 0 ≤
(♯‘𝑦)) |
66 | 65 | adantl 481 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) → 0 ≤
(♯‘𝑦)) |
67 | 9 | nn0red 12224 |
. . . . . . . . . . . . . 14
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℝ) |
68 | 64 | nn0red 12224 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ Fin →
(♯‘𝑦) ∈
ℝ) |
69 | | addge01 11415 |
. . . . . . . . . . . . . 14
⊢
(((♯‘𝐴)
∈ ℝ ∧ (♯‘𝑦) ∈ ℝ) → (0 ≤
(♯‘𝑦) ↔
(♯‘𝐴) ≤
((♯‘𝐴) +
(♯‘𝑦)))) |
70 | 67, 68, 69 | syl2an 595 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) → (0 ≤
(♯‘𝑦) ↔
(♯‘𝐴) ≤
((♯‘𝐴) +
(♯‘𝑦)))) |
71 | 66, 70 | mpbid 231 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∈ Fin ∧ 𝑦 ∈ Fin) →
(♯‘𝐴) ≤
((♯‘𝐴) +
(♯‘𝑦))) |
72 | 71 | adantlr 711 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) →
(♯‘𝐴) ≤
((♯‘𝐴) +
(♯‘𝑦))) |
73 | | breq2 5074 |
. . . . . . . . . . 11
⊢
(((♯‘𝐴)
+ (♯‘𝑦)) =
(♯‘𝐵) →
((♯‘𝐴) ≤
((♯‘𝐴) +
(♯‘𝑦)) ↔
(♯‘𝐴) ≤
(♯‘𝐵))) |
74 | 72, 73 | syl5ibcom 244 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) →
(((♯‘𝐴) +
(♯‘𝑦)) =
(♯‘𝐵) →
(♯‘𝐴) ≤
(♯‘𝐵))) |
75 | 63, 74 | sylbid 239 |
. . . . . . . . 9
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ Fin) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) → (♯‘𝐴) ≤ (♯‘𝐵))) |
76 | 54, 75 | sylan2 592 |
. . . . . . . 8
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
(((rec((𝑥 ∈ V ↦
(𝑥 + 1)), 0) ↾
ω)‘((card‘𝐴) +o (card‘𝑦))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾
ω)‘(card‘𝐵)) → (♯‘𝐴) ≤ (♯‘𝐵))) |
77 | 53, 76 | syl5 34 |
. . . . . . 7
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
(((card‘𝐴)
+o (card‘𝑦)) = (card‘𝐵) → (♯‘𝐴) ≤ (♯‘𝐵))) |
78 | 52, 77 | sylbird 259 |
. . . . . 6
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) ∧ 𝑦 ∈ ω) →
(((card‘𝐴)
+o 𝑦) =
(card‘𝐵) →
(♯‘𝐴) ≤
(♯‘𝐵))) |
79 | 78 | rexlimdva 3212 |
. . . . 5
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
(∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵) →
(♯‘𝐴) ≤
(♯‘𝐵))) |
80 | 48, 79 | impbid 211 |
. . . 4
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((♯‘𝐴) ≤
(♯‘𝐵) ↔
∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵))) |
81 | | nnawordex 8430 |
. . . . 5
⊢
(((card‘𝐴)
∈ ω ∧ (card‘𝐵) ∈ ω) → ((card‘𝐴) ⊆ (card‘𝐵) ↔ ∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵))) |
82 | 26, 39, 81 | syl2an 595 |
. . . 4
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((card‘𝐴) ⊆
(card‘𝐵) ↔
∃𝑦 ∈ ω
((card‘𝐴)
+o 𝑦) =
(card‘𝐵))) |
83 | | finnum 9637 |
. . . . 5
⊢ (𝐴 ∈ Fin → 𝐴 ∈ dom
card) |
84 | | finnum 9637 |
. . . . 5
⊢ (𝐵 ∈ Fin → 𝐵 ∈ dom
card) |
85 | | carddom2 9666 |
. . . . 5
⊢ ((𝐴 ∈ dom card ∧ 𝐵 ∈ dom card) →
((card‘𝐴) ⊆
(card‘𝐵) ↔ 𝐴 ≼ 𝐵)) |
86 | 83, 84, 85 | syl2an 595 |
. . . 4
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((card‘𝐴) ⊆
(card‘𝐵) ↔ 𝐴 ≼ 𝐵)) |
87 | 80, 82, 86 | 3bitr2d 306 |
. . 3
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) →
((♯‘𝐴) ≤
(♯‘𝐵) ↔
𝐴 ≼ 𝐵)) |
88 | 87 | adantlr 711 |
. 2
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ 𝐵 ∈ Fin) → ((♯‘𝐴) ≤ (♯‘𝐵) ↔ 𝐴 ≼ 𝐵)) |
89 | | hashxrcl 14000 |
. . . . . 6
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℝ*) |
90 | 89 | ad2antrr 722 |
. . . . 5
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → (♯‘𝐴) ∈
ℝ*) |
91 | | pnfge 12795 |
. . . . 5
⊢
((♯‘𝐴)
∈ ℝ* → (♯‘𝐴) ≤ +∞) |
92 | 90, 91 | syl 17 |
. . . 4
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → (♯‘𝐴) ≤
+∞) |
93 | | hashinf 13977 |
. . . . 5
⊢ ((𝐵 ∈ 𝑉 ∧ ¬ 𝐵 ∈ Fin) → (♯‘𝐵) = +∞) |
94 | 93 | adantll 710 |
. . . 4
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → (♯‘𝐵) = +∞) |
95 | 92, 94 | breqtrrd 5098 |
. . 3
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → (♯‘𝐴) ≤ (♯‘𝐵)) |
96 | | isinffi 9681 |
. . . . . 6
⊢ ((¬
𝐵 ∈ Fin ∧ 𝐴 ∈ Fin) → ∃𝑓 𝑓:𝐴–1-1→𝐵) |
97 | 96 | ancoms 458 |
. . . . 5
⊢ ((𝐴 ∈ Fin ∧ ¬ 𝐵 ∈ Fin) → ∃𝑓 𝑓:𝐴–1-1→𝐵) |
98 | 97 | adantlr 711 |
. . . 4
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → ∃𝑓 𝑓:𝐴–1-1→𝐵) |
99 | | brdomg 8703 |
. . . . 5
⊢ (𝐵 ∈ 𝑉 → (𝐴 ≼ 𝐵 ↔ ∃𝑓 𝑓:𝐴–1-1→𝐵)) |
100 | 99 | ad2antlr 723 |
. . . 4
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → (𝐴 ≼ 𝐵 ↔ ∃𝑓 𝑓:𝐴–1-1→𝐵)) |
101 | 98, 100 | mpbird 256 |
. . 3
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → 𝐴 ≼ 𝐵) |
102 | 95, 101 | 2thd 264 |
. 2
⊢ (((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) ∧ ¬ 𝐵 ∈ Fin) → ((♯‘𝐴) ≤ (♯‘𝐵) ↔ 𝐴 ≼ 𝐵)) |
103 | 88, 102 | pm2.61dan 809 |
1
⊢ ((𝐴 ∈ Fin ∧ 𝐵 ∈ 𝑉) → ((♯‘𝐴) ≤ (♯‘𝐵) ↔ 𝐴 ≼ 𝐵)) |