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

Theorem fihashneq0 11187
Description: Two ways of saying a finite set is not empty. Also, "A is inhabited" would be equivalent by fin0 7157. (Contributed by Alexander van der Vekens, 23-Sep-2018.) (Intuitionized by Jim Kingdon, 23-Feb-2022.)
Assertion
Ref Expression
fihashneq0  |-  ( A  e.  Fin  ->  (
0  <  ( `  A
)  <->  A  =/=  (/) ) )

Proof of Theorem fihashneq0
StepHypRef Expression
1 hashcl 11174 . . . 4  |-  ( A  e.  Fin  ->  ( `  A )  e.  NN0 )
21nn0zd 9721 . . 3  |-  ( A  e.  Fin  ->  ( `  A )  e.  ZZ )
3 0zd 9611 . . 3  |-  ( A  e.  Fin  ->  0  e.  ZZ )
4 zapne 9674 . . 3  |-  ( ( ( `  A )  e.  ZZ  /\  0  e.  ZZ )  ->  (
( `  A ) #  0  <-> 
( `  A )  =/=  0 ) )
52, 3, 4syl2anc 411 . 2  |-  ( A  e.  Fin  ->  (
( `  A ) #  0  <-> 
( `  A )  =/=  0 ) )
6 nn0re 9527 . . . 4  |-  ( ( `  A )  e.  NN0  ->  ( `  A )  e.  RR )
7 nn0ge0 9543 . . . 4  |-  ( ( `  A )  e.  NN0  ->  0  <_  ( `  A
) )
8 ap0gt0 8934 . . . 4  |-  ( ( ( `  A )  e.  RR  /\  0  <_ 
( `  A ) )  ->  ( ( `  A
) #  0  <->  0  <  ( `  A ) ) )
96, 7, 8syl2anc 411 . . 3  |-  ( ( `  A )  e.  NN0  ->  ( ( `  A
) #  0  <->  0  <  ( `  A ) ) )
101, 9syl 14 . 2  |-  ( A  e.  Fin  ->  (
( `  A ) #  0  <->  0  <  ( `  A
) ) )
11 fihasheq0 11186 . . 3  |-  ( A  e.  Fin  ->  (
( `  A )  =  0  <->  A  =  (/) ) )
1211necon3bid 2455 . 2  |-  ( A  e.  Fin  ->  (
( `  A )  =/=  0  <->  A  =/=  (/) ) )
135, 10, 123bitr3d 218 1  |-  ( A  e.  Fin  ->  (
0  <  ( `  A
)  <->  A  =/=  (/) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 105    e. wcel 2205    =/= wne 2414   (/)c0 3512   class class class wbr 4115   ` cfv 5359   Fincfn 6990   RRcr 8144   0cc0 8145    < clt 8326    <_ cle 8327   # cap 8875   NN0cn0 9518   ZZcz 9599  ♯chash 11168
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-in1 619  ax-in2 620  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-14 2208  ax-ext 2216  ax-coll 4231  ax-sep 4234  ax-nul 4242  ax-pow 4293  ax-pr 4328  ax-un 4560  ax-setind 4666  ax-iinf 4717  ax-cnex 8236  ax-resscn 8237  ax-1cn 8238  ax-1re 8239  ax-icn 8240  ax-addcl 8241  ax-addrcl 8242  ax-mulcl 8243  ax-mulrcl 8244  ax-addcom 8245  ax-mulcom 8246  ax-addass 8247  ax-mulass 8248  ax-distr 8249  ax-i2m1 8250  ax-0lt1 8251  ax-1rid 8252  ax-0id 8253  ax-rnegex 8254  ax-precex 8255  ax-cnre 8256  ax-pre-ltirr 8257  ax-pre-ltwlin 8258  ax-pre-lttrn 8259  ax-pre-apti 8260  ax-pre-ltadd 8261  ax-pre-mulgt0 8262
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2085  df-mo 2086  df-clab 2221  df-cleq 2227  df-clel 2230  df-nfc 2375  df-ne 2415  df-nel 2510  df-ral 2527  df-rex 2528  df-reu 2529  df-rab 2531  df-v 2817  df-sbc 3046  df-csb 3142  df-dif 3216  df-un 3218  df-in 3220  df-ss 3227  df-nul 3513  df-pw 3677  df-sn 3701  df-pr 3702  df-op 3704  df-uni 3921  df-int 3956  df-iun 3999  df-br 4116  df-opab 4178  df-mpt 4179  df-tr 4215  df-id 4420  df-iord 4493  df-on 4495  df-ilim 4496  df-suc 4498  df-iom 4720  df-xp 4762  df-rel 4763  df-cnv 4764  df-co 4765  df-dm 4766  df-rn 4767  df-res 4768  df-ima 4769  df-iota 5319  df-fun 5361  df-fn 5362  df-f 5363  df-f1 5364  df-fo 5365  df-f1o 5366  df-fv 5367  df-riota 6013  df-ov 6063  df-oprab 6064  df-mpo 6065  df-recs 6551  df-frec 6637  df-1o 6662  df-er 6782  df-en 6991  df-dom 6992  df-fin 6993  df-pnf 8328  df-mnf 8329  df-xr 8330  df-ltxr 8331  df-le 8332  df-sub 8465  df-neg 8466  df-reap 8869  df-ap 8876  df-inn 9260  df-n0 9519  df-z 9600  df-uz 9877  df-fz 10367  df-ihash 11169
This theorem is referenced by:  wrdlenge1n0  11288  swrdlsw  11391  pfxsuff1eqwrdeq  11421  ccats1pfxeq  11436  ccats1pfxeqrex  11437  clwwlkext2edg  16549
  Copyright terms: Public domain W3C validator