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

Theorem frgra1v 24671
Description: Any graph with only one vertex is a friendship graph. (Contributed by Alexander van der Vekens, 4-Oct-2017.)
Assertion
Ref Expression
frgra1v  |-  ( ( V  e.  X  /\  { V } USGrph  E )  ->  { V } FriendGrph  E )

Proof of Theorem frgra1v
Dummy variables  k 
l  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 usgrav 24011 . . 3  |-  ( { V } USGrph  E  ->  ( { V }  e.  _V  /\  E  e.  _V ) )
2 simplr 754 . . . . 5  |-  ( ( ( ( { V }  e.  _V  /\  E  e.  _V )  /\  { V } USGrph  E )  /\  V  e.  X )  ->  { V } USGrph  E )
3 ral0 3932 . . . . . 6  |-  A. l  e.  (/)  E! x  e. 
{ V }  { { x ,  V } ,  { x ,  l } }  C_ 
ran  E
4 sneq 4037 . . . . . . . . . . 11  |-  ( k  =  V  ->  { k }  =  { V } )
54difeq2d 3622 . . . . . . . . . 10  |-  ( k  =  V  ->  ( { V }  \  {
k } )  =  ( { V }  \  { V } ) )
6 difid 3895 . . . . . . . . . 10  |-  ( { V }  \  { V } )  =  (/)
75, 6syl6eq 2524 . . . . . . . . 9  |-  ( k  =  V  ->  ( { V }  \  {
k } )  =  (/) )
8 preq2 4107 . . . . . . . . . . . 12  |-  ( k  =  V  ->  { x ,  k }  =  { x ,  V } )
98preq1d 4112 . . . . . . . . . . 11  |-  ( k  =  V  ->  { {
x ,  k } ,  { x ,  l } }  =  { { x ,  V } ,  { x ,  l } }
)
109sseq1d 3531 . . . . . . . . . 10  |-  ( k  =  V  ->  ( { { x ,  k } ,  { x ,  l } }  C_ 
ran  E  <->  { { x ,  V } ,  {
x ,  l } }  C_  ran  E ) )
1110reubidv 3046 . . . . . . . . 9  |-  ( k  =  V  ->  ( E! x  e.  { V }  { { x ,  k } ,  {
x ,  l } }  C_  ran  E  <->  E! x  e.  { V }  { { x ,  V } ,  { x ,  l } }  C_ 
ran  E ) )
127, 11raleqbidv 3072 . . . . . . . 8  |-  ( k  =  V  ->  ( A. l  e.  ( { V }  \  {
k } ) E! x  e.  { V }  { { x ,  k } ,  {
x ,  l } }  C_  ran  E  <->  A. l  e.  (/)  E! x  e. 
{ V }  { { x ,  V } ,  { x ,  l } }  C_ 
ran  E ) )
1312ralsng 4062 . . . . . . 7  |-  ( V  e.  X  ->  ( A. k  e.  { V } A. l  e.  ( { V }  \  { k } ) E! x  e.  { V }  { { x ,  k } ,  { x ,  l } }  C_  ran  E  <->  A. l  e.  (/)  E! x  e.  { V }  { { x ,  V } ,  { x ,  l } }  C_ 
ran  E ) )
1413adantl 466 . . . . . 6  |-  ( ( ( ( { V }  e.  _V  /\  E  e.  _V )  /\  { V } USGrph  E )  /\  V  e.  X )  ->  ( A. k  e. 
{ V } A. l  e.  ( { V }  \  { k } ) E! x  e.  { V }  { { x ,  k } ,  { x ,  l } }  C_ 
ran  E  <->  A. l  e.  (/)  E! x  e.  { V }  { { x ,  V } ,  {
x ,  l } }  C_  ran  E ) )
153, 14mpbiri 233 . . . . 5  |-  ( ( ( ( { V }  e.  _V  /\  E  e.  _V )  /\  { V } USGrph  E )  /\  V  e.  X )  ->  A. k  e.  { V } A. l  e.  ( { V }  \  { k } ) E! x  e.  { V }  { { x ,  k } ,  { x ,  l } }  C_  ran  E )
16 isfrgra 24663 . . . . . 6  |-  ( ( { V }  e.  _V  /\  E  e.  _V )  ->  ( { V } FriendGrph  E  <->  ( { V } USGrph  E  /\  A. k  e.  { V } A. l  e.  ( { V }  \  { k } ) E! x  e.  { V }  { { x ,  k } ,  { x ,  l } }  C_ 
ran  E ) ) )
1716ad2antrr 725 . . . . 5  |-  ( ( ( ( { V }  e.  _V  /\  E  e.  _V )  /\  { V } USGrph  E )  /\  V  e.  X )  ->  ( { V } FriendGrph  E  <-> 
( { V } USGrph  E  /\  A. k  e. 
{ V } A. l  e.  ( { V }  \  { k } ) E! x  e.  { V }  { { x ,  k } ,  { x ,  l } }  C_ 
ran  E ) ) )
182, 15, 17mpbir2and 920 . . . 4  |-  ( ( ( ( { V }  e.  _V  /\  E  e.  _V )  /\  { V } USGrph  E )  /\  V  e.  X )  ->  { V } FriendGrph  E )
1918ex 434 . . 3  |-  ( ( ( { V }  e.  _V  /\  E  e. 
_V )  /\  { V } USGrph  E )  -> 
( V  e.  X  ->  { V } FriendGrph  E ) )
201, 19mpancom 669 . 2  |-  ( { V } USGrph  E  ->  ( V  e.  X  ->  { V } FriendGrph  E ) )
2120impcom 430 1  |-  ( ( V  e.  X  /\  { V } USGrph  E )  ->  { V } FriendGrph  E )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1379    e. wcel 1767   A.wral 2814   E!wreu 2816   _Vcvv 3113    \ cdif 3473    C_ wss 3476   (/)c0 3785   {csn 4027   {cpr 4029   class class class wbr 4447   ran crn 5000   USGrph cusg 24003   FriendGrph cfrgra 24661
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pr 4686
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-reu 2821  df-rab 2823  df-v 3115  df-sbc 3332  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-op 4034  df-br 4448  df-opab 4506  df-xp 5005  df-rel 5006  df-cnv 5007  df-dm 5009  df-rn 5010  df-usgra 24006  df-frgra 24662
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator