Step * 1 2 1 2 of Lemma bag-subtract-member-if-no-repeats


1. Type
2. eq EqDecider(T)
3. T
4. T
5. List
6. ∀bs:bag(T). (bag-no-repeats(T;bs)  uiff(x ↓∈ bag-subtract(eq;bs;v);x ↓∈ bs ∧ x ↓∈ v)))
7. bs bag(T)
8. bag-no-repeats(T;bs)
9. x ↓∈ bag-drop(eq;bs;u) ∧ x ↓∈ v) supposing x ↓∈ bag-subtract(eq;bag-drop(eq;bs;u);v)
10. x ↓∈ bag-subtract(eq;bag-drop(eq;bs;u);v) supposing x ↓∈ bag-drop(eq;bs;u) ∧ x ↓∈ v)
11. x ↓∈ bag-drop(eq;bs;u)
12. ¬x ↓∈ v
⊢ ¬((x u ∈ T) ↓∨ x ↓∈ v)
BY
(ParallelLast
   THEN (-1)
   THEN (Unhide THENA Auto)
   THEN (-1)
   THEN Auto
   THEN (InstLemma `bag-drop-property` [⌜T⌝;⌜eq⌝;⌜u⌝;⌜bs⌝]⋅ THENA Auto)
   THEN (-1)
   THEN Auto
   THEN Assert ⌜False⌝⋅
   THEN Auto) }

1
.....assertion..... 
1. Type
2. eq EqDecider(T)
3. T
4. T
5. List
6. ∀bs:bag(T). (bag-no-repeats(T;bs)  uiff(x ↓∈ bag-subtract(eq;bs;v);x ↓∈ bs ∧ x ↓∈ v)))
7. bs bag(T)
8. bag-no-repeats(T;bs)
9. x ↓∈ bag-drop(eq;bs;u) ∧ x ↓∈ v) supposing x ↓∈ bag-subtract(eq;bag-drop(eq;bs;u);v)
10. x ↓∈ bag-subtract(eq;bag-drop(eq;bs;u);v) supposing x ↓∈ bag-drop(eq;bs;u) ∧ x ↓∈ v)
11. x ↓∈ bag-drop(eq;bs;u)
12. u ∈ T
13. bs ({u} bag-drop(eq;bs;u)) ∈ bag(T)
⊢ False


Latex:


Latex:

1.  T  :  Type
2.  eq  :  EqDecider(T)
3.  x  :  T
4.  u  :  T
5.  v  :  T  List
6.  \mforall{}bs:bag(T).  (bag-no-repeats(T;bs)  {}\mRightarrow{}  uiff(x  \mdownarrow{}\mmember{}  bag-subtract(eq;bs;v);x  \mdownarrow{}\mmember{}  bs  \mwedge{}  (\mneg{}x  \mdownarrow{}\mmember{}  v)))
7.  bs  :  bag(T)
8.  bag-no-repeats(T;bs)
9.  x  \mdownarrow{}\mmember{}  bag-drop(eq;bs;u)  \mwedge{}  (\mneg{}x  \mdownarrow{}\mmember{}  v)  supposing  x  \mdownarrow{}\mmember{}  bag-subtract(eq;bag-drop(eq;bs;u);v)
10.  x  \mdownarrow{}\mmember{}  bag-subtract(eq;bag-drop(eq;bs;u);v)  supposing  x  \mdownarrow{}\mmember{}  bag-drop(eq;bs;u)  \mwedge{}  (\mneg{}x  \mdownarrow{}\mmember{}  v)
11.  x  \mdownarrow{}\mmember{}  bag-drop(eq;bs;u)
12.  \mneg{}x  \mdownarrow{}\mmember{}  v
\mvdash{}  \mneg{}((x  =  u)  \mdownarrow{}\mvee{}  x  \mdownarrow{}\mmember{}  v)


By


Latex:
(ParallelLast
  THEN  D  (-1)
  THEN  (Unhide  THENA  Auto)
  THEN  D  (-1)
  THEN  Auto
  THEN  (InstLemma  `bag-drop-property`  [\mkleeneopen{}T\mkleeneclose{};\mkleeneopen{}eq\mkleeneclose{};\mkleeneopen{}u\mkleeneclose{};\mkleeneopen{}bs\mkleeneclose{}]\mcdot{}  THENA  Auto)
  THEN  D  (-1)
  THEN  Auto
  THEN  Assert  \mkleeneopen{}False\mkleeneclose{}\mcdot{}
  THEN  Auto)




Home Index