Step
*
1
2
of Lemma
bag-map-union
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-map(f;bag-union(as)) = bag-map(f;bag-union(bs)) ∈ bag(bag(S))
BY
{ RepeatFor 2 ((EqCD THEN Auto)) }
Latex:
Latex:
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-map(f;bag-union(as))  =  bag-map(f;bag-union(bs))
By
Latex:
RepeatFor  2  ((EqCD  THEN  Auto))
Home
Index