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

Theorem negfi 11191
Description: The negation of a finite set of real numbers is finite. (Contributed by AV, 9-Aug-2020.)
Assertion
Ref Expression
negfi  |-  ( ( A  C_  RR  /\  A  e.  Fin )  ->  { n  e.  RR  |  -u n  e.  A }  e.  Fin )
Distinct variable group:    A, n

Proof of Theorem negfi
Dummy variables  a  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3141 . . . . . . . . . 10  |-  ( A 
C_  RR  ->  ( a  e.  A  ->  a  e.  RR ) )
2 renegcl 8180 . . . . . . . . . 10  |-  ( a  e.  RR  ->  -u a  e.  RR )
31, 2syl6 33 . . . . . . . . 9  |-  ( A 
C_  RR  ->  ( a  e.  A  ->  -u a  e.  RR ) )
43imp 123 . . . . . . . 8  |-  ( ( A  C_  RR  /\  a  e.  A )  ->  -u a  e.  RR )
54ralrimiva 2543 . . . . . . 7  |-  ( A 
C_  RR  ->  A. a  e.  A  -u a  e.  RR )
6 dmmptg 5108 . . . . . . 7  |-  ( A. a  e.  A  -u a  e.  RR  ->  dom  ( a  e.  A  |->  -u a
)  =  A )
75, 6syl 14 . . . . . 6  |-  ( A 
C_  RR  ->  dom  (
a  e.  A  |->  -u a )  =  A )
87eqcomd 2176 . . . . 5  |-  ( A 
C_  RR  ->  A  =  dom  ( a  e.  A  |->  -u a ) )
98eleq1d 2239 . . . 4  |-  ( A 
C_  RR  ->  ( A  e.  Fin  <->  dom  ( a  e.  A  |->  -u a
)  e.  Fin )
)
10 funmpt 5236 . . . . 5  |-  Fun  (
a  e.  A  |->  -u a )
11 fundmfibi 6916 . . . . 5  |-  ( Fun  ( a  e.  A  |-> 
-u a )  -> 
( ( a  e.  A  |->  -u a )  e. 
Fin 
<->  dom  ( a  e.  A  |->  -u a )  e. 
Fin ) )
1210, 11mp1i 10 . . . 4  |-  ( A 
C_  RR  ->  ( ( a  e.  A  |->  -u a )  e.  Fin  <->  dom  ( a  e.  A  |-> 
-u a )  e. 
Fin ) )
139, 12bitr4d 190 . . 3  |-  ( A 
C_  RR  ->  ( A  e.  Fin  <->  ( a  e.  A  |->  -u a
)  e.  Fin )
)
14 reex 7908 . . . . . 6  |-  RR  e.  _V
1514ssex 4126 . . . . 5  |-  ( A 
C_  RR  ->  A  e. 
_V )
16 mptexg 5721 . . . . 5  |-  ( A  e.  _V  ->  (
a  e.  A  |->  -u a )  e.  _V )
1715, 16syl 14 . . . 4  |-  ( A 
C_  RR  ->  ( a  e.  A  |->  -u a
)  e.  _V )
18 eqid 2170 . . . . . 6  |-  ( a  e.  A  |->  -u a
)  =  ( a  e.  A  |->  -u a
)
1918negf1o 8301 . . . . 5  |-  ( A 
C_  RR  ->  ( a  e.  A  |->  -u a
) : A -1-1-onto-> { x  e.  RR  |  -u x  e.  A } )
20 f1of1 5441 . . . . 5  |-  ( ( a  e.  A  |->  -u a ) : A -1-1-onto-> {
x  e.  RR  |  -u x  e.  A }  ->  ( a  e.  A  |-> 
-u a ) : A -1-1-> { x  e.  RR  |  -u x  e.  A } )
2119, 20syl 14 . . . 4  |-  ( A 
C_  RR  ->  ( a  e.  A  |->  -u a
) : A -1-1-> {
x  e.  RR  |  -u x  e.  A }
)
22 f1vrnfibi 6922 . . . 4  |-  ( ( ( a  e.  A  |-> 
-u a )  e. 
_V  /\  ( a  e.  A  |->  -u a
) : A -1-1-> {
x  e.  RR  |  -u x  e.  A }
)  ->  ( (
a  e.  A  |->  -u a )  e.  Fin  <->  ran  ( a  e.  A  |-> 
-u a )  e. 
Fin ) )
2317, 21, 22syl2anc 409 . . 3  |-  ( A 
C_  RR  ->  ( ( a  e.  A  |->  -u a )  e.  Fin  <->  ran  ( a  e.  A  |-> 
-u a )  e. 
Fin ) )
241imp 123 . . . . . . . . . 10  |-  ( ( A  C_  RR  /\  a  e.  A )  ->  a  e.  RR )
252adantl 275 . . . . . . . . . . 11  |-  ( ( ( A  C_  RR  /\  a  e.  A )  /\  a  e.  RR )  ->  -u a  e.  RR )
26 recn 7907 . . . . . . . . . . . . . . . . 17  |-  ( a  e.  RR  ->  a  e.  CC )
2726negnegd 8221 . . . . . . . . . . . . . . . 16  |-  ( a  e.  RR  ->  -u -u a  =  a )
2827eqcomd 2176 . . . . . . . . . . . . . . 15  |-  ( a  e.  RR  ->  a  =  -u -u a )
2928eleq1d 2239 . . . . . . . . . . . . . 14  |-  ( a  e.  RR  ->  (
a  e.  A  <->  -u -u a  e.  A ) )
3029biimpcd 158 . . . . . . . . . . . . 13  |-  ( a  e.  A  ->  (
a  e.  RR  ->  -u -u a  e.  A ) )
3130adantl 275 . . . . . . . . . . . 12  |-  ( ( A  C_  RR  /\  a  e.  A )  ->  (
a  e.  RR  ->  -u -u a  e.  A ) )
3231imp 123 . . . . . . . . . . 11  |-  ( ( ( A  C_  RR  /\  a  e.  A )  /\  a  e.  RR )  ->  -u -u a  e.  A
)
3325, 32jca 304 . . . . . . . . . 10  |-  ( ( ( A  C_  RR  /\  a  e.  A )  /\  a  e.  RR )  ->  ( -u a  e.  RR  /\  -u -u a  e.  A ) )
3424, 33mpdan 419 . . . . . . . . 9  |-  ( ( A  C_  RR  /\  a  e.  A )  ->  ( -u a  e.  RR  /\  -u -u a  e.  A
) )
35 eleq1 2233 . . . . . . . . . 10  |-  ( n  =  -u a  ->  (
n  e.  RR  <->  -u a  e.  RR ) )
36 negeq 8112 . . . . . . . . . . 11  |-  ( n  =  -u a  ->  -u n  =  -u -u a )
3736eleq1d 2239 . . . . . . . . . 10  |-  ( n  =  -u a  ->  ( -u n  e.  A  <->  -u -u a  e.  A ) )
3835, 37anbi12d 470 . . . . . . . . 9  |-  ( n  =  -u a  ->  (
( n  e.  RR  /\  -u n  e.  A
)  <->  ( -u a  e.  RR  /\  -u -u a  e.  A ) ) )
3934, 38syl5ibrcom 156 . . . . . . . 8  |-  ( ( A  C_  RR  /\  a  e.  A )  ->  (
n  =  -u a  ->  ( n  e.  RR  /\  -u n  e.  A
) ) )
4039rexlimdva 2587 . . . . . . 7  |-  ( A 
C_  RR  ->  ( E. a  e.  A  n  =  -u a  ->  (
n  e.  RR  /\  -u n  e.  A ) ) )
41 simprr 527 . . . . . . . . 9  |-  ( ( A  C_  RR  /\  (
n  e.  RR  /\  -u n  e.  A ) )  ->  -u n  e.  A )
42 negeq 8112 . . . . . . . . . . 11  |-  ( a  =  -u n  ->  -u a  =  -u -u n )
4342eqeq2d 2182 . . . . . . . . . 10  |-  ( a  =  -u n  ->  (
n  =  -u a  <->  n  =  -u -u n ) )
4443adantl 275 . . . . . . . . 9  |-  ( ( ( A  C_  RR  /\  ( n  e.  RR  /\  -u n  e.  A
) )  /\  a  =  -u n )  -> 
( n  =  -u a 
<->  n  =  -u -u n
) )
45 recn 7907 . . . . . . . . . . 11  |-  ( n  e.  RR  ->  n  e.  CC )
46 negneg 8169 . . . . . . . . . . . 12  |-  ( n  e.  CC  ->  -u -u n  =  n )
4746eqcomd 2176 . . . . . . . . . . 11  |-  ( n  e.  CC  ->  n  =  -u -u n )
4845, 47syl 14 . . . . . . . . . 10  |-  ( n  e.  RR  ->  n  =  -u -u n )
4948ad2antrl 487 . . . . . . . . 9  |-  ( ( A  C_  RR  /\  (
n  e.  RR  /\  -u n  e.  A ) )  ->  n  =  -u -u n )
5041, 44, 49rspcedvd 2840 . . . . . . . 8  |-  ( ( A  C_  RR  /\  (
n  e.  RR  /\  -u n  e.  A ) )  ->  E. a  e.  A  n  =  -u a )
5150ex 114 . . . . . . 7  |-  ( A 
C_  RR  ->  ( ( n  e.  RR  /\  -u n  e.  A )  ->  E. a  e.  A  n  =  -u a ) )
5240, 51impbid 128 . . . . . 6  |-  ( A 
C_  RR  ->  ( E. a  e.  A  n  =  -u a  <->  ( n  e.  RR  /\  -u n  e.  A ) ) )
5352abbidv 2288 . . . . 5  |-  ( A 
C_  RR  ->  { n  |  E. a  e.  A  n  =  -u a }  =  { n  |  ( n  e.  RR  /\  -u n  e.  A
) } )
5418rnmpt 4859 . . . . 5  |-  ran  (
a  e.  A  |->  -u a )  =  {
n  |  E. a  e.  A  n  =  -u a }
55 df-rab 2457 . . . . 5  |-  { n  e.  RR  |  -u n  e.  A }  =  {
n  |  ( n  e.  RR  /\  -u n  e.  A ) }
5653, 54, 553eqtr4g 2228 . . . 4  |-  ( A 
C_  RR  ->  ran  (
a  e.  A  |->  -u a )  =  {
n  e.  RR  |  -u n  e.  A }
)
5756eleq1d 2239 . . 3  |-  ( A 
C_  RR  ->  ( ran  ( a  e.  A  |-> 
-u a )  e. 
Fin 
<->  { n  e.  RR  |  -u n  e.  A }  e.  Fin )
)
5813, 23, 573bitrd 213 . 2  |-  ( A 
C_  RR  ->  ( A  e.  Fin  <->  { n  e.  RR  |  -u n  e.  A }  e.  Fin ) )
5958biimpa 294 1  |-  ( ( A  C_  RR  /\  A  e.  Fin )  ->  { n  e.  RR  |  -u n  e.  A }  e.  Fin )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1348    e. wcel 2141   {cab 2156   A.wral 2448   E.wrex 2449   {crab 2452   _Vcvv 2730    C_ wss 3121    |-> cmpt 4050   dom cdm 4611   ran crn 4612   Fun wfun 5192   -1-1->wf1 5195   -1-1-onto->wf1o 5197   Fincfn 6718   CCcc 7772   RRcr 7773   -ucneg 8091
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-addcom 7874  ax-addass 7876  ax-distr 7878  ax-i2m1 7879  ax-0id 7882  ax-rnegex 7883  ax-cnre 7885
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-1o 6395  df-er 6513  df-en 6719  df-fin 6721  df-sub 8092  df-neg 8093
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator