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

Theorem eulerpartlemf 30772
Description: Lemma for eulerpart 30784: Odd partitions are zero for even numbers. (Contributed by Thierry Arnoux, 9-Sep-2017.)
Hypotheses
Ref Expression
eulerpart.p 𝑃 = {𝑓 ∈ (ℕ0𝑚 ℕ) ∣ ((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁)}
eulerpart.o 𝑂 = {𝑔𝑃 ∣ ∀𝑛 ∈ (𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
eulerpart.d 𝐷 = {𝑔𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔𝑛) ≤ 1}
eulerpart.j 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
eulerpart.f 𝐹 = (𝑥𝐽, 𝑦 ∈ ℕ0 ↦ ((2↑𝑦) · 𝑥))
eulerpart.h 𝐻 = {𝑟 ∈ ((𝒫 ℕ0 ∩ Fin) ↑𝑚 𝐽) ∣ (𝑟 supp ∅) ∈ Fin}
eulerpart.m 𝑀 = (𝑟𝐻 ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))})
eulerpart.r 𝑅 = {𝑓 ∣ (𝑓 “ ℕ) ∈ Fin}
eulerpart.t 𝑇 = {𝑓 ∈ (ℕ0𝑚 ℕ) ∣ (𝑓 “ ℕ) ⊆ 𝐽}
Assertion
Ref Expression
eulerpartlemf ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → (𝐴𝑡) = 0)
Distinct variable groups:   𝑧,𝑡   𝑓,𝑔,𝑘,𝑛,𝑡,𝐴   𝑓,𝐽   𝑓,𝑁   𝑃,𝑔
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧,𝑟)   𝐷(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝑃(𝑥,𝑦,𝑧,𝑡,𝑓,𝑘,𝑛,𝑟)   𝑅(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝑇(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝐹(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝐻(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝐽(𝑥,𝑦,𝑧,𝑡,𝑔,𝑘,𝑛,𝑟)   𝑀(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)   𝑁(𝑥,𝑦,𝑧,𝑡,𝑔,𝑘,𝑛,𝑟)   𝑂(𝑥,𝑦,𝑧,𝑡,𝑓,𝑔,𝑘,𝑛,𝑟)

Proof of Theorem eulerpartlemf
StepHypRef Expression
1 eldif 3733 . . . . . 6 (𝑡 ∈ (ℕ ∖ 𝐽) ↔ (𝑡 ∈ ℕ ∧ ¬ 𝑡𝐽))
2 breq2 4791 . . . . . . . . . . 11 (𝑧 = 𝑡 → (2 ∥ 𝑧 ↔ 2 ∥ 𝑡))
32notbid 307 . . . . . . . . . 10 (𝑧 = 𝑡 → (¬ 2 ∥ 𝑧 ↔ ¬ 2 ∥ 𝑡))
4 eulerpart.j . . . . . . . . . 10 𝐽 = {𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧}
53, 4elrab2 3518 . . . . . . . . 9 (𝑡𝐽 ↔ (𝑡 ∈ ℕ ∧ ¬ 2 ∥ 𝑡))
65simplbi2 488 . . . . . . . 8 (𝑡 ∈ ℕ → (¬ 2 ∥ 𝑡𝑡𝐽))
76con1d 141 . . . . . . 7 (𝑡 ∈ ℕ → (¬ 𝑡𝐽 → 2 ∥ 𝑡))
87imp 393 . . . . . 6 ((𝑡 ∈ ℕ ∧ ¬ 𝑡𝐽) → 2 ∥ 𝑡)
91, 8sylbi 207 . . . . 5 (𝑡 ∈ (ℕ ∖ 𝐽) → 2 ∥ 𝑡)
109adantl 467 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → 2 ∥ 𝑡)
1110adantr 466 . . 3 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) ∧ (𝐴𝑡) ∈ ℕ) → 2 ∥ 𝑡)
12 simpll 750 . . . 4 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) ∧ (𝐴𝑡) ∈ ℕ) → 𝐴 ∈ (𝑇𝑅))
13 eldifi 3883 . . . . . 6 (𝑡 ∈ (ℕ ∖ 𝐽) → 𝑡 ∈ ℕ)
14 eulerpart.p . . . . . . . . . . 11 𝑃 = {𝑓 ∈ (ℕ0𝑚 ℕ) ∣ ((𝑓 “ ℕ) ∈ Fin ∧ Σ𝑘 ∈ ℕ ((𝑓𝑘) · 𝑘) = 𝑁)}
15 eulerpart.o . . . . . . . . . . 11 𝑂 = {𝑔𝑃 ∣ ∀𝑛 ∈ (𝑔 “ ℕ) ¬ 2 ∥ 𝑛}
16 eulerpart.d . . . . . . . . . . 11 𝐷 = {𝑔𝑃 ∣ ∀𝑛 ∈ ℕ (𝑔𝑛) ≤ 1}
17 eulerpart.f . . . . . . . . . . 11 𝐹 = (𝑥𝐽, 𝑦 ∈ ℕ0 ↦ ((2↑𝑦) · 𝑥))
18 eulerpart.h . . . . . . . . . . 11 𝐻 = {𝑟 ∈ ((𝒫 ℕ0 ∩ Fin) ↑𝑚 𝐽) ∣ (𝑟 supp ∅) ∈ Fin}
19 eulerpart.m . . . . . . . . . . 11 𝑀 = (𝑟𝐻 ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐽𝑦 ∈ (𝑟𝑥))})
20 eulerpart.r . . . . . . . . . . 11 𝑅 = {𝑓 ∣ (𝑓 “ ℕ) ∈ Fin}
21 eulerpart.t . . . . . . . . . . 11 𝑇 = {𝑓 ∈ (ℕ0𝑚 ℕ) ∣ (𝑓 “ ℕ) ⊆ 𝐽}
2214, 15, 16, 4, 17, 18, 19, 20, 21eulerpartlemt0 30771 . . . . . . . . . 10 (𝐴 ∈ (𝑇𝑅) ↔ (𝐴 ∈ (ℕ0𝑚 ℕ) ∧ (𝐴 “ ℕ) ∈ Fin ∧ (𝐴 “ ℕ) ⊆ 𝐽))
2322simp1bi 1139 . . . . . . . . 9 (𝐴 ∈ (𝑇𝑅) → 𝐴 ∈ (ℕ0𝑚 ℕ))
24 elmapi 8035 . . . . . . . . 9 (𝐴 ∈ (ℕ0𝑚 ℕ) → 𝐴:ℕ⟶ℕ0)
2523, 24syl 17 . . . . . . . 8 (𝐴 ∈ (𝑇𝑅) → 𝐴:ℕ⟶ℕ0)
26 ffn 6184 . . . . . . . 8 (𝐴:ℕ⟶ℕ0𝐴 Fn ℕ)
27 elpreima 6482 . . . . . . . 8 (𝐴 Fn ℕ → (𝑡 ∈ (𝐴 “ ℕ) ↔ (𝑡 ∈ ℕ ∧ (𝐴𝑡) ∈ ℕ)))
2825, 26, 273syl 18 . . . . . . 7 (𝐴 ∈ (𝑇𝑅) → (𝑡 ∈ (𝐴 “ ℕ) ↔ (𝑡 ∈ ℕ ∧ (𝐴𝑡) ∈ ℕ)))
2928baibd 529 . . . . . 6 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ ℕ) → (𝑡 ∈ (𝐴 “ ℕ) ↔ (𝐴𝑡) ∈ ℕ))
3013, 29sylan2 580 . . . . 5 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → (𝑡 ∈ (𝐴 “ ℕ) ↔ (𝐴𝑡) ∈ ℕ))
3130biimpar 463 . . . 4 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) ∧ (𝐴𝑡) ∈ ℕ) → 𝑡 ∈ (𝐴 “ ℕ))
3222simp3bi 1141 . . . . . 6 (𝐴 ∈ (𝑇𝑅) → (𝐴 “ ℕ) ⊆ 𝐽)
3332sselda 3752 . . . . 5 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (𝐴 “ ℕ)) → 𝑡𝐽)
345simprbi 484 . . . . 5 (𝑡𝐽 → ¬ 2 ∥ 𝑡)
3533, 34syl 17 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (𝐴 “ ℕ)) → ¬ 2 ∥ 𝑡)
3612, 31, 35syl2anc 573 . . 3 (((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) ∧ (𝐴𝑡) ∈ ℕ) → ¬ 2 ∥ 𝑡)
3711, 36pm2.65da 818 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → ¬ (𝐴𝑡) ∈ ℕ)
3825adantr 466 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → 𝐴:ℕ⟶ℕ0)
3913adantl 467 . . . 4 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → 𝑡 ∈ ℕ)
4038, 39ffvelrnd 6505 . . 3 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → (𝐴𝑡) ∈ ℕ0)
41 elnn0 11501 . . 3 ((𝐴𝑡) ∈ ℕ0 ↔ ((𝐴𝑡) ∈ ℕ ∨ (𝐴𝑡) = 0))
4240, 41sylib 208 . 2 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → ((𝐴𝑡) ∈ ℕ ∨ (𝐴𝑡) = 0))
43 orel1 875 . 2 (¬ (𝐴𝑡) ∈ ℕ → (((𝐴𝑡) ∈ ℕ ∨ (𝐴𝑡) = 0) → (𝐴𝑡) = 0))
4437, 42, 43sylc 65 1 ((𝐴 ∈ (𝑇𝑅) ∧ 𝑡 ∈ (ℕ ∖ 𝐽)) → (𝐴𝑡) = 0)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 382  wo 836   = wceq 1631  wcel 2145  {cab 2757  wral 3061  {crab 3065  cdif 3720  cin 3722  wss 3723  c0 4063  𝒫 cpw 4298   class class class wbr 4787  {copab 4847  cmpt 4864  ccnv 5249  cima 5253   Fn wfn 6025  wf 6026  cfv 6030  (class class class)co 6796  cmpt2 6798   supp csupp 7450  𝑚 cmap 8013  Fincfn 8113  0cc0 10142  1c1 10143   · cmul 10147  cle 10281  cn 11226  2c2 11276  0cn0 11499  cexp 13067  Σcsu 14624  cdvds 15189
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4916  ax-nul 4924  ax-pow 4975  ax-pr 5035  ax-un 7100  ax-1cn 10200  ax-icn 10201  ax-addcl 10202  ax-mulcl 10204  ax-i2m1 10210
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4227  df-pw 4300  df-sn 4318  df-pr 4320  df-op 4324  df-uni 4576  df-iun 4657  df-br 4788  df-opab 4848  df-mpt 4865  df-id 5158  df-xp 5256  df-rel 5257  df-cnv 5258  df-co 5259  df-dm 5260  df-rn 5261  df-res 5262  df-ima 5263  df-iota 5993  df-fun 6032  df-fn 6033  df-f 6034  df-fv 6038  df-ov 6799  df-oprab 6800  df-mpt2 6801  df-1st 7319  df-2nd 7320  df-map 8015  df-n0 11500
This theorem is referenced by:  eulerpartlemgh  30780
  Copyright terms: Public domain W3C validator