Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eulerpartlemgvv Structured version   Visualization version   GIF version

Theorem eulerpartlemgvv 32243
Description: Lemma for eulerpart 32249: value of the function 𝐺 evaluated. (Contributed by Thierry Arnoux, 10-Aug-2018.)
Hypotheses
Ref Expression
eulerpart.p 𝑃 = {𝑓 ∈ (ℕ0m ℕ) ∣ ((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁)}
eulerpart.o 𝑂 = {𝑔𝑃 ∣ ∀𝑛 ∈ (𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
eulerpart.d 𝐷 = {𝑔𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔𝑛) ≤ 1}
eulerpart.j 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
eulerpart.f 𝐹 = (𝑥𝐽, 𝑦 ∈ ℕ0 ↦ ((2↑𝑦) · 𝑥))
eulerpart.h 𝐻 = {𝑟 ∈ ((𝒫 ℕ0 ∩ Fin) ↑m 𝐽) ∣ (𝑟 supp ∅) ∈ Fin}
eulerpart.m 𝑀 = (𝑟𝐻 ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))})
eulerpart.r 𝑅 = {𝑓 ∣ (𝑓 “ ℕ) ∈ Fin}
eulerpart.t 𝑇 = {𝑓 ∈ (ℕ0m ℕ) ∣ (𝑓 “ ℕ) ⊆ 𝐽}
eulerpart.g 𝐺 = (𝑜 ∈ (𝑇𝑅) ↦ ((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝑜𝐽))))))
Assertion
Ref Expression
eulerpartlemgvv ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → ((𝐺𝐴)‘𝐵) = if(∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵, 1, 0))
Distinct variable groups:   𝑓,𝑘,𝑛,𝑡,𝑥,𝑦,𝑧   𝑓,𝑜,𝑟,𝐴   𝑜,𝐹   𝐻,𝑟   𝑓,𝐽   𝑛,𝑜,𝑟,𝐽,𝑥,𝑦   𝑜,𝑀   𝑓,𝑁   𝑔,𝑛,𝑃   𝑅,𝑜   𝑇,𝑜   𝑡,𝐴,𝑛,𝑥,𝑦   𝐵,𝑛,𝑡,𝑥,𝑦   𝑛,𝐹,𝑡,𝑥,𝑦   𝑡,𝐽   𝑛,𝑀,𝑡,𝑥,𝑦   𝑅,𝑛   𝑡,𝑟,𝑅,𝑥,𝑦   𝑇,𝑛,𝑟,𝑡,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑧,𝑔,𝑘)   𝐵(𝑧,𝑓,𝑔,𝑘,𝑜,𝑟)   𝐷(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑃(𝑥,𝑦,𝑧,𝑡,𝑓,𝑘,𝑜,𝑟)   𝑅(𝑧,𝑓,𝑔,𝑘)   𝑇(𝑧,𝑓,𝑔,𝑘)   𝐹(𝑧,𝑓,𝑔,𝑘,𝑟)   𝐺(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝐻(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑜)   𝐽(𝑧,𝑔,𝑘)   𝑀(𝑧,𝑓,𝑔,𝑘,𝑟)   𝑁(𝑥,𝑦,𝑧,𝑡,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑂(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)

Proof of Theorem eulerpartlemgvv
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 eulerpart.p . . . . 5 𝑃 = {𝑓 ∈ (ℕ0m ℕ) ∣ ((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁)}
2 eulerpart.o . . . . 5 𝑂 = {𝑔𝑃 ∣ ∀𝑛 ∈ (𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
3 eulerpart.d . . . . 5 𝐷 = {𝑔𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔𝑛) ≤ 1}
4 eulerpart.j . . . . 5 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
5 eulerpart.f . . . . 5 𝐹 = (𝑥𝐽, 𝑦 ∈ ℕ0 ↦ ((2↑𝑦) · 𝑥))
6 eulerpart.h . . . . 5 𝐻 = {𝑟 ∈ ((𝒫 ℕ0 ∩ Fin) ↑m 𝐽) ∣ (𝑟 supp ∅) ∈ Fin}
7 eulerpart.m . . . . 5 𝑀 = (𝑟𝐻 ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))})
8 eulerpart.r . . . . 5 𝑅 = {𝑓 ∣ (𝑓 “ ℕ) ∈ Fin}
9 eulerpart.t . . . . 5 𝑇 = {𝑓 ∈ (ℕ0m ℕ) ∣ (𝑓 “ ℕ) ⊆ 𝐽}
10 eulerpart.g . . . . 5 𝐺 = (𝑜 ∈ (𝑇𝑅) ↦ ((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝑜𝐽))))))
111, 2, 3, 4, 5, 6, 7, 8, 9, 10eulerpartlemgv 32240 . . . 4 (𝐴 ∈ (𝑇𝑅) → (𝐺𝐴) = ((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽))))))
1211fveq1d 6758 . . 3 (𝐴 ∈ (𝑇𝑅) → ((𝐺𝐴)‘𝐵) = (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵))
1312adantr 480 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → ((𝐺𝐴)‘𝐵) = (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵))
14 nnex 11909 . . 3 ℕ ∈ V
15 imassrn 5969 . . . 4 (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ran 𝐹
164, 5oddpwdc 32221 . . . . 5 𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ
17 f1of 6700 . . . . 5 (𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ → 𝐹:(𝐽 × ℕ0)⟶ℕ)
18 frn 6591 . . . . 5 (𝐹:(𝐽 × ℕ0)⟶ℕ → ran 𝐹 ⊆ ℕ)
1916, 17, 18mp2b 10 . . . 4 ran 𝐹 ⊆ ℕ
2015, 19sstri 3926 . . 3 (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ℕ
21 simpr 484 . . 3 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → 𝐵 ∈ ℕ)
22 indfval 31884 . . 3 ((ℕ ∈ V ∧ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ℕ ∧ 𝐵 ∈ ℕ) → (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵) = if(𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))), 1, 0))
2314, 20, 21, 22mp3an12i 1463 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵) = if(𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))), 1, 0))
24 ffn 6584 . . . . . 6 (𝐹:(𝐽 × ℕ0)⟶ℕ → 𝐹 Fn (𝐽 × ℕ0))
2516, 17, 24mp2b 10 . . . . 5 𝐹 Fn (𝐽 × ℕ0)
261, 2, 3, 4, 5, 6, 7, 8, 9, 10eulerpartlemmf 32242 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (bits ∘ (𝐴𝐽)) ∈ 𝐻)
271, 2, 3, 4, 5, 6, 7eulerpartlem1 32234 . . . . . . . . . . 11 𝑀:𝐻1-1-onto→(𝒫 (𝐽 × ℕ0) ∩ Fin)
28 f1of 6700 . . . . . . . . . . 11 (𝑀:𝐻1-1-onto→(𝒫 (𝐽 × ℕ0) ∩ Fin) → 𝑀:𝐻⟶(𝒫 (𝐽 × ℕ0) ∩ Fin))
2927, 28ax-mp 5 . . . . . . . . . 10 𝑀:𝐻⟶(𝒫 (𝐽 × ℕ0) ∩ Fin)
3029ffvelrni 6942 . . . . . . . . 9 ((bits ∘ (𝐴𝐽)) ∈ 𝐻 → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ (𝒫 (𝐽 × ℕ0) ∩ Fin))
3126, 30syl 17 . . . . . . . 8 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ (𝒫 (𝐽 × ℕ0) ∩ Fin))
3231elin1d 4128 . . . . . . 7 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ 𝒫 (𝐽 × ℕ0))
3332adantr 480 . . . . . 6 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ 𝒫 (𝐽 × ℕ0))
3433elpwid 4541 . . . . 5 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0))
35 fvelimab 6823 . . . . 5 ((𝐹 Fn (𝐽 × ℕ0) ∧ (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0)) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵))
3625, 34, 35sylancr 586 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵))
374ssrab3 4011 . . . . . . . . 9 𝐽 ⊆ ℕ
38 fveq1 6755 . . . . . . . . . . . . . . . . . . 19 (𝑟 = (bits ∘ (𝐴𝐽)) → (𝑟𝑥) = ((bits ∘ (𝐴𝐽))‘𝑥))
3938eleq2d 2824 . . . . . . . . . . . . . . . . . 18 (𝑟 = (bits ∘ (𝐴𝐽)) → (𝑦 ∈ (𝑟𝑥) ↔ 𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)))
4039anbi2d 628 . . . . . . . . . . . . . . . . 17 (𝑟 = (bits ∘ (𝐴𝐽)) → ((𝑥𝐽𝑦 ∈ (𝑟𝑥)) ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))))
4140opabbidv 5136 . . . . . . . . . . . . . . . 16 (𝑟 = (bits ∘ (𝐴𝐽)) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))})
4214, 37ssexi 5241 . . . . . . . . . . . . . . . . . 18 𝐽 ∈ V
43 abid2 2881 . . . . . . . . . . . . . . . . . . . 20 {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} = ((bits ∘ (𝐴𝐽))‘𝑥)
4443fvexi 6770 . . . . . . . . . . . . . . . . . . 19 {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} ∈ V
4544a1i 11 . . . . . . . . . . . . . . . . . 18 (𝑥𝐽 → {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} ∈ V)
4642, 45opabex3 7783 . . . . . . . . . . . . . . . . 17 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ∈ V
4746a1i 11 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (𝑇𝑅) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ∈ V)
487, 41, 26, 47fvmptd3 6880 . . . . . . . . . . . . . . 15 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))})
49 simpl 482 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → 𝑥 = 𝑡)
5049eleq1d 2823 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑡𝑦 = 𝑛) → (𝑥𝐽𝑡𝐽))
51 simpr 484 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → 𝑦 = 𝑛)
5249fveq2d 6760 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → ((bits ∘ (𝐴𝐽))‘𝑥) = ((bits ∘ (𝐴𝐽))‘𝑡))
5351, 52eleq12d 2833 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑡𝑦 = 𝑛) → (𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥) ↔ 𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡)))
5450, 53anbi12d 630 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑡𝑦 = 𝑛) → ((𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)) ↔ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))))
5554cbvopabv 5143 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))}
5648, 55eqtrdi 2795 . . . . . . . . . . . . . 14 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))})
5756eleq2d 2824 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ 𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))}))
581, 2, 3, 4, 5, 6, 7, 8, 9eulerpartlemt0 32236 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) ↔ (𝐴 ∈ (ℕ0m ℕ) ∧ (𝐴 “ ℕ) ∈ Fin ∧ (𝐴 “ ℕ) ⊆ 𝐽))
5958simp1bi 1143 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → 𝐴 ∈ (ℕ0m ℕ))
60 nn0ex 12169 . . . . . . . . . . . . . . . . . . . . . . . 24 0 ∈ V
6160, 14elmap 8617 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (ℕ0m ℕ) ↔ 𝐴:ℕ⟶ℕ0)
6259, 61sylib 217 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → 𝐴:ℕ⟶ℕ0)
63 ffun 6587 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴:ℕ⟶ℕ0 → Fun 𝐴)
64 funres 6460 . . . . . . . . . . . . . . . . . . . . . 22 (Fun 𝐴 → Fun (𝐴𝐽))
6562, 63, 643syl 18 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → Fun (𝐴𝐽))
66 fssres 6624 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴:ℕ⟶ℕ0𝐽 ⊆ ℕ) → (𝐴𝐽):𝐽⟶ℕ0)
6762, 37, 66sylancl 585 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → (𝐴𝐽):𝐽⟶ℕ0)
68 fdm 6593 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴𝐽):𝐽⟶ℕ0 → dom (𝐴𝐽) = 𝐽)
6968eleq2d 2824 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴𝐽):𝐽⟶ℕ0 → (𝑡 ∈ dom (𝐴𝐽) ↔ 𝑡𝐽))
7067, 69syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → (𝑡 ∈ dom (𝐴𝐽) ↔ 𝑡𝐽))
7170biimpar 477 . . . . . . . . . . . . . . . . . . . . 21 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → 𝑡 ∈ dom (𝐴𝐽))
72 fvco 6848 . . . . . . . . . . . . . . . . . . . . 21 ((Fun (𝐴𝐽) ∧ 𝑡 ∈ dom (𝐴𝐽)) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘((𝐴𝐽)‘𝑡)))
7365, 71, 72syl2an2r 681 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘((𝐴𝐽)‘𝑡)))
74 fvres 6775 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡𝐽 → ((𝐴𝐽)‘𝑡) = (𝐴𝑡))
7574fveq2d 6760 . . . . . . . . . . . . . . . . . . . . 21 (𝑡𝐽 → (bits‘((𝐴𝐽)‘𝑡)) = (bits‘(𝐴𝑡)))
7675adantl 481 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → (bits‘((𝐴𝐽)‘𝑡)) = (bits‘(𝐴𝑡)))
7773, 76eqtrd 2778 . . . . . . . . . . . . . . . . . . 19 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘(𝐴𝑡)))
7877eleq2d 2824 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → (𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡) ↔ 𝑛 ∈ (bits‘(𝐴𝑡))))
7978pm5.32da 578 . . . . . . . . . . . . . . . . 17 (𝐴 ∈ (𝑇𝑅) → ((𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡)) ↔ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))))
8079opabbidv 5136 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (𝑇𝑅) → {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))})
8180eleq2d 2824 . . . . . . . . . . . . . . 15 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ 𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))}))
82 elopab 5433 . . . . . . . . . . . . . . 15 (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))} ↔ ∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))))
8381, 82bitrdi 286 . . . . . . . . . . . . . 14 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ ∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))))))
84 ancom 460 . . . . . . . . . . . . . . . . 17 ((𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩))
85 anass 468 . . . . . . . . . . . . . . . . 17 (((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) ↔ (𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
8684, 85bitri 274 . . . . . . . . . . . . . . . 16 ((𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ (𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
87862exbii 1852 . . . . . . . . . . . . . . 15 (∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
88 df-rex 3069 . . . . . . . . . . . . . . . . . 18 (∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩))
8988anbi2i 622 . . . . . . . . . . . . . . . . 17 ((𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩) ↔ (𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9089exbii 1851 . . . . . . . . . . . . . . . 16 (∃𝑡(𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩) ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
91 df-rex 3069 . . . . . . . . . . . . . . . 16 (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
92 exdistr 1959 . . . . . . . . . . . . . . . 16 (∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)) ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9390, 91, 923bitr4i 302 . . . . . . . . . . . . . . 15 (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9487, 93bitr4i 277 . . . . . . . . . . . . . 14 (∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
9583, 94bitrdi 286 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
9657, 95bitrd 278 . . . . . . . . . . . 12 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
9796biimpa 476 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
9897adantlr 711 . . . . . . . . . 10 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
99 fveq2 6756 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑡, 𝑛⟩ → (𝐹𝑤) = (𝐹‘⟨𝑡, 𝑛⟩))
10099adantl 481 . . . . . . . . . . . . 13 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝐹𝑤) = (𝐹‘⟨𝑡, 𝑛⟩))
101 bitsss 16061 . . . . . . . . . . . . . . . . 17 (bits‘(𝐴𝑡)) ⊆ ℕ0
102101sseli 3913 . . . . . . . . . . . . . . . 16 (𝑛 ∈ (bits‘(𝐴𝑡)) → 𝑛 ∈ ℕ0)
103102anim2i 616 . . . . . . . . . . . . . . 15 ((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) → (𝑡𝐽𝑛 ∈ ℕ0))
104103ad2antlr 723 . . . . . . . . . . . . . 14 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝑡𝐽𝑛 ∈ ℕ0))
105 opelxp 5616 . . . . . . . . . . . . . . 15 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) ↔ (𝑡𝐽𝑛 ∈ ℕ0))
1064, 5oddpwdcv 32222 . . . . . . . . . . . . . . . 16 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑(2nd ‘⟨𝑡, 𝑛⟩)) · (1st ‘⟨𝑡, 𝑛⟩)))
107 vex 3426 . . . . . . . . . . . . . . . . . . 19 𝑡 ∈ V
108 vex 3426 . . . . . . . . . . . . . . . . . . 19 𝑛 ∈ V
109107, 108op2nd 7813 . . . . . . . . . . . . . . . . . 18 (2nd ‘⟨𝑡, 𝑛⟩) = 𝑛
110109oveq2i 7266 . . . . . . . . . . . . . . . . 17 (2↑(2nd ‘⟨𝑡, 𝑛⟩)) = (2↑𝑛)
111107, 108op1st 7812 . . . . . . . . . . . . . . . . 17 (1st ‘⟨𝑡, 𝑛⟩) = 𝑡
112110, 111oveq12i 7267 . . . . . . . . . . . . . . . 16 ((2↑(2nd ‘⟨𝑡, 𝑛⟩)) · (1st ‘⟨𝑡, 𝑛⟩)) = ((2↑𝑛) · 𝑡)
113106, 112eqtrdi 2795 . . . . . . . . . . . . . . 15 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
114105, 113sylbir 234 . . . . . . . . . . . . . 14 ((𝑡𝐽𝑛 ∈ ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
115104, 114syl 17 . . . . . . . . . . . . 13 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
116100, 115eqtr2d 2779 . . . . . . . . . . . 12 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → ((2↑𝑛) · 𝑡) = (𝐹𝑤))
117116ex 412 . . . . . . . . . . 11 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) → (𝑤 = ⟨𝑡, 𝑛⟩ → ((2↑𝑛) · 𝑡) = (𝐹𝑤)))
118117reximdvva 3205 . . . . . . . . . 10 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤)))
11998, 118mpd 15 . . . . . . . . 9 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
120 ssrexv 3984 . . . . . . . . 9 (𝐽 ⊆ ℕ → (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤)))
12137, 119, 120mpsyl 68 . . . . . . . 8 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
122121adantr 480 . . . . . . 7 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
123 eqeq2 2750 . . . . . . . . . 10 ((𝐹𝑤) = 𝐵 → (((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ((2↑𝑛) · 𝑡) = 𝐵))
124123rexbidv 3225 . . . . . . . . 9 ((𝐹𝑤) = 𝐵 → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
125124adantl 481 . . . . . . . 8 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
126125rexbidv 3225 . . . . . . 7 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
127122, 126mpbid 231 . . . . . 6 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵)
128127r19.29an 3216 . . . . 5 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵)
129 simp-5l 781 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝐴 ∈ (𝑇𝑅))
130 simpllr 772 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑥𝐽)
131 simplr 765 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑦 ∈ (bits‘(𝐴𝑥)))
13268eleq2d 2824 . . . . . . . . . . . . . 14 ((𝐴𝐽):𝐽⟶ℕ0 → (𝑥 ∈ dom (𝐴𝐽) ↔ 𝑥𝐽))
13367, 132syl 17 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑥 ∈ dom (𝐴𝐽) ↔ 𝑥𝐽))
134133biimpar 477 . . . . . . . . . . . 12 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → 𝑥 ∈ dom (𝐴𝐽))
135 fvco 6848 . . . . . . . . . . . 12 ((Fun (𝐴𝐽) ∧ 𝑥 ∈ dom (𝐴𝐽)) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘((𝐴𝐽)‘𝑥)))
13665, 134, 135syl2an2r 681 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘((𝐴𝐽)‘𝑥)))
137 fvres 6775 . . . . . . . . . . . . 13 (𝑥𝐽 → ((𝐴𝐽)‘𝑥) = (𝐴𝑥))
138137fveq2d 6760 . . . . . . . . . . . 12 (𝑥𝐽 → (bits‘((𝐴𝐽)‘𝑥)) = (bits‘(𝐴𝑥)))
139138adantl 481 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → (bits‘((𝐴𝐽)‘𝑥)) = (bits‘(𝐴𝑥)))
140136, 139eqtrd 2778 . . . . . . . . . 10 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘(𝐴𝑥)))
141129, 130, 140syl2anc 583 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘(𝐴𝑥)))
142131, 141eleqtrrd 2842 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))
14348eleq2d 2824 . . . . . . . . . 10 (𝐴 ∈ (𝑇𝑅) → (⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))}))
144 opabidw 5431 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)))
145143, 144bitrdi 286 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))))
146145biimpar 477 . . . . . . . 8 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))) → ⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))))
147129, 130, 142, 146syl12anc 833 . . . . . . 7 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))))
148 simpr 484 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ((2↑𝑦) · 𝑥) = 𝐵)
14934ad4antr 728 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0))
150149, 147sseldd 3918 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0))
151 opeq1 4801 . . . . . . . . . . . 12 (𝑡 = 𝑥 → ⟨𝑡, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
152151eleq1d 2823 . . . . . . . . . . 11 (𝑡 = 𝑥 → (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) ↔ ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0)))
153151fveq2d 6760 . . . . . . . . . . . 12 (𝑡 = 𝑥 → (𝐹‘⟨𝑡, 𝑦⟩) = (𝐹‘⟨𝑥, 𝑦⟩))
154 oveq2 7263 . . . . . . . . . . . 12 (𝑡 = 𝑥 → ((2↑𝑦) · 𝑡) = ((2↑𝑦) · 𝑥))
155153, 154eqeq12d 2754 . . . . . . . . . . 11 (𝑡 = 𝑥 → ((𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡) ↔ (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥)))
156152, 155imbi12d 344 . . . . . . . . . 10 (𝑡 = 𝑥 → ((⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡)) ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥))))
157 opeq2 4802 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → ⟨𝑡, 𝑛⟩ = ⟨𝑡, 𝑦⟩)
158157eleq1d 2823 . . . . . . . . . . . 12 (𝑛 = 𝑦 → (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) ↔ ⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0)))
159157fveq2d 6760 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → (𝐹‘⟨𝑡, 𝑛⟩) = (𝐹‘⟨𝑡, 𝑦⟩))
160 oveq2 7263 . . . . . . . . . . . . . 14 (𝑛 = 𝑦 → (2↑𝑛) = (2↑𝑦))
161160oveq1d 7270 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → ((2↑𝑛) · 𝑡) = ((2↑𝑦) · 𝑡))
162159, 161eqeq12d 2754 . . . . . . . . . . . 12 (𝑛 = 𝑦 → ((𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡) ↔ (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡)))
163158, 162imbi12d 344 . . . . . . . . . . 11 (𝑛 = 𝑦 → ((⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡)) ↔ (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡))))
164163, 113chvarvv 2003 . . . . . . . . . 10 (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡))
165156, 164chvarvv 2003 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥))
166 eqeq2 2750 . . . . . . . . . 10 (((2↑𝑦) · 𝑥) = 𝐵 → ((𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥) ↔ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵))
167166biimpa 476 . . . . . . . . 9 ((((2↑𝑦) · 𝑥) = 𝐵 ∧ (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥)) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
168165, 167sylan2 592 . . . . . . . 8 ((((2↑𝑦) · 𝑥) = 𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0)) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
169148, 150, 168syl2anc 583 . . . . . . 7 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
170 fveqeq2 6765 . . . . . . . 8 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝐹𝑤) = 𝐵 ↔ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵))
171170rspcev 3552 . . . . . . 7 ((⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ∧ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
172147, 169, 171syl2anc 583 . . . . . 6 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
173 oveq2 7263 . . . . . . . . . . 11 (𝑡 = 𝑥 → ((2↑𝑛) · 𝑡) = ((2↑𝑛) · 𝑥))
174173eqeq1d 2740 . . . . . . . . . 10 (𝑡 = 𝑥 → (((2↑𝑛) · 𝑡) = 𝐵 ↔ ((2↑𝑛) · 𝑥) = 𝐵))
175160oveq1d 7270 . . . . . . . . . . 11 (𝑛 = 𝑦 → ((2↑𝑛) · 𝑥) = ((2↑𝑦) · 𝑥))
176175eqeq1d 2740 . . . . . . . . . 10 (𝑛 = 𝑦 → (((2↑𝑛) · 𝑥) = 𝐵 ↔ ((2↑𝑦) · 𝑥) = 𝐵))
177174, 176sylan9bb 509 . . . . . . . . 9 ((𝑡 = 𝑥𝑛 = 𝑦) → (((2↑𝑛) · 𝑡) = 𝐵 ↔ ((2↑𝑦) · 𝑥) = 𝐵))
178 simpl 482 . . . . . . . . . . 11 ((𝑡 = 𝑥𝑛 = 𝑦) → 𝑡 = 𝑥)
179178fveq2d 6760 . . . . . . . . . 10 ((𝑡 = 𝑥𝑛 = 𝑦) → (𝐴𝑡) = (𝐴𝑥))
180179fveq2d 6760 . . . . . . . . 9 ((𝑡 = 𝑥𝑛 = 𝑦) → (bits‘(𝐴𝑡)) = (bits‘(𝐴𝑥)))
181177, 180cbvrexdva2 3382 . . . . . . . 8 (𝑡 = 𝑥 → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵 ↔ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
182181cbvrexvw 3373 . . . . . . 7 (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵 ↔ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
183 nfv 1918 . . . . . . . . . . . . . 14 𝑦 𝐴 ∈ (𝑇𝑅)
184 nfv 1918 . . . . . . . . . . . . . . 15 𝑦 𝑥 ∈ ℕ
185 nfre1 3234 . . . . . . . . . . . . . . 15 𝑦𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵
186184, 185nfan 1903 . . . . . . . . . . . . . 14 𝑦(𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
187183, 186nfan 1903 . . . . . . . . . . . . 13 𝑦(𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
188 simplr 765 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥 ∈ ℕ)
18962ffvelrnda 6943 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) → (𝐴𝑥) ∈ ℕ0)
190189adantr 480 . . . . . . . . . . . . . . . . . . 19 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → (𝐴𝑥) ∈ ℕ0)
191 elnn0 12165 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑥) ∈ ℕ0 ↔ ((𝐴𝑥) ∈ ℕ ∨ (𝐴𝑥) = 0))
192190, 191sylib 217 . . . . . . . . . . . . . . . . . 18 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ((𝐴𝑥) ∈ ℕ ∨ (𝐴𝑥) = 0))
193 n0i 4264 . . . . . . . . . . . . . . . . . . . 20 (𝑦 ∈ (bits‘(𝐴𝑥)) → ¬ (bits‘(𝐴𝑥)) = ∅)
194193adantl 481 . . . . . . . . . . . . . . . . . . 19 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ (bits‘(𝐴𝑥)) = ∅)
195 fveq2 6756 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑥) = 0 → (bits‘(𝐴𝑥)) = (bits‘0))
196 0bits 16074 . . . . . . . . . . . . . . . . . . . 20 (bits‘0) = ∅
197195, 196eqtrdi 2795 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑥) = 0 → (bits‘(𝐴𝑥)) = ∅)
198194, 197nsyl 140 . . . . . . . . . . . . . . . . . 18 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ (𝐴𝑥) = 0)
199192, 198olcnd 873 . . . . . . . . . . . . . . . . 17 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → (𝐴𝑥) ∈ ℕ)
20058simp3bi 1145 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) → (𝐴 “ ℕ) ⊆ 𝐽)
201200sselda 3917 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑛 ∈ (𝐴 “ ℕ)) → 𝑛𝐽)
202 breq2 5074 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = 𝑛 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑛))
203202notbid 317 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = 𝑛 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑛))
204203, 4elrab2 3620 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛𝐽 ↔ (𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
205204simprbi 496 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑛𝐽 → ¬ 2 ∥ 𝑛)
206201, 205syl 17 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑛 ∈ (𝐴 “ ℕ)) → ¬ 2 ∥ 𝑛)
207206ralrimiva 3107 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → ∀𝑛 ∈ (𝐴 “ ℕ) ¬ 2 ∥ 𝑛)
208 ffn 6584 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴:ℕ⟶ℕ0𝐴 Fn ℕ)
209 elpreima 6917 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 Fn ℕ → (𝑛 ∈ (𝐴 “ ℕ) ↔ (𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ)))
21062, 208, 2093syl 18 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) → (𝑛 ∈ (𝐴 “ ℕ) ↔ (𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ)))
211210imbi1d 341 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → ((𝑛 ∈ (𝐴 “ ℕ) → ¬ 2 ∥ 𝑛) ↔ ((𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ) → ¬ 2 ∥ 𝑛)))
212 impexp 450 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ) → ¬ 2 ∥ 𝑛) ↔ (𝑛 ∈ ℕ → ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
213211, 212bitrdi 286 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → ((𝑛 ∈ (𝐴 “ ℕ) → ¬ 2 ∥ 𝑛) ↔ (𝑛 ∈ ℕ → ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))))
214213ralbidv2 3118 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → (∀𝑛 ∈ (𝐴 “ ℕ) ¬ 2 ∥ 𝑛 ↔ ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
215207, 214mpbid 231 . . . . . . . . . . . . . . . . . . . 20 (𝐴 ∈ (𝑇𝑅) → ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))
216 fveq2 6756 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = 𝑛 → (𝐴𝑥) = (𝐴𝑛))
217216eleq1d 2823 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑛 → ((𝐴𝑥) ∈ ℕ ↔ (𝐴𝑛) ∈ ℕ))
218 breq2 5074 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = 𝑛 → (2 ∥ 𝑥 ↔ 2 ∥ 𝑛))
219218notbid 317 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑛 → (¬ 2 ∥ 𝑥 ↔ ¬ 2 ∥ 𝑛))
220217, 219imbi12d 344 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑛 → (((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥) ↔ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
221220cbvralvw 3372 . . . . . . . . . . . . . . . . . . . 20 (∀𝑥 ∈ ℕ ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥) ↔ ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))
222215, 221sylibr 233 . . . . . . . . . . . . . . . . . . 19 (𝐴 ∈ (𝑇𝑅) → ∀𝑥 ∈ ℕ ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥))
223222r19.21bi 3132 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) → ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥))
224223imp 406 . . . . . . . . . . . . . . . . 17 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ (𝐴𝑥) ∈ ℕ) → ¬ 2 ∥ 𝑥)
225199, 224syldan 590 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ 2 ∥ 𝑥)
226 breq2 5074 . . . . . . . . . . . . . . . . . 18 (𝑧 = 𝑥 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑥))
227226notbid 317 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑥 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑥))
228227, 4elrab2 3620 . . . . . . . . . . . . . . . 16 (𝑥𝐽 ↔ (𝑥 ∈ ℕ ∧ ¬ 2 ∥ 𝑥))
229188, 225, 228sylanbrc 582 . . . . . . . . . . . . . . 15 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥𝐽)
230229adantlrr 717 . . . . . . . . . . . . . 14 (((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥𝐽)
231230adantr 480 . . . . . . . . . . . . 13 ((((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑥𝐽)
232 simprr 769 . . . . . . . . . . . . 13 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
233187, 231, 232r19.29af 3259 . . . . . . . . . . . 12 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → 𝑥𝐽)
234233, 232jca 511 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → (𝑥𝐽 ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
235234ex 412 . . . . . . . . . 10 (𝐴 ∈ (𝑇𝑅) → ((𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → (𝑥𝐽 ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)))
236235reximdv2 3198 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵 → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
237236imp 406 . . . . . . . 8 ((𝐴 ∈ (𝑇𝑅) ∧ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
238237adantlr 711 . . . . . . 7 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
239182, 238sylan2b 593 . . . . . 6 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
240172, 239r19.29vva 3263 . . . . 5 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
241128, 240impbida 797 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵 ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
24236, 241bitrd 278 . . 3 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
243242ifbid 4479 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → if(𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))), 1, 0) = if(∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵, 1, 0))
24413, 23, 2433eqtrd 2782 1 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → ((𝐺𝐴)‘𝐵) = if(∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵, 1, 0))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  cin 3882  wss 3883  c0 4253  ifcif 4456  𝒫 cpw 4530  cop 4564   class class class wbr 5070  {copab 5132  cmpt 5153   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  ccom 5584  Fun wfun 6412   Fn wfn 6413  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  cmpo 7257  1st c1st 7802  2nd c2nd 7803   supp csupp 7948  m cmap 8573  Fincfn 8691  0cc0 10802  1c1 10803   · cmul 10807  cle 10941  cn 11903  2c2 11958  0cn0 12163  cexp 13710  Σcsu 15325  cdvds 15891  bitscbits 16054  𝟭cind 31878
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-ac2 10150  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-disj 5036  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-supp 7949  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-oadd 8271  df-er 8456  df-map 8575  df-pm 8576  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-inf 9132  df-oi 9199  df-dju 9590  df-card 9628  df-acn 9631  df-ac 9803  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-xnn0 12236  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-fl 13440  df-mod 13518  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-sum 15326  df-dvds 15892  df-bits 16057  df-ind 31879
This theorem is referenced by:  eulerpartlemgs2  32247
  Copyright terms: Public domain W3C validator