Step | Hyp | Ref
| Expression |
1 | | erdsze2lem.n |
. . . . . . . . 9
⊢ 𝑁 = ((𝑅 − 1) · (𝑆 − 1)) |
2 | | erdsze2.r |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑅 ∈ ℕ) |
3 | | nnm1nn0 12204 |
. . . . . . . . . . 11
⊢ (𝑅 ∈ ℕ → (𝑅 − 1) ∈
ℕ0) |
4 | 2, 3 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑅 − 1) ∈
ℕ0) |
5 | | erdsze2.s |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑆 ∈ ℕ) |
6 | | nnm1nn0 12204 |
. . . . . . . . . . 11
⊢ (𝑆 ∈ ℕ → (𝑆 − 1) ∈
ℕ0) |
7 | 5, 6 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑆 − 1) ∈
ℕ0) |
8 | 4, 7 | nn0mulcld 12228 |
. . . . . . . . 9
⊢ (𝜑 → ((𝑅 − 1) · (𝑆 − 1)) ∈
ℕ0) |
9 | 1, 8 | eqeltrid 2843 |
. . . . . . . 8
⊢ (𝜑 → 𝑁 ∈
ℕ0) |
10 | | peano2nn0 12203 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ0) |
11 | | hashfz1 13988 |
. . . . . . . 8
⊢ ((𝑁 + 1) ∈ ℕ0
→ (♯‘(1...(𝑁 + 1))) = (𝑁 + 1)) |
12 | 9, 10, 11 | 3syl 18 |
. . . . . . 7
⊢ (𝜑 → (♯‘(1...(𝑁 + 1))) = (𝑁 + 1)) |
13 | 12 | adantr 480 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) →
(♯‘(1...(𝑁 +
1))) = (𝑁 +
1)) |
14 | | erdsze2lem.l |
. . . . . . . 8
⊢ (𝜑 → 𝑁 < (♯‘𝐴)) |
15 | 14 | adantr 480 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → 𝑁 < (♯‘𝐴)) |
16 | | hashcl 13999 |
. . . . . . . 8
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℕ0) |
17 | | nn0ltp1le 12308 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (♯‘𝐴)
∈ ℕ0) → (𝑁 < (♯‘𝐴) ↔ (𝑁 + 1) ≤ (♯‘𝐴))) |
18 | 9, 16, 17 | syl2an 595 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → (𝑁 < (♯‘𝐴) ↔ (𝑁 + 1) ≤ (♯‘𝐴))) |
19 | 15, 18 | mpbid 231 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → (𝑁 + 1) ≤ (♯‘𝐴)) |
20 | 13, 19 | eqbrtrd 5092 |
. . . . 5
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) →
(♯‘(1...(𝑁 +
1))) ≤ (♯‘𝐴)) |
21 | | fzfid 13621 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → (1...(𝑁 + 1)) ∈ Fin) |
22 | | simpr 484 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → 𝐴 ∈ Fin) |
23 | | hashdom 14022 |
. . . . . 6
⊢
(((1...(𝑁 + 1))
∈ Fin ∧ 𝐴 ∈
Fin) → ((♯‘(1...(𝑁 + 1))) ≤ (♯‘𝐴) ↔ (1...(𝑁 + 1)) ≼ 𝐴)) |
24 | 21, 22, 23 | syl2anc 583 |
. . . . 5
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) →
((♯‘(1...(𝑁 +
1))) ≤ (♯‘𝐴)
↔ (1...(𝑁 + 1))
≼ 𝐴)) |
25 | 20, 24 | mpbid 231 |
. . . 4
⊢ ((𝜑 ∧ 𝐴 ∈ Fin) → (1...(𝑁 + 1)) ≼ 𝐴) |
26 | | simpr 484 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → ¬ 𝐴 ∈ Fin) |
27 | | fzfid 13621 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → (1...(𝑁 + 1)) ∈ Fin) |
28 | | isinffi 9681 |
. . . . . 6
⊢ ((¬
𝐴 ∈ Fin ∧
(1...(𝑁 + 1)) ∈ Fin)
→ ∃𝑓 𝑓:(1...(𝑁 + 1))–1-1→𝐴) |
29 | 26, 27, 28 | syl2anc 583 |
. . . . 5
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → ∃𝑓 𝑓:(1...(𝑁 + 1))–1-1→𝐴) |
30 | | erdsze2.a |
. . . . . . . 8
⊢ (𝜑 → 𝐴 ⊆ ℝ) |
31 | | reex 10893 |
. . . . . . . 8
⊢ ℝ
∈ V |
32 | | ssexg 5242 |
. . . . . . . 8
⊢ ((𝐴 ⊆ ℝ ∧ ℝ
∈ V) → 𝐴 ∈
V) |
33 | 30, 31, 32 | sylancl 585 |
. . . . . . 7
⊢ (𝜑 → 𝐴 ∈ V) |
34 | 33 | adantr 480 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → 𝐴 ∈ V) |
35 | | brdomg 8703 |
. . . . . 6
⊢ (𝐴 ∈ V → ((1...(𝑁 + 1)) ≼ 𝐴 ↔ ∃𝑓 𝑓:(1...(𝑁 + 1))–1-1→𝐴)) |
36 | 34, 35 | syl 17 |
. . . . 5
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → ((1...(𝑁 + 1)) ≼ 𝐴 ↔ ∃𝑓 𝑓:(1...(𝑁 + 1))–1-1→𝐴)) |
37 | 29, 36 | mpbird 256 |
. . . 4
⊢ ((𝜑 ∧ ¬ 𝐴 ∈ Fin) → (1...(𝑁 + 1)) ≼ 𝐴) |
38 | 25, 37 | pm2.61dan 809 |
. . 3
⊢ (𝜑 → (1...(𝑁 + 1)) ≼ 𝐴) |
39 | | domeng 8707 |
. . . 4
⊢ (𝐴 ∈ V → ((1...(𝑁 + 1)) ≼ 𝐴 ↔ ∃𝑠((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴))) |
40 | 33, 39 | syl 17 |
. . 3
⊢ (𝜑 → ((1...(𝑁 + 1)) ≼ 𝐴 ↔ ∃𝑠((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴))) |
41 | 38, 40 | mpbid 231 |
. 2
⊢ (𝜑 → ∃𝑠((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) |
42 | | simprr 769 |
. . . . . 6
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → 𝑠 ⊆ 𝐴) |
43 | 30 | adantr 480 |
. . . . . 6
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → 𝐴 ⊆ ℝ) |
44 | 42, 43 | sstrd 3927 |
. . . . 5
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → 𝑠 ⊆ ℝ) |
45 | | ltso 10986 |
. . . . 5
⊢ < Or
ℝ |
46 | | soss 5514 |
. . . . 5
⊢ (𝑠 ⊆ ℝ → ( <
Or ℝ → < Or 𝑠)) |
47 | 44, 45, 46 | mpisyl 21 |
. . . 4
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → < Or 𝑠) |
48 | | fzfid 13621 |
. . . . 5
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (1...(𝑁 + 1)) ∈ Fin) |
49 | | simprl 767 |
. . . . . 6
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (1...(𝑁 + 1)) ≈ 𝑠) |
50 | | enfi 8933 |
. . . . . 6
⊢
((1...(𝑁 + 1))
≈ 𝑠 →
((1...(𝑁 + 1)) ∈ Fin
↔ 𝑠 ∈
Fin)) |
51 | 49, 50 | syl 17 |
. . . . 5
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → ((1...(𝑁 + 1)) ∈ Fin ↔ 𝑠 ∈ Fin)) |
52 | 48, 51 | mpbid 231 |
. . . 4
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → 𝑠 ∈ Fin) |
53 | | fz1iso 14104 |
. . . 4
⊢ (( <
Or 𝑠 ∧ 𝑠 ∈ Fin) → ∃𝑓 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) |
54 | 47, 52, 53 | syl2anc 583 |
. . 3
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → ∃𝑓 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) |
55 | | isof1o 7174 |
. . . . . . . . . 10
⊢ (𝑓 Isom < , <
((1...(♯‘𝑠)),
𝑠) → 𝑓:(1...(♯‘𝑠))–1-1-onto→𝑠) |
56 | 55 | adantl 481 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓:(1...(♯‘𝑠))–1-1-onto→𝑠) |
57 | | hashen 13989 |
. . . . . . . . . . . . . . 15
⊢
(((1...(𝑁 + 1))
∈ Fin ∧ 𝑠 ∈
Fin) → ((♯‘(1...(𝑁 + 1))) = (♯‘𝑠) ↔ (1...(𝑁 + 1)) ≈ 𝑠)) |
58 | 48, 52, 57 | syl2anc 583 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → ((♯‘(1...(𝑁 + 1))) = (♯‘𝑠) ↔ (1...(𝑁 + 1)) ≈ 𝑠)) |
59 | 49, 58 | mpbird 256 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (♯‘(1...(𝑁 + 1))) = (♯‘𝑠)) |
60 | 12 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (♯‘(1...(𝑁 + 1))) = (𝑁 + 1)) |
61 | 59, 60 | eqtr3d 2780 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (♯‘𝑠) = (𝑁 + 1)) |
62 | 61 | adantr 480 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (♯‘𝑠) = (𝑁 + 1)) |
63 | 62 | oveq2d 7271 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (1...(♯‘𝑠)) = (1...(𝑁 + 1))) |
64 | 63 | f1oeq2d 6696 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (𝑓:(1...(♯‘𝑠))–1-1-onto→𝑠 ↔ 𝑓:(1...(𝑁 + 1))–1-1-onto→𝑠)) |
65 | 56, 64 | mpbid 231 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓:(1...(𝑁 + 1))–1-1-onto→𝑠) |
66 | | f1of1 6699 |
. . . . . . . 8
⊢ (𝑓:(1...(𝑁 + 1))–1-1-onto→𝑠 → 𝑓:(1...(𝑁 + 1))–1-1→𝑠) |
67 | 65, 66 | syl 17 |
. . . . . . 7
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓:(1...(𝑁 + 1))–1-1→𝑠) |
68 | | simplrr 774 |
. . . . . . 7
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑠 ⊆ 𝐴) |
69 | | f1ss 6660 |
. . . . . . 7
⊢ ((𝑓:(1...(𝑁 + 1))–1-1→𝑠 ∧ 𝑠 ⊆ 𝐴) → 𝑓:(1...(𝑁 + 1))–1-1→𝐴) |
70 | 67, 68, 69 | syl2anc 583 |
. . . . . 6
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓:(1...(𝑁 + 1))–1-1→𝐴) |
71 | | simpr 484 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) |
72 | | f1ofo 6707 |
. . . . . . . . 9
⊢ (𝑓:(1...(♯‘𝑠))–1-1-onto→𝑠 → 𝑓:(1...(♯‘𝑠))–onto→𝑠) |
73 | | forn 6675 |
. . . . . . . . 9
⊢ (𝑓:(1...(♯‘𝑠))–onto→𝑠 → ran 𝑓 = 𝑠) |
74 | | isoeq5 7172 |
. . . . . . . . 9
⊢ (ran
𝑓 = 𝑠 → (𝑓 Isom < , < ((1...(♯‘𝑠)), ran 𝑓) ↔ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠))) |
75 | 56, 72, 73, 74 | 4syl 19 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (𝑓 Isom < , < ((1...(♯‘𝑠)), ran 𝑓) ↔ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠))) |
76 | 71, 75 | mpbird 256 |
. . . . . . 7
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓 Isom < , < ((1...(♯‘𝑠)), ran 𝑓)) |
77 | | isoeq4 7171 |
. . . . . . . 8
⊢
((1...(♯‘𝑠)) = (1...(𝑁 + 1)) → (𝑓 Isom < , < ((1...(♯‘𝑠)), ran 𝑓) ↔ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓))) |
78 | 63, 77 | syl 17 |
. . . . . . 7
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (𝑓 Isom < , < ((1...(♯‘𝑠)), ran 𝑓) ↔ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓))) |
79 | 76, 78 | mpbid 231 |
. . . . . 6
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓)) |
80 | 70, 79 | jca 511 |
. . . . 5
⊢ (((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) ∧ 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠)) → (𝑓:(1...(𝑁 + 1))–1-1→𝐴 ∧ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓))) |
81 | 80 | ex 412 |
. . . 4
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠) → (𝑓:(1...(𝑁 + 1))–1-1→𝐴 ∧ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓)))) |
82 | 81 | eximdv 1921 |
. . 3
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → (∃𝑓 𝑓 Isom < , < ((1...(♯‘𝑠)), 𝑠) → ∃𝑓(𝑓:(1...(𝑁 + 1))–1-1→𝐴 ∧ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓)))) |
83 | 54, 82 | mpd 15 |
. 2
⊢ ((𝜑 ∧ ((1...(𝑁 + 1)) ≈ 𝑠 ∧ 𝑠 ⊆ 𝐴)) → ∃𝑓(𝑓:(1...(𝑁 + 1))–1-1→𝐴 ∧ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓))) |
84 | 41, 83 | exlimddv 1939 |
1
⊢ (𝜑 → ∃𝑓(𝑓:(1...(𝑁 + 1))–1-1→𝐴 ∧ 𝑓 Isom < , < ((1...(𝑁 + 1)), ran 𝑓))) |