Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > 2pthfrgrrn | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
2pthfrgrrn.v | ⊢ 𝑉 = (Vtx‘𝐺) |
2pthfrgrrn.e | ⊢ 𝐸 = (Edg‘𝐺) |
Ref | Expression |
---|---|
2pthfrgrrn | ⊢ (𝐺 ∈ FriendGraph → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2pthfrgrrn.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
2 | 2pthfrgrrn.e | . . 3 ⊢ 𝐸 = (Edg‘𝐺) | |
3 | 1, 2 | isfrgr 28340 | . 2 ⊢ (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸)) |
4 | reurex 3335 | . . . . . 6 ⊢ (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) | |
5 | prcom 4645 | . . . . . . . . . 10 ⊢ {𝑎, 𝑏} = {𝑏, 𝑎} | |
6 | 5 | eleq1i 2828 | . . . . . . . . 9 ⊢ ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑏, 𝑎} ∈ 𝐸) |
7 | 6 | anbi1i 627 | . . . . . . . 8 ⊢ (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ ({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
8 | zfpair2 5320 | . . . . . . . . 9 ⊢ {𝑏, 𝑎} ∈ V | |
9 | zfpair2 5320 | . . . . . . . . 9 ⊢ {𝑏, 𝑐} ∈ V | |
10 | 8, 9 | prss 4730 | . . . . . . . 8 ⊢ (({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) |
11 | 7, 10 | sylbbr 239 | . . . . . . 7 ⊢ ({{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
12 | 11 | reximi 3163 | . . . . . 6 ⊢ (∃𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
13 | 4, 12 | syl 17 | . . . . 5 ⊢ (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
14 | 13 | a1i 11 | . . . 4 ⊢ ((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝑉 ∧ 𝑐 ∈ (𝑉 ∖ {𝑎}))) → (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))) |
15 | 14 | ralimdvva 3099 | . . 3 ⊢ (𝐺 ∈ USGraph → (∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))) |
16 | 15 | imp 410 | . 2 ⊢ ((𝐺 ∈ USGraph ∧ ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
17 | 3, 16 | sylbi 220 | 1 ⊢ (𝐺 ∈ FriendGraph → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 399 = wceq 1543 ∈ wcel 2110 ∀wral 3058 ∃wrex 3059 ∃!wreu 3060 ∖ cdif 3860 ⊆ wss 3863 {csn 4538 {cpr 4540 ‘cfv 6377 Vtxcvtx 27084 Edgcedg 27135 USGraphcusgr 27237 FriendGraph cfrgr 28338 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2708 ax-sep 5189 ax-nul 5196 ax-pr 5319 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2539 df-eu 2568 df-clab 2715 df-cleq 2729 df-clel 2816 df-ral 3063 df-rex 3064 df-reu 3065 df-rmo 3066 df-rab 3067 df-v 3407 df-sbc 3692 df-dif 3866 df-un 3868 df-in 3870 df-ss 3880 df-nul 4235 df-if 4437 df-sn 4539 df-pr 4541 df-op 4545 df-uni 4817 df-br 5051 df-iota 6335 df-fv 6385 df-frgr 28339 |
This theorem is referenced by: 2pthfrgrrn2 28363 3cyclfrgrrn1 28365 |
Copyright terms: Public domain | W3C validator |