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 32343
Description: Lemma for eulerpart 32349: 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 32340 . . . 4 (𝐴 ∈ (𝑇𝑅) → (𝐺𝐴) = ((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽))))))
1211fveq1d 6776 . . 3 (𝐴 ∈ (𝑇𝑅) → ((𝐺𝐴)‘𝐵) = (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵))
1312adantr 481 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → ((𝐺𝐴)‘𝐵) = (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵))
14 nnex 11979 . . 3 ℕ ∈ V
15 imassrn 5980 . . . 4 (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ran 𝐹
164, 5oddpwdc 32321 . . . . 5 𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ
17 f1of 6716 . . . . 5 (𝐹:(𝐽 × ℕ0)–1-1-onto→ℕ → 𝐹:(𝐽 × ℕ0)⟶ℕ)
18 frn 6607 . . . . 5 (𝐹:(𝐽 × ℕ0)⟶ℕ → ran 𝐹 ⊆ ℕ)
1916, 17, 18mp2b 10 . . . 4 ran 𝐹 ⊆ ℕ
2015, 19sstri 3930 . . 3 (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ℕ
21 simpr 485 . . 3 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → 𝐵 ∈ ℕ)
22 indfval 31984 . . 3 ((ℕ ∈ V ∧ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ⊆ ℕ ∧ 𝐵 ∈ ℕ) → (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵) = if(𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))), 1, 0))
2314, 20, 21, 22mp3an12i 1464 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))))‘𝐵) = if(𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))), 1, 0))
24 ffn 6600 . . . . . 6 (𝐹:(𝐽 × ℕ0)⟶ℕ → 𝐹 Fn (𝐽 × ℕ0))
2516, 17, 24mp2b 10 . . . . 5 𝐹 Fn (𝐽 × ℕ0)
261, 2, 3, 4, 5, 6, 7, 8, 9, 10eulerpartlemmf 32342 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (bits ∘ (𝐴𝐽)) ∈ 𝐻)
271, 2, 3, 4, 5, 6, 7eulerpartlem1 32334 . . . . . . . . . . 11 𝑀:𝐻1-1-onto→(𝒫 (𝐽 × ℕ0) ∩ Fin)
28 f1of 6716 . . . . . . . . . . 11 (𝑀:𝐻1-1-onto→(𝒫 (𝐽 × ℕ0) ∩ Fin) → 𝑀:𝐻⟶(𝒫 (𝐽 × ℕ0) ∩ Fin))
2927, 28ax-mp 5 . . . . . . . . . 10 𝑀:𝐻⟶(𝒫 (𝐽 × ℕ0) ∩ Fin)
3029ffvelrni 6960 . . . . . . . . 9 ((bits ∘ (𝐴𝐽)) ∈ 𝐻 → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ (𝒫 (𝐽 × ℕ0) ∩ Fin))
3126, 30syl 17 . . . . . . . 8 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ (𝒫 (𝐽 × ℕ0) ∩ Fin))
3231elin1d 4132 . . . . . . 7 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ 𝒫 (𝐽 × ℕ0))
3332adantr 481 . . . . . 6 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝑀‘(bits ∘ (𝐴𝐽))) ∈ 𝒫 (𝐽 × ℕ0))
3433elpwid 4544 . . . . 5 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0))
35 fvelimab 6841 . . . . 5 ((𝐹 Fn (𝐽 × ℕ0) ∧ (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0)) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵))
3625, 34, 35sylancr 587 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵))
374ssrab3 4015 . . . . . . . . 9 𝐽 ⊆ ℕ
38 fveq1 6773 . . . . . . . . . . . . . . . . . . 19 (𝑟 = (bits ∘ (𝐴𝐽)) → (𝑟𝑥) = ((bits ∘ (𝐴𝐽))‘𝑥))
3938eleq2d 2824 . . . . . . . . . . . . . . . . . 18 (𝑟 = (bits ∘ (𝐴𝐽)) → (𝑦 ∈ (𝑟𝑥) ↔ 𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)))
4039anbi2d 629 . . . . . . . . . . . . . . . . 17 (𝑟 = (bits ∘ (𝐴𝐽)) → ((𝑥𝐽𝑦 ∈ (𝑟𝑥)) ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))))
4140opabbidv 5140 . . . . . . . . . . . . . . . 16 (𝑟 = (bits ∘ (𝐴𝐽)) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))})
4214, 37ssexi 5246 . . . . . . . . . . . . . . . . . 18 𝐽 ∈ V
43 abid2 2882 . . . . . . . . . . . . . . . . . . . 20 {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} = ((bits ∘ (𝐴𝐽))‘𝑥)
4443fvexi 6788 . . . . . . . . . . . . . . . . . . 19 {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} ∈ V
4544a1i 11 . . . . . . . . . . . . . . . . . 18 (𝑥𝐽 → {𝑦𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)} ∈ V)
4642, 45opabex3 7810 . . . . . . . . . . . . . . . . 17 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ∈ V
4746a1i 11 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (𝑇𝑅) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ∈ V)
487, 41, 26, 47fvmptd3 6898 . . . . . . . . . . . . . . 15 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))})
49 simpl 483 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → 𝑥 = 𝑡)
5049eleq1d 2823 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑡𝑦 = 𝑛) → (𝑥𝐽𝑡𝐽))
51 simpr 485 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → 𝑦 = 𝑛)
5249fveq2d 6778 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑡𝑦 = 𝑛) → ((bits ∘ (𝐴𝐽))‘𝑥) = ((bits ∘ (𝐴𝐽))‘𝑡))
5351, 52eleq12d 2833 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑡𝑦 = 𝑛) → (𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥) ↔ 𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡)))
5450, 53anbi12d 631 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑡𝑦 = 𝑛) → ((𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)) ↔ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))))
5554cbvopabv 5147 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))}
5648, 55eqtrdi 2794 . . . . . . . . . . . . . 14 (𝐴 ∈ (𝑇𝑅) → (𝑀‘(bits ∘ (𝐴𝐽))) = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))})
5756eleq2d 2824 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ 𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))}))
581, 2, 3, 4, 5, 6, 7, 8, 9eulerpartlemt0 32336 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) ↔ (𝐴 ∈ (ℕ0m ℕ) ∧ (𝐴 “ ℕ) ∈ Fin ∧ (𝐴 “ ℕ) ⊆ 𝐽))
5958simp1bi 1144 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → 𝐴 ∈ (ℕ0m ℕ))
60 nn0ex 12239 . . . . . . . . . . . . . . . . . . . . . . . 24 0 ∈ V
6160, 14elmap 8659 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (ℕ0m ℕ) ↔ 𝐴:ℕ⟶ℕ0)
6259, 61sylib 217 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → 𝐴:ℕ⟶ℕ0)
63 ffun 6603 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴:ℕ⟶ℕ0 → Fun 𝐴)
64 funres 6476 . . . . . . . . . . . . . . . . . . . . . 22 (Fun 𝐴 → Fun (𝐴𝐽))
6562, 63, 643syl 18 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → Fun (𝐴𝐽))
66 fssres 6640 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴:ℕ⟶ℕ0𝐽 ⊆ ℕ) → (𝐴𝐽):𝐽⟶ℕ0)
6762, 37, 66sylancl 586 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → (𝐴𝐽):𝐽⟶ℕ0)
68 fdm 6609 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴𝐽):𝐽⟶ℕ0 → dom (𝐴𝐽) = 𝐽)
6968eleq2d 2824 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴𝐽):𝐽⟶ℕ0 → (𝑡 ∈ dom (𝐴𝐽) ↔ 𝑡𝐽))
7067, 69syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → (𝑡 ∈ dom (𝐴𝐽) ↔ 𝑡𝐽))
7170biimpar 478 . . . . . . . . . . . . . . . . . . . . 21 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → 𝑡 ∈ dom (𝐴𝐽))
72 fvco 6866 . . . . . . . . . . . . . . . . . . . . 21 ((Fun (𝐴𝐽) ∧ 𝑡 ∈ dom (𝐴𝐽)) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘((𝐴𝐽)‘𝑡)))
7365, 71, 72syl2an2r 682 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘((𝐴𝐽)‘𝑡)))
74 fvres 6793 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡𝐽 → ((𝐴𝐽)‘𝑡) = (𝐴𝑡))
7574fveq2d 6778 . . . . . . . . . . . . . . . . . . . . 21 (𝑡𝐽 → (bits‘((𝐴𝐽)‘𝑡)) = (bits‘(𝐴𝑡)))
7675adantl 482 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → (bits‘((𝐴𝐽)‘𝑡)) = (bits‘(𝐴𝑡)))
7773, 76eqtrd 2778 . . . . . . . . . . . . . . . . . . 19 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → ((bits ∘ (𝐴𝐽))‘𝑡) = (bits‘(𝐴𝑡)))
7877eleq2d 2824 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡𝐽) → (𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡) ↔ 𝑛 ∈ (bits‘(𝐴𝑡))))
7978pm5.32da 579 . . . . . . . . . . . . . . . . 17 (𝐴 ∈ (𝑇𝑅) → ((𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡)) ↔ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))))
8079opabbidv 5140 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (𝑇𝑅) → {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} = {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))})
8180eleq2d 2824 . . . . . . . . . . . . . . 15 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ 𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))}))
82 elopab 5440 . . . . . . . . . . . . . . 15 (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))} ↔ ∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))))
8381, 82bitrdi 287 . . . . . . . . . . . . . 14 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ ∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))))))
84 ancom 461 . . . . . . . . . . . . . . . . 17 ((𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩))
85 anass 469 . . . . . . . . . . . . . . . . 17 (((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) ↔ (𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
8684, 85bitri 274 . . . . . . . . . . . . . . . 16 ((𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ (𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
87862exbii 1851 . . . . . . . . . . . . . . 15 (∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
88 df-rex 3070 . . . . . . . . . . . . . . . . . 18 (∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩))
8988anbi2i 623 . . . . . . . . . . . . . . . . 17 ((𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩) ↔ (𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9089exbii 1850 . . . . . . . . . . . . . . . 16 (∃𝑡(𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩) ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
91 df-rex 3070 . . . . . . . . . . . . . . . 16 (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
92 exdistr 1958 . . . . . . . . . . . . . . . 16 (∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)) ↔ ∃𝑡(𝑡𝐽 ∧ ∃𝑛(𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9390, 91, 923bitr4i 303 . . . . . . . . . . . . . . 15 (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ ↔ ∃𝑡𝑛(𝑡𝐽 ∧ (𝑛 ∈ (bits‘(𝐴𝑡)) ∧ 𝑤 = ⟨𝑡, 𝑛⟩)))
9487, 93bitr4i 277 . . . . . . . . . . . . . 14 (∃𝑡𝑛(𝑤 = ⟨𝑡, 𝑛⟩ ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
9583, 94bitrdi 287 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ {⟨𝑡, 𝑛⟩ ∣ (𝑡𝐽𝑛 ∈ ((bits ∘ (𝐴𝐽))‘𝑡))} ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
9657, 95bitrd 278 . . . . . . . . . . . 12 (𝐴 ∈ (𝑇𝑅) → (𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩))
9796biimpa 477 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
9897adantlr 712 . . . . . . . . . 10 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩)
99 fveq2 6774 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑡, 𝑛⟩ → (𝐹𝑤) = (𝐹‘⟨𝑡, 𝑛⟩))
10099adantl 482 . . . . . . . . . . . . 13 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝐹𝑤) = (𝐹‘⟨𝑡, 𝑛⟩))
101 bitsss 16133 . . . . . . . . . . . . . . . . 17 (bits‘(𝐴𝑡)) ⊆ ℕ0
102101sseli 3917 . . . . . . . . . . . . . . . 16 (𝑛 ∈ (bits‘(𝐴𝑡)) → 𝑛 ∈ ℕ0)
103102anim2i 617 . . . . . . . . . . . . . . 15 ((𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))) → (𝑡𝐽𝑛 ∈ ℕ0))
104103ad2antlr 724 . . . . . . . . . . . . . 14 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝑡𝐽𝑛 ∈ ℕ0))
105 opelxp 5625 . . . . . . . . . . . . . . 15 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) ↔ (𝑡𝐽𝑛 ∈ ℕ0))
1064, 5oddpwdcv 32322 . . . . . . . . . . . . . . . 16 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑(2nd ‘⟨𝑡, 𝑛⟩)) · (1st ‘⟨𝑡, 𝑛⟩)))
107 vex 3436 . . . . . . . . . . . . . . . . . . 19 𝑡 ∈ V
108 vex 3436 . . . . . . . . . . . . . . . . . . 19 𝑛 ∈ V
109107, 108op2nd 7840 . . . . . . . . . . . . . . . . . 18 (2nd ‘⟨𝑡, 𝑛⟩) = 𝑛
110109oveq2i 7286 . . . . . . . . . . . . . . . . 17 (2↑(2nd ‘⟨𝑡, 𝑛⟩)) = (2↑𝑛)
111107, 108op1st 7839 . . . . . . . . . . . . . . . . 17 (1st ‘⟨𝑡, 𝑛⟩) = 𝑡
112110, 111oveq12i 7287 . . . . . . . . . . . . . . . 16 ((2↑(2nd ‘⟨𝑡, 𝑛⟩)) · (1st ‘⟨𝑡, 𝑛⟩)) = ((2↑𝑛) · 𝑡)
113106, 112eqtrdi 2794 . . . . . . . . . . . . . . 15 (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
114105, 113sylbir 234 . . . . . . . . . . . . . 14 ((𝑡𝐽𝑛 ∈ ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
115104, 114syl 17 . . . . . . . . . . . . 13 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡))
116100, 115eqtr2d 2779 . . . . . . . . . . . 12 (((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) ∧ 𝑤 = ⟨𝑡, 𝑛⟩) → ((2↑𝑛) · 𝑡) = (𝐹𝑤))
117116ex 413 . . . . . . . . . . 11 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡)))) → (𝑤 = ⟨𝑡, 𝑛⟩ → ((2↑𝑛) · 𝑡) = (𝐹𝑤)))
118117reximdvva 3206 . . . . . . . . . 10 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))𝑤 = ⟨𝑡, 𝑛⟩ → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤)))
11998, 118mpd 15 . . . . . . . . 9 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
120 ssrexv 3988 . . . . . . . . 9 (𝐽 ⊆ ℕ → (∃𝑡𝐽𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤)))
12137, 119, 120mpsyl 68 . . . . . . . 8 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
122121adantr 481 . . . . . . 7 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤))
123 eqeq2 2750 . . . . . . . . . 10 ((𝐹𝑤) = 𝐵 → (((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ((2↑𝑛) · 𝑡) = 𝐵))
124123rexbidv 3226 . . . . . . . . 9 ((𝐹𝑤) = 𝐵 → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
125124adantl 482 . . . . . . . 8 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
126125rexbidv 3226 . . . . . . 7 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = (𝐹𝑤) ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
127122, 126mpbid 231 . . . . . 6 ((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ 𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))) ∧ (𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵)
128127r19.29an 3217 . . . . 5 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵) → ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵)
129 simp-5l 782 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝐴 ∈ (𝑇𝑅))
130 simpllr 773 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑥𝐽)
131 simplr 766 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑦 ∈ (bits‘(𝐴𝑥)))
13268eleq2d 2824 . . . . . . . . . . . . . 14 ((𝐴𝐽):𝐽⟶ℕ0 → (𝑥 ∈ dom (𝐴𝐽) ↔ 𝑥𝐽))
13367, 132syl 17 . . . . . . . . . . . . 13 (𝐴 ∈ (𝑇𝑅) → (𝑥 ∈ dom (𝐴𝐽) ↔ 𝑥𝐽))
134133biimpar 478 . . . . . . . . . . . 12 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → 𝑥 ∈ dom (𝐴𝐽))
135 fvco 6866 . . . . . . . . . . . 12 ((Fun (𝐴𝐽) ∧ 𝑥 ∈ dom (𝐴𝐽)) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘((𝐴𝐽)‘𝑥)))
13665, 134, 135syl2an2r 682 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘((𝐴𝐽)‘𝑥)))
137 fvres 6793 . . . . . . . . . . . . 13 (𝑥𝐽 → ((𝐴𝐽)‘𝑥) = (𝐴𝑥))
138137fveq2d 6778 . . . . . . . . . . . 12 (𝑥𝐽 → (bits‘((𝐴𝐽)‘𝑥)) = (bits‘(𝐴𝑥)))
139138adantl 482 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → (bits‘((𝐴𝐽)‘𝑥)) = (bits‘(𝐴𝑥)))
140136, 139eqtrd 2778 . . . . . . . . . 10 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥𝐽) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘(𝐴𝑥)))
141129, 130, 140syl2anc 584 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ((bits ∘ (𝐴𝐽))‘𝑥) = (bits‘(𝐴𝑥)))
142131, 141eleqtrrd 2842 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))
14348eleq2d 2824 . . . . . . . . . 10 (𝐴 ∈ (𝑇𝑅) → (⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))}))
144 opabidw 5437 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))} ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥)))
145143, 144bitrdi 287 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ↔ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))))
146145biimpar 478 . . . . . . . 8 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥𝐽𝑦 ∈ ((bits ∘ (𝐴𝐽))‘𝑥))) → ⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))))
147129, 130, 142, 146syl12anc 834 . . . . . . 7 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))))
148 simpr 485 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ((2↑𝑦) · 𝑥) = 𝐵)
14934ad4antr 729 . . . . . . . . 9 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → (𝑀‘(bits ∘ (𝐴𝐽))) ⊆ (𝐽 × ℕ0))
150149, 147sseldd 3922 . . . . . . . 8 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0))
151 opeq1 4804 . . . . . . . . . . . 12 (𝑡 = 𝑥 → ⟨𝑡, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
152151eleq1d 2823 . . . . . . . . . . 11 (𝑡 = 𝑥 → (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) ↔ ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0)))
153151fveq2d 6778 . . . . . . . . . . . 12 (𝑡 = 𝑥 → (𝐹‘⟨𝑡, 𝑦⟩) = (𝐹‘⟨𝑥, 𝑦⟩))
154 oveq2 7283 . . . . . . . . . . . 12 (𝑡 = 𝑥 → ((2↑𝑦) · 𝑡) = ((2↑𝑦) · 𝑥))
155153, 154eqeq12d 2754 . . . . . . . . . . 11 (𝑡 = 𝑥 → ((𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡) ↔ (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥)))
156152, 155imbi12d 345 . . . . . . . . . 10 (𝑡 = 𝑥 → ((⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡)) ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥))))
157 opeq2 4805 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → ⟨𝑡, 𝑛⟩ = ⟨𝑡, 𝑦⟩)
158157eleq1d 2823 . . . . . . . . . . . 12 (𝑛 = 𝑦 → (⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) ↔ ⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0)))
159157fveq2d 6778 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → (𝐹‘⟨𝑡, 𝑛⟩) = (𝐹‘⟨𝑡, 𝑦⟩))
160 oveq2 7283 . . . . . . . . . . . . . 14 (𝑛 = 𝑦 → (2↑𝑛) = (2↑𝑦))
161160oveq1d 7290 . . . . . . . . . . . . 13 (𝑛 = 𝑦 → ((2↑𝑛) · 𝑡) = ((2↑𝑦) · 𝑡))
162159, 161eqeq12d 2754 . . . . . . . . . . . 12 (𝑛 = 𝑦 → ((𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡) ↔ (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡)))
163158, 162imbi12d 345 . . . . . . . . . . 11 (𝑛 = 𝑦 → ((⟨𝑡, 𝑛⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑛⟩) = ((2↑𝑛) · 𝑡)) ↔ (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡))))
164163, 113chvarvv 2002 . . . . . . . . . 10 (⟨𝑡, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑡, 𝑦⟩) = ((2↑𝑦) · 𝑡))
165156, 164chvarvv 2002 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0) → (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥))
166 eqeq2 2750 . . . . . . . . . 10 (((2↑𝑦) · 𝑥) = 𝐵 → ((𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥) ↔ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵))
167166biimpa 477 . . . . . . . . 9 ((((2↑𝑦) · 𝑥) = 𝐵 ∧ (𝐹‘⟨𝑥, 𝑦⟩) = ((2↑𝑦) · 𝑥)) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
168165, 167sylan2 593 . . . . . . . 8 ((((2↑𝑦) · 𝑥) = 𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐽 × ℕ0)) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
169148, 150, 168syl2anc 584 . . . . . . 7 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵)
170 fveqeq2 6783 . . . . . . . 8 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝐹𝑤) = 𝐵 ↔ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵))
171170rspcev 3561 . . . . . . 7 ((⟨𝑥, 𝑦⟩ ∈ (𝑀‘(bits ∘ (𝐴𝐽))) ∧ (𝐹‘⟨𝑥, 𝑦⟩) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
172147, 169, 171syl2anc 584 . . . . . 6 ((((((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) ∧ 𝑥𝐽) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
173 oveq2 7283 . . . . . . . . . . 11 (𝑡 = 𝑥 → ((2↑𝑛) · 𝑡) = ((2↑𝑛) · 𝑥))
174173eqeq1d 2740 . . . . . . . . . 10 (𝑡 = 𝑥 → (((2↑𝑛) · 𝑡) = 𝐵 ↔ ((2↑𝑛) · 𝑥) = 𝐵))
175160oveq1d 7290 . . . . . . . . . . 11 (𝑛 = 𝑦 → ((2↑𝑛) · 𝑥) = ((2↑𝑦) · 𝑥))
176175eqeq1d 2740 . . . . . . . . . 10 (𝑛 = 𝑦 → (((2↑𝑛) · 𝑥) = 𝐵 ↔ ((2↑𝑦) · 𝑥) = 𝐵))
177174, 176sylan9bb 510 . . . . . . . . 9 ((𝑡 = 𝑥𝑛 = 𝑦) → (((2↑𝑛) · 𝑡) = 𝐵 ↔ ((2↑𝑦) · 𝑥) = 𝐵))
178 simpl 483 . . . . . . . . . . 11 ((𝑡 = 𝑥𝑛 = 𝑦) → 𝑡 = 𝑥)
179178fveq2d 6778 . . . . . . . . . 10 ((𝑡 = 𝑥𝑛 = 𝑦) → (𝐴𝑡) = (𝐴𝑥))
180179fveq2d 6778 . . . . . . . . 9 ((𝑡 = 𝑥𝑛 = 𝑦) → (bits‘(𝐴𝑡)) = (bits‘(𝐴𝑥)))
181177, 180cbvrexdva2 3393 . . . . . . . 8 (𝑡 = 𝑥 → (∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵 ↔ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
182181cbvrexvw 3384 . . . . . . 7 (∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵 ↔ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
183 nfv 1917 . . . . . . . . . . . . . 14 𝑦 𝐴 ∈ (𝑇𝑅)
184 nfv 1917 . . . . . . . . . . . . . . 15 𝑦 𝑥 ∈ ℕ
185 nfre1 3239 . . . . . . . . . . . . . . 15 𝑦𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵
186184, 185nfan 1902 . . . . . . . . . . . . . 14 𝑦(𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
187183, 186nfan 1902 . . . . . . . . . . . . 13 𝑦(𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
188 simplr 766 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥 ∈ ℕ)
18962ffvelrnda 6961 . . . . . . . . . . . . . . . . . . . 20 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) → (𝐴𝑥) ∈ ℕ0)
190189adantr 481 . . . . . . . . . . . . . . . . . . 19 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → (𝐴𝑥) ∈ ℕ0)
191 elnn0 12235 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑥) ∈ ℕ0 ↔ ((𝐴𝑥) ∈ ℕ ∨ (𝐴𝑥) = 0))
192190, 191sylib 217 . . . . . . . . . . . . . . . . . 18 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ((𝐴𝑥) ∈ ℕ ∨ (𝐴𝑥) = 0))
193 n0i 4267 . . . . . . . . . . . . . . . . . . . 20 (𝑦 ∈ (bits‘(𝐴𝑥)) → ¬ (bits‘(𝐴𝑥)) = ∅)
194193adantl 482 . . . . . . . . . . . . . . . . . . 19 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ (bits‘(𝐴𝑥)) = ∅)
195 fveq2 6774 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑥) = 0 → (bits‘(𝐴𝑥)) = (bits‘0))
196 0bits 16146 . . . . . . . . . . . . . . . . . . . 20 (bits‘0) = ∅
197195, 196eqtrdi 2794 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑥) = 0 → (bits‘(𝐴𝑥)) = ∅)
198194, 197nsyl 140 . . . . . . . . . . . . . . . . . 18 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ (𝐴𝑥) = 0)
199192, 198olcnd 874 . . . . . . . . . . . . . . . . 17 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → (𝐴𝑥) ∈ ℕ)
20058simp3bi 1146 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) → (𝐴 “ ℕ) ⊆ 𝐽)
201200sselda 3921 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑛 ∈ (𝐴 “ ℕ)) → 𝑛𝐽)
202 breq2 5078 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = 𝑛 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑛))
203202notbid 318 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = 𝑛 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑛))
204203, 4elrab2 3627 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛𝐽 ↔ (𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
205204simprbi 497 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑛𝐽 → ¬ 2 ∥ 𝑛)
206201, 205syl 17 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑛 ∈ (𝐴 “ ℕ)) → ¬ 2 ∥ 𝑛)
207206ralrimiva 3103 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → ∀𝑛 ∈ (𝐴 “ ℕ) ¬ 2 ∥ 𝑛)
208 ffn 6600 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴:ℕ⟶ℕ0𝐴 Fn ℕ)
209 elpreima 6935 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 Fn ℕ → (𝑛 ∈ (𝐴 “ ℕ) ↔ (𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ)))
21062, 208, 2093syl 18 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐴 ∈ (𝑇𝑅) → (𝑛 ∈ (𝐴 “ ℕ) ↔ (𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ)))
211210imbi1d 342 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐴 ∈ (𝑇𝑅) → ((𝑛 ∈ (𝐴 “ ℕ) → ¬ 2 ∥ 𝑛) ↔ ((𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ) → ¬ 2 ∥ 𝑛)))
212 impexp 451 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑛 ∈ ℕ ∧ (𝐴𝑛) ∈ ℕ) → ¬ 2 ∥ 𝑛) ↔ (𝑛 ∈ ℕ → ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
213211, 212bitrdi 287 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴 ∈ (𝑇𝑅) → ((𝑛 ∈ (𝐴 “ ℕ) → ¬ 2 ∥ 𝑛) ↔ (𝑛 ∈ ℕ → ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))))
214213ralbidv2 3110 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 ∈ (𝑇𝑅) → (∀𝑛 ∈ (𝐴 “ ℕ) ¬ 2 ∥ 𝑛 ↔ ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
215207, 214mpbid 231 . . . . . . . . . . . . . . . . . . . 20 (𝐴 ∈ (𝑇𝑅) → ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))
216 fveq2 6774 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = 𝑛 → (𝐴𝑥) = (𝐴𝑛))
217216eleq1d 2823 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑛 → ((𝐴𝑥) ∈ ℕ ↔ (𝐴𝑛) ∈ ℕ))
218 breq2 5078 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = 𝑛 → (2 ∥ 𝑥 ↔ 2 ∥ 𝑛))
219218notbid 318 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑛 → (¬ 2 ∥ 𝑥 ↔ ¬ 2 ∥ 𝑛))
220217, 219imbi12d 345 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑛 → (((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥) ↔ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛)))
221220cbvralvw 3383 . . . . . . . . . . . . . . . . . . . 20 (∀𝑥 ∈ ℕ ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥) ↔ ∀𝑛 ∈ ℕ ((𝐴𝑛) ∈ ℕ → ¬ 2 ∥ 𝑛))
222215, 221sylibr 233 . . . . . . . . . . . . . . . . . . 19 (𝐴 ∈ (𝑇𝑅) → ∀𝑥 ∈ ℕ ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥))
223222r19.21bi 3134 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) → ((𝐴𝑥) ∈ ℕ → ¬ 2 ∥ 𝑥))
224223imp 407 . . . . . . . . . . . . . . . . 17 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ (𝐴𝑥) ∈ ℕ) → ¬ 2 ∥ 𝑥)
225199, 224syldan 591 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → ¬ 2 ∥ 𝑥)
226 breq2 5078 . . . . . . . . . . . . . . . . . 18 (𝑧 = 𝑥 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑥))
227226notbid 318 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑥 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑥))
228227, 4elrab2 3627 . . . . . . . . . . . . . . . 16 (𝑥𝐽 ↔ (𝑥 ∈ ℕ ∧ ¬ 2 ∥ 𝑥))
229188, 225, 228sylanbrc 583 . . . . . . . . . . . . . . 15 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑥 ∈ ℕ) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥𝐽)
230229adantlrr 718 . . . . . . . . . . . . . 14 (((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) → 𝑥𝐽)
231230adantr 481 . . . . . . . . . . . . 13 ((((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) ∧ 𝑦 ∈ (bits‘(𝐴𝑥))) ∧ ((2↑𝑦) · 𝑥) = 𝐵) → 𝑥𝐽)
232 simprr 770 . . . . . . . . . . . . 13 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
233187, 231, 232r19.29af 3262 . . . . . . . . . . . 12 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → 𝑥𝐽)
234233, 232jca 512 . . . . . . . . . . 11 ((𝐴 ∈ (𝑇𝑅) ∧ (𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)) → (𝑥𝐽 ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
235234ex 413 . . . . . . . . . 10 (𝐴 ∈ (𝑇𝑅) → ((𝑥 ∈ ℕ ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → (𝑥𝐽 ∧ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)))
236235reximdv2 3199 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → (∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵 → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵))
237236imp 407 . . . . . . . 8 ((𝐴 ∈ (𝑇𝑅) ∧ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
238237adantlr 712 . . . . . . 7 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑥 ∈ ℕ ∃𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
239182, 238sylan2b 594 . . . . . 6 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) → ∃𝑥𝐽𝑦 ∈ (bits‘(𝐴𝑥))((2↑𝑦) · 𝑥) = 𝐵)
240172, 239r19.29vva 3266 . . . . 5 (((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) ∧ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵) → ∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵)
241128, 240impbida 798 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (∃𝑤 ∈ (𝑀‘(bits ∘ (𝐴𝐽)))(𝐹𝑤) = 𝐵 ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
24236, 241bitrd 278 . . 3 ((𝐴 ∈ (𝑇𝑅) ∧ 𝐵 ∈ ℕ) → (𝐵 ∈ (𝐹 “ (𝑀‘(bits ∘ (𝐴𝐽)))) ↔ ∃𝑡 ∈ ℕ ∃𝑛 ∈ (bits‘(𝐴𝑡))((2↑𝑛) · 𝑡) = 𝐵))
243242ifbid 4482 . 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 396  wo 844   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wral 3064  wrex 3065  {crab 3068  Vcvv 3432  cin 3886  wss 3887  c0 4256  ifcif 4459  𝒫 cpw 4533  cop 4567   class class class wbr 5074  {copab 5136  cmpt 5157   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  ccom 5593  Fun wfun 6427   Fn wfn 6428  wf 6429  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830   supp csupp 7977  m cmap 8615  Fincfn 8733  0cc0 10871  1c1 10872   · cmul 10876  cle 11010  cn 11973  2c2 12028  0cn0 12233  cexp 13782  Σcsu 15397  cdvds 15963  bitscbits 16126  𝟭cind 31978
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-ac2 10219  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-disj 5040  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-oadd 8301  df-er 8498  df-map 8617  df-pm 8618  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-sup 9201  df-inf 9202  df-oi 9269  df-dju 9659  df-card 9697  df-acn 9700  df-ac 9872  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-n0 12234  df-xnn0 12306  df-z 12320  df-uz 12583  df-rp 12731  df-fz 13240  df-fzo 13383  df-fl 13512  df-mod 13590  df-seq 13722  df-exp 13783  df-hash 14045  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-clim 15197  df-sum 15398  df-dvds 15964  df-bits 16129  df-ind 31979
This theorem is referenced by:  eulerpartlemgs2  32347
  Copyright terms: Public domain W3C validator