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

Theorem frcond2 27973
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 27972 . 2 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑏𝑉 {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸))
4 prex 5323 . . . . 5 {𝐴, 𝑏} ∈ V
5 prex 5323 . . . . 5 {𝑏, 𝐶} ∈ V
64, 5prss 4745 . . . 4 (({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸) ↔ {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸)
76bicomi 225 . . 3 ({{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸 ↔ ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸))
87reubii 3389 . 2 (∃!𝑏𝑉 {{𝐴, 𝑏}, {𝑏, 𝐶}} ⊆ 𝐸 ↔ ∃!𝑏𝑉 ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸))
93, 8syl6ib 252 1 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑏𝑉 ({𝐴, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝐶} ∈ 𝐸)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1079   = wceq 1528  wcel 2105  wne 3013  ∃!wreu 3137  wss 3933  {cpr 4559  cfv 6348  Vtxcvtx 26708  Edgcedg 26759   FriendGraph cfrgr 27964
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-iota 6307  df-fv 6356  df-frgr 27965
This theorem is referenced by:  frgreu  27974  frgrncvvdeqlem9  28013  frgr2wwlkeu  28033  numclwwlk2lem1  28082
  Copyright terms: Public domain W3C validator