Step * of Lemma no-repeats-bag-to-set

[T:Type]. ∀[eq:EqDecider(T)]. ∀[bs:bag(T)].  bag-no-repeats(T;bag-to-set(eq;bs))
BY
((Auto THEN Unfold `bag-no-repeats` 0)
   THEN (Unhide THEN Auto)
   THEN BagToList (-1)
   THEN Auto
   THEN Unfold `bag-to-set` 0
   THEN Unfold `bag-remove-repeats` 0
   THEN 0
   THEN With ⌜list-to-set(eq;bs)⌝ (D 0)⋅
   THEN Auto) }


Latex:


Latex:
\mforall{}[T:Type].  \mforall{}[eq:EqDecider(T)].  \mforall{}[bs:bag(T)].    bag-no-repeats(T;bag-to-set(eq;bs))


By


Latex:
((Auto  THEN  Unfold  `bag-no-repeats`  0)
  THEN  (Unhide  THEN  Auto)
  THEN  BagToList  (-1)
  THEN  Auto
  THEN  Unfold  `bag-to-set`  0
  THEN  Unfold  `bag-remove-repeats`  0
  THEN  D  0
  THEN  With  \mkleeneopen{}list-to-set(eq;bs)\mkleeneclose{}  (D  0)\mcdot{}
  THEN  Auto)




Home Index