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

Theorem frcond2 28058
 Description: The friendship condition: any two (different) vertices in a friendship graph have a unique common neighbor. (Contributed by Alexander van der Vekens, 19-Dec-2017.) (Revised by AV, 29-Mar-2021.)
Hypotheses
Ref Expression
frcond1.v 𝑉 = (Vtx‘𝐺)
frcond1.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
frcond2 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑏𝑉 ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸)))
Distinct variable groups:   𝐴,𝑏   𝐶,𝑏   𝐸,𝑏   𝐺,𝑏   𝑉,𝑏

Proof of Theorem frcond2
StepHypRef Expression
1 frcond1.v . . 3 𝑉 = (Vtx‘𝐺)
2 frcond1.e . . 3 𝐸 = (Edg‘𝐺)
31, 2frcond1 28057 . 2 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑏𝑉 {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸))
4 prex 5320 . . . . 5 {𝐴, 𝑏} ∈ V
5 prex 5320 . . . . 5 {𝑏, 𝐶} ∈ V
64, 5prss 4737 . . . 4 (({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸) ↔ {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸)
76bicomi 227 . . 3 ({{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸 ↔ ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸))
87reubii 3382 . 2 (∃!𝑏𝑉 {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸 ↔ ∃!𝑏𝑉 ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸))
93, 8syl6ib 254 1 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑏𝑉 ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   ∧ w3a 1084   = wceq 1538   ∈ wcel 2115   ≠ wne 3014  ∃!wreu 3135   ⊆ wss 3919  {cpr 4552  ‘cfv 6343  Vtxcvtx 26795  Edgcedg 26846   FriendGraph cfrgr 28049 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pr 5317 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-ral 3138  df-rex 3139  df-reu 3140  df-rab 3142  df-v 3482  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-sn 4551  df-pr 4553  df-op 4557  df-uni 4825  df-br 5053  df-iota 6302  df-fv 6351  df-frgr 28050 This theorem is referenced by:  frgreu  28059  frgrncvvdeqlem9  28098  frgr2wwlkeu  28118  numclwwlk2lem1  28167
 Copyright terms: Public domain W3C validator