Step * 1 2 of Lemma sum-reindex


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] ∈ ℤ)
⊢ bag-map(λi.a[i];[i∈upto(n)|¬b(a[i] =z 0)]) bag-map(λj.b[j];bag-map(f;[i∈upto(n)|¬b(a[i] =z 0)])) ∈ bag(ℤ)
BY
TACTIC:(GenConclTerm ⌜upto(n)⌝⋅ THENA Auto) }

1
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] ∈ ℤ)
8. : ℕList@i
9. upto(n) v ∈ (ℕList)
⊢ bag-map(λi.a[i];[i∈v|¬b(a[i] =z 0)]) bag-map(λj.b[j];bag-map(f;[i∈v|¬b(a[i] =z 0)])) ∈ bag(ℤ)


Latex:


Latex:

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{}  bag-map(\mlambda{}i.a[i];[i\mmember{}upto(n)|\mneg{}\msubb{}(a[i]  =\msubz{}  0)])  =  bag-map(\mlambda{}j.b[j];bag-map(f;[i\mmember{}upto(n)|\mneg{}\msubb{}(a[i]  =\msubz{}  0)]))


By


Latex:
TACTIC:(GenConclTerm  \mkleeneopen{}upto(n)\mkleeneclose{}\mcdot{}  THENA  Auto)




Home Index