Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  usgra1v Unicode version

Theorem usgra1v 28260
Description: A class with one (or no) vertex is a simple graph if and only if it has no edges. (Contributed by Alexander van der Vekens, 13-Oct-2017.)
Assertion
Ref Expression
usgra1v  |-  ( { A } USGrph  E  <->  E  =  (/) )

Proof of Theorem usgra1v
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 usgrav 28233 . . . . 5  |-  ( { A } USGrph  E  ->  ( { A }  e.  _V  /\  E  e.  _V ) )
2 isusgra 28235 . . . . . . . . 9  |-  ( ( { A }  e.  _V  /\  E  e.  _V )  ->  ( { A } USGrph  E  <->  E : dom  E -1-1-> { x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 } ) )
32adantr 451 . . . . . . . 8  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( { A } USGrph  E  <->  E : dom  E -1-1-> { x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 } ) )
4 eqidd 2297 . . . . . . . . . 10  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  E  =  E )
5 eqidd 2297 . . . . . . . . . 10  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  dom  E  =  dom  E )
6 pwsn 3837 . . . . . . . . . . . . . 14  |-  ~P { A }  =  { (/)
,  { A } }
76difeq1i 3303 . . . . . . . . . . . . 13  |-  ( ~P { A }  \  { (/) } )  =  ( { (/) ,  { A } }  \  { (/)
} )
8 snnzg 3756 . . . . . . . . . . . . . . . 16  |-  ( A  e.  _V  ->  { A }  =/=  (/) )
98necomd 2542 . . . . . . . . . . . . . . 15  |-  ( A  e.  _V  ->  (/)  =/=  { A } )
109adantl 452 . . . . . . . . . . . . . 14  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  (/)  =/=  { A } )
11 difprsn1 3770 . . . . . . . . . . . . . 14  |-  ( (/)  =/=  { A }  ->  ( { (/) ,  { A } }  \  { (/) } )  =  { { A } } )
1210, 11syl 15 . . . . . . . . . . . . 13  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( { (/) ,  { A } }  \  { (/) } )  =  { { A } } )
137, 12syl5eq 2340 . . . . . . . . . . . 12  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( ~P { A }  \  { (/) } )  =  { { A } } )
14 biidd 228 . . . . . . . . . . . 12  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  (
( # `  x )  =  2  <->  ( # `  x
)  =  2 ) )
1513, 14rabeqbidv 2796 . . . . . . . . . . 11  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  { x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 }  =  { x  e. 
{ { A } }  |  ( # `  x
)  =  2 } )
16 hashsng 11372 . . . . . . . . . . . . . . 15  |-  ( A  e.  _V  ->  ( # `
 { A }
)  =  1 )
17 1ne2 9947 . . . . . . . . . . . . . . . . 17  |-  1  =/=  2
18 neeq1 2467 . . . . . . . . . . . . . . . . 17  |-  ( (
# `  { A } )  =  1  ->  ( ( # `  { A } )  =/=  2  <->  1  =/=  2 ) )
1917, 18mpbiri 224 . . . . . . . . . . . . . . . 16  |-  ( (
# `  { A } )  =  1  ->  ( # `  { A } )  =/=  2
)
2019neneqd 2475 . . . . . . . . . . . . . . 15  |-  ( (
# `  { A } )  =  1  ->  -.  ( # `  { A } )  =  2 )
2116, 20syl 15 . . . . . . . . . . . . . 14  |-  ( A  e.  _V  ->  -.  ( # `  { A } )  =  2 )
22 2ne0 9845 . . . . . . . . . . . . . . . . . 18  |-  2  =/=  0
2322necomi 2541 . . . . . . . . . . . . . . . . 17  |-  0  =/=  2
2423a1i 10 . . . . . . . . . . . . . . . 16  |-  ( -.  A  e.  _V  ->  0  =/=  2 )
2524neneqd 2475 . . . . . . . . . . . . . . 15  |-  ( -.  A  e.  _V  ->  -.  0  =  2 )
26 snprc 3708 . . . . . . . . . . . . . . . . . . 19  |-  ( -.  A  e.  _V  <->  { A }  =  (/) )
2726biimpi 186 . . . . . . . . . . . . . . . . . 18  |-  ( -.  A  e.  _V  ->  { A }  =  (/) )
2827fveq2d 5545 . . . . . . . . . . . . . . . . 17  |-  ( -.  A  e.  _V  ->  (
# `  { A } )  =  (
# `  (/) ) )
29 hash0 11371 . . . . . . . . . . . . . . . . 17  |-  ( # `  (/) )  =  0
3028, 29syl6eq 2344 . . . . . . . . . . . . . . . 16  |-  ( -.  A  e.  _V  ->  (
# `  { A } )  =  0 )
3130eqeq1d 2304 . . . . . . . . . . . . . . 15  |-  ( -.  A  e.  _V  ->  ( ( # `  { A } )  =  2  <->  0  =  2 ) )
3225, 31mtbird 292 . . . . . . . . . . . . . 14  |-  ( -.  A  e.  _V  ->  -.  ( # `  { A } )  =  2 )
3321, 32pm2.61i 156 . . . . . . . . . . . . 13  |-  -.  ( # `
 { A }
)  =  2
34 snex 4232 . . . . . . . . . . . . . 14  |-  { A }  e.  _V
35 fveq2 5541 . . . . . . . . . . . . . . . 16  |-  ( x  =  { A }  ->  ( # `  x
)  =  ( # `  { A } ) )
3635eqeq1d 2304 . . . . . . . . . . . . . . 15  |-  ( x  =  { A }  ->  ( ( # `  x
)  =  2  <->  ( # `
 { A }
)  =  2 ) )
3736notbid 285 . . . . . . . . . . . . . 14  |-  ( x  =  { A }  ->  ( -.  ( # `  x )  =  2  <->  -.  ( # `  { A } )  =  2 ) )
3834, 37ralsn 3687 . . . . . . . . . . . . 13  |-  ( A. x  e.  { { A } }  -.  ( # `
 x )  =  2  <->  -.  ( # `  { A } )  =  2 )
3933, 38mpbir 200 . . . . . . . . . . . 12  |-  A. x  e.  { { A } }  -.  ( # `  x
)  =  2
40 rabeq0 3489 . . . . . . . . . . . 12  |-  ( { x  e.  { { A } }  |  (
# `  x )  =  2 }  =  (/)  <->  A. x  e.  { { A } }  -.  ( # `
 x )  =  2 )
4139, 40mpbir 200 . . . . . . . . . . 11  |-  { x  e.  { { A } }  |  ( # `  x
)  =  2 }  =  (/)
4215, 41syl6eq 2344 . . . . . . . . . 10  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  { x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 }  =  (/) )
434, 5, 42f1eq123d 5483 . . . . . . . . 9  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( E : dom  E -1-1-> {
x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 }  <-> 
E : dom  E -1-1-> (/) ) )
44 f1f 5453 . . . . . . . . . 10  |-  ( E : dom  E -1-1-> (/)  ->  E : dom  E --> (/) )
45 f00 5442 . . . . . . . . . . 11  |-  ( E : dom  E --> (/)  <->  ( E  =  (/)  /\  dom  E  =  (/) ) )
4645simplbi 446 . . . . . . . . . 10  |-  ( E : dom  E --> (/)  ->  E  =  (/) )
4744, 46syl 15 . . . . . . . . 9  |-  ( E : dom  E -1-1-> (/)  ->  E  =  (/) )
4843, 47syl6bi 219 . . . . . . . 8  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( E : dom  E -1-1-> {
x  e.  ( ~P { A }  \  { (/) } )  |  ( # `  x
)  =  2 }  ->  E  =  (/) ) )
493, 48sylbid 206 . . . . . . 7  |-  ( ( ( { A }  e.  _V  /\  E  e. 
_V )  /\  A  e.  _V )  ->  ( { A } USGrph  E  ->  E  =  (/) ) )
5049ex 423 . . . . . 6  |-  ( ( { A }  e.  _V  /\  E  e.  _V )  ->  ( A  e. 
_V  ->  ( { A } USGrph  E  ->  E  =  (/) ) ) )
5150com23 72 . . . . 5  |-  ( ( { A }  e.  _V  /\  E  e.  _V )  ->  ( { A } USGrph  E  ->  ( A  e.  _V  ->  E  =  (/) ) ) )
521, 51mpcom 32 . . . 4  |-  ( { A } USGrph  E  ->  ( A  e.  _V  ->  E  =  (/) ) )
5352com12 27 . . 3  |-  ( A  e.  _V  ->  ( { A } USGrph  E  ->  E  =  (/) ) )
54 usgra0 28250 . . . . 5  |-  ( { A }  e.  _V  ->  { A } USGrph  (/) )
5534, 54ax-mp 8 . . . 4  |-  { A } USGrph 
(/)
56 breq2 4043 . . . 4  |-  ( E  =  (/)  ->  ( { A } USGrph  E  <->  { A } USGrph 
(/) ) )
5755, 56mpbiri 224 . . 3  |-  ( E  =  (/)  ->  { A } USGrph  E )
5853, 57impbid1 194 . 2  |-  ( A  e.  _V  ->  ( { A } USGrph  E  <->  E  =  (/) ) )
59 breq1 4042 . . . 4  |-  ( { A }  =  (/)  ->  ( { A } USGrph  E  <->  (/) USGrph  E ) )
60 usgra0v 28251 . . . 4  |-  ( (/) USGrph  E  <-> 
E  =  (/) )
6159, 60syl6bb 252 . . 3  |-  ( { A }  =  (/)  ->  ( { A } USGrph  E  <-> 
E  =  (/) ) )
6226, 61sylbi 187 . 2  |-  ( -.  A  e.  _V  ->  ( { A } USGrph  E  <->  E  =  (/) ) )
6358, 62pm2.61i 156 1  |-  ( { A } USGrph  E  <->  E  =  (/) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696    =/= wne 2459   A.wral 2556   {crab 2560   _Vcvv 2801    \ cdif 3162   (/)c0 3468   ~Pcpw 3638   {csn 3653   {cpr 3654   class class class wbr 4039   dom cdm 4705   -->wf 5267   -1-1->wf1 5268   ` cfv 5271   0cc0 8753   1c1 8754   2c2 9811   #chash 11353   USGrph cusg 28227
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-card 7588  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-nn 9763  df-2 9820  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-hash 11354  df-usgra 28229
  Copyright terms: Public domain W3C validator