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

Theorem nfsum1 15038
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 15035 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2975 . . . . 5 𝑘
3 nfsum1.1 . . . . . . 7 𝑘𝐴
4 nfcv 2975 . . . . . . 7 𝑘(ℤ𝑚)
53, 4nfss 3958 . . . . . 6 𝑘 𝐴 ⊆ (ℤ𝑚)
6 nfcv 2975 . . . . . . . 8 𝑘𝑚
7 nfcv 2975 . . . . . . . 8 𝑘 +
83nfcri 2969 . . . . . . . . . 10 𝑘 𝑛𝐴
9 nfcsb1v 3905 . . . . . . . . . 10 𝑘𝑛 / 𝑘𝐵
10 nfcv 2975 . . . . . . . . . 10 𝑘0
118, 9, 10nfif 4494 . . . . . . . . 9 𝑘if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
122, 11nfmpt 5154 . . . . . . . 8 𝑘(𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
136, 7, 12nfseq 13371 . . . . . . 7 𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)))
14 nfcv 2975 . . . . . . 7 𝑘
15 nfcv 2975 . . . . . . 7 𝑘𝑥
1613, 14, 15nfbr 5104 . . . . . 6 𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥
175, 16nfan 1894 . . . . 5 𝑘(𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
182, 17nfrex 3307 . . . 4 𝑘𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
19 nfcv 2975 . . . . 5 𝑘
20 nfcv 2975 . . . . . . . 8 𝑘𝑓
21 nfcv 2975 . . . . . . . 8 𝑘(1...𝑚)
2220, 21, 3nff1o 6606 . . . . . . 7 𝑘 𝑓:(1...𝑚)–1-1-onto𝐴
23 nfcv 2975 . . . . . . . . . 10 𝑘1
24 nfcsb1v 3905 . . . . . . . . . . 11 𝑘(𝑓𝑛) / 𝑘𝐵
2519, 24nfmpt 5154 . . . . . . . . . 10 𝑘(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
2623, 7, 25nfseq 13371 . . . . . . . . 9 𝑘seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
2726, 6nffv 6673 . . . . . . . 8 𝑘(seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
2827nfeq2 2993 . . . . . . 7 𝑘 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
2922, 28nfan 1894 . . . . . 6 𝑘(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3029nfex 2337 . . . . 5 𝑘𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3119, 30nfrex 3307 . . . 4 𝑘𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3218, 31nfor 1899 . . 3 𝑘(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
3332nfiotaw 6311 . 2 𝑘(℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
341, 33nfcxfr 2973 1 𝑘Σ𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843   = wceq 1531  wex 1774  wcel 2108  wnfc 2959  wrex 3137  csb 3881  wss 3934  ifcif 4465   class class class wbr 5057  cmpt 5137  cio 6305  1-1-ontowf1o 6347  cfv 6348  (class class class)co 7148  0cc0 10529  1c1 10530   + caddc 10532  cn 11630  cz 11973  cuz 12235  ...cfz 12884  seqcseq 13361  cli 14833  Σcsu 15034
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-wrecs 7939  df-recs 8000  df-rdg 8038  df-seq 13362  df-sum 15035
This theorem is referenced by:  dvmptfprod  42219  dvnprodlem1  42220  fourierdlem112  42493  etransclem32  42541  sge0reuz  42719
  Copyright terms: Public domain W3C validator