MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nfsum Structured version   Visualization version   GIF version

Theorem nfsum 15575
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘𝐴𝐵. Version of nfsum 15575 with a disjoint variable condition, which does not require ax-13 2370. (Contributed by NM, 11-Dec-2005.) (Revised by Gino Giotto, 24-Feb-2024.)
Hypotheses
Ref Expression
nfsum.1 𝑥𝐴
nfsum.2 𝑥𝐵
Assertion
Ref Expression
nfsum 𝑥Σ𝑘𝐴 𝐵
Distinct variable group:   𝑥,𝑘
Allowed substitution hints:   𝐴(𝑥,𝑘)   𝐵(𝑥,𝑘)

Proof of Theorem nfsum
Dummy variables 𝑓 𝑚 𝑛 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sum 15571 . 2 Σ𝑘𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2907 . . . . 5 𝑥
3 nfsum.1 . . . . . . 7 𝑥𝐴
4 nfcv 2907 . . . . . . 7 𝑥(ℤ𝑚)
53, 4nfss 3936 . . . . . 6 𝑥 𝐴 ⊆ (ℤ𝑚)
6 nfcv 2907 . . . . . . . 8 𝑥𝑚
7 nfcv 2907 . . . . . . . 8 𝑥 +
83nfcri 2894 . . . . . . . . . 10 𝑥 𝑛𝐴
9 nfcv 2907 . . . . . . . . . . 11 𝑥𝑛
10 nfsum.2 . . . . . . . . . . 11 𝑥𝐵
119, 10nfcsbw 3882 . . . . . . . . . 10 𝑥𝑛 / 𝑘𝐵
12 nfcv 2907 . . . . . . . . . 10 𝑥0
138, 11, 12nfif 4516 . . . . . . . . 9 𝑥if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
142, 13nfmpt 5212 . . . . . . . 8 𝑥(𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
156, 7, 14nfseq 13916 . . . . . . 7 𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)))
16 nfcv 2907 . . . . . . 7 𝑥
17 nfcv 2907 . . . . . . 7 𝑥𝑧
1815, 16, 17nfbr 5152 . . . . . 6 𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧
195, 18nfan 1902 . . . . 5 𝑥(𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧)
202, 19nfrexw 3296 . . . 4 𝑥𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧)
21 nfcv 2907 . . . . 5 𝑥
22 nfcv 2907 . . . . . . . 8 𝑥𝑓
23 nfcv 2907 . . . . . . . 8 𝑥(1...𝑚)
2422, 23, 3nff1o 6782 . . . . . . 7 𝑥 𝑓:(1...𝑚)–1-1-onto𝐴
25 nfcv 2907 . . . . . . . . . 10 𝑥1
26 nfcv 2907 . . . . . . . . . . . 12 𝑥(𝑓𝑛)
2726, 10nfcsbw 3882 . . . . . . . . . . 11 𝑥(𝑓𝑛) / 𝑘𝐵
2821, 27nfmpt 5212 . . . . . . . . . 10 𝑥(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
2925, 7, 28nfseq 13916 . . . . . . . . 9 𝑥seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
3029, 6nffv 6852 . . . . . . . 8 𝑥(seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3130nfeq2 2924 . . . . . . 7 𝑥 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3224, 31nfan 1902 . . . . . 6 𝑥(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3332nfex 2317 . . . . 5 𝑥𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3421, 33nfrexw 3296 . . . 4 𝑥𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3520, 34nfor 1907 . . 3 𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
3635nfiotaw 6452 . 2 𝑥(℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
371, 36nfcxfr 2905 1 𝑥Σ𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 396  wo 845   = wceq 1541  wex 1781  wcel 2106  wnfc 2887  wrex 3073  csb 3855  wss 3910  ifcif 4486   class class class wbr 5105  cmpt 5188  cio 6446  1-1-ontowf1o 6495  cfv 6496  (class class class)co 7357  0cc0 11051  1c1 11052   + caddc 11054  cn 12153  cz 12499  cuz 12763  ...cfz 13424  seqcseq 13906  cli 15366  Σcsu 15570
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2707
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ral 3065  df-rex 3074  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-nul 4283  df-if 4487  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-br 5106  df-opab 5168  df-mpt 5189  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-pred 6253  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-ov 7360  df-oprab 7361  df-mpo 7362  df-frecs 8212  df-wrecs 8243  df-recs 8317  df-rdg 8356  df-seq 13907  df-sum 15571
This theorem is referenced by:  fsum2dlem  15655  fsumcom2  15659  fsumrlim  15696  fsumiun  15706  fsumcn  24233  fsum2cn  24234  nfitg1  25138  nfitg  25139  dvmptfsum  25339  fsumdvdscom  26534  binomcxplemdvsum  42625  binomcxplemnotnn0  42626  fsumcnf  43216  fsumiunss  43806  dvmptfprod  44176  sge0iunmptlemre  44646
  Copyright terms: Public domain W3C validator