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 35118
Description: Lemma for eulerpart 35126. (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 4095 . . . 4 (ℎ ∈ (𝑇 ∩ 𝑅) ↔ (ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅))
21anbi1i 636 . . 3 ((ℎ ∈ (𝑇 ∩ 𝑅) ∧ ℎ ∈ 𝑃) ↔ ((ℎ ∈ 𝑇 ∧ ℎ ∈ 𝑅) ∧ ℎ ∈ 𝑃))
3 elin 4095 . . 3 (ℎ ∈ ((𝑇 ∩ 𝑅) ∩ 𝑃) ↔ (ℎ ∈ (𝑇 ∩ 𝑅) ∧ ℎ ∈ 𝑃))
4 eulerpart.p . . . . 5 𝑃 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ ((◡𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁)}
5 eulerpart.o . . . . 5 𝑂 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ (◡𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
6 eulerpart.d . . . . 5 𝐷 = {𝑔 ∈ 𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔‘𝑛) ≤ 1}
74, 5, 6eulerpartlemo 35109 . . . 4 (ℎ ∈ 𝑂 ↔ (ℎ ∈ 𝑃 ∧ ∀𝑛 ∈ (◡ℎ “ ℕ) ¬ 2 ∥ 𝑛))
8 cnveq 5862 . . . . . . . . . . . . . . . . 17 (𝑓 = ℎ → ◡𝑓 = ◡ℎ)
98imaeq1d 6069 . . . . . . . . . . . . . . . 16 (𝑓 = ℎ → (◡𝑓 “ ℕ) = (◡ℎ “ ℕ))
109eleq1d 2852 . . . . . . . . . . . . . . 15 (𝑓 = ℎ → ((◡𝑓 “ ℕ) ∈ Fin ↔ (◡ℎ “ ℕ) ∈ Fin))
11 fveq1 6915 . . . . . . . . . . . . . . . . . 18 (𝑓 = ℎ → (𝑓‘𝑘) = (ℎ‘𝑘))
1211oveq1d 7466 . . . . . . . . . . . . . . . . 17 (𝑓 = ℎ → ((𝑓‘𝑘) · 𝑘) = ((ℎ‘𝑘) · 𝑘))
1312sumeq2sdv 15914 . . . . . . . . . . . . . . . 16 (𝑓 = ℎ → Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘))
1413eqeq1d 2768 . . . . . . . . . . . . . . 15 (𝑓 = ℎ → (Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁 ↔ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁))
1510, 14anbi12d 644 . . . . . . . . . . . . . 14 (𝑓 = ℎ → (((◡𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓‘𝑘) · 𝑘) = 𝑁) ↔ ((◡ℎ “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁)))
1615, 4elrab2 3651 . . . . . . . . . . . . 13 (ℎ ∈ 𝑃 ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ ((◡ℎ “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((ℎ‘𝑘) · 𝑘) = 𝑁)))
1716simplbi 502 . . . . . . . . . . . 12 (ℎ ∈ 𝑃 → ℎ ∈ (ℕ0 ↑m ℕ))
18 cnvimass 6217 . . . . . . . . . . . . 13 (◡ℎ “ ℕ) ⊆ dom ℎ
19 nn0ex 12652 . . . . . . . . . . . . . . 15 ℕ0 ∈ V
20 nnex 12381 . . . . . . . . . . . . . . 15 ℕ ∈ V
2119, 20elmap 8937 . . . . . . . . . . . . . 14 (ℎ ∈ (ℕ0 ↑m ℕ) ↔ ℎ:ℕ⟶ℕ0)
22 fdm 6749 . . . . . . . . . . . . . 14 (ℎ:ℕ⟶ℕ0 → dom ℎ = ℕ)
2321, 22sylbi 220 . . . . . . . . . . . . 13 (ℎ ∈ (ℕ0 ↑m ℕ) → dom ℎ = ℕ)
2418, 23sseqtrid 3954 . . . . . . . . . . . 12 (ℎ ∈ (ℕ0 ↑m ℕ) → (◡ℎ “ ℕ) ⊆ ℕ)
2517, 24syl 18 . . . . . . . . . . 11 (ℎ ∈ 𝑃 → (◡ℎ “ ℕ) ⊆ ℕ)
2625sselda 3912 . . . . . . . . . 10 ((ℎ ∈ 𝑃 ∧ 𝑛 ∈ (◡ℎ “ ℕ)) → 𝑛 ∈ ℕ)
2726ralrimiva 3161 . . . . . . . . 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 3901 . . . . . . . . . 10 ((◡ℎ “ ℕ) ⊆ 𝐽 ↔ ∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ 𝐽)
35 breq2 5111 . . . . . . . . . . . . 13 (𝑧 = 𝑛 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑛))
3635notbid 321 . . . . . . . . . . . 12 (𝑧 = 𝑛 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑛))
37 eulerpart.j . . . . . . . . . . . 12 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
3836, 37elrab2 3651 . . . . . . . . . . 11 (𝑛 ∈ 𝐽 ↔ (𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
3938ralbii 3115 . . . . . . . . . 10 (∀𝑛 ∈ (◡ℎ “ ℕ)𝑛 ∈ 𝐽 ↔ ∀𝑛 ∈ (◡ℎ “ ℕ)(𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
40 r19.26 3129 . . . . . . . . . 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 3943 . . . . . . . 8 (𝑓 = ℎ → ((◡𝑓 “ ℕ) ⊆ 𝐽 ↔ (◡ℎ “ ℕ) ⊆ 𝐽))
46 eulerpart.t . . . . . . . 8 𝑇 = {𝑓 ∈ (ℕ0 ↑m ℕ) ∣ (◡𝑓 “ ℕ) ⊆ 𝐽}
4745, 46elrab2 3651 . . . . . . 7 (ℎ ∈ 𝑇 ↔ (ℎ ∈ (ℕ0 ↑m ℕ) ∧ (◡ℎ “ ℕ) ⊆ 𝐽))
48 vex 3457 . . . . . . . 8 ℎ ∈ V
49 eulerpart.r . . . . . . . 8 𝑅 = {𝑓 ∣ (◡𝑓 “ ℕ) ∈ Fin}
5048, 10, 49elab2 3638 . . . . . . 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 2763 1 𝑂 = ((𝑇 ∩ 𝑅) ∩ 𝑃)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {cab 2744  ∀wral 3083  {crab 3415   ⊆ wss 3899   ∩ cin 4091  ∅c0 4280  𝒫 cpw 4559   class class class wbr 5107  {copab 5172   ↦ cmpt 5191  ◡ccnv 5656  dom cdm 5657   ↾ cres 5659   “ cima 5660   ∘ ccom 5661  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451   ∈ cmpo 7453   supp csupp 8214   ↑m cmap 8885  Fincfn 9011  1c1 11240   · cmul 11244   ≤ cle 11383  𝟭cind 12360  ℕcn 12375  2c2 12437  ℕ0cn0 12646  ↑cexp 14244  Σcsu 15897   ∥ cdvds 16465  bitscbits 16632
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783  ax-cnex 11295  ax-1cn 11297  ax-addcl 11299
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-map 8887  df-nn 12376  df-n0 12647  df-seq 14185  df-sum 15898
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator