Step
*
of Lemma
bag-restrict-split
∀[T:Type]. ∀[eq:EqDecider(T)]. ∀[x:T]. ∀[b:bag(T)].  (b = ((b|x) + (b|¬x)) ∈ bag(T))
BY
{ (Auto
   THEN (InstLemma `bag-filter-split` [⌜T⌝;⌜λ2z.eq x z⌝;⌜b⌝]⋅ THENA Auto)
   THEN Unfolds ``bag-restrict bag-co-restrict`` 0
   THEN Auto) }
Latex:
Latex:
\mforall{}[T:Type].  \mforall{}[eq:EqDecider(T)].  \mforall{}[x:T].  \mforall{}[b:bag(T)].    (b  =  ((b|x)  +  (b|\mneg{}x)))
By
Latex:
(Auto
  THEN  (InstLemma  `bag-filter-split`  [\mkleeneopen{}T\mkleeneclose{};\mkleeneopen{}\mlambda{}\msubtwo{}z.eq  x  z\mkleeneclose{};\mkleeneopen{}b\mkleeneclose{}]\mcdot{}  THENA  Auto)
  THEN  Unfolds  ``bag-restrict  bag-co-restrict``  0
  THEN  Auto)
Home
Index