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

Theorem nfsum1 12147
Description: Bound-variable hypothesis builder for sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypothesis
Ref Expression
nfsum1.1 Ⅎ𝑘𝐴
Assertion
Ref Expression
nfsum1 Ⅎ𝑘Σ𝑘 ∈ 𝐴 𝐵

Proof of Theorem nfsum1
Dummy variables 𝑓 𝑗 𝑚 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sumdc 12145 . 2 Σ𝑘 ∈ 𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))))
2 nfcv 2392 . . . . 5 Ⅎ𝑘ℤ
3 nfsum1.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 nfcsb1v 3180 . . . . . . . . . 10 Ⅎ𝑘⦋𝑛 / 𝑘⦌𝐵
13 nfcv 2392 . . . . . . . . . 10 Ⅎ𝑘0
1411, 12, 13nfif 3669 . . . . . . . . 9 Ⅎ𝑘if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)
152, 14nfmpt 4225 . . . . . . . 8 Ⅎ𝑘(𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))
169, 10, 15nfseq 10915 . . . . . . 7 Ⅎ𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0)))
17 nfcv 2392 . . . . . . 7 Ⅎ𝑘 ⇝
18 nfcv 2392 . . . . . . 7 Ⅎ𝑘𝑥
1916, 17, 18nfbr 4178 . . . . . 6 Ⅎ𝑘seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥
205, 8, 19nf3an 1619 . . . . 5 Ⅎ𝑘(𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥)
212, 20nfrexya 2591 . . . 4 Ⅎ𝑘∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥)
22 nfcv 2392 . . . . 5 Ⅎ𝑘ℕ
23 nfcv 2392 . . . . . . . 8 Ⅎ𝑘𝑓
24 nfcv 2392 . . . . . . . 8 Ⅎ𝑘(1...𝑚)
2523, 24, 3nff1o 5640 . . . . . . 7 Ⅎ𝑘 𝑓:(1...𝑚)–1-1-onto→𝐴
26 nfcv 2392 . . . . . . . . . 10 Ⅎ𝑘1
27 nfv 1581 . . . . . . . . . . . 12 Ⅎ𝑘 𝑛 ≤ 𝑚
28 nfcsb1v 3180 . . . . . . . . . . . 12 Ⅎ𝑘⦋(𝑓‘𝑛) / 𝑘⦌𝐵
2927, 28, 13nfif 3669 . . . . . . . . . . 11 Ⅎ𝑘if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)
3022, 29nfmpt 4225 . . . . . . . . . 10 Ⅎ𝑘(𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0))
3126, 10, 30nfseq 10915 . . . . . . . . 9 Ⅎ𝑘seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))
3231, 9nffv 5708 . . . . . . . 8 Ⅎ𝑘(seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)
3332nfeq2 2404 . . . . . . 7 Ⅎ𝑘 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)
3425, 33nfan 1618 . . . . . 6 Ⅎ𝑘(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
3534nfex 1690 . . . . 5 Ⅎ𝑘∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
3622, 35nfrexya 2591 . . . 4 Ⅎ𝑘∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))
3721, 36nfor 1627 . . 3 Ⅎ𝑘(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚)))
3837nfiotaw 5344 . 2 Ⅎ𝑘(℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∀𝑗 ∈ (ℤ≥‘𝑚)DECID 𝑗 ∈ 𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛 ∈ 𝐴, ⦋𝑛 / 𝑘⦌𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ 𝑚, ⦋(𝑓‘𝑛) / 𝑘⦌𝐵, 0)))‘𝑚))))
391, 38nfcxfr 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 4131   ↦ cmpt 4193  ℩cio 5338  –1-1-onto→wf1o 5379  ‘cfv 5380  (class class class)co 6088  0cc0 8185  1c1 8186   + caddc 8188   ≤ cle 8367  ℕcn 9313  ℤcz 9655  ℤ≥cuz 9937  ...cfz 10428  seqcseq 10905   ⇝ cli 12069  Σcsu 12144
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 4132  df-opab 4194  df-mpt 4195  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-ov 6091  df-oprab 6092  df-mpo 6093  df-recs 6580  df-frec 6666  df-seqfrec 10906  df-sumdc 12145
This theorem is used by:  mertenslem2  12328
  Copyright terms: Public domain W3C validator