ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ballotfileme Unicode version

Theorem ballotfileme 13157
Description: Elements of  E. (Contributed by Thierry Arnoux, 14-Dec-2016.)
Hypotheses
Ref Expression
ballotth.m  |-  M  e.  NN
ballotth.n  |-  N  e.  NN
ballotfi.o  |-  O  =  { c  e.  ( ~P ( 1 ... ( M  +  N
) )  i^i  Fin )  |  ( `  c
)  =  M }
ballotfi.p  |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( ( `  x
)  /  ( `  O
) ) )
ballotth.f  |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( ( `  ( (
1 ... i )  i^i  c ) )  -  ( `  ( ( 1 ... i )  \ 
c ) ) ) ) )
ballotth.e  |-  E  =  { c  e.  O  |  A. i  e.  ( 1 ... ( M  +  N ) ) 0  <  ( ( F `  c ) `
 i ) }
Assertion
Ref Expression
ballotfileme  |-  ( C  e.  E  <->  ( C  e.  O  /\  A. i  e.  ( 1 ... ( M  +  N )
) 0  <  (
( F `  C
) `  i )
) )
Distinct variable groups:    M, c    N, c    O, c    i, M   
i, N    i, O, c    F, c, i    C, i
Allowed substitution hints:    C( x, c)    P( x, i, c)    E( x, i, c)    F( x)    M( x)    N( x)    O( x)

Proof of Theorem ballotfileme
Dummy variable  d is distinct from all other variables.
StepHypRef Expression
1 fveq2 5672 . . . . 5  |-  ( d  =  C  ->  ( F `  d )  =  ( F `  C ) )
21fveq1d 5674 . . . 4  |-  ( d  =  C  ->  (
( F `  d
) `  i )  =  ( ( F `
 C ) `  i ) )
32breq2d 4123 . . 3  |-  ( d  =  C  ->  (
0  <  ( ( F `  d ) `  i )  <->  0  <  ( ( F `  C
) `  i )
) )
43ralbidv 2544 . 2  |-  ( d  =  C  ->  ( A. i  e.  (
1 ... ( M  +  N ) ) 0  <  ( ( F `
 d ) `  i )  <->  A. i  e.  ( 1 ... ( M  +  N )
) 0  <  (
( F `  C
) `  i )
) )
5 ballotth.e . . 3  |-  E  =  { c  e.  O  |  A. i  e.  ( 1 ... ( M  +  N ) ) 0  <  ( ( F `  c ) `
 i ) }
6 fveq2 5672 . . . . . . 7  |-  ( c  =  d  ->  ( F `  c )  =  ( F `  d ) )
76fveq1d 5674 . . . . . 6  |-  ( c  =  d  ->  (
( F `  c
) `  i )  =  ( ( F `
 d ) `  i ) )
87breq2d 4123 . . . . 5  |-  ( c  =  d  ->  (
0  <  ( ( F `  c ) `  i )  <->  0  <  ( ( F `  d
) `  i )
) )
98ralbidv 2544 . . . 4  |-  ( c  =  d  ->  ( A. i  e.  (
1 ... ( M  +  N ) ) 0  <  ( ( F `
 c ) `  i )  <->  A. i  e.  ( 1 ... ( M  +  N )
) 0  <  (
( F `  d
) `  i )
) )
109cbvrabv 2814 . . 3  |-  { c  e.  O  |  A. i  e.  ( 1 ... ( M  +  N ) ) 0  <  ( ( F `
 c ) `  i ) }  =  { d  e.  O  |  A. i  e.  ( 1 ... ( M  +  N ) ) 0  <  ( ( F `  d ) `
 i ) }
115, 10eqtri 2255 . 2  |-  E  =  { d  e.  O  |  A. i  e.  ( 1 ... ( M  +  N ) ) 0  <  ( ( F `  d ) `
 i ) }
124, 11elrab2 2978 1  |-  ( C  e.  E  <->  ( C  e.  O  /\  A. i  e.  ( 1 ... ( M  +  N )
) 0  <  (
( F `  C
) `  i )
) )
Colors of variables: wff set class
Syntax hints:    /\ wa 104    <-> wb 105    = wceq 1398    e. wcel 2205   A.wral 2522   {crab 2526    \ cdif 3210    i^i cin 3212   ~Pcpw 3671   class class class wbr 4111    |-> cmpt 4173   ` cfv 5354  (class class class)co 6052   Fincfn 6977   0cc0 8129   1c1 8130    + caddc 8132    < clt 8310    - cmin 8446    / cdiv 8948   NNcn 9239   ZZcz 9579   ...cfz 10345  ♯chash 11142
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-ext 2216
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-nf 1510  df-sb 1812  df-clab 2221  df-cleq 2227  df-clel 2230  df-nfc 2375  df-ral 2527  df-rex 2528  df-rab 2531  df-v 2817  df-un 3217  df-sn 3697  df-pr 3698  df-op 3700  df-uni 3917  df-br 4112  df-iota 5314  df-fv 5362
This theorem is referenced by:  ballotfilemodife  13158  ballotfilem4  13159
  Copyright terms: Public domain W3C validator