Step * 1 1 1 of Lemma sub-bags-no-repeats


1. Type
2. eq EqDecider(T)
3. bs bag(T)
4. valueall-type(T)
5. bb bag({p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} )
6. bag-partitions(eq;bs) bb ∈ bag({p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} )
⊢ Inj({p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} ;bag(T);λp.(fst(p)))
BY
(D THEN Reduce THEN Auto) }

1
1. Type
2. eq EqDecider(T)
3. bs bag(T)
4. valueall-type(T)
5. bb bag({p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} )
6. bag-partitions(eq;bs) bb ∈ bag({p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} )
7. a1 {p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} 
8. a2 {p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} 
9. (fst(a1)) (fst(a2)) ∈ bag(T)
⊢ a1 a2 ∈ {p:bag(T) × bag(T)| p ↓∈ bag-partitions(eq;bs)} 


Latex:


Latex:

1.  T  :  Type
2.  eq  :  EqDecider(T)
3.  bs  :  bag(T)
4.  valueall-type(T)
5.  bb  :  bag(\{p:bag(T)  \mtimes{}  bag(T)|  p  \mdownarrow{}\mmember{}  bag-partitions(eq;bs)\}  )
6.  bag-partitions(eq;bs)  =  bb
\mvdash{}  Inj(\{p:bag(T)  \mtimes{}  bag(T)|  p  \mdownarrow{}\mmember{}  bag-partitions(eq;bs)\}  ;bag(T);\mlambda{}p.(fst(p)))


By


Latex:
(D  0  THEN  Reduce  0  THEN  Auto)




Home Index