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

Theorem eulerpartlemr 34940
Description: Lemma for eulerpart 34948. (Contributed by Thierry Arnoux, 13-Nov-2017.)
Hypotheses
Ref Expression
eulerpart.p 𝑃 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ ((◡𝑓 “ ℕ) ∈ 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 𝑇 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ (◡𝑓 “ ℕ) ⊆ 𝐽}
eulerpart.g 𝐺 = (𝑜 ∈ (𝑇 ∩ 𝑅) ↦ ((𝟭‘ℕ)‘(𝐹 “ (𝑀‘(bits ∘ (𝑜 ↾ 𝐽))))))
Assertion
Ref Expression
eulerpartlemr 𝑂 = ((𝑇 ∩ 𝑅) ∩ 𝑃)
Distinct variable groups:   𝑓,𝑘,𝑛,𝑧   𝑓,𝐽,𝑛   𝑓,𝑁   𝑔,𝑛,𝑃
Allowed substitution hints:   𝐷(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝑃(𝑥, 𝑦, 𝑧, 𝑓, 𝑘, 𝑜, 𝑟)   𝑅(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝑇(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝐹(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝐺(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝐻(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝐽(𝑥, 𝑦, 𝑧, 𝑔, 𝑘, 𝑜, 𝑟)   𝑀(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝑁(𝑥, 𝑦, 𝑧, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)   𝑂(𝑥, 𝑦, 𝑧, 𝑓, 𝑔, 𝑘, 𝑛, 𝑜, 𝑟)

Proof of Theorem eulerpartlemr
Dummy variable ℎ is distinct from all other variables.
StepHypRef Expression
1 elin 3914 . . . 4 (ℎ ∈ (𝑇 ∩ 𝑅) ↔ (ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅))
21anbi1i 636 . . 3 ((ℎ ∈ (𝑇 ∩ 𝑅) ∧ ℎ ∈ 𝑃) ↔ ((ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅) ∧ ℎ ∈ 𝑃))
3 elin 3914 . . 3 (ℎ ∈ ((𝑇 ∩ 𝑅) ∩ 𝑃) ↔ (ℎ ∈ (𝑇 ∩ 𝑅) ∧ ℎ ∈ 𝑃))
4 eulerpart.p . . . . 5 𝑃 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ ((◡𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁)}
5 eulerpart.o . . . . 5 𝑂 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ (◡𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
6 eulerpart.d . . . . 5 𝐷 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔‘𝑛) ≤ 1}
74, 5, 6eulerpartlemo 34931 . . . 4 (ℎ ∈ 𝑂 ↔ (ℎ ∈ 𝑃 ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛))
8 cnveq 5847 . . . . . . . . . . . . . . . . 17 (𝑓 = ℎ → ◡𝑓 = ◡ℎ)
98imaeq1d 6049 . . . . . . . . . . . . . . . 16 (𝑓 = ℎ → (◡𝑓 “ ℕ) = (◡ℎ “ ℕ))
109eleq1d 2845 . . . . . . . . . . . . . . 15 (𝑓 = ℎ → ((◡𝑓 “ ℕ) ∈ Fin ↔ (◡ℎ “ ℕ) ∈ Fin))
11 fveq1 6872 . . . . . . . . . . . . . . . . . 18 (𝑓 = ℎ → (𝑓‘𝑘) = (ℎ‘𝑘))
1211oveq1d 7423 . . . . . . . . . . . . . . . . 17 (𝑓 = ℎ → ((𝑓‘𝑘) · 𝑘) = ((ℎ‘𝑘) · 𝑘))
1312sumeq2sdv 15837 . . . . . . . . . . . . . . . 16 (𝑓 = ℎ → Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘))
1413eqeq1d 2762 . . . . . . . . . . . . . . 15 (𝑓 = ℎ → (Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁 ↔ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁))
1510, 14anbi12d 644 . . . . . . . . . . . . . 14 (𝑓 = ℎ → (((◡𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁) ↔ ((◡ℎ “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁)))
1615, 4elrab2 3648 . . . . . . . . . . . . 13 (ℎ ∈ 𝑃 ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ ((◡ℎ “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁)))
1716simplbi 502 . . . . . . . . . . . 12 (ℎ ∈ 𝑃 → ℎ ∈ (ℕ0 ↑m ℕ))
18 cnvimass 6072 . . . . . . . . . . . . 13 (◡ℎ “ ℕ) ⊆ dom ℎ
19 nn0ex 12581 . . . . . . . . . . . . . . 15 ℕ0 ∈ V
20 nnex 12310 . . . . . . . . . . . . . . 15 ℕ ∈ V
2119, 20elmap 8877 . . . . . . . . . . . . . 14 (ℎ ∈ (ℕ0 ↑m ℕ) ↔ ℎ:ℕ⟶ℕ0)
22 fdm 6707 . . . . . . . . . . . . . 14 (ℎ:ℕ⟶ℕ0 → dom ℎ = ℕ)
2321, 22sylbi 220 . . . . . . . . . . . . 13 (ℎ ∈ (ℕ0 ↑m ℕ) → dom ℎ = ℕ)
2418, 23sseqtrid 3972 . . . . . . . . . . . 12 (ℎ ∈ (ℕ0 ↑m ℕ) → (◡ℎ “ ℕ) ⊆ ℕ)
2517, 24syl 18 . . . . . . . . . . 11 (ℎ ∈ 𝑃 → (◡ℎ “ ℕ) ⊆ ℕ)
2625sselda 3930 . . . . . . . . . 10 ((ℎ ∈ 𝑃 ∧ 𝑛 ∈ (◡ℎ “ ℕ)) → 𝑛 ∈ ℕ)
2726ralrimiva 3154 . . . . . . . . 9 (ℎ ∈ 𝑃 → ∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ)
2827biantrurd 542 . . . . . . . 8 (ℎ ∈ 𝑃 → (∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛 ↔ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)))
2917biantrurd 542 . . . . . . . 8 (ℎ ∈ 𝑃 → ((∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛) ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛))))
3016simprbi 503 . . . . . . . . . 10 (ℎ ∈ 𝑃 → ((◡ℎ “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁))
3130simpld 500 . . . . . . . . 9 (ℎ ∈ 𝑃 → (◡ℎ “ ℕ) ∈ Fin)
3231biantrud 541 . . . . . . . 8 (ℎ ∈ 𝑃 → ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)) ↔ ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)) ∧ (◡ℎ “ ℕ) ∈ Fin)))
3328, 29, 323bitrd 308 . . . . . . 7 (ℎ ∈ 𝑃 → (∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛 ↔ ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)) ∧ (◡ℎ “ ℕ) ∈ Fin)))
34 dfss3 3919 . . . . . . . . . 10 ((◡ℎ “ ℕ) ⊆ 𝐽 ↔ ∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ 𝐽)
35 breq2 5106 . . . . . . . . . . . . 13 (𝑧 = 𝑛 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑛))
3635notbid 321 . . . . . . . . . . . 12 (𝑧 = 𝑛 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑛))
37 eulerpart.j . . . . . . . . . . . 12 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
3836, 37elrab2 3648 . . . . . . . . . . 11 (𝑛 ∈ 𝐽 ↔ (𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
3938ralbii 3108 . . . . . . . . . 10 (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ 𝐽 ↔ ∀𝑛 ∈ (◡ℎ “ ℕ)(𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
40 r19.26 3122 . . . . . . . . . 10 (∀𝑛 ∈ (◡ℎ “ ℕ)(𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛) ↔ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛))
4134, 39, 403bitri 300 . . . . . . . . 9 ((◡ℎ “ ℕ) ⊆ 𝐽 ↔ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛))
4241anbi2i 635 . . . . . . . 8 ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽) ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)))
4342anbi1i 636 . . . . . . 7 (((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽) ∧ (◡ℎ “ ℕ) ∈ Fin) ↔ ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛)) ∧ (◡ℎ “ ℕ) ∈ Fin))
4433, 43bitr4di 292 . . . . . 6 (ℎ ∈ 𝑃 → (∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛 ↔ ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽) ∧ (◡ℎ “ ℕ) ∈ Fin)))
459sseq1d 3961 . . . . . . . 8 (𝑓 = ℎ → ((◡𝑓 “ ℕ) ⊆ 𝐽 ↔ (◡ℎ “ ℕ) ⊆ 𝐽))
46 eulerpart.t . . . . . . . 8 𝑇 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ (◡𝑓 “ ℕ) ⊆ 𝐽}
4745, 46elrab2 3648 . . . . . . 7 (ℎ ∈ 𝑇 ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽))
48 vex 3454 . . . . . . . 8 ℎ ∈ V
49 eulerpart.r . . . . . . . 8 𝑅 = {𝑓 ∣ (◡𝑓 “ ℕ) ∈ Fin}
5048, 10, 49elab2 3635 . . . . . . 7 (ℎ ∈ 𝑅 ↔ (◡ℎ “ ℕ) ∈ Fin)
5147, 50anbi12i 640 . . . . . 6 ((ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅) ↔ ((ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽) ∧ (◡ℎ “ ℕ) ∈ Fin))
5244, 51bitr4di 292 . . . . 5 (ℎ ∈ 𝑃 → (∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛 ↔ (ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅)))
5352pm5.32i 585 . . . 4 ((ℎ ∈ 𝑃 ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛) ↔ (ℎ ∈ 𝑃 ∧ (ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅)))
54 ancom 466 . . . 4 ((ℎ ∈ 𝑃 ∧ (ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅)) ↔ ((ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅) ∧ ℎ ∈ 𝑃))
557, 53, 543bitri 300 . . 3 (ℎ ∈ 𝑂 ↔ ((ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅) ∧ ℎ ∈ 𝑃))
562, 3, 553bitr4ri 307 . 2 (ℎ ∈ 𝑂 ↔ ℎ ∈ ((𝑇 ∩ 𝑅) ∩ 𝑃))
5756eqriv 2757 1 𝑂 = ((𝑇 ∩ 𝑅) ∩ 𝑃)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2738  ∀wral 3076  {crab 3412   ∩ cin 3897   ⊆ wss 3898  ∅c0 4278  𝒫 cpw 4556   class class class wbr 5102  {copab 5166   ↦ cmpt 5185  ◡ccnv 5646  dom cdm 5647   ↾ cres 5649   “ cima 5650   ∘ ccom 5651  ⟶wf 6523  ‘cfv 6527  (class class class)co 7408   ∈ cmpo 7410   supp csupp 8155   ↑m cmap 8825  Fincfn 8951  1c1 11172   · cmul 11176   ≤ cle 11315  𝟭cind 12289  ℕcn 12304  2c2 12366  ℕ0cn0 12575  ↑cexp 14172  Σcsu 15820   ∥ cdvds 16389  bitscbits 16556
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734  ax-cnex 11227  ax-1cn 11229  ax-addcl 11231
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6293  df-ord 6354  df-on 6355  df-lim 6356  df-suc 6357  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7861  df-2nd 7985  df-frecs 8277  df-wrecs 8308  df-recs 8357  df-rdg 8396  df-map 8827  df-nn 12305  df-n0 12576  df-seq 14113  df-sum 15821
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator