Step
*
of Lemma
bag-filter-singleton
∀[T:Type]. ∀[p:T ⟶ 𝔹]. ∀[v:T].  ([x∈{v}|p[x]] ~ if p[v] then {v} else {} fi )
BY
{ (Auto THEN Unfolds ``bag-filter bag-append single-bag empty-bag`` 0 THEN Reduce 0 THEN Auto) }
Latex:
Latex:
\mforall{}[T:Type].  \mforall{}[p:T  {}\mrightarrow{}  \mBbbB{}].  \mforall{}[v:T].    ([x\mmember{}\{v\}|p[x]]  \msim{}  if  p[v]  then  \{v\}  else  \{\}  fi  )
By
Latex:
(Auto  THEN  Unfolds  ``bag-filter  bag-append  single-bag  empty-bag``  0  THEN  Reduce  0  THEN  Auto)
Home
Index