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

Theorem nfsum 15859
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘 ∈ 𝐴𝐵. Version of nfsum 15859 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 15855 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
2 nfcv 2923 . . . . 5 Ⅎ𝑥ℤ
3 nfsum.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2923 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3922 . . . . . 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 14155 . . . . . . 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 6823 . . . . . . 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 14155 . . . . . . . . 9 Ⅎ𝑥seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))
3029, 6nffv 6896 . . . . . . . 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 6499 . 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 3914  ifcif 4482   class class class wbr 5103   ↦ cmpt 5186  ℩cio 6493  –1-1-onto→wf1o 6538  ‘cfv 6539  (class class class)co 7421  0cc0 11201  1c1 11202   + caddc 11204  ℕcn 12336  ℤcz 12694  ℤ≥cuz 12966  ...cfz 13640  seqcseq 14145   ⇝ cli 15652  Σcsu 15854
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 3900  df-un 3902  df-in 3904  df-ss 3915  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 6305  df-iota 6495  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-frecs 8300  df-wrecs 8331  df-recs 8380  df-rdg 8419  df-seq 14146  df-sum 15855
This theorem is used by:  fsum2dlem  15937  fsumcom2  15941  fsumrlim  15979  fsumiun  15989  fsumcn  25192  fsum2cn  25193  nfitg1  26095  nfitg  26096  dvmptfsum  26296  fsumdvdscom  27513  binomcxplemdvsum  45340  binomcxplemnotnn0  45341  fsumcnf  46039  fsumiunss  46588  dvmptfprod  46956  sge0iunmptlemre  47426
  Copyright terms: Public domain W3C validator