ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nfsum GIF version

Theorem nfsum 12142
Description: Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘 ∈ 𝐴𝐵. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypotheses
Ref Expression
nfsum.1 Ⅎ𝑥𝐴
nfsum.2 Ⅎ𝑥𝐵
Assertion
Ref Expression
nfsum Ⅎ𝑥Σ𝑘 ∈ 𝐴 𝐵

Proof of Theorem nfsum
Dummy variables 𝑓 𝑗 𝑚 𝑛 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sumdc 12139 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))))
2 nfcv 2392 . . . . 5 Ⅎ𝑥ℤ
3 nfsum.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2392 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3241 . . . . . 6 Ⅎ𝑥 𝐴 ⊆ (ℤ≥‘𝑚)
63nfcri 2386 . . . . . . . 8 Ⅎ𝑥 𝑗 ∈ 𝐴
76nfdc 1711 . . . . . . 7 Ⅎ𝑥DECID 𝑗 ∈ 𝐴
84, 7nfralxy 2588 . . . . . 6 Ⅎ𝑥∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴
9 nfcv 2392 . . . . . . . 8 Ⅎ𝑥𝑚
10 nfcv 2392 . . . . . . . 8 Ⅎ𝑥 +
113nfcri 2386 . . . . . . . . . 10 Ⅎ𝑥 𝑛 ∈ 𝐴
12 nfcv 2392 . . . . . . . . . . 11 Ⅎ𝑥𝑛
13 nfsum.2 . . . . . . . . . . 11 Ⅎ𝑥𝐵
1412, 13nfcsb 3185 . . . . . . . . . 10 Ⅎ𝑥⦋𝑛 / 𝑘⦌𝐵
15 nfcv 2392 . . . . . . . . . 10 Ⅎ𝑥0
1611, 14, 15nfif 3669 . . . . . . . . 9 Ⅎ𝑥if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)
172, 16nfmpt 4223 . . . . . . . 8 Ⅎ𝑥(𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))
189, 10, 17nfseq 10909 . . . . . . 7 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)))
19 nfcv 2392 . . . . . . 7 Ⅎ𝑥 ⇝
20 nfcv 2392 . . . . . . 7 Ⅎ𝑥𝑧
2118, 19, 20nfbr 4177 . . . . . 6 Ⅎ𝑥seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧
225, 8, 21nf3an 1619 . . . . 5 Ⅎ𝑥(𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
232, 22nfrexw 2589 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧)
24 nfcv 2392 . . . . 5 Ⅎ𝑥ℕ
25 nfcv 2392 . . . . . . . 8 Ⅎ𝑥𝑓
26 nfcv 2392 . . . . . . . 8 Ⅎ𝑥(1...𝑚)
2725, 26, 3nff1o 5637 . . . . . . 7 Ⅎ𝑥 𝑓:(1...𝑚)–1-1-onto→𝐴
28 nfcv 2392 . . . . . . . . . 10 Ⅎ𝑥1
29 nfv 1581 . . . . . . . . . . . 12 Ⅎ𝑥 𝑛 ≤ 𝑚
30 nfcv 2392 . . . . . . . . . . . . 13 Ⅎ𝑥(𝑓‘𝑛)
3130, 13nfcsb 3185 . . . . . . . . . . . 12 Ⅎ𝑥⦋(𝑓‘𝑛) / 𝑘⦌𝐵
3229, 31, 15nfif 3669 . . . . . . . . . . 11 Ⅎ𝑥if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)
3324, 32nfmpt 4223 . . . . . . . . . 10 Ⅎ𝑥(𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0))
3428, 10, 33nfseq 10909 . . . . . . . . 9 Ⅎ𝑥seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))
3534, 9nffv 5705 . . . . . . . 8 Ⅎ𝑥(seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)
3635nfeq2 2404 . . . . . . 7 Ⅎ𝑥 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)
3727, 36nfan 1618 . . . . . 6 Ⅎ𝑥(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
3837nfex 1690 . . . . 5 Ⅎ𝑥∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
3924, 38nfrexw 2589 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
4023, 39nfor 1627 . . 3 Ⅎ𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)))
4140nfiotaw 5341 . 2 Ⅎ𝑥(℩𝑧(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑧) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑧 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))))
421, 41nfcxfr 2389 1 Ⅎ𝑥Σ𝑘 ∈ 𝐴 𝐵
Colors of variables:    wff set class
This proof depends on syntax axioms:   ∧ wa 104   ∨ wo 720  DECID wdc 846   ∧ w3a 1009   = wceq 1402  ∃wex 1545   ∈ wcel 2209  Ⅎwnfc 2379  ∀wral 2528  ∃wrex 2529  ⦋csb 3147   ⊆ wss 3220  ifcif 3638   class class class wbr 4130   ↦ cmpt 4192  ℩cio 5335  –1-1-onto→wf1o 5376  ‘cfv 5377  (class class class)co 6085  0cc0 8180  1c1 8181   + caddc 8183   ≤ cle 8362  ℕcn 9307  ℤcz 9649  ℤ≥cuz 9931  ...cfz 10422  seqcseq 10899   ⇝ cli 12063  Σcsu 12138
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-dc 847  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-if 3639  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-br 4131  df-opab 4193  df-mpt 4194  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-ov 6088  df-oprab 6089  df-mpo 6090  df-recs 6576  df-frec 6662  df-seqfrec 10900  df-sumdc 12139
This theorem is used by:  fsum2dlemstep  12220  fisumcom2  12224  fsumiun  12263  fsumcncntop  15759  dvmptfsum  15917
  Copyright terms: Public domain W3C validator