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 32341
Description: Lemma for eulerpart 32349. (Contributed by Thierry Arnoux, 13-Nov-2017.)
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
eulerpartlemr 𝑂 = ((𝑇𝑅) ∩ 𝑃)
Distinct variable groups:   𝑓,𝑘,𝑛,𝑧   𝑓,𝐽,𝑛   𝑓,𝑁   𝑔,𝑛,𝑃
Allowed substitution hints:   𝐷(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑃(𝑥,𝑦,𝑧,𝑓,𝑘,𝑜,𝑟)   𝑅(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑇(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝐹(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝐺(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝐻(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝐽(𝑥,𝑦,𝑧,𝑔,𝑘,𝑜,𝑟)   𝑀(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑁(𝑥,𝑦,𝑧,𝑔,𝑘,𝑛,𝑜,𝑟)   𝑂(𝑥,𝑦,𝑧,𝑓,𝑔,𝑘,𝑛,𝑜,𝑟)

Proof of Theorem eulerpartlemr
Dummy variable is distinct from all other variables.
StepHypRef Expression
1 elin 3903 . . . 4 ( ∈ (𝑇𝑅) ↔ (𝑇𝑅))
21anbi1i 624 . . 3 (( ∈ (𝑇𝑅) ∧ 𝑃) ↔ ((𝑇𝑅) ∧ 𝑃))
3 elin 3903 . . 3 ( ∈ ((𝑇𝑅) ∩ 𝑃) ↔ ( ∈ (𝑇𝑅) ∧ 𝑃))
4 eulerpart.p . . . . 5 𝑃 = {𝑓 ∈ (ℕ0m ℕ) ∣ ((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁)}
5 eulerpart.o . . . . 5 𝑂 = {𝑔𝑃 ∣ ∀𝑛 ∈ (𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
6 eulerpart.d . . . . 5 𝐷 = {𝑔𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔𝑛) ≤ 1}
74, 5, 6eulerpartlemo 32332 . . . 4 (𝑂 ↔ (𝑃 ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛))
8 cnveq 5782 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝑓 = )
98imaeq1d 5968 . . . . . . . . . . . . . . . 16 (𝑓 = → (𝑓 “ ℕ) = ( “ ℕ))
109eleq1d 2823 . . . . . . . . . . . . . . 15 (𝑓 = → ((𝑓 “ ℕ) ∈ Fin ↔ ( “ ℕ) ∈ Fin))
11 fveq1 6773 . . . . . . . . . . . . . . . . . 18 (𝑓 = → (𝑓𝑘) = (𝑘))
1211oveq1d 7290 . . . . . . . . . . . . . . . . 17 (𝑓 = → ((𝑓𝑘) · 𝑘) = ((𝑘) · 𝑘))
1312sumeq2sdv 15416 . . . . . . . . . . . . . . . 16 (𝑓 = → Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = Σ𝑘 ∈ ℕ ((𝑘) · 𝑘))
1413eqeq1d 2740 . . . . . . . . . . . . . . 15 (𝑓 = → (Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁 ↔ Σ𝑘 ∈ ℕ ((𝑘) · 𝑘) = 𝑁))
1510, 14anbi12d 631 . . . . . . . . . . . . . 14 (𝑓 = → (((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁) ↔ (( “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑘) · 𝑘) = 𝑁)))
1615, 4elrab2 3627 . . . . . . . . . . . . 13 (𝑃 ↔ ( ∈ (ℕ0m ℕ) ∧ (( “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑘) · 𝑘) = 𝑁)))
1716simplbi 498 . . . . . . . . . . . 12 (𝑃 ∈ (ℕ0m ℕ))
18 cnvimass 5989 . . . . . . . . . . . . 13 ( “ ℕ) ⊆ dom
19 nn0ex 12239 . . . . . . . . . . . . . . 15 0 ∈ V
20 nnex 11979 . . . . . . . . . . . . . . 15 ℕ ∈ V
2119, 20elmap 8659 . . . . . . . . . . . . . 14 ( ∈ (ℕ0m ℕ) ↔ :ℕ⟶ℕ0)
22 fdm 6609 . . . . . . . . . . . . . 14 (:ℕ⟶ℕ0 → dom = ℕ)
2321, 22sylbi 216 . . . . . . . . . . . . 13 ( ∈ (ℕ0m ℕ) → dom = ℕ)
2418, 23sseqtrid 3973 . . . . . . . . . . . 12 ( ∈ (ℕ0m ℕ) → ( “ ℕ) ⊆ ℕ)
2517, 24syl 17 . . . . . . . . . . 11 (𝑃 → ( “ ℕ) ⊆ ℕ)
2625sselda 3921 . . . . . . . . . 10 ((𝑃𝑛 ∈ ( “ ℕ)) → 𝑛 ∈ ℕ)
2726ralrimiva 3103 . . . . . . . . 9 (𝑃 → ∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ)
2827biantrurd 533 . . . . . . . 8 (𝑃 → (∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛 ↔ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)))
2917biantrurd 533 . . . . . . . 8 (𝑃 → ((∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛) ↔ ( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛))))
3016simprbi 497 . . . . . . . . . 10 (𝑃 → (( “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑘) · 𝑘) = 𝑁))
3130simpld 495 . . . . . . . . 9 (𝑃 → ( “ ℕ) ∈ Fin)
3231biantrud 532 . . . . . . . 8 (𝑃 → (( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)) ↔ (( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)) ∧ ( “ ℕ) ∈ Fin)))
3328, 29, 323bitrd 305 . . . . . . 7 (𝑃 → (∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛 ↔ (( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)) ∧ ( “ ℕ) ∈ Fin)))
34 dfss3 3909 . . . . . . . . . 10 (( “ ℕ) ⊆ 𝐽 ↔ ∀𝑛 ∈ ( “ ℕ)𝑛𝐽)
35 breq2 5078 . . . . . . . . . . . . 13 (𝑧 = 𝑛 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑛))
3635notbid 318 . . . . . . . . . . . 12 (𝑧 = 𝑛 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑛))
37 eulerpart.j . . . . . . . . . . . 12 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
3836, 37elrab2 3627 . . . . . . . . . . 11 (𝑛𝐽 ↔ (𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
3938ralbii 3092 . . . . . . . . . 10 (∀𝑛 ∈ ( “ ℕ)𝑛𝐽 ↔ ∀𝑛 ∈ ( “ ℕ)(𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛))
40 r19.26 3095 . . . . . . . . . 10 (∀𝑛 ∈ ( “ ℕ)(𝑛 ∈ ℕ ∧ ¬ 2 ∥ 𝑛) ↔ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛))
4134, 39, 403bitri 297 . . . . . . . . 9 (( “ ℕ) ⊆ 𝐽 ↔ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛))
4241anbi2i 623 . . . . . . . 8 (( ∈ (ℕ0m ℕ) ∧ ( “ ℕ) ⊆ 𝐽) ↔ ( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)))
4342anbi1i 624 . . . . . . 7 ((( ∈ (ℕ0m ℕ) ∧ ( “ ℕ) ⊆ 𝐽) ∧ ( “ ℕ) ∈ Fin) ↔ (( ∈ (ℕ0m ℕ) ∧ (∀𝑛 ∈ ( “ ℕ)𝑛 ∈ ℕ ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛)) ∧ ( “ ℕ) ∈ Fin))
4433, 43bitr4di 289 . . . . . 6 (𝑃 → (∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛 ↔ (( ∈ (ℕ0m ℕ) ∧ ( “ ℕ) ⊆ 𝐽) ∧ ( “ ℕ) ∈ Fin)))
459sseq1d 3952 . . . . . . . 8 (𝑓 = → ((𝑓 “ ℕ) ⊆ 𝐽 ↔ ( “ ℕ) ⊆ 𝐽))
46 eulerpart.t . . . . . . . 8 𝑇 = {𝑓 ∈ (ℕ0m ℕ) ∣ (𝑓 “ ℕ) ⊆ 𝐽}
4745, 46elrab2 3627 . . . . . . 7 (𝑇 ↔ ( ∈ (ℕ0m ℕ) ∧ ( “ ℕ) ⊆ 𝐽))
48 vex 3436 . . . . . . . 8 ∈ V
49 eulerpart.r . . . . . . . 8 𝑅 = {𝑓 ∣ (𝑓 “ ℕ) ∈ Fin}
5048, 10, 49elab2 3613 . . . . . . 7 (𝑅 ↔ ( “ ℕ) ∈ Fin)
5147, 50anbi12i 627 . . . . . 6 ((𝑇𝑅) ↔ (( ∈ (ℕ0m ℕ) ∧ ( “ ℕ) ⊆ 𝐽) ∧ ( “ ℕ) ∈ Fin))
5244, 51bitr4di 289 . . . . 5 (𝑃 → (∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛 ↔ (𝑇𝑅)))
5352pm5.32i 575 . . . 4 ((𝑃 ∧ ∀𝑛 ∈ ( “ ℕ) ¬ 2 ∥ 𝑛) ↔ (𝑃 ∧ (𝑇𝑅)))
54 ancom 461 . . . 4 ((𝑃 ∧ (𝑇𝑅)) ↔ ((𝑇𝑅) ∧ 𝑃))
557, 53, 543bitri 297 . . 3 (𝑂 ↔ ((𝑇𝑅) ∧ 𝑃))
562, 3, 553bitr4ri 304 . 2 (𝑂 ∈ ((𝑇𝑅) ∩ 𝑃))
5756eqriv 2735 1 𝑂 = ((𝑇𝑅) ∩ 𝑃)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396   = wceq 1539  wcel 2106  {cab 2715  wral 3064  {crab 3068  cin 3886  wss 3887  c0 4256  𝒫 cpw 4533   class class class wbr 5074  {copab 5136  cmpt 5157  ccnv 5588  dom cdm 5589  cres 5591  cima 5592  ccom 5593  wf 6429  cfv 6433  (class class class)co 7275  cmpo 7277   supp csupp 7977  m cmap 8615  Fincfn 8733  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-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  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
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-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-iun 4926  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-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-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-seq 13722  df-sum 15398
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator