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

Theorem nfsum1 14420
Description: Bound-variable hypothesis builder for sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypothesis
Ref Expression
nfsum1.1 𝑘𝐴
Assertion
Ref Expression
nfsum1 𝑘Σ𝑘𝐴 𝐵

Proof of Theorem nfsum1
Dummy variables 𝑓 𝑚 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sum 14417 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2764 . . . . 5 𝑘
3 nfsum1.1 . . . . . . 7 𝑘𝐴
4 nfcv 2764 . . . . . . 7 𝑘(ℤ𝑚)
53, 4nfss 3596 . . . . . 6 𝑘 𝐴 ⊆ (ℤ𝑚)
6 nfcv 2764 . . . . . . . 8 𝑘𝑚
7 nfcv 2764 . . . . . . . 8 𝑘 +
83nfcri 2758 . . . . . . . . . 10 𝑘 𝑛𝐴
9 nfcsb1v 3549 . . . . . . . . . 10 𝑘𝑛 / 𝑘𝐵
10 nfcv 2764 . . . . . . . . . 10 𝑘0
118, 9, 10nfif 4115 . . . . . . . . 9 𝑘if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
122, 11nfmpt 4746 . . . . . . . 8 𝑘(𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
136, 7, 12nfseq 12811 . . . . . . 7 𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)))
14 nfcv 2764 . . . . . . 7 𝑘
15 nfcv 2764 . . . . . . 7 𝑘𝑥
1613, 14, 15nfbr 4699 . . . . . 6 𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥
175, 16nfan 1828 . . . . 5 𝑘(𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
182, 17nfrex 3007 . . . 4 𝑘𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
19 nfcv 2764 . . . . 5 𝑘
20 nfcv 2764 . . . . . . . 8 𝑘𝑓
21 nfcv 2764 . . . . . . . 8 𝑘(1...𝑚)
2220, 21, 3nff1o 6135 . . . . . . 7 𝑘 𝑓:(1...𝑚)–1-1-onto𝐴
23 nfcv 2764 . . . . . . . . . 10 𝑘1
24 nfcsb1v 3549 . . . . . . . . . . 11 𝑘(𝑓𝑛) / 𝑘𝐵
2519, 24nfmpt 4746 . . . . . . . . . 10 𝑘(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
2623, 7, 25nfseq 12811 . . . . . . . . 9 𝑘seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
2726, 6nffv 6198 . . . . . . . 8 𝑘(seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
2827nfeq2 2780 . . . . . . 7 𝑘 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
2922, 28nfan 1828 . . . . . 6 𝑘(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3029nfex 2154 . . . . 5 𝑘𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3119, 30nfrex 3007 . . . 4 𝑘𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3218, 31nfor 1834 . . 3 𝑘(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
3332nfiota 5855 . 2 𝑘(℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
341, 33nfcxfr 2762 1 𝑘Σ𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wo 383  wa 384   = wceq 1483  wex 1704  wcel 1990  wnfc 2751  wrex 2913  csb 3533  wss 3574  ifcif 4086   class class class wbr 4653  cmpt 4729  cio 5849  1-1-ontowf1o 5887  cfv 5888  (class class class)co 6650  0cc0 9936  1c1 9937   + caddc 9939  cn 11020  cz 11377  cuz 11687  ...cfz 12326  seqcseq 12801  cli 14215  Σcsu 14416
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-wrecs 7407  df-recs 7468  df-rdg 7506  df-seq 12802  df-sum 14417
This theorem is referenced by:  dvmptfprod  40160  dvnprodlem1  40161  fourierdlem112  40435  etransclem32  40483  sge0reuz  40664
  Copyright terms: Public domain W3C validator