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

Theorem frgrwopregasn 30977
Description: According to statement 5 in [Huneke] p. 2: "If A ... is a singleton, then that singleton is a universal friend". This version of frgrwopreg1 30979 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 Alexander van der Vekens, 1-Jan-2018.) (Revised by AV, 4-Feb-2022.)
Hypotheses
Ref Expression
frgrwopreg.v 𝑉 = (Vtx‘𝐺)
frgrwopreg.d 𝐷 = (VtxDeg‘𝐺)
frgrwopreg.a 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
frgrwopreg.b 𝐵 = (𝑉 ∖ 𝐴)
frgrwopreg.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
frgrwopregasn ((𝐺 ∈ FriendGraph ∧ 𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸)
Distinct variable groups:   𝑥,𝑉   𝑥,𝐴   𝑥,𝐺   𝑥,𝐾   𝑥,𝐷   𝑥,𝑋   𝑥,𝐵   𝑤,𝐴   𝑤,𝐵   𝑤,𝐺,𝑥   𝑤,𝑉   𝑤,𝑋
Allowed substitution hints:   𝐷(𝑤)   𝐸(𝑥, 𝑤)   𝐾(𝑤)

Proof of Theorem frgrwopregasn
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 30976 . . 3 (𝐺 ∈ FriendGraph → ∀𝑣 ∈ 𝐴 ∀𝑤 ∈ 𝐵 {𝑣, 𝑤} ∈ 𝐸)
7 snidg 4621 . . . . . . 7 (𝑋 ∈ 𝑉 → 𝑋 ∈ {𝑋})
87adantr 486 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → 𝑋 ∈ {𝑋})
9 eleq2 2856 . . . . . . 7 (𝐴 = {𝑋} → (𝑋 ∈ 𝐴 ↔ 𝑋 ∈ {𝑋}))
109adantl 487 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → (𝑋 ∈ 𝐴 ↔ 𝑋 ∈ {𝑋}))
118, 10mpbird 260 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → 𝑋 ∈ 𝐴)
12 preq1 4695 . . . . . . . 8 (𝑣 = 𝑋 → {𝑣, 𝑤} = {𝑋, 𝑤})
1312eleq1d 2852 . . . . . . 7 (𝑣 = 𝑋 → ({𝑣, 𝑤} ∈ 𝐸 ↔ {𝑋, 𝑤} ∈ 𝐸))
1413ralbidv 3192 . . . . . 6 (𝑣 = 𝑋 → (∀𝑤 ∈ 𝐵 {𝑣, 𝑤} ∈ 𝐸 ↔ ∀𝑤 ∈ 𝐵 {𝑋, 𝑤} ∈ 𝐸))
1514rspcv 3575 . . . . 5 (𝑋 ∈ 𝐴 → (∀𝑣 ∈ 𝐴 ∀𝑤 ∈ 𝐵 {𝑣, 𝑤} ∈ 𝐸 → ∀𝑤 ∈ 𝐵 {𝑋, 𝑤} ∈ 𝐸))
1611, 15syl 18 . . . 4 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → (∀𝑣 ∈ 𝐴 ∀𝑤 ∈ 𝐵 {𝑣, 𝑤} ∈ 𝐸 → ∀𝑤 ∈ 𝐵 {𝑋, 𝑤} ∈ 𝐸))
17 difeq2 4059 . . . . . . 7 (𝐴 = {𝑋} → (𝑉 ∖ 𝐴) = (𝑉 ∖ {𝑋}))
184, 17eqtrid 2813 . . . . . 6 (𝐴 = {𝑋} → 𝐵 = (𝑉 ∖ {𝑋}))
1918adantl 487 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → 𝐵 = (𝑉 ∖ {𝑋}))
2019raleqdv 3323 . . . 4 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → (∀𝑤 ∈ 𝐵 {𝑋, 𝑤} ∈ 𝐸 ↔ ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
2116, 20sylibd 242 . . 3 ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → (∀𝑣 ∈ 𝐴 ∀𝑤 ∈ 𝐵 {𝑣, 𝑤} ∈ 𝐸 → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
226, 21syl5com 32 . 2 (𝐺 ∈ FriendGraph → ((𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸))
23223impib 1135 1 ((𝐺 ∈ FriendGraph ∧ 𝑋 ∈ 𝑉 ∧ 𝐴 = {𝑋}) → ∀𝑤 ∈ (𝑉 ∖ {𝑋}){𝑋, 𝑤} ∈ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150  ∀wral 3083  {crab 3415   ∖ cdif 4047  {csn 4587  {cpr 4589  ‘cfv 6566  Vtxcvtx 29634  Edgcedg 29685  VtxDegcvtxdg 30106   FriendGraph cfrgr 30919
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-2o 8515  df-oadd 8518  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-dju 10019  df-card 10057  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-2 12445  df-n0 12647  df-xnn0 12720  df-z 12734  df-uz 13006  df-xadd 13282  df-fz 13680  df-hash 14516  df-edg 29686  df-uhgr 29696  df-ushgr 29697  df-upgr 29720  df-umgr 29721  df-uspgr 29791  df-usgr 29792  df-nbgr 29974  df-vtxdg 30107  df-frgr 30920
This theorem is used by:  frgrwopreg1  30979
  Copyright terms: Public domain W3C validator