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 28624 | . 2 ⊢ (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸)) |
4 | reurex 3362 | . . . . . 6 ⊢ (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) | |
5 | prcom 4668 | . . . . . . . . . 10 ⊢ {𝑎, 𝑏} = {𝑏, 𝑎} | |
6 | 5 | eleq1i 2829 | . . . . . . . . 9 ⊢ ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑏, 𝑎} ∈ 𝐸) |
7 | 6 | anbi1i 624 | . . . . . . . 8 ⊢ (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ ({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
8 | zfpair2 5353 | . . . . . . . . 9 ⊢ {𝑏, 𝑎} ∈ V | |
9 | zfpair2 5353 | . . . . . . . . 9 ⊢ {𝑏, 𝑐} ∈ V | |
10 | 8, 9 | prss 4753 | . . . . . . . 8 ⊢ (({𝑏, 𝑎} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸) ↔ {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) |
11 | 7, 10 | sylbbr 235 | . . . . . . 7 ⊢ ({{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
12 | 11 | reximi 3178 | . . . . . 6 ⊢ (∃𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
13 | 4, 12 | syl 17 | . . . . 5 ⊢ (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
14 | 13 | a1i 11 | . . . 4 ⊢ ((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝑉 ∧ 𝑐 ∈ (𝑉 ∖ {𝑎}))) → (∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))) |
15 | 14 | ralimdvva 3126 | . . 3 ⊢ (𝐺 ∈ USGraph → (∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸 → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸))) |
16 | 15 | imp 407 | . 2 ⊢ ((𝐺 ∈ USGraph ∧ ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃!𝑏 ∈ 𝑉 {{𝑏, 𝑎}, {𝑏, 𝑐}} ⊆ 𝐸) → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
17 | 3, 16 | sylbi 216 | 1 ⊢ (𝐺 ∈ FriendGraph → ∀𝑎 ∈ 𝑉 ∀𝑐 ∈ (𝑉 ∖ {𝑎})∃𝑏 ∈ 𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1539 ∈ wcel 2106 ∀wral 3064 ∃wrex 3065 ∃!wreu 3066 ∖ cdif 3884 ⊆ wss 3887 {csn 4561 {cpr 4563 ‘cfv 6433 Vtxcvtx 27366 Edgcedg 27417 USGraphcusgr 27519 FriendGraph cfrgr 28622 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 ax-sep 5223 ax-nul 5230 ax-pr 5352 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-ral 3069 df-rex 3070 df-rmo 3071 df-reu 3072 df-rab 3073 df-v 3434 df-sbc 3717 df-dif 3890 df-un 3892 df-in 3894 df-ss 3904 df-nul 4257 df-if 4460 df-sn 4562 df-pr 4564 df-op 4568 df-uni 4840 df-br 5075 df-iota 6391 df-fv 6441 df-frgr 28623 |
This theorem is referenced by: 2pthfrgrrn2 28647 3cyclfrgrrn1 28649 |
Copyright terms: Public domain | W3C validator |