Step * 1 1 1 1 of Lemma sum-reindex

.....wf..... 
1. : ℕ
2. : ℕn ⟶ ℤ
3. : ℕ
4. : ℕm ⟶ ℤ
5. {i:ℕn| ¬(a[i] 0 ∈ ℤ)}  ⟶ {j:ℕm| ¬(b[j] 0 ∈ ℤ)} 
6. Bij({i:ℕn| ¬(a[i] 0 ∈ ℤ)} ;{j:ℕm| ¬(b[j] 0 ∈ ℤ)} ;f)
7. ∀i:{i:ℕn| ¬(a[i] 0 ∈ ℤ)} (a[i] b[f i] ∈ ℤ)
⊢ upto(m) ∈ {X:bag(ℕm)| bag-no-repeats(ℕm;X)} 
BY
(MemTypeCD
   THEN Auto
   THEN (D THEN Auto)
   THEN With ⌜upto(m)⌝ (D 0)⋅
   THEN Auto
   THEN BLemma `no_repeats_upto`
   THEN Auto) }


Latex:


Latex:
.....wf..... 
1.  n  :  \mBbbN{}
2.  a  :  \mBbbN{}n  {}\mrightarrow{}  \mBbbZ{}
3.  m  :  \mBbbN{}
4.  b  :  \mBbbN{}m  {}\mrightarrow{}  \mBbbZ{}
5.  f  :  \{i:\mBbbN{}n|  \mneg{}(a[i]  =  0)\}    {}\mrightarrow{}  \{j:\mBbbN{}m|  \mneg{}(b[j]  =  0)\} 
6.  Bij(\{i:\mBbbN{}n|  \mneg{}(a[i]  =  0)\}  ;\{j:\mBbbN{}m|  \mneg{}(b[j]  =  0)\}  ;f)
7.  \mforall{}i:\{i:\mBbbN{}n|  \mneg{}(a[i]  =  0)\}  .  (a[i]  =  b[f  i])
\mvdash{}  upto(m)  \mmember{}  \{X:bag(\mBbbN{}m)|  bag-no-repeats(\mBbbN{}m;X)\} 


By


Latex:
(MemTypeCD
  THEN  Auto
  THEN  (D  0  THEN  Auto)
  THEN  With  \mkleeneopen{}upto(m)\mkleeneclose{}  (D  0)\mcdot{}
  THEN  Auto
  THEN  BLemma  `no\_repeats\_upto`
  THEN  Auto)




Home Index