MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  hashbc Unicode version

Theorem hashbc 11321
Description: The binomial coefficient counts the number of subsets of a finite set of a given size. (Contributed by Mario Carneiro, 13-Jul-2014.)
Assertion
Ref Expression
hashbc  |-  ( ( A  e.  Fin  /\  K  e.  ZZ )  ->  ( ( # `  A
)  _C  K )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  K }
) )
Distinct variable groups:    x, A    x, K

Proof of Theorem hashbc
StepHypRef Expression
1 fveq2 5423 . . . . . 6  |-  ( w  =  (/)  ->  ( # `  w )  =  (
# `  (/) ) )
21oveq1d 5772 . . . . 5  |-  ( w  =  (/)  ->  ( (
# `  w )  _C  k )  =  ( ( # `  (/) )  _C  k ) )
3 pweq 3569 . . . . . . 7  |-  ( w  =  (/)  ->  ~P w  =  ~P (/) )
4 rabeq 2734 . . . . . . 7  |-  ( ~P w  =  ~P (/)  ->  { x  e.  ~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } )
53, 4syl 17 . . . . . 6  |-  ( w  =  (/)  ->  { x  e.  ~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } )
65fveq2d 5427 . . . . 5  |-  ( w  =  (/)  ->  ( # `  { x  e.  ~P w  |  ( # `  x
)  =  k } )  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) )
72, 6eqeq12d 2270 . . . 4  |-  ( w  =  (/)  ->  ( ( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) ) )
87ralbidv 2534 . . 3  |-  ( w  =  (/)  ->  ( A. k  e.  ZZ  (
( # `  w )  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  A. k  e.  ZZ  ( ( # `  (/) )  _C  k )  =  (
# `  { x  e.  ~P (/)  |  ( # `
 x )  =  k } ) ) )
9 fveq2 5423 . . . . . 6  |-  ( w  =  y  ->  ( # `
 w )  =  ( # `  y
) )
109oveq1d 5772 . . . . 5  |-  ( w  =  y  ->  (
( # `  w )  _C  k )  =  ( ( # `  y
)  _C  k ) )
11 pweq 3569 . . . . . . 7  |-  ( w  =  y  ->  ~P w  =  ~P y
)
12 rabeq 2734 . . . . . . 7  |-  ( ~P w  =  ~P y  ->  { x  e.  ~P w  |  ( # `  x
)  =  k }  =  { x  e. 
~P y  |  (
# `  x )  =  k } )
1311, 12syl 17 . . . . . 6  |-  ( w  =  y  ->  { x  e.  ~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P y  |  ( # `  x
)  =  k } )
1413fveq2d 5427 . . . . 5  |-  ( w  =  y  ->  ( # `
 { x  e. 
~P w  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } ) )
1510, 14eqeq12d 2270 . . . 4  |-  ( w  =  y  ->  (
( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  y )  _C  k
)  =  ( # `  { x  e.  ~P y  |  ( # `  x
)  =  k } ) ) )
1615ralbidv 2534 . . 3  |-  ( w  =  y  ->  ( A. k  e.  ZZ  ( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  A. k  e.  ZZ  ( ( # `  y
)  _C  k )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } ) ) )
17 fveq2 5423 . . . . . 6  |-  ( w  =  ( y  u. 
{ z } )  ->  ( # `  w
)  =  ( # `  ( y  u.  {
z } ) ) )
1817oveq1d 5772 . . . . 5  |-  ( w  =  ( y  u. 
{ z } )  ->  ( ( # `  w )  _C  k
)  =  ( (
# `  ( y  u.  { z } ) )  _C  k ) )
19 pweq 3569 . . . . . . 7  |-  ( w  =  ( y  u. 
{ z } )  ->  ~P w  =  ~P ( y  u. 
{ z } ) )
20 rabeq 2734 . . . . . . 7  |-  ( ~P w  =  ~P (
y  u.  { z } )  ->  { x  e.  ~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P ( y  u.  {
z } )  |  ( # `  x
)  =  k } )
2119, 20syl 17 . . . . . 6  |-  ( w  =  ( y  u. 
{ z } )  ->  { x  e. 
~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P ( y  u.  {
z } )  |  ( # `  x
)  =  k } )
2221fveq2d 5427 . . . . 5  |-  ( w  =  ( y  u. 
{ z } )  ->  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  =  ( # `  { x  e.  ~P ( y  u.  {
z } )  |  ( # `  x
)  =  k } ) )
2318, 22eqeq12d 2270 . . . 4  |-  ( w  =  ( y  u. 
{ z } )  ->  ( ( (
# `  w )  _C  k )  =  (
# `  { x  e.  ~P w  |  (
# `  x )  =  k } )  <-> 
( ( # `  (
y  u.  { z } ) )  _C  k )  =  (
# `  { x  e.  ~P ( y  u. 
{ z } )  |  ( # `  x
)  =  k } ) ) )
2423ralbidv 2534 . . 3  |-  ( w  =  ( y  u. 
{ z } )  ->  ( A. k  e.  ZZ  ( ( # `  w )  _C  k
)  =  ( # `  { x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  A. k  e.  ZZ  ( ( # `  (
y  u.  { z } ) )  _C  k )  =  (
# `  { x  e.  ~P ( y  u. 
{ z } )  |  ( # `  x
)  =  k } ) ) )
25 fveq2 5423 . . . . . 6  |-  ( w  =  A  ->  ( # `
 w )  =  ( # `  A
) )
2625oveq1d 5772 . . . . 5  |-  ( w  =  A  ->  (
( # `  w )  _C  k )  =  ( ( # `  A
)  _C  k ) )
27 pweq 3569 . . . . . . 7  |-  ( w  =  A  ->  ~P w  =  ~P A
)
28 rabeq 2734 . . . . . . 7  |-  ( ~P w  =  ~P A  ->  { x  e.  ~P w  |  ( # `  x
)  =  k }  =  { x  e. 
~P A  |  (
# `  x )  =  k } )
2927, 28syl 17 . . . . . 6  |-  ( w  =  A  ->  { x  e.  ~P w  |  (
# `  x )  =  k }  =  { x  e.  ~P A  |  ( # `  x
)  =  k } )
3029fveq2d 5427 . . . . 5  |-  ( w  =  A  ->  ( # `
 { x  e. 
~P w  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } ) )
3126, 30eqeq12d 2270 . . . 4  |-  ( w  =  A  ->  (
( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  A )  _C  k
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  k } ) ) )
3231ralbidv 2534 . . 3  |-  ( w  =  A  ->  ( A. k  e.  ZZ  ( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  A. k  e.  ZZ  ( ( # `  A
)  _C  k )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } ) ) )
33 hash0 11286 . . . . . . . . . 10  |-  ( # `  (/) )  =  0
3433a1i 12 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 (/) )  =  0 )
35 elfz1eq 10738 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  k  =  0 )
3634, 35oveq12d 5775 . . . . . . . 8  |-  ( k  e.  ( 0 ... 0 )  ->  (
( # `  (/) )  _C  k )  =  ( 0  _C  0 ) )
37 0nn0 9912 . . . . . . . . 9  |-  0  e.  NN0
38 bcn0 11254 . . . . . . . . 9  |-  ( 0  e.  NN0  ->  ( 0  _C  0 )  =  1 )
3937, 38ax-mp 10 . . . . . . . 8  |-  ( 0  _C  0 )  =  1
4036, 39syl6eq 2304 . . . . . . 7  |-  ( k  e.  ( 0 ... 0 )  ->  (
( # `  (/) )  _C  k )  =  1 )
41 pw0 3703 . . . . . . . . . 10  |-  ~P (/)  =  { (/)
}
4235eqcomd 2261 . . . . . . . . . . . 12  |-  ( k  e.  ( 0 ... 0 )  ->  0  =  k )
4341raleqi 2701 . . . . . . . . . . . . 13  |-  ( A. x  e.  ~P  (/) ( # `  x )  =  k  <->  A. x  e.  { (/) }  ( # `  x
)  =  k )
44 0ex 4090 . . . . . . . . . . . . . 14  |-  (/)  e.  _V
45 fveq2 5423 . . . . . . . . . . . . . . . 16  |-  ( x  =  (/)  ->  ( # `  x )  =  (
# `  (/) ) )
4645, 33syl6eq 2304 . . . . . . . . . . . . . . 15  |-  ( x  =  (/)  ->  ( # `  x )  =  0 )
4746eqeq1d 2264 . . . . . . . . . . . . . 14  |-  ( x  =  (/)  ->  ( (
# `  x )  =  k  <->  0  =  k ) )
4844, 47ralsn 3615 . . . . . . . . . . . . 13  |-  ( A. x  e.  { (/) }  ( # `
 x )  =  k  <->  0  =  k )
4943, 48bitri 242 . . . . . . . . . . . 12  |-  ( A. x  e.  ~P  (/) ( # `  x )  =  k  <->  0  =  k )
5042, 49sylibr 205 . . . . . . . . . . 11  |-  ( k  e.  ( 0 ... 0 )  ->  A. x  e.  ~P  (/) ( # `  x
)  =  k )
51 rabid2 2685 . . . . . . . . . . 11  |-  ( ~P (/)  =  { x  e. 
~P (/)  |  ( # `  x )  =  k }  <->  A. x  e.  ~P  (/) ( # `  x
)  =  k )
5250, 51sylibr 205 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... 0 )  ->  ~P (/)  =  { x  e. 
~P (/)  |  ( # `  x )  =  k } )
5341, 52syl5reqr 2303 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  { x  e.  ~P (/)  |  ( # `
 x )  =  k }  =  { (/)
} )
5453fveq2d 5427 . . . . . . . 8  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 { x  e. 
~P (/)  |  ( # `  x )  =  k } )  =  (
# `  { (/) } ) )
55 hashsng 11287 . . . . . . . . 9  |-  ( (/)  e.  _V  ->  ( # `  { (/)
} )  =  1 )
5644, 55ax-mp 10 . . . . . . . 8  |-  ( # `  { (/) } )  =  1
5754, 56syl6eq 2304 . . . . . . 7  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 { x  e. 
~P (/)  |  ( # `  x )  =  k } )  =  1 )
5840, 57eqtr4d 2291 . . . . . 6  |-  ( k  e.  ( 0 ... 0 )  ->  (
( # `  (/) )  _C  k )  =  (
# `  { x  e.  ~P (/)  |  ( # `
 x )  =  k } ) )
5958adantl 454 . . . . 5  |-  ( ( k  e.  ZZ  /\  k  e.  ( 0 ... 0 ) )  ->  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) )
6033oveq1i 5767 . . . . . 6  |-  ( (
# `  (/) )  _C  k )  =  ( 0  _C  k )
61 bcval3 11250 . . . . . . . 8  |-  ( ( 0  e.  NN0  /\  k  e.  ZZ  /\  -.  k  e.  ( 0 ... 0 ) )  ->  ( 0  _C  k )  =  0 )
6237, 61mp3an1 1269 . . . . . . 7  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( 0  _C  k )  =  0 )
63 id 21 . . . . . . . . . . . . . 14  |-  ( 0  =  k  ->  0  =  k )
64 0z 9967 . . . . . . . . . . . . . . 15  |-  0  e.  ZZ
65 elfz3 10737 . . . . . . . . . . . . . . 15  |-  ( 0  e.  ZZ  ->  0  e.  ( 0 ... 0
) )
6664, 65ax-mp 10 . . . . . . . . . . . . . 14  |-  0  e.  ( 0 ... 0
)
6763, 66syl6eqelr 2345 . . . . . . . . . . . . 13  |-  ( 0  =  k  ->  k  e.  ( 0 ... 0
) )
6867con3i 129 . . . . . . . . . . . 12  |-  ( -.  k  e.  ( 0 ... 0 )  ->  -.  0  =  k
)
6968adantl 454 . . . . . . . . . . 11  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  -.  0  =  k )
7041raleqi 2701 . . . . . . . . . . . 12  |-  ( A. x  e.  ~P  (/)  -.  ( # `
 x )  =  k  <->  A. x  e.  { (/)
}  -.  ( # `  x )  =  k )
7147notbid 287 . . . . . . . . . . . . 13  |-  ( x  =  (/)  ->  ( -.  ( # `  x
)  =  k  <->  -.  0  =  k ) )
7244, 71ralsn 3615 . . . . . . . . . . . 12  |-  ( A. x  e.  { (/) }  -.  ( # `  x )  =  k  <->  -.  0  =  k )
7370, 72bitri 242 . . . . . . . . . . 11  |-  ( A. x  e.  ~P  (/)  -.  ( # `
 x )  =  k  <->  -.  0  =  k )
7469, 73sylibr 205 . . . . . . . . . 10  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  A. x  e.  ~P  (/) 
-.  ( # `  x
)  =  k )
75 rabeq0 3418 . . . . . . . . . 10  |-  ( { x  e.  ~P (/)  |  (
# `  x )  =  k }  =  (/)  <->  A. x  e.  ~P  (/)  -.  ( # `
 x )  =  k )
7674, 75sylibr 205 . . . . . . . . 9  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  { x  e. 
~P (/)  |  ( # `  x )  =  k }  =  (/) )
7776fveq2d 5427 . . . . . . . 8  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( # `  {
x  e.  ~P (/)  |  (
# `  x )  =  k } )  =  ( # `  (/) ) )
7877, 33syl6eq 2304 . . . . . . 7  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( # `  {
x  e.  ~P (/)  |  (
# `  x )  =  k } )  =  0 )
7962, 78eqtr4d 2291 . . . . . 6  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( 0  _C  k )  =  (
# `  { x  e.  ~P (/)  |  ( # `
 x )  =  k } ) )
8060, 79syl5eq 2300 . . . . 5  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) )
8159, 80pm2.61dan 769 . . . 4  |-  ( k  e.  ZZ  ->  (
( # `  (/) )  _C  k )  =  (
# `  { x  e.  ~P (/)  |  ( # `
 x )  =  k } ) )
8281rgen 2579 . . 3  |-  A. k  e.  ZZ  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } )
83 oveq2 5765 . . . . . 6  |-  ( k  =  j  ->  (
( # `  y )  _C  k )  =  ( ( # `  y
)  _C  j ) )
84 eqeq2 2265 . . . . . . . . 9  |-  ( k  =  j  ->  (
( # `  x )  =  k  <->  ( # `  x
)  =  j ) )
8584rabbidv 2732 . . . . . . . 8  |-  ( k  =  j  ->  { x  e.  ~P y  |  (
# `  x )  =  k }  =  { x  e.  ~P y  |  ( # `  x
)  =  j } )
86 fveq2 5423 . . . . . . . . . 10  |-  ( x  =  z  ->  ( # `
 x )  =  ( # `  z
) )
8786eqeq1d 2264 . . . . . . . . 9  |-  ( x  =  z  ->  (
( # `  x )  =  j  <->  ( # `  z
)  =  j ) )
8887cbvrabv 2739 . . . . . . . 8  |-  { x  e.  ~P y  |  (
# `  x )  =  j }  =  { z  e.  ~P y  |  ( # `  z
)  =  j }
8985, 88syl6eq 2304 . . . . . . 7  |-  ( k  =  j  ->  { x  e.  ~P y  |  (
# `  x )  =  k }  =  { z  e.  ~P y  |  ( # `  z
)  =  j } )
9089fveq2d 5427 . . . . . 6  |-  ( k  =  j  ->  ( # `
 { x  e. 
~P y  |  (
# `  x )  =  k } )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9183, 90eqeq12d 2270 . . . . 5  |-  ( k  =  j  ->  (
( ( # `  y
)  _C  k )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } )  <->  ( ( # `  y )  _C  j
)  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )
9291cbvralv 2717 . . . 4  |-  ( A. k  e.  ZZ  (
( # `  y )  _C  k )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } )  <->  A. j  e.  ZZ  ( ( # `  y
)  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) )
93 simpll 733 . . . . . . 7  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  -> 
y  e.  Fin )
94 simplr 734 . . . . . . 7  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  ->  -.  z  e.  y
)
95 simprr 736 . . . . . . . 8  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  ->  A. j  e.  ZZ  ( ( # `  y
)  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9688fveq2i 5426 . . . . . . . . . 10  |-  ( # `  { x  e.  ~P y  |  ( # `  x
)  =  j } )  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } )
9796eqeq2i 2266 . . . . . . . . 9  |-  ( ( ( # `  y
)  _C  j )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  j } )  <->  ( ( # `  y )  _C  j
)  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9897ralbii 2538 . . . . . . . 8  |-  ( A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  j } )  <->  A. j  e.  ZZ  ( ( # `  y
)  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9995, 98sylibr 205 . . . . . . 7  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  ->  A. j  e.  ZZ  ( ( # `  y
)  _C  j )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  j } ) )
100 simprl 735 . . . . . . 7  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  -> 
k  e.  ZZ )
10193, 94, 99, 100hashbclem 11320 . . . . . 6  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  ( k  e.  ZZ  /\  A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )  -> 
( ( # `  (
y  u.  { z } ) )  _C  k )  =  (
# `  { x  e.  ~P ( y  u. 
{ z } )  |  ( # `  x
)  =  k } ) )
102101expr 601 . . . . 5  |-  ( ( ( y  e.  Fin  /\ 
-.  z  e.  y )  /\  k  e.  ZZ )  ->  ( A. j  e.  ZZ  ( ( # `  y
)  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } )  ->  ( ( # `
 ( y  u. 
{ z } ) )  _C  k )  =  ( # `  {
x  e.  ~P (
y  u.  { z } )  |  (
# `  x )  =  k } ) ) )
103102ralrimdva 2604 . . . 4  |-  ( ( y  e.  Fin  /\  -.  z  e.  y
)  ->  ( A. j  e.  ZZ  (
( # `  y )  _C  j )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } )  ->  A. k  e.  ZZ  ( ( # `  ( y  u.  {
z } ) )  _C  k )  =  ( # `  {
x  e.  ~P (
y  u.  { z } )  |  (
# `  x )  =  k } ) ) )
10492, 103syl5bi 210 . . 3  |-  ( ( y  e.  Fin  /\  -.  z  e.  y
)  ->  ( A. k  e.  ZZ  (
( # `  y )  _C  k )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } )  ->  A. k  e.  ZZ  ( ( # `  ( y  u.  {
z } ) )  _C  k )  =  ( # `  {
x  e.  ~P (
y  u.  { z } )  |  (
# `  x )  =  k } ) ) )
1058, 16, 24, 32, 82, 104findcard2s 7032 . 2  |-  ( A  e.  Fin  ->  A. k  e.  ZZ  ( ( # `  A )  _C  k
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  k } ) )
106 oveq2 5765 . . . 4  |-  ( k  =  K  ->  (
( # `  A )  _C  k )  =  ( ( # `  A
)  _C  K ) )
107 eqeq2 2265 . . . . . 6  |-  ( k  =  K  ->  (
( # `  x )  =  k  <->  ( # `  x
)  =  K ) )
108107rabbidv 2732 . . . . 5  |-  ( k  =  K  ->  { x  e.  ~P A  |  (
# `  x )  =  k }  =  { x  e.  ~P A  |  ( # `  x
)  =  K }
)
109108fveq2d 5427 . . . 4  |-  ( k  =  K  ->  ( # `
 { x  e. 
~P A  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  K }
) )
110106, 109eqeq12d 2270 . . 3  |-  ( k  =  K  ->  (
( ( # `  A
)  _C  k )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } )  <->  ( ( # `  A )  _C  K
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  K }
) ) )
111110rcla4cva 2834 . 2  |-  ( ( A. k  e.  ZZ  ( ( # `  A
)  _C  k )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } )  /\  K  e.  ZZ )  ->  (
( # `  A )  _C  K )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  K }
) )
112105, 111sylan 459 1  |-  ( ( A  e.  Fin  /\  K  e.  ZZ )  ->  ( ( # `  A
)  _C  K )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  K }
) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    /\ wa 360    = wceq 1619    e. wcel 1621   A.wral 2516   {crab 2519   _Vcvv 2740    u. cun 3092   (/)c0 3397   ~Pcpw 3566   {csn 3581   ` cfv 4638  (class class class)co 5757   Fincfn 6796   0cc0 8670   1c1 8671   NN0cn0 9897   ZZcz 9956   ...cfz 10713    _C cbc 11246   #chash 11268
This theorem is referenced by:  hashbc2  12980  sylow1lem1  14836  musum  20358  ballotlem1  22971  ballotlem2  22973
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-rep 4071  ax-sep 4081  ax-nul 4089  ax-pow 4126  ax-pr 4152  ax-un 4449  ax-cnex 8726  ax-resscn 8727  ax-1cn 8728  ax-icn 8729  ax-addcl 8730  ax-addrcl 8731  ax-mulcl 8732  ax-mulrcl 8733  ax-mulcom 8734  ax-addass 8735  ax-mulass 8736  ax-distr 8737  ax-i2m1 8738  ax-1ne0 8739  ax-1rid 8740  ax-rnegex 8741  ax-rrecex 8742  ax-cnre 8743  ax-pre-lttri 8744  ax-pre-lttrn 8745  ax-pre-ltadd 8746  ax-pre-mulgt0 8747
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-nel 2422  df-ral 2520  df-rex 2521  df-reu 2522  df-rab 2523  df-v 2742  df-sbc 2936  df-csb 3024  df-dif 3097  df-un 3099  df-in 3101  df-ss 3108  df-pss 3110  df-nul 3398  df-if 3507  df-pw 3568  df-sn 3587  df-pr 3588  df-tp 3589  df-op 3590  df-uni 3769  df-int 3804  df-iun 3848  df-br 3964  df-opab 4018  df-mpt 4019  df-tr 4054  df-eprel 4242  df-id 4246  df-po 4251  df-so 4252  df-fr 4289  df-we 4291  df-ord 4332  df-on 4333  df-lim 4334  df-suc 4335  df-om 4594  df-xp 4640  df-rel 4641  df-cnv 4642  df-co 4643  df-dm 4644  df-rn 4645  df-res 4646  df-ima 4647  df-fun 4648  df-fn 4649  df-f 4650  df-f1 4651  df-fo 4652  df-f1o 4653  df-fv 4654  df-ov 5760  df-oprab 5761  df-mpt2 5762  df-1st 6021  df-2nd 6022  df-iota 6190  df-riota 6237  df-recs 6321  df-rdg 6356  df-1o 6412  df-2o 6413  df-oadd 6416  df-er 6593  df-map 6707  df-en 6797  df-dom 6798  df-sdom 6799  df-fin 6800  df-card 7505  df-cda 7727  df-pnf 8802  df-mnf 8803  df-xr 8804  df-ltxr 8805  df-le 8806  df-sub 8972  df-neg 8973  df-div 9357  df-n 9680  df-n0 9898  df-z 9957  df-uz 10163  df-rp 10287  df-fz 10714  df-seq 10978  df-fac 11220  df-bc 11247  df-hash 11269
  Copyright terms: Public domain W3C validator