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

Theorem frgrwopregbsn 30800
Description: According to statement 5 in [Huneke] p. 2: "If ... B is a singleton, then that singleton is a universal friend". This version of frgrwopreg2 30802 is stricter (claiming that the singleton itself is a universal friend instead of claiming the existence of a universal friend only) and therefore closer to Huneke's statement. This strict variant, however, is not required for the proof of the friendship theorem. (Contributed by AV, 4-Feb-2022.)
Hypotheses
Ref Expression
frgrwopreg.v 𝑉 = (Vtx‘𝐺)
frgrwopreg.d 𝐷 = (VtxDeg‘𝐺)
frgrwopreg.a 𝐴 = {𝑥𝑉 ∣ (𝐷𝑥) = 𝐾}
frgrwopreg.b 𝐵 = (𝑉𝐴)
frgrwopreg.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
frgrwopregbsn ((𝐺 ∈ FriendGraph ∧ 𝑋𝑉𝐵 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸)
Distinct variable groups:   𝑥,𝑉   𝑥,𝐴   𝑥,𝐺   𝑥,𝐾   𝑥,𝐷   𝑥,𝑋   𝑥,𝐵   𝑤,𝐴   𝑤,𝐵   𝑤,𝐺,𝑥   𝑤,𝑉   𝑤,𝑋
Allowed substitution hints:   𝐷(𝑤)   𝐸(𝑥, 𝑤)   𝐾(𝑤)

Proof of Theorem frgrwopregbsn
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 frgrwopreg.v . . . 4 𝑉 = (Vtx‘𝐺)
2 frgrwopreg.d . . . 4 𝐷 = (VtxDeg‘𝐺)
3 frgrwopreg.a . . . 4 𝐴 = {𝑥𝑉 ∣ (𝐷𝑥) = 𝐾}
4 frgrwopreg.b . . . 4 𝐵 = (𝑉𝐴)
5 frgrwopreg.e . . . 4 𝐸 = (Edg‘𝐺)
61, 2, 3, 4, 5frgrwopreglem4 30798 . . 3 (𝐺 ∈ FriendGraph → ∀𝑤𝐴𝑣𝐵 {𝑤, 𝑣} ∈ 𝐸)
7 ralcom 3290 . . . 4 (∀𝑤𝐴𝑣𝐵 {𝑤, 𝑣} ∈ 𝐸 ↔ ∀𝑣𝐵𝑤𝐴 {𝑤, 𝑣} ∈ 𝐸)
8 snidg 4621 . . . . . . . 8 (𝑋𝑉𝑋 ∈ {𝑋})
98adantr 486 . . . . . . 7 ((𝑋𝑉𝐵 = {𝑋}) → 𝑋 ∈ {𝑋})
10 eleq2 2849 . . . . . . . 8 (𝐵 = {𝑋} → (𝑋𝐵𝑋 ∈ {𝑋}))
1110adantl 487 . . . . . . 7 ((𝑋𝑉𝐵 = {𝑋}) → (𝑋𝐵𝑋 ∈ {𝑋}))
129, 11mpbird 260 . . . . . 6 ((𝑋𝑉𝐵 = {𝑋}) → 𝑋𝐵)
13 preq2 4695 . . . . . . . . . 10 (𝑣 = 𝑋 → {𝑤, 𝑣} = {𝑤, 𝑋})
14 prcom 4693 . . . . . . . . . 10 {𝑤, 𝑋} = {𝑋, 𝑤}
1513, 14eqtrdi 2811 . . . . . . . . 9 (𝑣 = 𝑋 → {𝑤, 𝑣} = {𝑋, 𝑤})
1615eleq1d 2845 . . . . . . . 8 (𝑣 = 𝑋 → ({𝑤, 𝑣} ∈ 𝐸 ↔ {𝑋, 𝑤} ∈ 𝐸))
1716ralbidv 3185 . . . . . . 7 (𝑣 = 𝑋 → (∀𝑤𝐴 {𝑤, 𝑣} ∈ 𝐸 ↔ ∀𝑤𝐴 {𝑋, 𝑤} ∈ 𝐸))
1817rspcv 3572 . . . . . 6 (𝑋𝐵 → (∀𝑣𝐵𝑤𝐴 {𝑤, 𝑣} ∈ 𝐸 → ∀𝑤𝐴 {𝑋, 𝑤} ∈ 𝐸))
1912, 18syl 18 . . . . 5 ((𝑋𝑉𝐵 = {𝑋}) → (∀𝑣𝐵𝑤𝐴 {𝑤, 𝑣} ∈ 𝐸 → ∀𝑤𝐴 {𝑋, 𝑤} ∈ 𝐸))
203ssrab3 4030 . . . . . . . 8 𝐴𝑉
21 ssdifim 4219 . . . . . . . 8 ((𝐴𝑉𝐵 = (𝑉𝐴)) → 𝐴 = (𝑉𝐵))
2220, 4, 21mp2an 705 . . . . . . 7 𝐴 = (𝑉𝐵)
23 difeq2 4068 . . . . . . . 8 (𝐵 = {𝑋} → (𝑉𝐵) = (𝑉 ∖ {𝑋}))
2423adantl 487 . . . . . . 7 ((𝑋𝑉𝐵 = {𝑋}) → (𝑉𝐵) = (𝑉 ∖ {𝑋}))
2522, 24eqtrid 2807 . . . . . 6 ((𝑋𝑉𝐵 = {𝑋}) → 𝐴 = (𝑉 ∖ {𝑋}))
2625raleqdv 3319 . . . . 5 ((𝑋𝑉𝐵 = {𝑋}) → (∀𝑤𝐴 {𝑋, 𝑤} ∈ 𝐸 ↔ ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
2719, 26sylibd 242 . . . 4 ((𝑋𝑉𝐵 = {𝑋}) → (∀𝑣𝐵𝑤𝐴 {𝑤, 𝑣} ∈ 𝐸 → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
287, 27biimtrid 245 . . 3 ((𝑋𝑉𝐵 = {𝑋}) → (∀𝑤𝐴𝑣𝐵 {𝑤, 𝑣} ∈ 𝐸 → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
296, 28syl5com 32 . 2 (𝐺 ∈ FriendGraph → ((𝑋𝑉𝐵 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
30293impib 1134 1 ((𝐺 ∈ FriendGraph ∧ 𝑋𝑉𝐵 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  w3a 1103   = wceq 1570  wcel 2145  wral 3076  {crab 3412  cdif 3896  wss 3899  {csn 4584  {cpr 4586  cfv 6533  Vtxcvtx 29456  Edgcedg 29507  VtxDegcvtxdg 29928   FriendGraph cfrgr 30741
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7737  ax-cnex 11183  ax-resscn 11184  ax-1cn 11185  ax-icn 11186  ax-addcl 11187  ax-addrcl 11188  ax-mulcl 11189  ax-mulrcl 11190  ax-mulcom 11191  ax-addass 11192  ax-mulass 11193  ax-distr 11194  ax-i2m1 11195  ax-1ne0 11196  ax-1rid 11197  ax-rnegex 11198  ax-rrecex 11199  ax-cnre 11200  ax-pre-lttri 11201  ax-pre-lttrn 11202  ax-pre-ltadd 11203  ax-pre-mulgt0 11204
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6299  df-ord 6360  df-on 6361  df-lim 6362  df-suc 6363  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-riota 7371  df-ov 7417  df-oprab 7418  df-mpo 7419  df-om 7864  df-1st 7987  df-2nd 7988  df-frecs 8281  df-wrecs 8312  df-recs 8361  df-rdg 8400  df-1o 8458  df-2o 8459  df-oadd 8462  df-er 8699  df-en 8956  df-dom 8957  df-sdom 8958  df-fin 8959  df-dju 9909  df-card 9947  df-pnf 11272  df-mnf 11273  df-xr 11274  df-ltxr 11275  df-le 11276  df-sub 11470  df-neg 11471  df-nn 12261  df-2 12330  df-n0 12532  df-xnn0 12605  df-z 12619  df-uz 12891  df-xadd 13167  df-fz 13565  df-hash 14398  df-edg 29508  df-uhgr 29518  df-ushgr 29519  df-upgr 29542  df-umgr 29543  df-uspgr 29613  df-usgr 29614  df-nbgr 29796  df-vtxdg 29929  df-frgr 30742
This theorem is used by:  frgrwopreg2  30802
  Copyright terms: Public domain W3C validator