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

Theorem 1to3vfriswmgra 28334
Description: Every friendship graph with one, two or three vertices is a windmill graph. (Contributed by Alexander van der Vekens, 6-Oct-2017.)
Assertion
Ref Expression
1to3vfriswmgra  |-  ( ( A  e.  X  /\  ( V  =  { A }  \/  V  =  { A ,  B }  \/  V  =  { A ,  B ,  C } ) )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
Distinct variable groups:    A, h, v, w    B, h, v, w    C, h, v, w   
h, E, v, w   
h, V, v, w   
v, X, w
Allowed substitution hint:    X( h)

Proof of Theorem 1to3vfriswmgra
StepHypRef Expression
1 df-3or 937 . . 3  |-  ( ( V  =  { A }  \/  V  =  { A ,  B }  \/  V  =  { A ,  B ,  C } )  <->  ( ( V  =  { A }  \/  V  =  { A ,  B }
)  \/  V  =  { A ,  B ,  C } ) )
2 1to2vfriswmgra 28333 . . . . 5  |-  ( ( A  e.  X  /\  ( V  =  { A }  \/  V  =  { A ,  B } ) )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
32expcom 425 . . . 4  |-  ( ( V  =  { A }  \/  V  =  { A ,  B }
)  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h }
) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) )
4 tppreq3 3901 . . . . . . 7  |-  ( B  =  C  ->  { A ,  B ,  C }  =  { A ,  B } )
54eqeq2d 2446 . . . . . 6  |-  ( B  =  C  ->  ( V  =  { A ,  B ,  C }  <->  V  =  { A ,  B } ) )
6 olc 374 . . . . . . . . . 10  |-  ( V  =  { A ,  B }  ->  ( V  =  { A }  \/  V  =  { A ,  B }
) )
76anim1i 552 . . . . . . . . 9  |-  ( ( V  =  { A ,  B }  /\  A  e.  X )  ->  (
( V  =  { A }  \/  V  =  { A ,  B } )  /\  A  e.  X ) )
87ancomd 439 . . . . . . . 8  |-  ( ( V  =  { A ,  B }  /\  A  e.  X )  ->  ( A  e.  X  /\  ( V  =  { A }  \/  V  =  { A ,  B } ) ) )
98, 2syl 16 . . . . . . 7  |-  ( ( V  =  { A ,  B }  /\  A  e.  X )  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
109ex 424 . . . . . 6  |-  ( V  =  { A ,  B }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) )
115, 10syl6bi 220 . . . . 5  |-  ( B  =  C  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) ) )
12 tpprceq3 3930 . . . . . . . 8  |-  ( -.  ( B  e.  _V  /\  B  =/=  A )  ->  { C ,  A ,  B }  =  { C ,  A } )
13 tprot 3891 . . . . . . . . . . . . 13  |-  { C ,  A ,  B }  =  { A ,  B ,  C }
1413eqeq1i 2442 . . . . . . . . . . . 12  |-  ( { C ,  A ,  B }  =  { C ,  A }  <->  { A ,  B ,  C }  =  { C ,  A }
)
1514biimpi 187 . . . . . . . . . . 11  |-  ( { C ,  A ,  B }  =  { C ,  A }  ->  { A ,  B ,  C }  =  { C ,  A }
)
16 prcom 3874 . . . . . . . . . . 11  |-  { C ,  A }  =  { A ,  C }
1715, 16syl6eq 2483 . . . . . . . . . 10  |-  ( { C ,  A ,  B }  =  { C ,  A }  ->  { A ,  B ,  C }  =  { A ,  C }
)
1817eqeq2d 2446 . . . . . . . . 9  |-  ( { C ,  A ,  B }  =  { C ,  A }  ->  ( V  =  { A ,  B ,  C }  <->  V  =  { A ,  C }
) )
19 olc 374 . . . . . . . . . . 11  |-  ( V  =  { A ,  C }  ->  ( V  =  { A }  \/  V  =  { A ,  C }
) )
20 1to2vfriswmgra 28333 . . . . . . . . . . 11  |-  ( ( A  e.  X  /\  ( V  =  { A }  \/  V  =  { A ,  C } ) )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
2119, 20sylan2 461 . . . . . . . . . 10  |-  ( ( A  e.  X  /\  V  =  { A ,  C } )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
2221expcom 425 . . . . . . . . 9  |-  ( V  =  { A ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) )
2318, 22syl6bi 220 . . . . . . . 8  |-  ( { C ,  A ,  B }  =  { C ,  A }  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) )
2412, 23syl 16 . . . . . . 7  |-  ( -.  ( B  e.  _V  /\  B  =/=  A )  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) )
2524a1d 23 . . . . . 6  |-  ( -.  ( B  e.  _V  /\  B  =/=  A )  ->  ( B  =/= 
C  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) ) )
26 tpprceq3 3930 . . . . . . . 8  |-  ( -.  ( C  e.  _V  /\  C  =/=  A )  ->  { B ,  A ,  C }  =  { B ,  A } )
27 tpcoma 3892 . . . . . . . . . . . . 13  |-  { B ,  A ,  C }  =  { A ,  B ,  C }
2827eqeq1i 2442 . . . . . . . . . . . 12  |-  ( { B ,  A ,  C }  =  { B ,  A }  <->  { A ,  B ,  C }  =  { B ,  A }
)
2928biimpi 187 . . . . . . . . . . 11  |-  ( { B ,  A ,  C }  =  { B ,  A }  ->  { A ,  B ,  C }  =  { B ,  A }
)
30 prcom 3874 . . . . . . . . . . 11  |-  { B ,  A }  =  { A ,  B }
3129, 30syl6eq 2483 . . . . . . . . . 10  |-  ( { B ,  A ,  C }  =  { B ,  A }  ->  { A ,  B ,  C }  =  { A ,  B }
)
3231eqeq2d 2446 . . . . . . . . 9  |-  ( { B ,  A ,  C }  =  { B ,  A }  ->  ( V  =  { A ,  B ,  C }  <->  V  =  { A ,  B }
) )
336, 2sylan2 461 . . . . . . . . . . 11  |-  ( ( A  e.  X  /\  V  =  { A ,  B } )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
3433expcom 425 . . . . . . . . . 10  |-  ( V  =  { A ,  B }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) )
3534a1d 23 . . . . . . . . 9  |-  ( V  =  { A ,  B }  ->  ( B  =/=  C  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) )
3632, 35syl6bi 220 . . . . . . . 8  |-  ( { B ,  A ,  C }  =  { B ,  A }  ->  ( V  =  { A ,  B ,  C }  ->  ( B  =/=  C  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) ) )
3726, 36syl 16 . . . . . . 7  |-  ( -.  ( C  e.  _V  /\  C  =/=  A )  ->  ( V  =  { A ,  B ,  C }  ->  ( B  =/=  C  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) ) )
3837com23 74 . . . . . 6  |-  ( -.  ( C  e.  _V  /\  C  =/=  A )  ->  ( B  =/= 
C  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) ) ) )
39 simpl 444 . . . . . . . . . . . . 13  |-  ( ( B  e.  _V  /\  B  =/=  A )  ->  B  e.  _V )
40 simpl 444 . . . . . . . . . . . . 13  |-  ( ( C  e.  _V  /\  C  =/=  A )  ->  C  e.  _V )
4139, 40anim12i 550 . . . . . . . . . . . 12  |-  ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e. 
_V  /\  C  =/=  A ) )  ->  ( B  e.  _V  /\  C  e.  _V ) )
4241ad2antrr 707 . . . . . . . . . . 11  |-  ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/=  C )  /\  V  =  { A ,  B ,  C }
)  ->  ( B  e.  _V  /\  C  e. 
_V ) )
4342anim1i 552 . . . . . . . . . 10  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  ( ( B  e. 
_V  /\  C  e.  _V )  /\  A  e.  X ) )
4443ancomd 439 . . . . . . . . 9  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  ( A  e.  X  /\  ( B  e.  _V  /\  C  e.  _V )
) )
45 3anass 940 . . . . . . . . 9  |-  ( ( A  e.  X  /\  B  e.  _V  /\  C  e.  _V )  <->  ( A  e.  X  /\  ( B  e.  _V  /\  C  e.  _V ) ) )
4644, 45sylibr 204 . . . . . . . 8  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  ( A  e.  X  /\  B  e.  _V  /\  C  e.  _V )
)
47 simpr 448 . . . . . . . . . . . . 13  |-  ( ( B  e.  _V  /\  B  =/=  A )  ->  B  =/=  A )
4847necomd 2681 . . . . . . . . . . . 12  |-  ( ( B  e.  _V  /\  B  =/=  A )  ->  A  =/=  B )
49 simpr 448 . . . . . . . . . . . . 13  |-  ( ( C  e.  _V  /\  C  =/=  A )  ->  C  =/=  A )
5049necomd 2681 . . . . . . . . . . . 12  |-  ( ( C  e.  _V  /\  C  =/=  A )  ->  A  =/=  C )
5148, 50anim12i 550 . . . . . . . . . . 11  |-  ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e. 
_V  /\  C  =/=  A ) )  ->  ( A  =/=  B  /\  A  =/=  C ) )
5251anim1i 552 . . . . . . . . . 10  |-  ( ( ( ( B  e. 
_V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/=  C )  -> 
( ( A  =/= 
B  /\  A  =/=  C )  /\  B  =/= 
C ) )
53 df-3an 938 . . . . . . . . . 10  |-  ( ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C )  <->  ( ( A  =/=  B  /\  A  =/=  C )  /\  B  =/=  C ) )
5452, 53sylibr 204 . . . . . . . . 9  |-  ( ( ( ( B  e. 
_V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/=  C )  -> 
( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )
5554ad2antrr 707 . . . . . . . 8  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )
56 simplr 732 . . . . . . . 8  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  V  =  { A ,  B ,  C }
)
57 3vfriswmgra 28332 . . . . . . . 8  |-  ( ( ( A  e.  X  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
)  /\  V  =  { A ,  B ,  C } )  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
5846, 55, 56, 57syl3anc 1184 . . . . . . 7  |-  ( ( ( ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e.  _V  /\  C  =/=  A ) )  /\  B  =/= 
C )  /\  V  =  { A ,  B ,  C } )  /\  A  e.  X )  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) )
5958exp41 594 . . . . . 6  |-  ( ( ( B  e.  _V  /\  B  =/=  A )  /\  ( C  e. 
_V  /\  C  =/=  A ) )  ->  ( B  =/=  C  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) ) ) )
6025, 38, 59ecase 909 . . . . 5  |-  ( B  =/=  C  ->  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) ) )
6111, 60pm2.61ine 2674 . . . 4  |-  ( V  =  { A ,  B ,  C }  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) )
623, 61jaoi 369 . . 3  |-  ( ( ( V  =  { A }  \/  V  =  { A ,  B } )  \/  V  =  { A ,  B ,  C } )  -> 
( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  { h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  {
h } ) { v ,  w }  e.  ran  E ) ) ) )
631, 62sylbi 188 . 2  |-  ( ( V  =  { A }  \/  V  =  { A ,  B }  \/  V  =  { A ,  B ,  C } )  ->  ( A  e.  X  ->  ( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) ) )
6463impcom 420 1  |-  ( ( A  e.  X  /\  ( V  =  { A }  \/  V  =  { A ,  B }  \/  V  =  { A ,  B ,  C } ) )  -> 
( V FriendGrph  E  ->  E. h  e.  V  A. v  e.  ( V  \  {
h } ) ( { v ,  h }  e.  ran  E  /\  E! w  e.  ( V  \  { h }
) { v ,  w }  e.  ran  E ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    \/ wo 358    /\ wa 359    \/ w3o 935    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   A.wral 2697   E.wrex 2698   E!wreu 2699   _Vcvv 2948    \ cdif 3309   {csn 3806   {cpr 3807   {ctp 3808   class class class wbr 4204   ran crn 4871   FriendGrph cfrgra 28315
This theorem is referenced by:  1to3vfriendship  28335
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-undef 6535  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-oadd 6720  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-card 7818  df-cda 8040  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-nn 9993  df-2 10050  df-n0 10214  df-z 10275  df-uz 10481  df-fz 11036  df-hash 11611  df-usgra 21359  df-frgra 28316
  Copyright terms: Public domain W3C validator