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

Theorem 4cycl2vnunb 25824
Description: In a 4-cycle, two distinct vertices have not a unique common neighbor. (Contributed by Alexander van der Vekens, 19-Nov-2017.)
Assertion
Ref Expression
4cycl2vnunb  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D
) )  ->  -.  E! x  e.  V  { { A ,  x } ,  { x ,  C } }  C_  ran  E )
Distinct variable groups:    x, A    x, B    x, C    x, E    x, V
Allowed substitution hint:    D( x)

Proof of Theorem 4cycl2vnunb
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 4cycl2v2nb 25823 . 2  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  ->  ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E ) )
2 preq2 4043 . . . . . . . . . . . . . . . 16  |-  ( x  =  B  ->  { A ,  x }  =  { A ,  B }
)
3 preq1 4042 . . . . . . . . . . . . . . . 16  |-  ( x  =  B  ->  { x ,  C }  =  { B ,  C }
)
42, 3preq12d 4050 . . . . . . . . . . . . . . 15  |-  ( x  =  B  ->  { { A ,  x } ,  { x ,  C } }  =  { { A ,  B } ,  { B ,  C } } )
54sseq1d 3445 . . . . . . . . . . . . . 14  |-  ( x  =  B  ->  ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  <->  { { A ,  B } ,  { B ,  C } }  C_  ran  E ) )
65anbi1d 719 . . . . . . . . . . . . 13  |-  ( x  =  B  ->  (
( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  <->  ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E ) ) )
7 neeq1 2705 . . . . . . . . . . . . 13  |-  ( x  =  B  ->  (
x  =/=  y  <->  B  =/=  y ) )
86, 7anbi12d 725 . . . . . . . . . . . 12  |-  ( x  =  B  ->  (
( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
)  <->  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  B  =/=  y ) ) )
9 preq2 4043 . . . . . . . . . . . . . . . 16  |-  ( y  =  D  ->  { A ,  y }  =  { A ,  D }
)
10 preq1 4042 . . . . . . . . . . . . . . . 16  |-  ( y  =  D  ->  { y ,  C }  =  { D ,  C }
)
119, 10preq12d 4050 . . . . . . . . . . . . . . 15  |-  ( y  =  D  ->  { { A ,  y } ,  { y ,  C } }  =  { { A ,  D } ,  { D ,  C } } )
1211sseq1d 3445 . . . . . . . . . . . . . 14  |-  ( y  =  D  ->  ( { { A ,  y } ,  { y ,  C } }  C_ 
ran  E  <->  { { A ,  D } ,  { D ,  C } }  C_  ran  E ) )
1312anbi2d 718 . . . . . . . . . . . . 13  |-  ( y  =  D  ->  (
( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  <->  ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E ) ) )
14 neeq2 2706 . . . . . . . . . . . . 13  |-  ( y  =  D  ->  ( B  =/=  y  <->  B  =/=  D ) )
1513, 14anbi12d 725 . . . . . . . . . . . 12  |-  ( y  =  D  ->  (
( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  B  =/=  y
)  <->  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E
)  /\  B  =/=  D ) ) )
168, 15rspc2ev 3149 . . . . . . . . . . 11  |-  ( ( B  e.  V  /\  D  e.  V  /\  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  B  =/=  D ) )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) )
17163expa 1231 . . . . . . . . . 10  |-  ( ( ( B  e.  V  /\  D  e.  V
)  /\  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E
)  /\  B  =/=  D ) )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) )
1817expcom 442 . . . . . . . . 9  |-  ( ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  B  =/=  D )  ->  (
( B  e.  V  /\  D  e.  V
)  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) ) )
1918ex 441 . . . . . . . 8  |-  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E
)  ->  ( B  =/=  D  ->  ( ( B  e.  V  /\  D  e.  V )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) ) ) )
2019com13 82 . . . . . . 7  |-  ( ( B  e.  V  /\  D  e.  V )  ->  ( B  =/=  D  ->  ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) ) ) )
21203impia 1228 . . . . . 6  |-  ( ( B  e.  V  /\  D  e.  V  /\  B  =/=  D )  -> 
( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) ) )
2221impcom 437 . . . . 5  |-  ( ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D ) )  ->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) )
23 rexnal 2836 . . . . . 6  |-  ( E. x  e.  V  -.  A. y  e.  V  ( ( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  ->  x  =  y )  <->  -. 
A. x  e.  V  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y ) )
24 rexnal 2836 . . . . . . . 8  |-  ( E. y  e.  V  -.  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y )  <->  -.  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  ->  x  =  y ) )
25 annim 432 . . . . . . . . . 10  |-  ( ( ( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  /\  -.  x  =  y
)  <->  -.  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  ->  x  =  y ) )
26 df-ne 2643 . . . . . . . . . . . 12  |-  ( x  =/=  y  <->  -.  x  =  y )
2726bicomi 207 . . . . . . . . . . 11  |-  ( -.  x  =  y  <->  x  =/=  y )
2827anbi2i 708 . . . . . . . . . 10  |-  ( ( ( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  /\  -.  x  =  y
)  <->  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) )
2925, 28bitr3i 259 . . . . . . . . 9  |-  ( -.  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y )  <->  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  /\  x  =/=  y ) )
3029rexbii 2881 . . . . . . . 8  |-  ( E. y  e.  V  -.  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y )  <->  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) )
3124, 30bitr3i 259 . . . . . . 7  |-  ( -. 
A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y )  <->  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) )
3231rexbii 2881 . . . . . 6  |-  ( E. x  e.  V  -.  A. y  e.  V  ( ( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  ->  x  =  y )  <->  E. x  e.  V  E. y  e.  V  (
( { { A ,  x } ,  {
x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_ 
ran  E )  /\  x  =/=  y ) )
3323, 32bitr3i 259 . . . . 5  |-  ( -. 
A. x  e.  V  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y )  <->  E. x  e.  V  E. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  /\  x  =/=  y
) )
3422, 33sylibr 217 . . . 4  |-  ( ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D ) )  ->  -.  A. x  e.  V  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  ->  x  =  y ) )
3534intnand 930 . . 3  |-  ( ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D ) )  ->  -.  ( E. x  e.  V  { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  A. x  e.  V  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A , 
y } ,  {
y ,  C } }  C_  ran  E )  ->  x  =  y ) ) )
36 preq2 4043 . . . . . 6  |-  ( x  =  y  ->  { A ,  x }  =  { A ,  y }
)
37 preq1 4042 . . . . . 6  |-  ( x  =  y  ->  { x ,  C }  =  {
y ,  C }
)
3836, 37preq12d 4050 . . . . 5  |-  ( x  =  y  ->  { { A ,  x } ,  { x ,  C } }  =  { { A ,  y } ,  { y ,  C } } )
3938sseq1d 3445 . . . 4  |-  ( x  =  y  ->  ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  <->  { { A , 
y } ,  {
y ,  C } }  C_  ran  E ) )
4039reu4 3220 . . 3  |-  ( E! x  e.  V  { { A ,  x } ,  { x ,  C } }  C_  ran  E  <->  ( E. x  e.  V  { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  A. x  e.  V  A. y  e.  V  ( ( { { A ,  x } ,  { x ,  C } }  C_  ran  E  /\  { { A ,  y } ,  { y ,  C } }  C_  ran  E
)  ->  x  =  y ) ) )
4135, 40sylnibr 312 . 2  |-  ( ( ( { { A ,  B } ,  { B ,  C } }  C_  ran  E  /\  { { A ,  D } ,  { D ,  C } }  C_  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D ) )  ->  -.  E! x  e.  V  { { A ,  x } ,  {
x ,  C } }  C_  ran  E )
421, 41stoic3 1668 1  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E )  /\  ( B  e.  V  /\  D  e.  V  /\  B  =/=  D
) )  ->  -.  E! x  e.  V  { { A ,  x } ,  { x ,  C } }  C_  ran  E )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 376    /\ w3a 1007    = wceq 1452    e. wcel 1904    =/= wne 2641   A.wral 2756   E.wrex 2757   E!wreu 2758    C_ wss 3390   {cpr 3961   ran crn 4840
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1677  ax-4 1690  ax-5 1766  ax-6 1813  ax-7 1859  ax-10 1932  ax-11 1937  ax-12 1950  ax-13 2104  ax-ext 2451
This theorem depends on definitions:  df-bi 190  df-or 377  df-an 378  df-3an 1009  df-tru 1455  df-ex 1672  df-nf 1676  df-sb 1806  df-eu 2323  df-mo 2324  df-clab 2458  df-cleq 2464  df-clel 2467  df-nfc 2601  df-ne 2643  df-ral 2761  df-rex 2762  df-reu 2763  df-rmo 2764  df-v 3033  df-un 3395  df-in 3397  df-ss 3404  df-sn 3960  df-pr 3962
This theorem is referenced by:  n4cyclfrgra  25825  4cyclusnfrgra  25826
  Copyright terms: Public domain W3C validator