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

Theorem cbvsum 11301
Description: Change bound variable in a sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypotheses
Ref Expression
cbvsum.1 (𝑗 = 𝑘𝐵 = 𝐶)
cbvsum.2 𝑘𝐴
cbvsum.3 𝑗𝐴
cbvsum.4 𝑘𝐵
cbvsum.5 𝑗𝐶
Assertion
Ref Expression
cbvsum Σ𝑗𝐴 𝐵 = Σ𝑘𝐴 𝐶

Proof of Theorem cbvsum
Dummy variables 𝑓 𝑚 𝑛 𝑢 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cbvsum.4 . . . . . . . . . . 11 𝑘𝐵
2 cbvsum.5 . . . . . . . . . . 11 𝑗𝐶
3 cbvsum.1 . . . . . . . . . . 11 (𝑗 = 𝑘𝐵 = 𝐶)
41, 2, 3cbvcsb 3050 . . . . . . . . . 10 𝑛 / 𝑗𝐵 = 𝑛 / 𝑘𝐶
5 ifeq1 3523 . . . . . . . . . 10 (𝑛 / 𝑗𝐵 = 𝑛 / 𝑘𝐶 → if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0) = if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))
64, 5ax-mp 5 . . . . . . . . 9 if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0) = if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0)
76mpteq2i 4069 . . . . . . . 8 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))
8 seqeq3 10385 . . . . . . . 8 ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0)) → seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) = seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))))
97, 8ax-mp 5 . . . . . . 7 seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) = seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0)))
109breq1i 3989 . . . . . 6 (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥 ↔ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥)
11103anbi3i 1182 . . . . 5 ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥))
1211rexbii 2473 . . . 4 (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥))
131, 2, 3cbvcsb 3050 . . . . . . . . . . . 12 (𝑓𝑛) / 𝑗𝐵 = (𝑓𝑛) / 𝑘𝐶
14 ifeq1 3523 . . . . . . . . . . . 12 ((𝑓𝑛) / 𝑗𝐵 = (𝑓𝑛) / 𝑘𝐶 → if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0))
1513, 14ax-mp 5 . . . . . . . . . . 11 if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)
1615mpteq2i 4069 . . . . . . . . . 10 (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0))
17 seqeq3 10385 . . . . . . . . . 10 ((𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)) → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0))))
1816, 17ax-mp 5 . . . . . . . . 9 seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))
1918fveq1i 5487 . . . . . . . 8 (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚)
2019eqeq2i 2176 . . . . . . 7 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚) ↔ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚))
2120anbi2i 453 . . . . . 6 ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚)))
2221exbii 1593 . . . . 5 (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚)))
2322rexbii 2473 . . . 4 (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚)))
2412, 23orbi12i 754 . . 3 ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚))))
2524iotabii 5175 . 2 (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚)))) = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚))))
26 df-sumdc 11295 . 2 Σ𝑗𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑗𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑗𝐵, 0)))‘𝑚))))
27 df-sumdc 11295 . 2 Σ𝑘𝐴 𝐶 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐶, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐶, 0)))‘𝑚))))
2825, 26, 273eqtr4i 2196 1 Σ𝑗𝐴 𝐵 = Σ𝑘𝐴 𝐶
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wex 1480  wcel 2136  wnfc 2295  wral 2444  wrex 2445  csb 3045  wss 3116  ifcif 3520   class class class wbr 3982  cmpt 4043  cio 5151  1-1-ontowf1o 5187  cfv 5188  (class class class)co 5842  0cc0 7753  1c1 7754   + caddc 7756  cle 7934  cn 8857  cz 9191  cuz 9466  ...cfz 9944  seqcseq 10380  cli 11219  Σcsu 11294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-if 3521  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-cnv 4612  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-recs 6273  df-frec 6359  df-seqfrec 10381  df-sumdc 11295
This theorem is referenced by:  cbvsumv  11302  cbvsumi  11303  fsumsplitf  11349
  Copyright terms: Public domain W3C validator