MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-frgr Structured version   Visualization version   Unicode version

Definition df-frgr 27121
Description: Define the class of all friendship graphs: a simple graph is called a friendship graph if every pair of its vertices has exactly one common neighbor. This condition is called the friendship condition , see definition in [MertziosUnger] p. 152. (Contributed by Alexander van der Vekens and Mario Carneiro, 2-Oct-2017.) (Revised by AV, 29-Mar-2021.)
Assertion
Ref Expression
df-frgr  |- FriendGraph  =  {
g  |  ( g  e. USGraph  /\  [. (Vtx `  g )  /  v ]. [. (Edg `  g
)  /  e ]. A. k  e.  v  A. l  e.  (
v  \  { k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
) }
Distinct variable group:    e, g, k, l, x, v

Detailed syntax breakdown of Definition df-frgr
StepHypRef Expression
1 cfrgr 27120 . 2  class FriendGraph
2 vg . . . . . 6  setvar  g
32cv 1482 . . . . 5  class  g
4 cusgr 26044 . . . . 5  class USGraph
53, 4wcel 1990 . . . 4  wff  g  e. USGraph
6 vx . . . . . . . . . . . . 13  setvar  x
76cv 1482 . . . . . . . . . . . 12  class  x
8 vk . . . . . . . . . . . . 13  setvar  k
98cv 1482 . . . . . . . . . . . 12  class  k
107, 9cpr 4179 . . . . . . . . . . 11  class  { x ,  k }
11 vl . . . . . . . . . . . . 13  setvar  l
1211cv 1482 . . . . . . . . . . . 12  class  l
137, 12cpr 4179 . . . . . . . . . . 11  class  { x ,  l }
1410, 13cpr 4179 . . . . . . . . . 10  class  { {
x ,  k } ,  { x ,  l } }
15 ve . . . . . . . . . . 11  setvar  e
1615cv 1482 . . . . . . . . . 10  class  e
1714, 16wss 3574 . . . . . . . . 9  wff  { {
x ,  k } ,  { x ,  l } }  C_  e
18 vv . . . . . . . . . 10  setvar  v
1918cv 1482 . . . . . . . . 9  class  v
2017, 6, 19wreu 2914 . . . . . . . 8  wff  E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
219csn 4177 . . . . . . . . 9  class  { k }
2219, 21cdif 3571 . . . . . . . 8  class  ( v 
\  { k } )
2320, 11, 22wral 2912 . . . . . . 7  wff  A. l  e.  ( v  \  {
k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
2423, 8, 19wral 2912 . . . . . 6  wff  A. k  e.  v  A. l  e.  ( v  \  {
k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
25 cedg 25939 . . . . . . 7  class Edg
263, 25cfv 5888 . . . . . 6  class  (Edg `  g )
2724, 15, 26wsbc 3435 . . . . 5  wff  [. (Edg `  g )  /  e ]. A. k  e.  v 
A. l  e.  ( v  \  { k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
28 cvtx 25874 . . . . . 6  class Vtx
293, 28cfv 5888 . . . . 5  class  (Vtx `  g )
3027, 18, 29wsbc 3435 . . . 4  wff  [. (Vtx `  g )  /  v ]. [. (Edg `  g
)  /  e ]. A. k  e.  v  A. l  e.  (
v  \  { k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
315, 30wa 384 . . 3  wff  ( g  e. USGraph  /\  [. (Vtx `  g )  /  v ]. [. (Edg `  g
)  /  e ]. A. k  e.  v  A. l  e.  (
v  \  { k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
)
3231, 2cab 2608 . 2  class  { g  |  ( g  e. USGraph  /\  [. (Vtx `  g
)  /  v ]. [. (Edg `  g )  /  e ]. A. k  e.  v  A. l  e.  ( v  \  { k } ) E! x  e.  v  { { x ,  k } ,  {
x ,  l } }  C_  e ) }
331, 32wceq 1483 1  wff FriendGraph  =  {
g  |  ( g  e. USGraph  /\  [. (Vtx `  g )  /  v ]. [. (Edg `  g
)  /  e ]. A. k  e.  v  A. l  e.  (
v  \  { k } ) E! x  e.  v  { { x ,  k } ,  { x ,  l } }  C_  e
) }
Colors of variables: wff setvar class
This definition is referenced by:  isfrgr  27122
  Copyright terms: Public domain W3C validator