Step
*
of Lemma
bag-diff-property
∀[T:Type]
∀eq:EqDecider(T). ∀as,bs:bag(T).
case bag-diff(eq;bs;as) of inl(cs) => bs = (as + cs) ∈ bag(T) | inr(z) => ∀cs:bag(T). (¬(bs = (as + cs) ∈ bag(T)))
BY
{ TACTIC:Auto }
1
1. [T] : Type
2. eq : EqDecider(T)@i
3. as : bag(T)@i
4. bs : bag(T)@i
⊢ case bag-diff(eq;bs;as) of inl(cs) => bs = (as + cs) ∈ bag(T) | inr(z) => ∀cs:bag(T). (¬(bs = (as + cs) ∈ bag(T)))
Latex:
Latex:
\mforall{}[T:Type]
\mforall{}eq:EqDecider(T). \mforall{}as,bs:bag(T).
case bag-diff(eq;bs;as) of inl(cs) => bs = (as + cs) | inr(z) => \mforall{}cs:bag(T). (\mneg{}(bs = (as + cs)))
By
Latex:
TACTIC:Auto
Home
Index