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

Theorem hashbc 11268
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 5377 . . . . . 6  |-  ( w  =  (/)  ->  ( # `  w )  =  (
# `  (/) ) )
21oveq1d 5725 . . . . 5  |-  ( w  =  (/)  ->  ( (
# `  w )  _C  k )  =  ( ( # `  (/) )  _C  k ) )
3 pweq 3533 . . . . . . 7  |-  ( w  =  (/)  ->  ~P w  =  ~P (/) )
4 rabeq 2721 . . . . . . 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 5381 . . . . 5  |-  ( w  =  (/)  ->  ( # `  { x  e.  ~P w  |  ( # `  x
)  =  k } )  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) )
72, 6eqeq12d 2267 . . . 4  |-  ( w  =  (/)  ->  ( ( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } ) ) )
87ralbidv 2527 . . 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 5377 . . . . . 6  |-  ( w  =  y  ->  ( # `
 w )  =  ( # `  y
) )
109oveq1d 5725 . . . . 5  |-  ( w  =  y  ->  (
( # `  w )  _C  k )  =  ( ( # `  y
)  _C  k ) )
11 pweq 3533 . . . . . . 7  |-  ( w  =  y  ->  ~P w  =  ~P y
)
12 rabeq 2721 . . . . . . 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 5381 . . . . 5  |-  ( w  =  y  ->  ( # `
 { x  e. 
~P w  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } ) )
1510, 14eqeq12d 2267 . . . 4  |-  ( w  =  y  ->  (
( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  y )  _C  k
)  =  ( # `  { x  e.  ~P y  |  ( # `  x
)  =  k } ) ) )
1615ralbidv 2527 . . 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 5377 . . . . . 6  |-  ( w  =  ( y  u. 
{ z } )  ->  ( # `  w
)  =  ( # `  ( y  u.  {
z } ) ) )
1817oveq1d 5725 . . . . 5  |-  ( w  =  ( y  u. 
{ z } )  ->  ( ( # `  w )  _C  k
)  =  ( (
# `  ( y  u.  { z } ) )  _C  k ) )
19 pweq 3533 . . . . . . 7  |-  ( w  =  ( y  u. 
{ z } )  ->  ~P w  =  ~P ( y  u. 
{ z } ) )
20 rabeq 2721 . . . . . . 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 5381 . . . . 5  |-  ( w  =  ( y  u. 
{ z } )  ->  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  =  ( # `  { x  e.  ~P ( y  u.  {
z } )  |  ( # `  x
)  =  k } ) )
2318, 22eqeq12d 2267 . . . 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 2527 . . 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 5377 . . . . . 6  |-  ( w  =  A  ->  ( # `
 w )  =  ( # `  A
) )
2625oveq1d 5725 . . . . 5  |-  ( w  =  A  ->  (
( # `  w )  _C  k )  =  ( ( # `  A
)  _C  k ) )
27 pweq 3533 . . . . . . 7  |-  ( w  =  A  ->  ~P w  =  ~P A
)
28 rabeq 2721 . . . . . . 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 5381 . . . . 5  |-  ( w  =  A  ->  ( # `
 { x  e. 
~P w  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } ) )
3126, 30eqeq12d 2267 . . . 4  |-  ( w  =  A  ->  (
( ( # `  w
)  _C  k )  =  ( # `  {
x  e.  ~P w  |  ( # `  x
)  =  k } )  <->  ( ( # `  A )  _C  k
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  k } ) ) )
3231ralbidv 2527 . . 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 11233 . . . . . . . . . 10  |-  ( # `  (/) )  =  0
3433a1i 12 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 (/) )  =  0 )
35 elfz1eq 10685 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  k  =  0 )
3634, 35oveq12d 5728 . . . . . . . 8  |-  ( k  e.  ( 0 ... 0 )  ->  (
( # `  (/) )  _C  k )  =  ( 0  _C  0 ) )
37 0nn0 9859 . . . . . . . . 9  |-  0  e.  NN0
38 bcn0 11201 . . . . . . . . 9  |-  ( 0  e.  NN0  ->  ( 0  _C  0 )  =  1 )
3937, 38ax-mp 10 . . . . . . . 8  |-  ( 0  _C  0 )  =  1
4036, 39syl6eq 2301 . . . . . . 7  |-  ( k  e.  ( 0 ... 0 )  ->  (
( # `  (/) )  _C  k )  =  1 )
41 pw0 3662 . . . . . . . . . 10  |-  ~P (/)  =  { (/)
}
4235eqcomd 2258 . . . . . . . . . . . 12  |-  ( k  e.  ( 0 ... 0 )  ->  0  =  k )
4341raleqi 2692 . . . . . . . . . . . . 13  |-  ( A. x  e.  ~P  (/) ( # `  x )  =  k  <->  A. x  e.  { (/) }  ( # `  x
)  =  k )
44 0ex 4047 . . . . . . . . . . . . . 14  |-  (/)  e.  _V
45 fveq2 5377 . . . . . . . . . . . . . . . 16  |-  ( x  =  (/)  ->  ( # `  x )  =  (
# `  (/) ) )
4645, 33syl6eq 2301 . . . . . . . . . . . . . . 15  |-  ( x  =  (/)  ->  ( # `  x )  =  0 )
4746eqeq1d 2261 . . . . . . . . . . . . . 14  |-  ( x  =  (/)  ->  ( (
# `  x )  =  k  <->  0  =  k ) )
4844, 47ralsn 3578 . . . . . . . . . . . . 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 2676 . . . . . . . . . . 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 2300 . . . . . . . . 9  |-  ( k  e.  ( 0 ... 0 )  ->  { x  e.  ~P (/)  |  ( # `
 x )  =  k }  =  { (/)
} )
5453fveq2d 5381 . . . . . . . 8  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 { x  e. 
~P (/)  |  ( # `  x )  =  k } )  =  (
# `  { (/) } ) )
55 hashsng 11234 . . . . . . . . 9  |-  ( (/)  e.  _V  ->  ( # `  { (/)
} )  =  1 )
5644, 55ax-mp 10 . . . . . . . 8  |-  ( # `  { (/) } )  =  1
5754, 56syl6eq 2301 . . . . . . 7  |-  ( k  e.  ( 0 ... 0 )  ->  ( # `
 { x  e. 
~P (/)  |  ( # `  x )  =  k } )  =  1 )
5840, 57eqtr4d 2288 . . . . . 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 5720 . . . . . 6  |-  ( (
# `  (/) )  _C  k )  =  ( 0  _C  k )
61 bcval3 11197 . . . . . . . 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 9914 . . . . . . . . . . . . . . 15  |-  0  e.  ZZ
65 elfz3 10684 . . . . . . . . . . . . . . 15  |-  ( 0  e.  ZZ  ->  0  e.  ( 0 ... 0
) )
6664, 65ax-mp 10 . . . . . . . . . . . . . 14  |-  0  e.  ( 0 ... 0
)
6763, 66syl6eqelr 2342 . . . . . . . . . . . . 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 2692 . . . . . . . . . . . 12  |-  ( A. x  e.  ~P  (/)  -.  ( # `
 x )  =  k  <->  A. x  e.  { (/)
}  -.  ( # `  x )  =  k )
7147notbid 287 . . . . . . . . . . . . 13  |-  ( x  =  (/)  ->  ( -.  ( # `  x
)  =  k  <->  -.  0  =  k ) )
7244, 71ralsn 3578 . . . . . . . . . . . 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 3383 . . . . . . . . . 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 5381 . . . . . . . 8  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( # `  {
x  e.  ~P (/)  |  (
# `  x )  =  k } )  =  ( # `  (/) ) )
7877, 33syl6eq 2301 . . . . . . 7  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( # `  {
x  e.  ~P (/)  |  (
# `  x )  =  k } )  =  0 )
7962, 78eqtr4d 2288 . . . . . 6  |-  ( ( k  e.  ZZ  /\  -.  k  e.  (
0 ... 0 ) )  ->  ( 0  _C  k )  =  (
# `  { x  e.  ~P (/)  |  ( # `
 x )  =  k } ) )
8060, 79syl5eq 2297 . . . . 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 2570 . . 3  |-  A. k  e.  ZZ  ( ( # `  (/) )  _C  k
)  =  ( # `  { x  e.  ~P (/) 
|  ( # `  x
)  =  k } )
83 oveq2 5718 . . . . . 6  |-  ( k  =  j  ->  (
( # `  y )  _C  k )  =  ( ( # `  y
)  _C  j ) )
84 eqeq2 2262 . . . . . . . . 9  |-  ( k  =  j  ->  (
( # `  x )  =  k  <->  ( # `  x
)  =  j ) )
8584rabbidv 2719 . . . . . . . 8  |-  ( k  =  j  ->  { x  e.  ~P y  |  (
# `  x )  =  k }  =  { x  e.  ~P y  |  ( # `  x
)  =  j } )
86 fveq2 5377 . . . . . . . . . 10  |-  ( x  =  z  ->  ( # `
 x )  =  ( # `  z
) )
8786eqeq1d 2261 . . . . . . . . 9  |-  ( x  =  z  ->  (
( # `  x )  =  j  <->  ( # `  z
)  =  j ) )
8887cbvrabv 2726 . . . . . . . 8  |-  { x  e.  ~P y  |  (
# `  x )  =  j }  =  { z  e.  ~P y  |  ( # `  z
)  =  j }
8985, 88syl6eq 2301 . . . . . . 7  |-  ( k  =  j  ->  { x  e.  ~P y  |  (
# `  x )  =  k }  =  { z  e.  ~P y  |  ( # `  z
)  =  j } )
9089fveq2d 5381 . . . . . 6  |-  ( k  =  j  ->  ( # `
 { x  e. 
~P y  |  (
# `  x )  =  k } )  =  ( # `  {
z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9183, 90eqeq12d 2267 . . . . 5  |-  ( k  =  j  ->  (
( ( # `  y
)  _C  k )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  k } )  <->  ( ( # `  y )  _C  j
)  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } ) ) )
9291cbvralv 2708 . . . 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 5380 . . . . . . . . . 10  |-  ( # `  { x  e.  ~P y  |  ( # `  x
)  =  j } )  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } )
9796eqeq2i 2263 . . . . . . . . 9  |-  ( ( ( # `  y
)  _C  j )  =  ( # `  {
x  e.  ~P y  |  ( # `  x
)  =  j } )  <->  ( ( # `  y )  _C  j
)  =  ( # `  { z  e.  ~P y  |  ( # `  z
)  =  j } ) )
9897ralbii 2531 . . . . . . . 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 11267 . . . . . 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 2595 . . . 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 6984 . 2  |-  ( A  e.  Fin  ->  A. k  e.  ZZ  ( ( # `  A )  _C  k
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  k } ) )
106 oveq2 5718 . . . 4  |-  ( k  =  K  ->  (
( # `  A )  _C  k )  =  ( ( # `  A
)  _C  K ) )
107 eqeq2 2262 . . . . . 6  |-  ( k  =  K  ->  (
( # `  x )  =  k  <->  ( # `  x
)  =  K ) )
108107rabbidv 2719 . . . . 5  |-  ( k  =  K  ->  { x  e.  ~P A  |  (
# `  x )  =  k }  =  { x  e.  ~P A  |  ( # `  x
)  =  K }
)
109108fveq2d 5381 . . . 4  |-  ( k  =  K  ->  ( # `
 { x  e. 
~P A  |  (
# `  x )  =  k } )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  K }
) )
110106, 109eqeq12d 2267 . . 3  |-  ( k  =  K  ->  (
( ( # `  A
)  _C  k )  =  ( # `  {
x  e.  ~P A  |  ( # `  x
)  =  k } )  <->  ( ( # `  A )  _C  K
)  =  ( # `  { x  e.  ~P A  |  ( # `  x
)  =  K }
) ) )
111110rcla4cva 2820 . 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 2509   {crab 2512   _Vcvv 2727    u. cun 3076   (/)c0 3362   ~Pcpw 3530   {csn 3544   ` cfv 4592  (class class class)co 5710   Fincfn 6749   0cc0 8617   1c1 8618   NN0cn0 9844   ZZcz 9903   ...cfz 10660    _C cbc 11193   #chash 11215
This theorem is referenced by:  hashbc2  12927  sylow1lem1  14744  musum  20263
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 1926  ax-ext 2234  ax-rep 4028  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403  ax-cnex 8673  ax-resscn 8674  ax-1cn 8675  ax-icn 8676  ax-addcl 8677  ax-addrcl 8678  ax-mulcl 8679  ax-mulrcl 8680  ax-mulcom 8681  ax-addass 8682  ax-mulass 8683  ax-distr 8684  ax-i2m1 8685  ax-1ne0 8686  ax-1rid 8687  ax-rnegex 8688  ax-rrecex 8689  ax-cnre 8690  ax-pre-lttri 8691  ax-pre-lttrn 8692  ax-pre-ltadd 8693  ax-pre-mulgt0 8694
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 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-nel 2415  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-1st 5974  df-2nd 5975  df-iota 6143  df-riota 6190  df-recs 6274  df-rdg 6309  df-1o 6365  df-2o 6366  df-oadd 6369  df-er 6546  df-map 6660  df-en 6750  df-dom 6751  df-sdom 6752  df-fin 6753  df-card 7456  df-cda 7678  df-pnf 8749  df-mnf 8750  df-xr 8751  df-ltxr 8752  df-le 8753  df-sub 8919  df-neg 8920  df-div 9304  df-n 9627  df-n0 9845  df-z 9904  df-uz 10110  df-rp 10234  df-fz 10661  df-seq 10925  df-fac 11167  df-bc 11194  df-hash 11216
  Copyright terms: Public domain W3C validator