Step
*
of Lemma
sv-bag-only-map2
∀[A,B:Type]. ∀[f:A ⟶ B]. ∀[b:bag(A)].
  (sv-bag-only(bag-map(f;b)) = (f sv-bag-only(b)) ∈ B) supposing (0 < #(b) and single-valued-bag(b;A))
BY
{ (Auto THEN InstLemma `sv-bag-only-map` [⌜A⌝;⌜B⌝;⌜f⌝;⌜b⌝]⋅ THEN Auto) }
Latex:
Latex:
\mforall{}[A,B:Type].  \mforall{}[f:A  {}\mrightarrow{}  B].  \mforall{}[b:bag(A)].
    (sv-bag-only(bag-map(f;b))  =  (f  sv-bag-only(b)))  supposing  (0  <  \#(b)  and  single-valued-bag(b;A))
By
Latex:
(Auto  THEN  InstLemma  `sv-bag-only-map`  [\mkleeneopen{}A\mkleeneclose{};\mkleeneopen{}B\mkleeneclose{};\mkleeneopen{}f\mkleeneclose{};\mkleeneopen{}b\mkleeneclose{}]\mcdot{}  THEN  Auto)
Home
Index