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

Theorem 1vwmgr 28541
Description: Every graph with one vertex (which may be connect with itself by (multiple) loops!) is a windmill graph. (Contributed by Alexander van der Vekens, 5-Oct-2017.) (Revised by AV, 31-Mar-2021.)
Assertion
Ref Expression
1vwmgr ((𝐴𝑋𝑉 = {𝐴}) → ∃𝑉𝑣 ∈ (𝑉 ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸))
Distinct variable groups:   𝐴,,𝑣,𝑤   ,𝐸   ,𝑉,𝑣,𝑤
Allowed substitution hints:   𝐸(𝑤,𝑣)   𝑋(𝑤,𝑣,)

Proof of Theorem 1vwmgr
StepHypRef Expression
1 ral0 4440 . . . 4 𝑣 ∈ ∅ ({𝑣, 𝐴} ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸)
2 sneq 4568 . . . . . . . 8 ( = 𝐴 → {} = {𝐴})
32difeq2d 4053 . . . . . . 7 ( = 𝐴 → ({𝐴} ∖ {}) = ({𝐴} ∖ {𝐴}))
4 difid 4301 . . . . . . 7 ({𝐴} ∖ {𝐴}) = ∅
53, 4eqtrdi 2795 . . . . . 6 ( = 𝐴 → ({𝐴} ∖ {}) = ∅)
6 preq2 4667 . . . . . . . 8 ( = 𝐴 → {𝑣, } = {𝑣, 𝐴})
76eleq1d 2823 . . . . . . 7 ( = 𝐴 → ({𝑣, } ∈ 𝐸 ↔ {𝑣, 𝐴} ∈ 𝐸))
8 reueq1 3335 . . . . . . . 8 (({𝐴} ∖ {}) = ({𝐴} ∖ {𝐴}) → (∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸 ↔ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸))
93, 8syl 17 . . . . . . 7 ( = 𝐴 → (∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸 ↔ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸))
107, 9anbi12d 630 . . . . . 6 ( = 𝐴 → (({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ({𝑣, 𝐴} ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸)))
115, 10raleqbidv 3327 . . . . 5 ( = 𝐴 → (∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ∀𝑣 ∈ ∅ ({𝑣, 𝐴} ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸)))
1211rexsng 4607 . . . 4 (𝐴𝑋 → (∃ ∈ {𝐴}∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ∀𝑣 ∈ ∅ ({𝑣, 𝐴} ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {𝐴}){𝑣, 𝑤} ∈ 𝐸)))
131, 12mpbiri 257 . . 3 (𝐴𝑋 → ∃ ∈ {𝐴}∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸))
1413adantr 480 . 2 ((𝐴𝑋𝑉 = {𝐴}) → ∃ ∈ {𝐴}∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸))
15 difeq1 4046 . . . . 5 (𝑉 = {𝐴} → (𝑉 ∖ {}) = ({𝐴} ∖ {}))
16 reueq1 3335 . . . . . . 7 ((𝑉 ∖ {}) = ({𝐴} ∖ {}) → (∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸 ↔ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸))
1715, 16syl 17 . . . . . 6 (𝑉 = {𝐴} → (∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸 ↔ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸))
1817anbi2d 628 . . . . 5 (𝑉 = {𝐴} → (({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸)))
1915, 18raleqbidv 3327 . . . 4 (𝑉 = {𝐴} → (∀𝑣 ∈ (𝑉 ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸)))
2019rexeqbi1dv 3332 . . 3 (𝑉 = {𝐴} → (∃𝑉𝑣 ∈ (𝑉 ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ∃ ∈ {𝐴}∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸)))
2120adantl 481 . 2 ((𝐴𝑋𝑉 = {𝐴}) → (∃𝑉𝑣 ∈ (𝑉 ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸) ↔ ∃ ∈ {𝐴}∀𝑣 ∈ ({𝐴} ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ ({𝐴} ∖ {}){𝑣, 𝑤} ∈ 𝐸)))
2214, 21mpbird 256 1 ((𝐴𝑋𝑉 = {𝐴}) → ∃𝑉𝑣 ∈ (𝑉 ∖ {})({𝑣, } ∈ 𝐸 ∧ ∃!𝑤 ∈ (𝑉 ∖ {}){𝑣, 𝑤} ∈ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  ∃!wreu 3065  cdif 3880  c0 4253  {csn 4558  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-sn 4559  df-pr 4561
This theorem is referenced by:  1to2vfriswmgr  28544
  Copyright terms: Public domain W3C validator