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

Theorem 0vtxrgr 29835
Description: A null graph (with no vertices) is k-regular for every k. (Contributed by Alexander van der Vekens, 10-Jul-2018.) (Revised by AV, 26-Dec-2020.)
Assertion
Ref Expression
0vtxrgr ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ∀𝑘 ∈ ℕ0* 𝐺 RegGraph 𝑘)
Distinct variable groups:   𝑘,𝐺   𝑘,𝑊

Proof of Theorem 0vtxrgr
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 simpr 489 . . 3 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ 𝑘 ∈ ℕ0*) → 𝑘 ∈ ℕ0*)
2 rzal 4451 . . . 4 ((Vtx‘𝐺) = ∅ → ∀𝑣 ∈ (Vtx‘𝐺)((VtxDeg‘𝐺)‘𝑣) = 𝑘)
32ad2antlr 739 . . 3 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ 𝑘 ∈ ℕ0*) → ∀𝑣 ∈ (Vtx‘𝐺)((VtxDeg‘𝐺)‘𝑣) = 𝑘)
4 eqid 2765 . . . . 5 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2765 . . . . 5 (VtxDeg‘𝐺) = (VtxDeg‘𝐺)
64, 5isrgr 29818 . . . 4 ((𝐺𝑊𝑘 ∈ ℕ0*) → (𝐺 RegGraph 𝑘 ↔ (𝑘 ∈ ℕ0* ∧ ∀𝑣 ∈ (Vtx‘𝐺)((VtxDeg‘𝐺)‘𝑣) = 𝑘)))
76adantlr 727 . . 3 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ 𝑘 ∈ ℕ0*) → (𝐺 RegGraph 𝑘 ↔ (𝑘 ∈ ℕ0* ∧ ∀𝑣 ∈ (Vtx‘𝐺)((VtxDeg‘𝐺)‘𝑣) = 𝑘)))
81, 3, 7mpbir2and 725 . 2 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ 𝑘 ∈ ℕ0*) → 𝐺 RegGraph 𝑘)
98ralrimiva 3157 1 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ∀𝑘 ∈ ℕ0* 𝐺 RegGraph 𝑘)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1563  wcel 2145  wral 3079  c0 4288   class class class wbr 5105  cfv 6525  0*cxnn0 12568  Vtxcvtx 29255  VtxDegcvtxdg 29724   RegGraph crgr 29814
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737  ax-sep 5251  ax-pr 5395
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840  df-ral 3080  df-rab 3418  df-v 3459  df-dif 3910  df-un 3912  df-in 3914  df-ss 3924  df-nul 4289  df-if 4484  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4869  df-br 5106  df-opab 5168  df-iota 6481  df-fv 6533  df-rgr 29816
This theorem is referenced by:  0vtxrusgr  29836
  Copyright terms: Public domain W3C validator