Step
*
1
1
of Lemma
bag-map-union
.....equality..... 
1. T : Type
2. S : Type
3. f : T ⟶ bag(S)
4. as : bag(T) List
5. bs : bag(T) List
6. permutation(bag(T);as;bs)
⊢ bag-union(bag-map(λb.bag-map(f;b);bs)) ~ bag-map(f;bag-union(bs))
BY
{ All Thin }
1
1. T : Type
2. S : Type
3. f : T ⟶ bag(S)
4. bs : bag(T) List
⊢ bag-union(bag-map(λb.bag-map(f;b);bs)) ~ bag-map(f;bag-union(bs))
Latex:
Latex:
.....equality..... 
1.  T  :  Type
2.  S  :  Type
3.  f  :  T  {}\mrightarrow{}  bag(S)
4.  as  :  bag(T)  List
5.  bs  :  bag(T)  List
6.  permutation(bag(T);as;bs)
\mvdash{}  bag-union(bag-map(\mlambda{}b.bag-map(f;b);bs))  \msim{}  bag-map(f;bag-union(bs))
By
Latex:
All  Thin
Home
Index