Step
*
1
2
2
1
1
1
1
3
of Lemma
bag-decomp_wf
.....subterm..... T:t
2:n
1. T : Type
2. b1 : T List
3. f : ℕ||b1|| ⟶ ℕ||b1||
4. Inj(ℕ||b1||;ℕ||b1||;f)
5. i : ℕ
6. i < ||b1||
⊢ (firstn(i;(b1 o f)) @ nth_tl(i + 1;(b1 o f))) = (firstn(f i;b1) @ nth_tl((f i) + 1;b1)) ∈ bag(T)
BY
{ (EqTypeCD THEN Auto) }
1
.....antecedent..... 
1. T : Type
2. b1 : T List
3. f : ℕ||b1|| ⟶ ℕ||b1||
4. Inj(ℕ||b1||;ℕ||b1||;f)
5. i : ℕ
6. i < ||b1||
⊢ permutation(T;firstn(i;(b1 o f)) @ nth_tl(i + 1;(b1 o f));firstn(f i;b1) @ nth_tl((f i) + 1;b1))
Latex:
Latex:
.....subterm.....  T:t
2:n
1.  T  :  Type
2.  b1  :  T  List
3.  f  :  \mBbbN{}||b1||  {}\mrightarrow{}  \mBbbN{}||b1||
4.  Inj(\mBbbN{}||b1||;\mBbbN{}||b1||;f)
5.  i  :  \mBbbN{}
6.  i  <  ||b1||
\mvdash{}  (firstn(i;(b1  o  f))  @  nth\_tl(i  +  1;(b1  o  f)))  =  (firstn(f  i;b1)  @  nth\_tl((f  i)  +  1;b1))
By
Latex:
(EqTypeCD  THEN  Auto)
Home
Index