Step
*
2
2
2
1
1
of Lemma
unordered-combination_functionality
1. A : Type
2. B : Type
3. n : ℕ
4. m : ℕ
5. f : A ⟶ B
6. Bij(A;B;f)
7. n = m ∈ ℤ
8. ∀[A,B:Type].
     ∀f:A ⟶ B. (Inj(A;B;f) 
⇒ (∀n:ℕ. ∀b:UnorderedCombination(n;A).  (bag-map(f;b) ∈ UnorderedCombination(n;B))))
9. ∀b:UnorderedCombination(n;A). (bag-map(f;b) ∈ UnorderedCombination(n;B))
10. g : B ⟶ A
11. ∀b:B. ((f (g b)) = b ∈ B)
12. ∀a:A. ((g (f a)) = a ∈ A)
13. ∀b:UnorderedCombination(n;B). (bag-map(g;b) ∈ UnorderedCombination(n;A))
14. b : bag(B)
⊢ b = bag-map(f;bag-map(g;b)) ∈ bag(B)
BY
{ ((RWO "bag-map-map" 0 THENA Auto)⋅ THEN (Subst' (f o g) = (λx.x) ∈ (B ⟶ B) 0 THENA Auto)⋅) }
1
1. A : Type
2. B : Type
3. n : ℕ
4. m : ℕ
5. f : A ⟶ B
6. Bij(A;B;f)
7. n = m ∈ ℤ
8. ∀[A,B:Type].
     ∀f:A ⟶ B. (Inj(A;B;f) 
⇒ (∀n:ℕ. ∀b:UnorderedCombination(n;A).  (bag-map(f;b) ∈ UnorderedCombination(n;B))))
9. ∀b:UnorderedCombination(n;A). (bag-map(f;b) ∈ UnorderedCombination(n;B))
10. g : B ⟶ A
11. ∀b:B. ((f (g b)) = b ∈ B)
12. ∀a:A. ((g (f a)) = a ∈ A)
13. ∀b:UnorderedCombination(n;B). (bag-map(g;b) ∈ UnorderedCombination(n;A))
14. b : bag(B)
⊢ b = bag-map(λx.x;b) ∈ bag(B)
Latex:
Latex:
1.  A  :  Type
2.  B  :  Type
3.  n  :  \mBbbN{}
4.  m  :  \mBbbN{}
5.  f  :  A  {}\mrightarrow{}  B
6.  Bij(A;B;f)
7.  n  =  m
8.  \mforall{}[A,B:Type].
          \mforall{}f:A  {}\mrightarrow{}  B
              (Inj(A;B;f)
              {}\mRightarrow{}  (\mforall{}n:\mBbbN{}.  \mforall{}b:UnorderedCombination(n;A).    (bag-map(f;b)  \mmember{}  UnorderedCombination(n;B))))
9.  \mforall{}b:UnorderedCombination(n;A).  (bag-map(f;b)  \mmember{}  UnorderedCombination(n;B))
10.  g  :  B  {}\mrightarrow{}  A
11.  \mforall{}b:B.  ((f  (g  b))  =  b)
12.  \mforall{}a:A.  ((g  (f  a))  =  a)
13.  \mforall{}b:UnorderedCombination(n;B).  (bag-map(g;b)  \mmember{}  UnorderedCombination(n;A))
14.  b  :  bag(B)
\mvdash{}  b  =  bag-map(f;bag-map(g;b))
By
Latex:
((RWO  "bag-map-map"  0  THENA  Auto)\mcdot{}  THEN  (Subst'  (f  o  g)  =  (\mlambda{}x.x)  0  THENA  Auto)\mcdot{})
Home
Index