Step
*
1
1
1
of Lemma
bag-map-combine
1. A : Type
2. B : Type
3. C : Type
4. g : A ⟶ bag(B)
5. f : B ⟶ C
⊢ bag-map(f;⋃x∈[].g[x]) = ⋃x∈[].bag-map(f;g[x]) ∈ bag(C)
BY
{ (Fold `empty-bag` 0 THEN Reduce 0 THEN Auto) }
Latex:
Latex:
1.  A  :  Type
2.  B  :  Type
3.  C  :  Type
4.  g  :  A  {}\mrightarrow{}  bag(B)
5.  f  :  B  {}\mrightarrow{}  C
\mvdash{}  bag-map(f;\mcup{}x\mmember{}[].g[x])  =  \mcup{}x\mmember{}[].bag-map(f;g[x])
By
Latex:
(Fold  `empty-bag`  0  THEN  Reduce  0  THEN  Auto)
Home
Index