Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > frgr2wwlkeu | Structured version Visualization version GIF version |
Description: For two different vertices in a friendship graph, there is exactly one third vertex being the middle vertex of a (simple) path/walk of length 2 between the two vertices. (Contributed by Alexander van der Vekens, 18-Feb-2018.) (Revised by AV, 12-May-2021.) (Proof shortened by AV, 4-Jan-2022.) |
Ref | Expression |
---|---|
frgr2wwlkeu.v | ⊢ 𝑉 = (Vtx‘𝐺) |
Ref | Expression |
---|---|
frgr2wwlkeu | ⊢ ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵) → ∃!𝑐 ∈ 𝑉 〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-3an 1091 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐴 ≠ 𝐵) ↔ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵)) | |
2 | frgr2wwlkeu.v | . . . . 5 ⊢ 𝑉 = (Vtx‘𝐺) | |
3 | eqid 2734 | . . . . 5 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
4 | 2, 3 | frcond2 28322 | . . . 4 ⊢ (𝐺 ∈ FriendGraph → ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐴 ≠ 𝐵) → ∃!𝑐 ∈ 𝑉 ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
5 | 1, 4 | syl5bir 246 | . . 3 ⊢ (𝐺 ∈ FriendGraph → (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵) → ∃!𝑐 ∈ 𝑉 ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
6 | 5 | 3impib 1118 | . 2 ⊢ ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵) → ∃!𝑐 ∈ 𝑉 ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺))) |
7 | frgrusgr 28316 | . . . . . 6 ⊢ (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph) | |
8 | usgrumgr 27242 | . . . . . 6 ⊢ (𝐺 ∈ USGraph → 𝐺 ∈ UMGraph) | |
9 | 3anan32 1099 | . . . . . . 7 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ↔ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝑐 ∈ 𝑉)) | |
10 | 2, 3 | umgrwwlks2on 28013 | . . . . . . . 8 ⊢ ((𝐺 ∈ UMGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉)) → (〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
11 | 10 | ex 416 | . . . . . . 7 ⊢ (𝐺 ∈ UMGraph → ((𝐴 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) → (〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺))))) |
12 | 9, 11 | syl5bir 246 | . . . . . 6 ⊢ (𝐺 ∈ UMGraph → (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝑐 ∈ 𝑉) → (〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺))))) |
13 | 7, 8, 12 | 3syl 18 | . . . . 5 ⊢ (𝐺 ∈ FriendGraph → (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝑐 ∈ 𝑉) → (〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺))))) |
14 | 13 | impl 459 | . . . 4 ⊢ (((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉)) ∧ 𝑐 ∈ 𝑉) → (〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
15 | 14 | reubidva 3293 | . . 3 ⊢ ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉)) → (∃!𝑐 ∈ 𝑉 〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ∃!𝑐 ∈ 𝑉 ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
16 | 15 | 3adant3 1134 | . 2 ⊢ ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵) → (∃!𝑐 ∈ 𝑉 〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ∃!𝑐 ∈ 𝑉 ({𝐴, 𝑐} ∈ (Edg‘𝐺) ∧ {𝑐, 𝐵} ∈ (Edg‘𝐺)))) |
17 | 6, 16 | mpbird 260 | 1 ⊢ ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ 𝐴 ≠ 𝐵) → ∃!𝑐 ∈ 𝑉 〈“𝐴𝑐𝐵”〉 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 ∧ w3a 1089 = wceq 1543 ∈ wcel 2110 ≠ wne 2935 ∃!wreu 3056 {cpr 4533 ‘cfv 6369 (class class class)co 7202 2c2 11868 〈“cs3 14390 Vtxcvtx 27059 Edgcedg 27110 UMGraphcumgr 27144 USGraphcusgr 27212 WWalksNOn cwwlksnon 27883 FriendGraph cfrgr 28313 |
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 2706 ax-rep 5168 ax-sep 5181 ax-nul 5188 ax-pow 5247 ax-pr 5311 ax-un 7512 ax-ac2 10060 ax-cnex 10768 ax-resscn 10769 ax-1cn 10770 ax-icn 10771 ax-addcl 10772 ax-addrcl 10773 ax-mulcl 10774 ax-mulrcl 10775 ax-mulcom 10776 ax-addass 10777 ax-mulass 10778 ax-distr 10779 ax-i2m1 10780 ax-1ne0 10781 ax-1rid 10782 ax-rnegex 10783 ax-rrecex 10784 ax-cnre 10785 ax-pre-lttri 10786 ax-pre-lttrn 10787 ax-pre-ltadd 10788 ax-pre-mulgt0 10789 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-ifp 1064 df-3or 1090 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2537 df-eu 2566 df-clab 2713 df-cleq 2726 df-clel 2812 df-nfc 2882 df-ne 2936 df-nel 3040 df-ral 3059 df-rex 3060 df-reu 3061 df-rmo 3062 df-rab 3063 df-v 3403 df-sbc 3688 df-csb 3803 df-dif 3860 df-un 3862 df-in 3864 df-ss 3874 df-pss 3876 df-nul 4228 df-if 4430 df-pw 4505 df-sn 4532 df-pr 4534 df-tp 4536 df-op 4538 df-uni 4810 df-int 4850 df-iun 4896 df-br 5044 df-opab 5106 df-mpt 5125 df-tr 5151 df-id 5444 df-eprel 5449 df-po 5457 df-so 5458 df-fr 5498 df-se 5499 df-we 5500 df-xp 5546 df-rel 5547 df-cnv 5548 df-co 5549 df-dm 5550 df-rn 5551 df-res 5552 df-ima 5553 df-pred 6149 df-ord 6205 df-on 6206 df-lim 6207 df-suc 6208 df-iota 6327 df-fun 6371 df-fn 6372 df-f 6373 df-f1 6374 df-fo 6375 df-f1o 6376 df-fv 6377 df-isom 6378 df-riota 7159 df-ov 7205 df-oprab 7206 df-mpo 7207 df-om 7634 df-1st 7750 df-2nd 7751 df-wrecs 8036 df-recs 8097 df-rdg 8135 df-1o 8191 df-2o 8192 df-oadd 8195 df-er 8380 df-map 8499 df-pm 8500 df-en 8616 df-dom 8617 df-sdom 8618 df-fin 8619 df-dju 9500 df-card 9538 df-ac 9713 df-pnf 10852 df-mnf 10853 df-xr 10854 df-ltxr 10855 df-le 10856 df-sub 11047 df-neg 11048 df-nn 11814 df-2 11876 df-3 11877 df-n0 12074 df-xnn0 12146 df-z 12160 df-uz 12422 df-fz 13079 df-fzo 13222 df-hash 13880 df-word 14053 df-concat 14109 df-s1 14136 df-s2 14396 df-s3 14397 df-edg 27111 df-uhgr 27121 df-upgr 27145 df-umgr 27146 df-usgr 27214 df-wlks 27659 df-wwlks 27886 df-wwlksn 27887 df-wwlksnon 27888 df-frgr 28314 |
This theorem is referenced by: frgr2wwlkn0 28383 frgr2wwlk1 28384 frgr2wwlkeqm 28386 |
Copyright terms: Public domain | W3C validator |