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

Theorem nfsum 15838
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘 ∈ 𝐴𝐵. Version of nfsum 15838 with a disjoint variable condition, which does not require ax-13 2402. (Contributed by NM, 11-Dec-2005.) (Revised by GG, 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 15834 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
2 nfcv 2923 . . . . 5 Ⅎ𝑥ℤ
3 nfsum.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2923 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3924 . . . . . 6 Ⅎ𝑥 𝐴 ⊆ (ℤ≥‘𝑚)
6 nfcv 2923 . . . . . . . 8 Ⅎ𝑥𝑚
7 nfcv 2923 . . . . . . . 8 Ⅎ𝑥 +
83nfcri 2915 . . . . . . . . . 10 Ⅎ𝑥 𝑛 ∈ 𝐴
9 nfcv 2923 . . . . . . . . . . 11 Ⅎ𝑥𝑛
10 nfsum.2 . . . . . . . . . . 11 Ⅎ𝑥𝐵
119, 10nfcsbw 3873 . . . . . . . . . 10 Ⅎ𝑥⦋𝑛 / 𝑘⦌𝐵
12 nfcv 2923 . . . . . . . . . 10 Ⅎ𝑥0
138, 11, 12nfif 4513 . . . . . . . . 9 Ⅎ𝑥if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)
142, 13nfmpt 5203 . . . . . . . 8 Ⅎ𝑥(𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))
156, 7, 14nfseq 14134 . . . . . . 7 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)))
16 nfcv 2923 . . . . . . 7 Ⅎ𝑥 ⇝
17 nfcv 2923 . . . . . . 7 Ⅎ𝑥𝑧
1815, 16, 17nfbr 5152 . . . . . 6 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧
195, 18nfan 1932 . . . . 5 Ⅎ𝑥(𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
202, 19nfrexw 3311 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
21 nfcv 2923 . . . . 5 Ⅎ𝑥ℕ
22 nfcv 2923 . . . . . . . 8 Ⅎ𝑥𝑓
23 nfcv 2923 . . . . . . . 8 Ⅎ𝑥(1...𝑚)
2422, 23, 3nff1o 6814 . . . . . . 7 Ⅎ𝑥 𝑓:(1...𝑚)–1-1-onto→𝐴
25 nfcv 2923 . . . . . . . . . 10 Ⅎ𝑥1
26 nfcv 2923 . . . . . . . . . . . 12 Ⅎ𝑥(𝑓‘𝑛)
2726, 10nfcsbw 3873 . . . . . . . . . . 11 Ⅎ𝑥⦋(𝑓‘𝑛) / 𝑘⦌𝐵
2821, 27nfmpt 5203 . . . . . . . . . 10 Ⅎ𝑥(𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)
2925, 7, 28nfseq 14134 . . . . . . . . 9 Ⅎ𝑥seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))
3029, 6nffv 6887 . . . . . . . 8 Ⅎ𝑥(seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3130nfeq2 2940 . . . . . . 7 Ⅎ𝑥 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3224, 31nfan 1932 . . . . . 6 Ⅎ𝑥(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3332nfex 2355 . . . . 5 Ⅎ𝑥∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3421, 33nfrexw 3311 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3520, 34nfor 1937 . . 3 Ⅎ𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)))
3635nfiotaw 6491 . 2 Ⅎ𝑥(℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
371, 36nfcxfr 2921 1 Ⅎ𝑥Σ𝑘 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1570  ∃wex 1812   ∈ wcel 2145  Ⅎwnfc 2908  ∃wrex 3087  ⦋csb 3847   ⊆ wss 3899  ifcif 4482   class class class wbr 5103   ↦ cmpt 5186  ℩cio 6485  –1-1-onto→wf1o 6530  ‘cfv 6531  (class class class)co 7412  0cc0 11181  1c1 11182   + caddc 11184  ℕcn 12316  ℤcz 12674  ℤ≥cuz 12946  ...cfz 13620  seqcseq 14124   ⇝ cli 15631  Σcsu 15833
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-seq 14125  df-sum 15834
This theorem is used by:  fsum2dlem  15916  fsumcom2  15920  fsumrlim  15958  fsumiun  15968  fsumcn  25171  fsum2cn  25172  nfitg1  26074  nfitg  26075  dvmptfsum  26275  fsumdvdscom  27494  binomcxplemdvsum  45298  binomcxplemnotnn0  45299  fsumcnf  45981  fsumiunss  46531  dvmptfprod  46899  sge0iunmptlemre  47369
  Copyright terms: Public domain W3C validator