Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  2pthfrgrrn Structured version   Visualization version   GIF version

Theorem 2pthfrgrrn 41452
Description: Between any two (different) vertices in a friendship graph is a 2-path (path of length 2), see Proposition 1(b) of [MertziosUnger] p. 153 : "A friendship graph G ..., as well as the distance between any two nodes in G is at most two". (Contributed by Alexander van der Vekens, 15-Nov-2017.) (Revised by AV, 1-Apr-2021.)
Hypotheses
Ref Expression
2pthfrgrrn.v 𝑉 = (Vtx‘𝐺)
2pthfrgrrn.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
2pthfrgrrn (𝐺 ∈ FriendGraph → ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
Distinct variable groups:   𝐺,𝑎,𝑏,𝑐   𝑉,𝑎,𝑏,𝑐
Allowed substitution hints:   𝐸(𝑎,𝑏,𝑐)

Proof of Theorem 2pthfrgrrn
StepHypRef Expression
1 2pthfrgrrn.v . . 3 𝑉 = (Vtx‘𝐺)
2 2pthfrgrrn.e . . 3 𝐸 = (Edg‘𝐺)
31, 2frgrusgrfrcond 41431 . 2 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸))
4 reurex 3137 . . . . . 6 (∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸)
5 prcom 4211 . . . . . . . . . 10 {𝑎, 𝑏} = {𝑏, 𝑎}
65eleq1i 2679 . . . . . . . . 9 ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑏, 𝑎} ∈ 𝐸)
76anbi1i 727 . . . . . . . 8 (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ ({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
8 zfpair2 4834 . . . . . . . . 9 {𝑏, 𝑎} ∈ V
9 zfpair2 4834 . . . . . . . . 9 {𝑏, 𝑐} ∈ V
108, 9prss 4291 . . . . . . . 8 (({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸)
117, 10sylbbr 225 . . . . . . 7 ({{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
1211reximi 2994 . . . . . 6 (∃𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
134, 12syl 17 . . . . 5 (∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
1413a1i 11 . . . 4 ((𝐺 ∈ USGraph ∧ (𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎}))) → (∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)))
1514ralimdvva 2947 . . 3 (𝐺 ∈ USGraph → (∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)))
1615imp 444 . 2 ((𝐺 ∈ USGraph ∧ ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) → ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
173, 16sylbi 206 1 (𝐺 ∈ FriendGraph → ∀𝑎𝑉𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  ∃!wreu 2898  cdif 3537  wss 3540  {csn 4125  {cpr 4127  cfv 5804  Vtxcvtx 25673  Edgcedga 25792   USGraph cusgr 40379   FriendGraph cfrgr 41428
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-iota 5768  df-fv 5812  df-frgr 41429
This theorem is referenced by:  2pthfrgrrn2  41453  3cyclfrgrrn1  41455
  Copyright terms: Public domain W3C validator