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

Theorem hashbcval 13375
Description: Value of the "binomial set", the set of all  N-element subsets of  A. (Contributed by Mario Carneiro, 20-Apr-2015.)
Hypothesis
Ref Expression
ramval.c  |-  C  =  ( a  e.  _V ,  i  e.  NN0  |->  { b  e.  ~P a  |  ( # `  b
)  =  i } )
Assertion
Ref Expression
hashbcval  |-  ( ( A  e.  V  /\  N  e.  NN0 )  -> 
( A C N )  =  { x  e.  ~P A  |  (
# `  x )  =  N } )
Distinct variable groups:    x, C    a, b, i, x    A, a, i, x    N, a, i, x    x, V
Allowed substitution hints:    A( b)    C( i, a, b)    N( b)    V( i, a, b)

Proof of Theorem hashbcval
StepHypRef Expression
1 elex 2966 . 2  |-  ( A  e.  V  ->  A  e.  _V )
2 pwexg 4386 . . . . 5  |-  ( A  e.  _V  ->  ~P A  e.  _V )
32adantr 453 . . . 4  |-  ( ( A  e.  _V  /\  N  e.  NN0 )  ->  ~P A  e.  _V )
4 rabexg 4356 . . . 4  |-  ( ~P A  e.  _V  ->  { x  e.  ~P A  |  ( # `  x
)  =  N }  e.  _V )
53, 4syl 16 . . 3  |-  ( ( A  e.  _V  /\  N  e.  NN0 )  ->  { x  e.  ~P A  |  ( # `  x
)  =  N }  e.  _V )
6 fveq2 5731 . . . . . . 7  |-  ( b  =  x  ->  ( # `
 b )  =  ( # `  x
) )
76eqeq1d 2446 . . . . . 6  |-  ( b  =  x  ->  (
( # `  b )  =  i  <->  ( # `  x
)  =  i ) )
87cbvrabv 2957 . . . . 5  |-  { b  e.  ~P a  |  ( # `  b
)  =  i }  =  { x  e. 
~P a  |  (
# `  x )  =  i }
9 simpl 445 . . . . . . 7  |-  ( ( a  =  A  /\  i  =  N )  ->  a  =  A )
109pweqd 3806 . . . . . 6  |-  ( ( a  =  A  /\  i  =  N )  ->  ~P a  =  ~P A )
11 simpr 449 . . . . . . 7  |-  ( ( a  =  A  /\  i  =  N )  ->  i  =  N )
1211eqeq2d 2449 . . . . . 6  |-  ( ( a  =  A  /\  i  =  N )  ->  ( ( # `  x
)  =  i  <->  ( # `  x
)  =  N ) )
1310, 12rabeqbidv 2953 . . . . 5  |-  ( ( a  =  A  /\  i  =  N )  ->  { x  e.  ~P a  |  ( # `  x
)  =  i }  =  { x  e. 
~P A  |  (
# `  x )  =  N } )
148, 13syl5eq 2482 . . . 4  |-  ( ( a  =  A  /\  i  =  N )  ->  { b  e.  ~P a  |  ( # `  b
)  =  i }  =  { x  e. 
~P A  |  (
# `  x )  =  N } )
15 ramval.c . . . 4  |-  C  =  ( a  e.  _V ,  i  e.  NN0  |->  { b  e.  ~P a  |  ( # `  b
)  =  i } )
1614, 15ovmpt2ga 6206 . . 3  |-  ( ( A  e.  _V  /\  N  e.  NN0  /\  {
x  e.  ~P A  |  ( # `  x
)  =  N }  e.  _V )  ->  ( A C N )  =  { x  e.  ~P A  |  ( # `  x
)  =  N }
)
175, 16mpd3an3 1281 . 2  |-  ( ( A  e.  _V  /\  N  e.  NN0 )  -> 
( A C N )  =  { x  e.  ~P A  |  (
# `  x )  =  N } )
181, 17sylan 459 1  |-  ( ( A  e.  V  /\  N  e.  NN0 )  -> 
( A C N )  =  { x  e.  ~P A  |  (
# `  x )  =  N } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   {crab 2711   _Vcvv 2958   ~Pcpw 3801   ` cfv 5457  (class class class)co 6084    e. cmpt2 6086   NN0cn0 10226   #chash 11623
This theorem is referenced by:  hashbccl  13376  hashbcss  13377  hashbc0  13378  hashbc2  13379  ramval  13381  ram0  13395  ramub1lem1  13399  ramub1lem2  13400
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-rab 2716  df-v 2960  df-sbc 3164  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4216  df-opab 4270  df-id 4501  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-iota 5421  df-fun 5459  df-fv 5465  df-ov 6087  df-oprab 6088  df-mpt2 6089
  Copyright terms: Public domain W3C validator