Step | Hyp | Ref
| Expression |
1 | | eulerpart.j |
. . . . 5
⊢ 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧} |
2 | | eulerpart.f |
. . . . 5
⊢ 𝐹 = (𝑥 ∈ 𝐽, 𝑦 ∈ ℕ0 ↦
((2↑𝑦) · 𝑥)) |
3 | 1, 2 | oddpwdc 32221 |
. . . 4
⊢ 𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ |
4 | | f1of1 6699 |
. . . 4
⊢ (𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ → 𝐹:(𝐽 × ℕ0)–1-1→ℕ) |
5 | 3, 4 | ax-mp 5 |
. . 3
⊢ 𝐹:(𝐽 × ℕ0)–1-1→ℕ |
6 | | eulerpartlemgh.1 |
. . . 4
⊢ 𝑈 = ∪ 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡))) |
7 | | iunss 4971 |
. . . . 5
⊢ (∪ 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 × ℕ0) ↔
∀𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 ×
ℕ0)) |
8 | | inss2 4160 |
. . . . . . . 8
⊢ ((◡𝐴 “ ℕ) ∩ 𝐽) ⊆ 𝐽 |
9 | 8 | sseli 3913 |
. . . . . . 7
⊢ (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) → 𝑡 ∈ 𝐽) |
10 | 9 | snssd 4739 |
. . . . . 6
⊢ (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) → {𝑡} ⊆ 𝐽) |
11 | | bitsss 16061 |
. . . . . 6
⊢
(bits‘(𝐴‘𝑡)) ⊆
ℕ0 |
12 | | xpss12 5595 |
. . . . . 6
⊢ (({𝑡} ⊆ 𝐽 ∧ (bits‘(𝐴‘𝑡)) ⊆ ℕ0) →
({𝑡} ×
(bits‘(𝐴‘𝑡))) ⊆ (𝐽 ×
ℕ0)) |
13 | 10, 11, 12 | sylancl 585 |
. . . . 5
⊢ (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) → ({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 ×
ℕ0)) |
14 | 7, 13 | mprgbir 3078 |
. . . 4
⊢ ∪ 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 ×
ℕ0) |
15 | 6, 14 | eqsstri 3951 |
. . 3
⊢ 𝑈 ⊆ (𝐽 ×
ℕ0) |
16 | | f1ores 6714 |
. . 3
⊢ ((𝐹:(𝐽 × ℕ0)–1-1→ℕ ∧ 𝑈 ⊆ (𝐽 × ℕ0)) → (𝐹 ↾ 𝑈):𝑈–1-1-onto→(𝐹 “ 𝑈)) |
17 | 5, 15, 16 | mp2an 688 |
. 2
⊢ (𝐹 ↾ 𝑈):𝑈–1-1-onto→(𝐹 “ 𝑈) |
18 | | simpr 484 |
. . . . . . . . . 10
⊢ ((((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) ∧ ((2↑𝑛) · 𝑡) = 𝑝) → ((2↑𝑛) · 𝑡) = 𝑝) |
19 | | 2nn 11976 |
. . . . . . . . . . . . . 14
⊢ 2 ∈
ℕ |
20 | 19 | a1i 11 |
. . . . . . . . . . . . 13
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → 2 ∈ ℕ) |
21 | 11 | sseli 3913 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈ (bits‘(𝐴‘𝑡)) → 𝑛 ∈ ℕ0) |
22 | 21 | adantl 481 |
. . . . . . . . . . . . 13
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → 𝑛 ∈ ℕ0) |
23 | 20, 22 | nnexpcld 13888 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → (2↑𝑛) ∈ ℕ) |
24 | | simplr 765 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → 𝑡 ∈ ℕ) |
25 | 23, 24 | nnmulcld 11956 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → ((2↑𝑛) · 𝑡) ∈ ℕ) |
26 | 25 | adantr 480 |
. . . . . . . . . 10
⊢ ((((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) ∧ ((2↑𝑛) · 𝑡) = 𝑝) → ((2↑𝑛) · 𝑡) ∈ ℕ) |
27 | 18, 26 | eqeltrrd 2840 |
. . . . . . . . 9
⊢ ((((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) ∧ ((2↑𝑛) · 𝑡) = 𝑝) → 𝑝 ∈ ℕ) |
28 | 27 | rexlimdva2 3215 |
. . . . . . . 8
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → 𝑝 ∈ ℕ)) |
29 | 28 | rexlimdva 3212 |
. . . . . . 7
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → 𝑝 ∈ ℕ)) |
30 | 29 | pm4.71rd 562 |
. . . . . 6
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 ↔ (𝑝 ∈ ℕ ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝))) |
31 | | rex0 4288 |
. . . . . . . . . . . . . . 15
⊢ ¬
∃𝑛 ∈ ∅
((2↑𝑛) · 𝑡) = 𝑝 |
32 | | simplr 765 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → 𝑡 ∈ ℕ) |
33 | | simpr 484 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) |
34 | | eulerpart.p |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝑃 = {𝑓 ∈ (ℕ0
↑m ℕ) ∣ ((◡𝑓 “ ℕ) ∈ Fin ∧
Σ𝑘 ∈ ℕ
((𝑓‘𝑘) · 𝑘) = 𝑁)} |
35 | | eulerpart.o |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝑂 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ (◡𝑔 “ ℕ) ¬ 2 ∥ 𝑛} |
36 | | eulerpart.d |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝐷 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔‘𝑛) ≤ 1} |
37 | | eulerpart.h |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝐻 = {𝑟 ∈ ((𝒫 ℕ0 ∩
Fin) ↑m 𝐽)
∣ (𝑟 supp ∅)
∈ Fin} |
38 | | eulerpart.m |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝑀 = (𝑟 ∈ 𝐻 ↦ {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐽 ∧ 𝑦 ∈ (𝑟‘𝑥))}) |
39 | | eulerpart.r |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝑅 = {𝑓 ∣ (◡𝑓 “ ℕ) ∈
Fin} |
40 | | eulerpart.t |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 𝑇 = {𝑓 ∈ (ℕ0
↑m ℕ) ∣ (◡𝑓 “ ℕ) ⊆ 𝐽} |
41 | 34, 35, 36, 1, 2, 37, 38, 39, 40 | eulerpartlemt0 32236 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) ↔ (𝐴 ∈ (ℕ0
↑m ℕ) ∧ (◡𝐴 “ ℕ) ∈ Fin ∧ (◡𝐴 “ ℕ) ⊆ 𝐽)) |
42 | 41 | simp1bi 1143 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → 𝐴 ∈ (ℕ0
↑m ℕ)) |
43 | | elmapi 8595 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝐴 ∈ (ℕ0
↑m ℕ) → 𝐴:ℕ⟶ℕ0) |
44 | 42, 43 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → 𝐴:ℕ⟶ℕ0) |
45 | 44 | ad2antrr 722 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → 𝐴:ℕ⟶ℕ0) |
46 | | ffn 6584 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝐴:ℕ⟶ℕ0 →
𝐴 Fn
ℕ) |
47 | | elpreima 6917 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝐴 Fn ℕ → (𝑡 ∈ (◡𝐴 “ ℕ) ↔ (𝑡 ∈ ℕ ∧ (𝐴‘𝑡) ∈ ℕ))) |
48 | 45, 46, 47 | 3syl 18 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (𝑡 ∈ (◡𝐴 “ ℕ) ↔ (𝑡 ∈ ℕ ∧ (𝐴‘𝑡) ∈ ℕ))) |
49 | 33, 48 | mtbid 323 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → ¬ (𝑡 ∈ ℕ ∧ (𝐴‘𝑡) ∈ ℕ)) |
50 | | imnan 399 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑡 ∈ ℕ → ¬
(𝐴‘𝑡) ∈ ℕ) ↔ ¬ (𝑡 ∈ ℕ ∧ (𝐴‘𝑡) ∈ ℕ)) |
51 | 49, 50 | sylibr 233 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (𝑡 ∈ ℕ → ¬
(𝐴‘𝑡) ∈ ℕ)) |
52 | 32, 51 | mpd 15 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → ¬ (𝐴‘𝑡) ∈ ℕ) |
53 | 45, 32 | ffvelrnd 6944 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (𝐴‘𝑡) ∈
ℕ0) |
54 | | elnn0 12165 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝐴‘𝑡) ∈ ℕ0 ↔ ((𝐴‘𝑡) ∈ ℕ ∨ (𝐴‘𝑡) = 0)) |
55 | 53, 54 | sylib 217 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → ((𝐴‘𝑡) ∈ ℕ ∨ (𝐴‘𝑡) = 0)) |
56 | | orel1 885 |
. . . . . . . . . . . . . . . . . . 19
⊢ (¬
(𝐴‘𝑡) ∈ ℕ → (((𝐴‘𝑡) ∈ ℕ ∨ (𝐴‘𝑡) = 0) → (𝐴‘𝑡) = 0)) |
57 | 52, 55, 56 | sylc 65 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (𝐴‘𝑡) = 0) |
58 | 57 | fveq2d 6760 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (bits‘(𝐴‘𝑡)) = (bits‘0)) |
59 | | 0bits 16074 |
. . . . . . . . . . . . . . . . 17
⊢
(bits‘0) = ∅ |
60 | 58, 59 | eqtrdi 2795 |
. . . . . . . . . . . . . . . 16
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (bits‘(𝐴‘𝑡)) = ∅) |
61 | 60 | rexeqdv 3340 |
. . . . . . . . . . . . . . 15
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 ↔ ∃𝑛 ∈ ∅ ((2↑𝑛) · 𝑡) = 𝑝)) |
62 | 31, 61 | mtbiri 326 |
. . . . . . . . . . . . . 14
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ (◡𝐴 “ ℕ)) → ¬ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) |
63 | 62 | ex 412 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) → (¬ 𝑡 ∈ (◡𝐴 “ ℕ) → ¬ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
64 | 63 | con4d 115 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → 𝑡 ∈ (◡𝐴 “ ℕ))) |
65 | 64 | impr 454 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) → 𝑡 ∈ (◡𝐴 “ ℕ)) |
66 | | eldif 3893 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 ∈ (ℕ ∖ 𝐽) ↔ (𝑡 ∈ ℕ ∧ ¬ 𝑡 ∈ 𝐽)) |
67 | 34, 35, 36, 1, 2, 37, 38, 39, 40 | eulerpartlemf 32237 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → (𝐴‘𝑡) = 0) |
68 | 66, 67 | sylan2br 594 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ¬ 𝑡 ∈ 𝐽)) → (𝐴‘𝑡) = 0) |
69 | 68 | anassrs 467 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ 𝐽) → (𝐴‘𝑡) = 0) |
70 | 69 | fveq2d 6760 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ 𝐽) → (bits‘(𝐴‘𝑡)) = (bits‘0)) |
71 | 70, 59 | eqtrdi 2795 |
. . . . . . . . . . . . . . . 16
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ 𝐽) → (bits‘(𝐴‘𝑡)) = ∅) |
72 | 71 | rexeqdv 3340 |
. . . . . . . . . . . . . . 15
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ 𝐽) → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 ↔ ∃𝑛 ∈ ∅ ((2↑𝑛) · 𝑡) = 𝑝)) |
73 | 31, 72 | mtbiri 326 |
. . . . . . . . . . . . . 14
⊢ (((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) ∧ ¬ 𝑡 ∈ 𝐽) → ¬ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) |
74 | 73 | ex 412 |
. . . . . . . . . . . . 13
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) → (¬ 𝑡 ∈ 𝐽 → ¬ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
75 | 74 | con4d 115 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ 𝑡 ∈ ℕ) → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → 𝑡 ∈ 𝐽)) |
76 | 75 | impr 454 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) → 𝑡 ∈ 𝐽) |
77 | 65, 76 | elind 4124 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) → 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)) |
78 | | simprr 769 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) → ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) |
79 | 77, 78 | jca 511 |
. . . . . . . . 9
⊢ ((𝐴 ∈ (𝑇 ∩ 𝑅) ∧ (𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) → (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
80 | 79 | ex 412 |
. . . . . . . 8
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → ((𝑡 ∈ ℕ ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) → (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) ∧ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝))) |
81 | 80 | reximdv2 3198 |
. . . . . . 7
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
82 | | ssrab2 4009 |
. . . . . . . . . 10
⊢ {𝑧 ∈ ℕ ∣ ¬ 2
∥ 𝑧} ⊆
ℕ |
83 | 1, 82 | eqsstri 3951 |
. . . . . . . . 9
⊢ 𝐽 ⊆
ℕ |
84 | 8, 83 | sstri 3926 |
. . . . . . . 8
⊢ ((◡𝐴 “ ℕ) ∩ 𝐽) ⊆ ℕ |
85 | | ssrexv 3984 |
. . . . . . . 8
⊢ (((◡𝐴 “ ℕ) ∩ 𝐽) ⊆ ℕ → (∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
86 | 84, 85 | mp1i 13 |
. . . . . . 7
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
87 | 81, 86 | impbid 211 |
. . . . . 6
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝 ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
88 | 30, 87 | bitr3d 280 |
. . . . 5
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → ((𝑝 ∈ ℕ ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
89 | | eqeq2 2750 |
. . . . . . . 8
⊢ (𝑚 = 𝑝 → (((2↑𝑛) · 𝑡) = 𝑚 ↔ ((2↑𝑛) · 𝑡) = 𝑝)) |
90 | 89 | 2rexbidv 3228 |
. . . . . . 7
⊢ (𝑚 = 𝑝 → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚 ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
91 | 90 | elrab 3617 |
. . . . . 6
⊢ (𝑝 ∈ {𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚} ↔ (𝑝 ∈ ℕ ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
92 | 91 | a1i 11 |
. . . . 5
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (𝑝 ∈ {𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚} ↔ (𝑝 ∈ ℕ ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝))) |
93 | 6 | imaeq2i 5956 |
. . . . . . . . 9
⊢ (𝐹 “ 𝑈) = (𝐹 “ ∪
𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡)))) |
94 | | imaiun 7100 |
. . . . . . . . 9
⊢ (𝐹 “ ∪ 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)({𝑡} × (bits‘(𝐴‘𝑡)))) = ∪
𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)(𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) |
95 | 93, 94 | eqtri 2766 |
. . . . . . . 8
⊢ (𝐹 “ 𝑈) = ∪
𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)(𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) |
96 | 95 | eleq2i 2830 |
. . . . . . 7
⊢ (𝑝 ∈ (𝐹 “ 𝑈) ↔ 𝑝 ∈ ∪
𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)(𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡))))) |
97 | | eliun 4925 |
. . . . . . 7
⊢ (𝑝 ∈ ∪ 𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)(𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡))))) |
98 | | f1ofn 6701 |
. . . . . . . . . . . . 13
⊢ (𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ → 𝐹 Fn (𝐽 ×
ℕ0)) |
99 | 3, 98 | ax-mp 5 |
. . . . . . . . . . . 12
⊢ 𝐹 Fn (𝐽 ×
ℕ0) |
100 | | snssi 4738 |
. . . . . . . . . . . . 13
⊢ (𝑡 ∈ 𝐽 → {𝑡} ⊆ 𝐽) |
101 | 100, 11, 12 | sylancl 585 |
. . . . . . . . . . . 12
⊢ (𝑡 ∈ 𝐽 → ({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 ×
ℕ0)) |
102 | | ovelimab 7428 |
. . . . . . . . . . . 12
⊢ ((𝐹 Fn (𝐽 × ℕ0) ∧ ({𝑡} × (bits‘(𝐴‘𝑡))) ⊆ (𝐽 × ℕ0)) → (𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑥 ∈ {𝑡}∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑥𝐹𝑛))) |
103 | 99, 101, 102 | sylancr 586 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ 𝐽 → (𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑥 ∈ {𝑡}∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑥𝐹𝑛))) |
104 | | vex 3426 |
. . . . . . . . . . . 12
⊢ 𝑡 ∈ V |
105 | | oveq1 7262 |
. . . . . . . . . . . . . 14
⊢ (𝑥 = 𝑡 → (𝑥𝐹𝑛) = (𝑡𝐹𝑛)) |
106 | 105 | eqeq2d 2749 |
. . . . . . . . . . . . 13
⊢ (𝑥 = 𝑡 → (𝑝 = (𝑥𝐹𝑛) ↔ 𝑝 = (𝑡𝐹𝑛))) |
107 | 106 | rexbidv 3225 |
. . . . . . . . . . . 12
⊢ (𝑥 = 𝑡 → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑥𝐹𝑛) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑡𝐹𝑛))) |
108 | 104, 107 | rexsn 4615 |
. . . . . . . . . . 11
⊢
(∃𝑥 ∈
{𝑡}∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑥𝐹𝑛) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑡𝐹𝑛)) |
109 | 103, 108 | bitrdi 286 |
. . . . . . . . . 10
⊢ (𝑡 ∈ 𝐽 → (𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑡𝐹𝑛))) |
110 | | df-ov 7258 |
. . . . . . . . . . . . . . 15
⊢ (𝑡𝐹𝑛) = (𝐹‘〈𝑡, 𝑛〉) |
111 | 110 | eqeq1i 2743 |
. . . . . . . . . . . . . 14
⊢ ((𝑡𝐹𝑛) = 𝑝 ↔ (𝐹‘〈𝑡, 𝑛〉) = 𝑝) |
112 | | eqcom 2745 |
. . . . . . . . . . . . . 14
⊢ ((𝑡𝐹𝑛) = 𝑝 ↔ 𝑝 = (𝑡𝐹𝑛)) |
113 | 111, 112 | bitr3i 276 |
. . . . . . . . . . . . 13
⊢ ((𝐹‘〈𝑡, 𝑛〉) = 𝑝 ↔ 𝑝 = (𝑡𝐹𝑛)) |
114 | | opelxpi 5617 |
. . . . . . . . . . . . . . 15
⊢ ((𝑡 ∈ 𝐽 ∧ 𝑛 ∈ ℕ0) →
〈𝑡, 𝑛〉 ∈ (𝐽 ×
ℕ0)) |
115 | 1, 2 | oddpwdcv 32222 |
. . . . . . . . . . . . . . . 16
⊢
(〈𝑡, 𝑛〉 ∈ (𝐽 × ℕ0) → (𝐹‘〈𝑡, 𝑛〉) = ((2↑(2nd
‘〈𝑡, 𝑛〉)) ·
(1st ‘〈𝑡, 𝑛〉))) |
116 | | vex 3426 |
. . . . . . . . . . . . . . . . . . 19
⊢ 𝑛 ∈ V |
117 | 104, 116 | op2nd 7813 |
. . . . . . . . . . . . . . . . . 18
⊢
(2nd ‘〈𝑡, 𝑛〉) = 𝑛 |
118 | 117 | oveq2i 7266 |
. . . . . . . . . . . . . . . . 17
⊢
(2↑(2nd ‘〈𝑡, 𝑛〉)) = (2↑𝑛) |
119 | 104, 116 | op1st 7812 |
. . . . . . . . . . . . . . . . 17
⊢
(1st ‘〈𝑡, 𝑛〉) = 𝑡 |
120 | 118, 119 | oveq12i 7267 |
. . . . . . . . . . . . . . . 16
⊢
((2↑(2nd ‘〈𝑡, 𝑛〉)) · (1st
‘〈𝑡, 𝑛〉)) = ((2↑𝑛) · 𝑡) |
121 | 115, 120 | eqtrdi 2795 |
. . . . . . . . . . . . . . 15
⊢
(〈𝑡, 𝑛〉 ∈ (𝐽 × ℕ0) → (𝐹‘〈𝑡, 𝑛〉) = ((2↑𝑛) · 𝑡)) |
122 | 114, 121 | syl 17 |
. . . . . . . . . . . . . 14
⊢ ((𝑡 ∈ 𝐽 ∧ 𝑛 ∈ ℕ0) → (𝐹‘〈𝑡, 𝑛〉) = ((2↑𝑛) · 𝑡)) |
123 | 122 | eqeq1d 2740 |
. . . . . . . . . . . . 13
⊢ ((𝑡 ∈ 𝐽 ∧ 𝑛 ∈ ℕ0) → ((𝐹‘〈𝑡, 𝑛〉) = 𝑝 ↔ ((2↑𝑛) · 𝑡) = 𝑝)) |
124 | 113, 123 | bitr3id 284 |
. . . . . . . . . . . 12
⊢ ((𝑡 ∈ 𝐽 ∧ 𝑛 ∈ ℕ0) → (𝑝 = (𝑡𝐹𝑛) ↔ ((2↑𝑛) · 𝑡) = 𝑝)) |
125 | 21, 124 | sylan2 592 |
. . . . . . . . . . 11
⊢ ((𝑡 ∈ 𝐽 ∧ 𝑛 ∈ (bits‘(𝐴‘𝑡))) → (𝑝 = (𝑡𝐹𝑛) ↔ ((2↑𝑛) · 𝑡) = 𝑝)) |
126 | 125 | rexbidva 3224 |
. . . . . . . . . 10
⊢ (𝑡 ∈ 𝐽 → (∃𝑛 ∈ (bits‘(𝐴‘𝑡))𝑝 = (𝑡𝐹𝑛) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
127 | 109, 126 | bitrd 278 |
. . . . . . . . 9
⊢ (𝑡 ∈ 𝐽 → (𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
128 | 9, 127 | syl 17 |
. . . . . . . 8
⊢ (𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽) → (𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
129 | 128 | rexbiia 3176 |
. . . . . . 7
⊢
(∃𝑡 ∈
((◡𝐴 “ ℕ) ∩ 𝐽)𝑝 ∈ (𝐹 “ ({𝑡} × (bits‘(𝐴‘𝑡)))) ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) |
130 | 96, 97, 129 | 3bitri 296 |
. . . . . 6
⊢ (𝑝 ∈ (𝐹 “ 𝑈) ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝) |
131 | 130 | a1i 11 |
. . . . 5
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (𝑝 ∈ (𝐹 “ 𝑈) ↔ ∃𝑡 ∈ ((◡𝐴 “ ℕ) ∩ 𝐽)∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑝)) |
132 | 88, 92, 131 | 3bitr4rd 311 |
. . . 4
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (𝑝 ∈ (𝐹 “ 𝑈) ↔ 𝑝 ∈ {𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚})) |
133 | 132 | eqrdv 2736 |
. . 3
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (𝐹 “ 𝑈) = {𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚}) |
134 | | f1oeq3 6690 |
. . 3
⊢ ((𝐹 “ 𝑈) = {𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚} → ((𝐹 ↾ 𝑈):𝑈–1-1-onto→(𝐹 “ 𝑈) ↔ (𝐹 ↾ 𝑈):𝑈–1-1-onto→{𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚})) |
135 | 133, 134 | syl 17 |
. 2
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → ((𝐹 ↾ 𝑈):𝑈–1-1-onto→(𝐹 “ 𝑈) ↔ (𝐹 ↾ 𝑈):𝑈–1-1-onto→{𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚})) |
136 | 17, 135 | mpbii 232 |
1
⊢ (𝐴 ∈ (𝑇 ∩ 𝑅) → (𝐹 ↾ 𝑈):𝑈–1-1-onto→{𝑚 ∈ ℕ ∣ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴‘𝑡))((2↑𝑛) · 𝑡) = 𝑚}) |