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

Theorem nfsum 15915
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘 ∈ 𝐴𝐵. Version of nfsum 15915 with a disjoint variable condition, which does not require ax-13 2408. (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 15911 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
2 nfcv 2932 . . . . 5 Ⅎ𝑥ℤ
3 nfsum.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2932 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3908 . . . . . 6 Ⅎ𝑥 𝐴 ⊆ (ℤ≥‘𝑚)
6 nfcv 2932 . . . . . . . 8 Ⅎ𝑥𝑚
7 nfcv 2932 . . . . . . . 8 Ⅎ𝑥 +
83nfcri 2924 . . . . . . . . . 10 Ⅎ𝑥 𝑛 ∈ 𝐴
9 nfcv 2932 . . . . . . . . . . 11 Ⅎ𝑥𝑛
10 nfsum.2 . . . . . . . . . . 11 Ⅎ𝑥𝐵
119, 10nfcsbw 3879 . . . . . . . . . 10 Ⅎ𝑥⦋𝑛 / 𝑘⦌𝐵
12 nfcv 2932 . . . . . . . . . 10 Ⅎ𝑥0
138, 11, 12nfif 4518 . . . . . . . . 9 Ⅎ𝑥if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)
142, 13nfmpt 5212 . . . . . . . 8 Ⅎ𝑥(𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))
156, 7, 14nfseq 14207 . . . . . . 7 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)))
16 nfcv 2932 . . . . . . 7 Ⅎ𝑥 ⇝
17 nfcv 2932 . . . . . . 7 Ⅎ𝑥𝑧
1815, 16, 17nfbr 5161 . . . . . 6 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧
195, 18nfan 1936 . . . . 5 Ⅎ𝑥(𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
202, 19nfrexw 3317 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
21 nfcv 2932 . . . . 5 Ⅎ𝑥ℕ
22 nfcv 2932 . . . . . . . 8 Ⅎ𝑥𝑓
23 nfcv 2932 . . . . . . . 8 Ⅎ𝑥(1...𝑚)
2422, 23, 3nff1o 6862 . . . . . . 7 Ⅎ𝑥 𝑓:(1...𝑚)⟶1-1onto𝐴
25 nfcv 2932 . . . . . . . . . 10 Ⅎ𝑥1
26 nfcv 2932 . . . . . . . . . . . 12 Ⅎ𝑥(𝑓‘𝑛)
2726, 10nfcsbw 3879 . . . . . . . . . . 11 Ⅎ𝑥⦋(𝑓‘𝑛) / 𝑘⦌𝐵
2821, 27nfmpt 5212 . . . . . . . . . 10 Ⅎ𝑥(𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)
2925, 7, 28nfseq 14207 . . . . . . . . 9 Ⅎ𝑥seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))
3029, 6nffv 6936 . . . . . . . 8 Ⅎ𝑥(seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3130nfeq2 2949 . . . . . . 7 Ⅎ𝑥 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3224, 31nfan 1936 . . . . . 6 Ⅎ𝑥(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3332nfex 2362 . . . . 5 Ⅎ𝑥∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3421, 33nfrexw 3317 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3520, 34nfor 1941 . . 3 Ⅎ𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)))
3635nfiotaw 6531 . 2 Ⅎ𝑥(℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
371, 36nfcxfr 2930 1 Ⅎ𝑥Σ𝑘 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1572  ∃wex 1814   ∈ wcel 2151  Ⅎwnfc 2917  ∃wrex 3096  ⦋csb 3853   ⊆ wss 3902  ifcif 4487   class class class wbr 5111   ↦ cmpt 5195  ℩cio 6525  ⟶1-1ontowf1o 6572  ‘cfv 6573  (class class class)co 7462  0cc0 11250  1c1 11251   + caddc 11253  ℕcn 12386  ℤcz 12744  ℤ≥cuz 13016  ...cfz 13690  seqcseq 14197   ⇝ cli 15708  Σcsu 15910
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467  df-seq 14198  df-sum 15911
This theorem is used by:  fsum2dlem  15993  fsumcom2  15997  fsumrlim  16035  fsumiun  16045  fsumcn  25291  fsum2cn  25292  nfitg1  26194  nfitg  26195  dvmptfsum  26395  fsumdvdscom  27636  binomcxplemdvsum  45683  binomcxplemnotnn0  45684  fsumcnf  46395  fsumiunss  46943  dvmptfprod  47311  sge0iunmptlemre  47781
  Copyright terms: Public domain W3C validator