Step * 1 2 2 1 of Lemma bag-decomp_wf


1. Type
2. bs Base
3. bs ∈ List
4. : ℕ||bs|| ⟶ ℕ||bs||
5. Inj(ℕ||bs||;ℕ||bs||;f)
⊢ map(λn.remove-nth(n;(bs f));upto(||bs||)) map(λn.remove-nth(n;bs);(upto(||bs||) f)) ∈ ((T × bag(T)) List)
BY
(RepeatFor (MoveToConcl (-1)) THEN (GenConclTerm ⌜bs⌝⋅ THENA Auto) THEN All Thin) }

1
1. Type
2. List
⊢ ∀f:ℕ||v|| ⟶ ℕ||v||
    (Inj(ℕ||v||;ℕ||v||;f)
     (map(λn.remove-nth(n;(v f));upto(||v||)) map(λn.remove-nth(n;v);(upto(||v||) f)) ∈ ((T × bag(T)) List)))


Latex:


Latex:

1.  T  :  Type
2.  bs  :  Base
3.  bs  \mmember{}  T  List
4.  f  :  \mBbbN{}||bs||  {}\mrightarrow{}  \mBbbN{}||bs||
5.  Inj(\mBbbN{}||bs||;\mBbbN{}||bs||;f)
\mvdash{}  map(\mlambda{}n.remove-nth(n;(bs  o  f));upto(||bs||))  =  map(\mlambda{}n.remove-nth(n;bs);(upto(||bs||)  o  f))


By


Latex:
(RepeatFor  2  (MoveToConcl  (-1))  THEN  (GenConclTerm  \mkleeneopen{}bs\mkleeneclose{}\mcdot{}  THENA  Auto)  THEN  All  Thin)




Home Index