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

Theorem nfsum 15863
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘 ∈ 𝐴𝐵. Version of nfsum 15863 with a disjoint variable condition, which does not require ax-13 2401. (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 15859 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
2 nfcv 2922 . . . . 5 Ⅎ𝑥ℤ
3 nfsum.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2922 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3901 . . . . . 6 Ⅎ𝑥 𝐴 ⊆ (ℤ≥‘𝑚)
6 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝑚
7 nfcv 2922 . . . . . . . 8 Ⅎ𝑥 +
83nfcri 2914 . . . . . . . . . 10 Ⅎ𝑥 𝑛 ∈ 𝐴
9 nfcv 2922 . . . . . . . . . . 11 Ⅎ𝑥𝑛
10 nfsum.2 . . . . . . . . . . 11 Ⅎ𝑥𝐵
119, 10nfcsbw 3872 . . . . . . . . . 10 Ⅎ𝑥⦋𝑛 / 𝑘⦌𝐵
12 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥0
138, 11, 12nfif 4512 . . . . . . . . 9 Ⅎ𝑥if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)
142, 13nfmpt 5202 . . . . . . . 8 Ⅎ𝑥(𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))
156, 7, 14nfseq 14157 . . . . . . 7 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)))
16 nfcv 2922 . . . . . . 7 Ⅎ𝑥 ⇝
17 nfcv 2922 . . . . . . 7 Ⅎ𝑥𝑧
1815, 16, 17nfbr 5151 . . . . . 6 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧
195, 18nfan 1931 . . . . 5 Ⅎ𝑥(𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
202, 19nfrexw 3310 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
21 nfcv 2922 . . . . 5 Ⅎ𝑥ℕ
22 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝑓
23 nfcv 2922 . . . . . . . 8 Ⅎ𝑥(1...𝑚)
2422, 23, 3nff1o 6822 . . . . . . 7 Ⅎ𝑥 𝑓:(1...𝑚)–1-1-onto→𝐴
25 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥1
26 nfcv 2922 . . . . . . . . . . . 12 Ⅎ𝑥(𝑓‘𝑛)
2726, 10nfcsbw 3872 . . . . . . . . . . 11 Ⅎ𝑥⦋(𝑓‘𝑛) / 𝑘⦌𝐵
2821, 27nfmpt 5202 . . . . . . . . . 10 Ⅎ𝑥(𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)
2925, 7, 28nfseq 14157 . . . . . . . . 9 Ⅎ𝑥seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))
3029, 6nffv 6895 . . . . . . . 8 Ⅎ𝑥(seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3130nfeq2 2939 . . . . . . 7 Ⅎ𝑥 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3224, 31nfan 1931 . . . . . 6 Ⅎ𝑥(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3332nfex 2354 . . . . 5 Ⅎ𝑥∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3421, 33nfrexw 3310 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3520, 34nfor 1936 . . 3 Ⅎ𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)))
3635nfiotaw 6498 . 2 Ⅎ𝑥(℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
371, 36nfcxfr 2920 1 Ⅎ𝑥Σ𝑘 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Ⅎwnfc 2907  ∃wrex 3086  ⦋csb 3846   ⊆ wss 3895  ifcif 4481   class class class wbr 5102   ↦ cmpt 5185  ℩cio 6492  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420  0cc0 11203  1c1 11204   + caddc 11206  ℕcn 12338  ℤcz 12696  ℤ≥cuz 12968  ...cfz 13642  seqcseq 14147   ⇝ cli 15656  Σcsu 15858
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-seq 14148  df-sum 15859
This theorem is used by:  fsum2dlem  15941  fsumcom2  15945  fsumrlim  15983  fsumiun  15993  fsumcn  25196  fsum2cn  25197  nfitg1  26099  nfitg  26100  dvmptfsum  26300  fsumdvdscom  27517  binomcxplemdvsum  45432  binomcxplemnotnn0  45433  fsumcnf  46131  fsumiunss  46680  dvmptfprod  47048  sge0iunmptlemre  47518
  Copyright terms: Public domain W3C validator