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

Definition df-frgr 28032
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.) (Revised by AV, 3-Jan-2024.)
Assertion
Ref Expression
df-frgr FriendGraph = {𝑔 ∈ USGraph ∣ [(Vtx‘𝑔) / 𝑣][(Edg‘𝑔) / 𝑒]𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒}
Distinct variable group:   𝑒,𝑔,𝑘,𝑙,𝑥,𝑣

Detailed syntax breakdown of Definition df-frgr
StepHypRef Expression
1 cfrgr 28031 . 2 class FriendGraph
2 vx . . . . . . . . . . . 12 setvar 𝑥
32cv 1532 . . . . . . . . . . 11 class 𝑥
4 vk . . . . . . . . . . . 12 setvar 𝑘
54cv 1532 . . . . . . . . . . 11 class 𝑘
63, 5cpr 4562 . . . . . . . . . 10 class {𝑥, 𝑘}
7 vl . . . . . . . . . . . 12 setvar 𝑙
87cv 1532 . . . . . . . . . . 11 class 𝑙
93, 8cpr 4562 . . . . . . . . . 10 class {𝑥, 𝑙}
106, 9cpr 4562 . . . . . . . . 9 class {{𝑥, 𝑘}, {𝑥, 𝑙}}
11 ve . . . . . . . . . 10 setvar 𝑒
1211cv 1532 . . . . . . . . 9 class 𝑒
1310, 12wss 3935 . . . . . . . 8 wff {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
14 vv . . . . . . . . 9 setvar 𝑣
1514cv 1532 . . . . . . . 8 class 𝑣
1613, 2, 15wreu 3140 . . . . . . 7 wff ∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
175csn 4560 . . . . . . . 8 class {𝑘}
1815, 17cdif 3932 . . . . . . 7 class (𝑣 ∖ {𝑘})
1916, 7, 18wral 3138 . . . . . 6 wff 𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
2019, 4, 15wral 3138 . . . . 5 wff 𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
21 vg . . . . . . 7 setvar 𝑔
2221cv 1532 . . . . . 6 class 𝑔
23 cedg 26826 . . . . . 6 class Edg
2422, 23cfv 6349 . . . . 5 class (Edg‘𝑔)
2520, 11, 24wsbc 3771 . . . 4 wff [(Edg‘𝑔) / 𝑒]𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
26 cvtx 26775 . . . . 5 class Vtx
2722, 26cfv 6349 . . . 4 class (Vtx‘𝑔)
2825, 14, 27wsbc 3771 . . 3 wff [(Vtx‘𝑔) / 𝑣][(Edg‘𝑔) / 𝑒]𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒
29 cusgr 26928 . . 3 class USGraph
3028, 21, 29crab 3142 . 2 class {𝑔 ∈ USGraph ∣ [(Vtx‘𝑔) / 𝑣][(Edg‘𝑔) / 𝑒]𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒}
311, 30wceq 1533 1 wff FriendGraph = {𝑔 ∈ USGraph ∣ [(Vtx‘𝑔) / 𝑣][(Edg‘𝑔) / 𝑒]𝑘𝑣𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒}
Colors of variables: wff setvar class
This definition is referenced by:  isfrgr  28033
  Copyright terms: Public domain W3C validator