HomeHome Intuitionistic Logic Explorer
Theorem List (p. 162 of 168)
< Previous  Next >
Bad symbols? Try the
GIF version.

Mirrors  >  Metamath Home Page  >  ILE Home Page  >  Theorem List Contents  >  Recent Proofs       This page: Page List

Theorem List for Intuitionistic Logic Explorer - 16101-16200   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremuspgr1ewopdc 16101 A simple pseudograph with (at least) two vertices and one edge represented by a singleton word. (Contributed by AV, 9-Jan-2021.)
(𝜑𝑉𝑊)    &   (𝜑𝐴𝑉)    &   (𝜑𝐵𝑉)    &   (𝜑DECID 𝐴 = 𝐵)       (𝜑 → ⟨𝑉, ⟨“{𝐴, 𝐵}”⟩⟩ ∈ USPGraph)
 
Theoremusgr1eop 16102 A simple graph with (at least) two different vertices and one edge. If the two vertices were not different, the edge would be a loop. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 18-Oct-2020.)
(((𝑉𝑊𝐴𝑋) ∧ (𝐵𝑉𝐶𝑉)) → (𝐵𝐶 → ⟨𝑉, {⟨𝐴, {𝐵, 𝐶}⟩}⟩ ∈ USGraph))
 
Theoremusgr2v1e2w 16103 A simple graph with two vertices and one edge represented by a singleton word. (Contributed by AV, 9-Jan-2021.)
((𝐴𝑋𝐵𝑌𝐴𝐵) → ⟨{𝐴, 𝐵}, ⟨“{𝐴, 𝐵}”⟩⟩ ∈ USGraph)
 
Theoremedg0usgr 16104 A class without edges is a simple graph. Since ran 𝐹 = ∅ does not generally imply Fun 𝐹, but Fun (iEdg‘𝐺) is required for 𝐺 to be a simple graph, however, this must be provided as assertion. (Contributed by AV, 18-Oct-2020.)
((𝐺𝑊 ∧ (Edg‘𝐺) = ∅ ∧ Fun (iEdg‘𝐺)) → 𝐺 ∈ USGraph)
 
Theoremusgr1vr 16105 A simple graph with one vertex has no edges. (Contributed by AV, 18-Oct-2020.) (Revised by AV, 21-Mar-2021.) (Proof shortened by AV, 2-Apr-2021.)
((𝐴𝑋 ∧ (Vtx‘𝐺) = {𝐴}) → (𝐺 ∈ USGraph → (iEdg‘𝐺) = ∅))
 
Theoremusgrexmpldifpr 16106 Lemma for usgrexmpledg : all "edges" are different. (Contributed by Alexander van der Vekens, 15-Aug-2017.)
(({0, 1} ≠ {1, 2} ∧ {0, 1} ≠ {2, 0} ∧ {0, 1} ≠ {0, 3}) ∧ ({1, 2} ≠ {2, 0} ∧ {1, 2} ≠ {0, 3} ∧ {2, 0} ≠ {0, 3}))
 
Theoremgriedg0prc 16107* The class of empty graphs (represented as ordered pairs) is a proper class. (Contributed by AV, 27-Dec-2020.)
𝑈 = {⟨𝑣, 𝑒⟩ ∣ 𝑒:∅⟶∅}       𝑈 ∉ V
 
Theoremgriedg0ssusgr 16108* The class of all simple graphs is a superclass of the class of empty graphs represented as ordered pairs. (Contributed by AV, 27-Dec-2020.)
𝑈 = {⟨𝑣, 𝑒⟩ ∣ 𝑒:∅⟶∅}       𝑈 ⊆ USGraph
 
Theoremusgrprc 16109 The class of simple graphs is a proper class (and therefore, because of prcssprc 4230, the classes of multigraphs, pseudographs and hypergraphs are proper classes, too). (Contributed by AV, 27-Dec-2020.)
USGraph ∉ V
 
12.2.7  Subgraphs
 
Syntaxcsubgr 16110 Extend class notation with subgraphs.
class SubGraph
 
Definitiondf-subgr 16111* Define the class of the subgraph relation. A class 𝑠 is a subgraph of a class 𝑔 (the supergraph of 𝑠) if its vertices are also vertices of 𝑔, and its edges are also edges of 𝑔, connecting vertices of 𝑠 only (see section I.1 in [Bollobas] p. 2 or section 1.1 in [Diestel] p. 4). The second condition is ensured by the requirement that the edge function of 𝑠 is a restriction of the edge function of 𝑔 having only vertices of 𝑠 in its range. Note that the domains of the edge functions of the subgraph and the supergraph should be compatible. (Contributed by AV, 16-Nov-2020.)
SubGraph = {⟨𝑠, 𝑔⟩ ∣ ((Vtx‘𝑠) ⊆ (Vtx‘𝑔) ∧ (iEdg‘𝑠) = ((iEdg‘𝑔) ↾ dom (iEdg‘𝑠)) ∧ (Edg‘𝑠) ⊆ 𝒫 (Vtx‘𝑠))}
 
Theoremrelsubgr 16112 The class of the subgraph relation is a relation. (Contributed by AV, 16-Nov-2020.)
Rel SubGraph
 
Theoremsubgrv 16113 If a class is a subgraph of another class, both classes are sets. (Contributed by AV, 16-Nov-2020.)
(𝑆 SubGraph 𝐺 → (𝑆 ∈ V ∧ 𝐺 ∈ V))
 
Theoremissubgr 16114 The property of a set to be a subgraph of another set. (Contributed by AV, 16-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝑆)       ((𝐺𝑊𝑆𝑈) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉)))
 
Theoremissubgr2 16115 The property of a set to be a subgraph of a set whose edge function is actually a function. (Contributed by AV, 20-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝑆)       ((𝐺𝑊 ∧ Fun 𝐵𝑆𝑈) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼𝐵𝐸 ⊆ 𝒫 𝑉)))
 
Theoremsubgrprop 16116 The properties of a subgraph. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝑆)       (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉))
 
Theoremsubgrprop2 16117 The properties of a subgraph: If 𝑆 is a subgraph of 𝐺, its vertices are also vertices of 𝐺, and its edges are also edges of 𝐺, connecting vertices of the subgraph only. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝑆)       (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐼𝐵𝐸 ⊆ 𝒫 𝑉))
 
Theoremuhgrissubgr 16118 The property of a hypergraph to be a subgraph. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)       ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼𝐵)))
 
Theoremsubgrprop3 16119 The properties of a subgraph: If 𝑆 is a subgraph of 𝐺, its vertices are also vertices of 𝐺, and its edges are also edges of 𝐺. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐸 = (Edg‘𝑆)    &   𝐵 = (Edg‘𝐺)       (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐸𝐵))
 
Theoremegrsubgr 16120 An empty graph consisting of a subset of vertices of a graph (and having no edges) is a subgraph of the graph. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 17-Dec-2020.)
(((𝐺𝑊𝑆𝑈) ∧ (Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (Fun (iEdg‘𝑆) ∧ (Edg‘𝑆) = ∅)) → 𝑆 SubGraph 𝐺)
 
Theorem0grsubgr 16121 The null graph (represented by an empty set) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.)
(𝐺𝑊 → ∅ SubGraph 𝐺)
 
Theorem0uhgrsubgr 16122 The null graph (as hypergraph) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 28-Nov-2020.)
((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → 𝑆 SubGraph 𝐺)
 
Theoremuhgrsubgrself 16123 A hypergraph is a subgraph of itself. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
(𝐺 ∈ UHGraph → 𝐺 SubGraph 𝐺)
 
Theoremsubgrfun 16124 The edge function of a subgraph of a graph whose edge function is actually a function is a function. (Contributed by AV, 20-Nov-2020.)
((Fun (iEdg‘𝐺) ∧ 𝑆 SubGraph 𝐺) → Fun (iEdg‘𝑆))
 
Theoremsubgruhgrfun 16125 The edge function of a subgraph of a hypergraph is a function. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 20-Nov-2020.)
((𝐺 ∈ UHGraph ∧ 𝑆 SubGraph 𝐺) → Fun (iEdg‘𝑆))
 
Theoremsubgreldmiedg 16126 An element of the domain of the edge function of a subgraph is an element of the domain of the edge function of the supergraph. (Contributed by AV, 20-Nov-2020.)
((𝑆 SubGraph 𝐺𝑋 ∈ dom (iEdg‘𝑆)) → 𝑋 ∈ dom (iEdg‘𝐺))
 
Theoremsubgruhgredgdm 16127* An edge of a subgraph of a hypergraph is an inhabited subset of its vertices. (Contributed by AV, 17-Nov-2020.) (Revised by AV, 21-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐼 = (iEdg‘𝑆)    &   (𝜑𝐺 ∈ UHGraph)    &   (𝜑𝑆 SubGraph 𝐺)    &   (𝜑𝑋 ∈ dom 𝐼)       (𝜑 → (𝐼𝑋) ∈ {𝑠 ∈ 𝒫 𝑉 ∣ ∃𝑗 𝑗𝑠})
 
Theoremsubumgredg2en 16128* An edge of a subgraph of a multigraph connects exactly two different vertices. (Contributed by AV, 26-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐼 = (iEdg‘𝑆)       ((𝑆 SubGraph 𝐺𝐺 ∈ UMGraph ∧ 𝑋 ∈ dom 𝐼) → (𝐼𝑋) ∈ {𝑒 ∈ 𝒫 𝑉𝑒 ≈ 2o})
 
Theoremsubuhgr 16129 A subgraph of a hypergraph is a hypergraph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
((𝐺 ∈ UHGraph ∧ 𝑆 SubGraph 𝐺) → 𝑆 ∈ UHGraph)
 
Theoremsubupgr 16130 A subgraph of a pseudograph is a pseudograph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
((𝐺 ∈ UPGraph ∧ 𝑆 SubGraph 𝐺) → 𝑆 ∈ UPGraph)
 
Theoremsubumgr 16131 A subgraph of a multigraph is a multigraph. (Contributed by AV, 26-Nov-2020.)
((𝐺 ∈ UMGraph ∧ 𝑆 SubGraph 𝐺) → 𝑆 ∈ UMGraph)
 
Theoremsubusgr 16132 A subgraph of a simple graph is a simple graph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 27-Nov-2020.)
((𝐺 ∈ USGraph ∧ 𝑆 SubGraph 𝐺) → 𝑆 ∈ USGraph)
 
Theoremuhgrspansubgrlem 16133 Lemma for uhgrspansubgr 16134: The edges of the graph 𝑆 obtained by removing some edges of a hypergraph 𝐺 are subsets of its vertices (a spanning subgraph, see comment for uhgrspansubgr 16134. (Contributed by AV, 18-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UHGraph)       (𝜑 → (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))
 
Theoremuhgrspansubgr 16134 A spanning subgraph 𝑆 of a hypergraph 𝐺 is actually a subgraph of 𝐺. A subgraph 𝑆 of a graph 𝐺 which has the same vertices as 𝐺 and is obtained by removing some edges of 𝐺 is called a spanning subgraph (see section I.1 in [Bollobas] p. 2 and section 1.1 in [Diestel] p. 4). Formally, the edges are "removed" by restricting the edge function of the original graph by an arbitrary class (which actually needs not to be a subset of the domain of the edge function). (Contributed by AV, 18-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UHGraph)       (𝜑𝑆 SubGraph 𝐺)
 
Theoremuhgrspan 16135 A spanning subgraph 𝑆 of a hypergraph 𝐺 is a hypergraph. (Contributed by AV, 11-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UHGraph)       (𝜑𝑆 ∈ UHGraph)
 
Theoremupgrspan 16136 A spanning subgraph 𝑆 of a pseudograph 𝐺 is a pseudograph. (Contributed by AV, 11-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UPGraph)       (𝜑𝑆 ∈ UPGraph)
 
Theoremumgrspan 16137 A spanning subgraph 𝑆 of a multigraph 𝐺 is a multigraph. (Contributed by AV, 27-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UMGraph)       (𝜑𝑆 ∈ UMGraph)
 
Theoremusgrspan 16138 A spanning subgraph 𝑆 of a simple graph 𝐺 is a simple graph. (Contributed by AV, 15-Oct-2020.) (Revised by AV, 16-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ USGraph)       (𝜑𝑆 ∈ USGraph)
 
Theoremuhgrspanop 16139 A spanning subgraph of a hypergraph represented by an ordered pair is a hypergraph. (Contributed by Alexander van der Vekens, 27-Dec-2017.) (Revised by AV, 11-Oct-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)       (𝐺 ∈ UHGraph → ⟨𝑉, (𝐸𝐴)⟩ ∈ UHGraph)
 
Theoremupgrspanop 16140 A spanning subgraph of a pseudograph represented by an ordered pair is a pseudograph. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 13-Oct-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)       (𝐺 ∈ UPGraph → ⟨𝑉, (𝐸𝐴)⟩ ∈ UPGraph)
 
Theoremumgrspanop 16141 A spanning subgraph of a multigraph represented by an ordered pair is a multigraph. (Contributed by AV, 27-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)       (𝐺 ∈ UMGraph → ⟨𝑉, (𝐸𝐴)⟩ ∈ UMGraph)
 
Theoremusgrspanop 16142 A spanning subgraph of a simple graph represented by an ordered pair is a simple graph. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)       (𝐺 ∈ USGraph → ⟨𝑉, (𝐸𝐴)⟩ ∈ USGraph)
 
12.2.8  Vertex degree
 
Syntaxcvtxdg 16143 Extend class notation with the vertex degree function.
class VtxDeg
 
Definitiondf-vtxdg 16144* Define the vertex degree function for a graph. To be appropriate for arbitrary hypergraphs, we have to double-count those edges that contain 𝑢 "twice" (i.e. self-loops), this being represented as a singleton as the edge's value. Since the degree of a vertex can be (positive) infinity (if the graph containing the vertex is infinite), the extended addition +𝑒 is used for the summation of the number of "ordinary" edges" and the number of "loops".

Because we cannot in general show that an arbitrary set is either finite or infinite (see inffiexmid 7098), this definition is not as general as it may appear. But we keep it for consistency with the Metamath Proof Explorer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 20-Dec-2017.) (Revised by AV, 9-Dec-2020.)

VtxDeg = (𝑔 ∈ V ↦ (Vtx‘𝑔) / 𝑣(iEdg‘𝑔) / 𝑒(𝑢𝑣 ↦ ((♯‘{𝑥 ∈ dom 𝑒𝑢 ∈ (𝑒𝑥)}) +𝑒 (♯‘{𝑥 ∈ dom 𝑒 ∣ (𝑒𝑥) = {𝑢}}))))
 
Theoremvtxdgfval 16145* The value of the vertex degree function. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 20-Dec-2017.) (Revised by AV, 9-Dec-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼       (𝐺𝑊 → (VtxDeg‘𝐺) = (𝑢𝑉 ↦ ((♯‘{𝑥𝐴𝑢 ∈ (𝐼𝑥)}) +𝑒 (♯‘{𝑥𝐴 ∣ (𝐼𝑥) = {𝑢}}))))
 
Theoremvtxedgfi 16146* In a finite graph, the number of edges from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼    &   (𝜑𝐴 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → {𝑥𝐴𝑈 ∈ (𝐼𝑥)} ∈ Fin)
 
Theoremvtxlpfi 16147* In a finite graph, the number of loops from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼    &   (𝜑𝐴 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → {𝑥𝐴 ∣ (𝐼𝑥) = {𝑈}} ∈ Fin)
 
Theoremvtxdgfifival 16148* The degree of a vertex for graphs with finite vertex and edge sets. (Contributed by Jim Kingdon, 10-Feb-2026.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼    &   (𝜑𝐴 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → ((VtxDeg‘𝐺)‘𝑈) = ((♯‘{𝑥𝐴𝑈 ∈ (𝐼𝑥)}) + (♯‘{𝑥𝐴 ∣ (𝐼𝑥) = {𝑈}})))
 
Theoremvtxdgop 16149 The vertex degree expressed as operation. (Contributed by AV, 12-Dec-2021.)
(𝐺𝑊 → (VtxDeg‘𝐺) = ((Vtx‘𝐺)VtxDeg(iEdg‘𝐺)))
 
Theoremvtxdgfif 16150 In a finite graph, the vertex degree function is a function from vertices to nonnegative integers. (Contributed by Jim Kingdon, 17-Feb-2026.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼    &   (𝜑𝐴 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → (VtxDeg‘𝐺):𝑉⟶ℕ0)
 
Theoremvtxdg0v 16151 The degree of a vertex in the null graph is zero (or anything else), because there are no vertices. (Contributed by AV, 11-Dec-2020.)
𝑉 = (Vtx‘𝐺)       ((𝐺 = ∅ ∧ 𝑈𝑉) → ((VtxDeg‘𝐺)‘𝑈) = 0)
 
Theoremvtxdgfi0e 16152 The degree of a vertex in an empty graph is zero, because there are no edges. This is the base case for the induction for calculating the degree of a vertex, for example in a Königsberg graph. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 20-Dec-2017.) (Revised by AV, 11-Dec-2020.) (Revised by AV, 22-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑𝑈𝑉)    &   (𝜑𝐼 = ∅)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → ((VtxDeg‘𝐺)‘𝑈) = 0)
 
Theoremvtxdeqd 16153 Equality theorem for the vertex degree: If two graphs are structurally equal, their vertex degree functions are equal. (Contributed by AV, 26-Feb-2021.)
(𝜑𝐺𝑋)    &   (𝜑𝐻𝑌)    &   (𝜑 → (Vtx‘𝐻) = (Vtx‘𝐺))    &   (𝜑 → (iEdg‘𝐻) = (iEdg‘𝐺))       (𝜑 → (VtxDeg‘𝐻) = (VtxDeg‘𝐺))
 
Theoremvtxdfifiun 16154 The degree of a vertex in the union of two pseudographs of finite size on the same finite vertex set is the sum of the degrees of the vertex in each pseudograph. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 21-Jan-2018.) (Revised by AV, 19-Feb-2021.)
𝐼 = (iEdg‘𝐺)    &   𝐽 = (iEdg‘𝐻)    &   𝑉 = (Vtx‘𝐺)    &   (𝜑 → (Vtx‘𝐻) = 𝑉)    &   (𝜑 → (Vtx‘𝑈) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑𝐻 ∈ UPGraph)    &   (𝜑 → (dom 𝐼 ∩ dom 𝐽) = ∅)    &   (𝜑 → Fun 𝐼)    &   (𝜑 → Fun 𝐽)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝑈) = (𝐼𝐽))    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑 → dom 𝐽 ∈ Fin)       (𝜑 → ((VtxDeg‘𝑈)‘𝑁) = (((VtxDeg‘𝐺)‘𝑁) + ((VtxDeg‘𝐻)‘𝑁)))
 
Theoremvtxdumgrfival 16155* The value of the vertex degree function for a finite multigraph. (Contributed by Alexander van der Vekens, 20-Dec-2017.) (Revised by AV, 23-Feb-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐴 = dom 𝐼    &   𝐷 = (VtxDeg‘𝐺)    &   (𝜑𝐺 ∈ UMGraph)    &   (𝜑𝑈𝑉)    &   (𝜑𝐴 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)       (𝜑 → (𝐷𝑈) = (♯‘{𝑥𝐴𝑈 ∈ (𝐼𝑥)}))
 
Theoremvtxd0nedgbfi 16156* A vertex has degree 0 iff there is no edge incident with the vertex. (Contributed by AV, 24-Dec-2020.) (Revised by AV, 22-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐷 = (VtxDeg‘𝐺)    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ UPGraph)       (𝜑 → ((𝐷𝑈) = 0 ↔ ¬ ∃𝑖 ∈ dom 𝐼 𝑈 ∈ (𝐼𝑖)))
 
Theoremvtxduspgrfvedgfilem 16157* Lemma for vtxduspgrfvedgfi 16158 and vtxdusgrfvedgfi 16159. (Contributed by AV, 12-Dec-2020.) (Proof shortened by AV, 5-May-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (Edg‘𝐺)    &   (𝜑 → dom (iEdg‘𝐺) ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ USPGraph)       (𝜑 → (♯‘{𝑖 ∈ dom (iEdg‘𝐺) ∣ 𝑈 ∈ ((iEdg‘𝐺)‘𝑖)}) = (♯‘{𝑒𝐸𝑈𝑒}))
 
Theoremvtxduspgrfvedgfi 16158* The value of the vertex degree function for a simple pseudograph. (Contributed by AV, 12-Dec-2020.) (Proof shortened by AV, 5-May-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (Edg‘𝐺)    &   (𝜑 → dom (iEdg‘𝐺) ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ USPGraph)    &   𝐷 = (VtxDeg‘𝐺)       (𝜑 → (𝐷𝑈) = ((♯‘{𝑒𝐸𝑈𝑒}) + (♯‘{𝑒𝐸𝑒 = {𝑈}})))
 
Theoremvtxdusgrfvedgfi 16159* The value of the vertex degree function for a simple graph. (Contributed by AV, 12-Dec-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (Edg‘𝐺)    &   (𝜑 → dom (iEdg‘𝐺) ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ USGraph)    &   𝐷 = (VtxDeg‘𝐺)       (𝜑 → (𝐷𝑈) = (♯‘{𝑒𝐸𝑈𝑒}))
 
Theorem1loopgruspgr 16160 A graph with one edge which is a loop is a simple pseudograph. (Contributed by AV, 21-Feb-2021.)
(𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝑁}⟩})       (𝜑𝐺 ∈ USPGraph)
 
Theorem1loopgredg 16161 The set of edges in a graph (simple pseudograph) with one edge which is a loop is a singleton of a singleton. (Contributed by AV, 17-Dec-2020.) (Revised by AV, 21-Feb-2021.)
(𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝑁}⟩})       (𝜑 → (Edg‘𝐺) = {{𝑁}})
 
Theorem1loopgrvd2fi 16162 The vertex degree of a one-edge graph, case 4: an edge from a vertex to itself contributes two to the vertex's degree. I. e. in a graph (simple pseudograph) with one edge which is a loop, the vertex connected with itself by the loop has degree 2. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 22-Dec-2017.) (Revised by AV, 21-Feb-2021.)
(𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝑁}⟩})    &   (𝜑𝑉 ∈ Fin)       (𝜑 → ((VtxDeg‘𝐺)‘𝑁) = 2)
 
Theorem1loopgrvd0fi 16163 The vertex degree of a one-edge graph, case 1 (for a loop): a loop at a vertex other than the given vertex contributes nothing to the vertex degree. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 21-Feb-2021.)
(𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝑁}⟩})    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐾 ∈ (𝑉 ∖ {𝑁}))       (𝜑 → ((VtxDeg‘𝐺)‘𝐾) = 0)
 
Theorem1hevtxdg0fi 16164 The vertex degree of vertex 𝐷 in a finite pseudograph 𝐺 with only one edge 𝐸 is 0 if 𝐷 is not incident with the edge 𝐸. (Contributed by AV, 2-Mar-2021.) (Revised by Jim Kingdon, 13-Mar-2026.)
(𝜑 → (iEdg‘𝐺) = {⟨𝐴, 𝐸⟩})    &   (𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝐷𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑𝐸𝑌)    &   (𝜑𝐷𝐸)       (𝜑 → ((VtxDeg‘𝐺)‘𝐷) = 0)
 
Theorem1hevtxdg1en 16165 The vertex degree of vertex 𝐷 in a multigraph 𝐺 with only one edge 𝐸 is 1 if 𝐷 is incident with the edge 𝐸. (Contributed by AV, 2-Mar-2021.) (Proof shortened by AV, 17-Apr-2021.)
(𝜑 → (iEdg‘𝐺) = {⟨𝐴, 𝐸⟩})    &   (𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝐷𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UMGraph)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑𝐷𝐸)    &   (𝜑𝐸 ≈ 2o)       (𝜑 → ((VtxDeg‘𝐺)‘𝐷) = 1)
 
Theorem1hegrvtxdg1fi 16166 The vertex degree of a multigraph with one edge, case 2: an edge from the given vertex to some other vertex contributes one to the vertex's degree. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 22-Dec-2017.) (Revised by AV, 23-Feb-2021.)
(𝜑𝐴𝑋)    &   (𝜑𝐵𝑉)    &   (𝜑𝐶𝑉)    &   (𝜑𝐵𝐶)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, 𝐸⟩})    &   (𝜑 → {𝐵, 𝐶} ⊆ 𝐸)    &   (𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UMGraph)       (𝜑 → ((VtxDeg‘𝐺)‘𝐵) = 1)
 
Theorem1hegrvtxdg1rfi 16167 The vertex degree of a graph with one hyperedge, case 3: an edge from some other vertex to the given vertex contributes one to the vertex's degree. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Alexander van der Vekens, 22-Dec-2017.) (Revised by AV, 23-Feb-2021.)
(𝜑𝐴𝑋)    &   (𝜑𝐵𝑉)    &   (𝜑𝐶𝑉)    &   (𝜑𝐵𝐶)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, 𝐸⟩})    &   (𝜑 → {𝐵, 𝐶} ⊆ 𝐸)    &   (𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UMGraph)       (𝜑 → ((VtxDeg‘𝐺)‘𝐶) = 1)
 
Theoremp1evtxdeqfilem 16168 Lemma for p1evtxdeqfi 16169 and p1evtxdp1fi 16170. (Contributed by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑 → Fun 𝐼)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ∪ {⟨𝐾, 𝐸⟩}))    &   (𝜑𝐾𝑋)    &   (𝜑𝐾 ∉ dom 𝐼)    &   (𝜑𝑈𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑𝐸 ≈ 2o)    &   (𝜑𝐸𝑌)       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = (((VtxDeg‘𝐺)‘𝑈) + ((VtxDeg‘⟨𝑉, {⟨𝐾, 𝐸⟩}⟩)‘𝑈)))
 
Theoremp1evtxdeqfi 16169 If an edge 𝐸 which does not contain vertex 𝑈 is added to a graph 𝐺 (yielding a graph 𝐹), the degree of 𝑈 is the same in both graphs. (Contributed by AV, 2-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑 → Fun 𝐼)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ∪ {⟨𝐾, 𝐸⟩}))    &   (𝜑𝐾𝑋)    &   (𝜑𝐾 ∉ dom 𝐼)    &   (𝜑𝑈𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑𝐸 ≈ 2o)    &   (𝜑𝐸𝑌)    &   (𝜑𝑈𝐸)       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = ((VtxDeg‘𝐺)‘𝑈))
 
Theoremp1evtxdp1fi 16170 If an edge 𝐸 (not being a loop) which contains vertex 𝑈 is added to a graph 𝐺 (yielding a graph 𝐹), the degree of 𝑈 is increased by 1. (Contributed by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑 → Fun 𝐼)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ∪ {⟨𝐾, 𝐸⟩}))    &   (𝜑𝐾𝑋)    &   (𝜑𝐾 ∉ dom 𝐼)    &   (𝜑𝑈𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑𝐸 ≈ 2o)    &   (𝜑𝑈𝐸)       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = (((VtxDeg‘𝐺)‘𝑈) + 1))
 
Theoremvdegp1aid 16171* The induction step for a vertex degree calculation. If the degree of 𝑈 in the edge set 𝐸 is 𝑃, then adding {𝑋, 𝑌} to the edge set, where 𝑋𝑈𝑌, yields degree 𝑃 as well. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   (𝜑𝑈𝑉)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑𝐼 ∈ Word {𝑥 ∈ 𝒫 𝑉 ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})    &   (𝜑 → ((VtxDeg‘𝐺)‘𝑈) = 𝑃)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑋𝑉)    &   (𝜑𝑋𝑈)    &   (𝜑𝑌𝑉)    &   (𝜑𝑌𝑈)    &   (𝜑𝑋𝑌)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ++ ⟨“{𝑋, 𝑌}”⟩))       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = 𝑃)
 
Theoremvdegp1bid 16172* The induction step for a vertex degree calculation, for example in the Königsberg graph. If the degree of 𝑈 in the edge set 𝐸 is 𝑃, then adding {𝑈, 𝑋} to the edge set, where 𝑋𝑈, yields degree 𝑃 + 1. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   (𝜑𝑈𝑉)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑𝐼 ∈ Word {𝑥 ∈ 𝒫 𝑉 ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})    &   (𝜑 → ((VtxDeg‘𝐺)‘𝑈) = 𝑃)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑋𝑉)    &   (𝜑𝑋𝑈)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ++ ⟨“{𝑈, 𝑋}”⟩))       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = (𝑃 + 1))
 
Theoremvdegp1cid 16173* The induction step for a vertex degree calculation, for example in the Königsberg graph. If the degree of 𝑈 in the edge set 𝐸 is 𝑃, then adding {𝑋, 𝑈} to the edge set, where 𝑋𝑈, yields degree 𝑃 + 1. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   (𝜑𝑈𝑉)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑𝐼 ∈ Word {𝑥 ∈ 𝒫 𝑉 ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})    &   (𝜑 → ((VtxDeg‘𝐺)‘𝑈) = 𝑃)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑋𝑉)    &   (𝜑𝑋𝑈)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ++ ⟨“{𝑋, 𝑈}”⟩))       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = (𝑃 + 1))
 
12.3  Walks, paths and cycles
 
12.3.1  Walks
 
Syntaxcwlks 16174 Extend class notation with walks (i.e. 1-walks) (of a hypergraph).
class Walks
 
Definitiondf-wlks 16175* Define the set of all walks (in a hypergraph). Such walks correspond to the s-walks "on the vertex level" (with s = 1), and also to 1-walks "on the edge level" (see wlk1walkdom 16216) discussed in Aksoy et al. The predicate 𝐹(Walks‘𝐺)𝑃 can be read as "The pair 𝐹, 𝑃 represents a walk in a graph 𝐺", see also iswlk 16180.

The condition {(𝑝𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓𝑘)) (hereinafter referred to as C) would not be sufficient, because the repetition of a vertex in a walk (i.e. (𝑝𝑘) = (𝑝‘(𝑘 + 1)) should be allowed only if there is a loop at (𝑝𝑘). Otherwise, C would be fulfilled by each edge containing (𝑝𝑘).

According to the definition of [Bollobas] p. 4.: "A walk W in a graph is an alternating sequence of vertices and edges x0 , e1 , x1 , e2 , ... , e(l) , x(l) ...", a walk can be represented by two mappings f from { 1 , ... , n } and p from { 0 , ... , n }, where f enumerates the (indices of the) edges, and p enumerates the vertices. So the walk is represented by the following sequence: p(0) e(f(1)) p(1) e(f(2)) ... p(n-1) e(f(n)) p(n). (Contributed by AV, 30-Dec-2020.)

Walks = (𝑔 ∈ V ↦ {⟨𝑓, 𝑝⟩ ∣ (𝑓 ∈ Word dom (iEdg‘𝑔) ∧ 𝑝:(0...(♯‘𝑓))⟶(Vtx‘𝑔) ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓𝑘)) = {(𝑝𝑘)}, {(𝑝𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓𝑘))))})
 
Theoremwlkmex 16176 If there are walks on a graph, the graph is a set. (Contributed by Jim Kingdon, 1-Feb-2026.)
(𝑊 ∈ (Walks‘𝐺) → 𝐺 ∈ V)
 
Theoremwkslem1 16177 Lemma 1 for walks to substitute the index of the condition for vertices and edges in a walk. (Contributed by AV, 23-Apr-2021.)
(𝐴 = 𝐵 → (if-((𝑃𝐴) = (𝑃‘(𝐴 + 1)), (𝐼‘(𝐹𝐴)) = {(𝑃𝐴)}, {(𝑃𝐴), (𝑃‘(𝐴 + 1))} ⊆ (𝐼‘(𝐹𝐴))) ↔ if-((𝑃𝐵) = (𝑃‘(𝐵 + 1)), (𝐼‘(𝐹𝐵)) = {(𝑃𝐵)}, {(𝑃𝐵), (𝑃‘(𝐵 + 1))} ⊆ (𝐼‘(𝐹𝐵)))))
 
Theoremwkslem2 16178 Lemma 2 for walks to substitute the index of the condition for vertices and edges in a walk. (Contributed by AV, 23-Apr-2021.)
((𝐴 = 𝐵 ∧ (𝐴 + 1) = 𝐶) → (if-((𝑃𝐴) = (𝑃‘(𝐴 + 1)), (𝐼‘(𝐹𝐴)) = {(𝑃𝐴)}, {(𝑃𝐴), (𝑃‘(𝐴 + 1))} ⊆ (𝐼‘(𝐹𝐴))) ↔ if-((𝑃𝐵) = (𝑃𝐶), (𝐼‘(𝐹𝐵)) = {(𝑃𝐵)}, {(𝑃𝐵), (𝑃𝐶)} ⊆ (𝐼‘(𝐹𝐵)))))
 
Theoremwksfval 16179* The set of walks (in an undirected graph). (Contributed by AV, 30-Dec-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       (𝐺𝑊 → (Walks‘𝐺) = {⟨𝑓, 𝑝⟩ ∣ (𝑓 ∈ Word dom 𝐼𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓𝑘)) = {(𝑝𝑘)}, {(𝑝𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓𝑘))))})
 
Theoremiswlk 16180* Properties of a pair of functions to be/represent a walk. (Contributed by AV, 30-Dec-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹𝑈𝑃𝑍) → (𝐹(Walks‘𝐺)𝑃 ↔ (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘))))))
 
Theoremwlkpropg 16181* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))))
 
Theoremwlkex 16182 The class of walks on a graph is a set. (Contributed by Jim Kingdon, 7-Feb-2026.)
(𝐺𝑉 → (Walks‘𝐺) ∈ V)
 
Theoremwlkv 16183 The classes involved in a walk are sets. (Contributed by Alexander van der Vekens, 31-Oct-2017.) (Revised by AV, 3-Feb-2021.)
(𝐹(Walks‘𝐺)𝑃 → (𝐺 ∈ V ∧ 𝐹 ∈ V ∧ 𝑃 ∈ V))
 
Theoremwlkprop 16184* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       (𝐹(Walks‘𝐺)𝑃 → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))))
 
Theoremwlkvg 16185 The classes involved in a walk are sets. Now that we have wlkv 16183 there is no reason to use this theorem in new proofs and using wlkv 16183 is encouraged for consistency with the Metamath Proof Explorer. (Contributed by Alexander van der Vekens, 31-Oct-2017.) (Revised by AV, 3-Feb-2021.) (New usage is discouraged.)
((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (𝐹 ∈ V ∧ 𝑃 ∈ V))
 
Theoremiswlkg 16186* Generalization of iswlk 16180: Conditions for two classes to represent a walk. (Contributed by Alexander van der Vekens, 23-Jun-2018.) (Revised by AV, 1-Jan-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       (𝐺𝑊 → (𝐹(Walks‘𝐺)𝑃 ↔ (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘))))))
 
Theoremwlkf 16187 The mapping enumerating the (indices of the) edges of a walk is a word over the indices of the edges of the graph. (Contributed by AV, 5-Apr-2021.)
𝐼 = (iEdg‘𝐺)       (𝐹(Walks‘𝐺)𝑃𝐹 ∈ Word dom 𝐼)
 
Theoremwlkfg 16188 The mapping enumerating the (indices of the) edges of a walk is a word over the indices of the edges of the graph. (Contributed by AV, 5-Apr-2021.)
𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → 𝐹 ∈ Word dom 𝐼)
 
Theoremwlkcl 16189 A walk has length ♯(𝐹), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
(𝐹(Walks‘𝐺)𝑃 → (♯‘𝐹) ∈ ℕ0)
 
Theoremwlkclg 16190 A walk has length ♯(𝐹), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (♯‘𝐹) ∈ ℕ0)
 
Theoremwlkp 16191 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
𝑉 = (Vtx‘𝐺)       (𝐹(Walks‘𝐺)𝑃𝑃:(0...(♯‘𝐹))⟶𝑉)
 
Theoremwlkpg 16192 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
𝑉 = (Vtx‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → 𝑃:(0...(♯‘𝐹))⟶𝑉)
 
Theoremwlkpwrdg 16193 The sequence of vertices of a walk is a word over the set of vertices. (Contributed by AV, 27-Jan-2021.)
𝑉 = (Vtx‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → 𝑃 ∈ Word 𝑉)
 
Theoremwlklenvp1 16194 The number of vertices of a walk (in an undirected graph) is the number of its edges plus 1. (Contributed by Alexander van der Vekens, 29-Jun-2018.) (Revised by AV, 1-May-2021.)
(𝐹(Walks‘𝐺)𝑃 → (♯‘𝑃) = ((♯‘𝐹) + 1))
 
Theoremwlklenvp1g 16195 The number of vertices of a walk (in an undirected graph) is the number of its edges plus 1. (Contributed by Alexander van der Vekens, 29-Jun-2018.) (Revised by AV, 1-May-2021.)
((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (♯‘𝑃) = ((♯‘𝐹) + 1))
 
Theoremwlkm 16196* The sequence of vertices of a walk cannot be empty, i.e. a walk always consists of at least one vertex. (Contributed by Alexander van der Vekens, 19-Jul-2018.) (Revised by AV, 2-Jan-2021.)
(𝐹(Walks‘𝐺)𝑃 → ∃𝑥 𝑥𝑃)
 
Theoremwlkvtxm 16197* A graph with a walk has at least one vertex. (Contributed by Jim Kingdon, 8-Feb-2026.)
𝑉 = (Vtx‘𝐺)       (𝐹(Walks‘𝐺)𝑃 → ∃𝑥 𝑥𝑉)
 
Theoremwlklenvm1 16198 The number of edges of a walk is the number of its vertices minus 1. (Contributed by Alexander van der Vekens, 1-Jul-2018.) (Revised by AV, 2-Jan-2021.)
(𝐹(Walks‘𝐺)𝑃 → (♯‘𝐹) = ((♯‘𝑃) − 1))
 
Theoremwlklenvm1g 16199 The number of edges of a walk is the number of its vertices minus 1. (Contributed by Alexander van der Vekens, 1-Jul-2018.) (Revised by AV, 2-Jan-2021.)
((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (♯‘𝐹) = ((♯‘𝑃) − 1))
 
Theoremifpsnprss 16200 Lemma for wlkvtxeledgg 16201: Two adjacent (not necessarily different) vertices 𝐴 and 𝐵 in a walk are incident with an edge 𝐸. (Contributed by AV, 4-Apr-2021.) (Revised by AV, 5-Nov-2021.)
(if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸)
    < Previous  Next >

Page List
Jump to page: Contents  1 1-100 2 101-200 3 201-300 4 301-400 5 401-500 6 501-600 7 601-700 8 701-800 9 801-900 10 901-1000 11 1001-1100 12 1101-1200 13 1201-1300 14 1301-1400 15 1401-1500 16 1501-1600 17 1601-1700 18 1701-1800 19 1801-1900 20 1901-2000 21 2001-2100 22 2101-2200 23 2201-2300 24 2301-2400 25 2401-2500 26 2501-2600 27 2601-2700 28 2701-2800 29 2801-2900 30 2901-3000 31 3001-3100 32 3101-3200 33 3201-3300 34 3301-3400 35 3401-3500 36 3501-3600 37 3601-3700 38 3701-3800 39 3801-3900 40 3901-4000 41 4001-4100 42 4101-4200 43 4201-4300 44 4301-4400 45 4401-4500 46 4501-4600 47 4601-4700 48 4701-4800 49 4801-4900 50 4901-5000 51 5001-5100 52 5101-5200 53 5201-5300 54 5301-5400 55 5401-5500 56 5501-5600 57 5601-5700 58 5701-5800 59 5801-5900 60 5901-6000 61 6001-6100 62 6101-6200 63 6201-6300 64 6301-6400 65 6401-6500 66 6501-6600 67 6601-6700 68 6701-6800 69 6801-6900 70 6901-7000 71 7001-7100 72 7101-7200 73 7201-7300 74 7301-7400 75 7401-7500 76 7501-7600 77 7601-7700 78 7701-7800 79 7801-7900 80 7901-8000 81 8001-8100 82 8101-8200 83 8201-8300 84 8301-8400 85 8401-8500 86 8501-8600 87 8601-8700 88 8701-8800 89 8801-8900 90 8901-9000 91 9001-9100 92 9101-9200 93 9201-9300 94 9301-9400 95 9401-9500 96 9501-9600 97 9601-9700 98 9701-9800 99 9801-9900 100 9901-10000 101 10001-10100 102 10101-10200 103 10201-10300 104 10301-10400 105 10401-10500 106 10501-10600 107 10601-10700 108 10701-10800 109 10801-10900 110 10901-11000 111 11001-11100 112 11101-11200 113 11201-11300 114 11301-11400 115 11401-11500 116 11501-11600 117 11601-11700 118 11701-11800 119 11801-11900 120 11901-12000 121 12001-12100 122 12101-12200 123 12201-12300 124 12301-12400 125 12401-12500 126 12501-12600 127 12601-12700 128 12701-12800 129 12801-12900 130 12901-13000 131 13001-13100 132 13101-13200 133 13201-13300 134 13301-13400 135 13401-13500 136 13501-13600 137 13601-13700 138 13701-13800 139 13801-13900 140 13901-14000 141 14001-14100 142 14101-14200 143 14201-14300 144 14301-14400 145 14401-14500 146 14501-14600 147 14601-14700 148 14701-14800 149 14801-14900 150 14901-15000 151 15001-15100 152 15101-15200 153 15201-15300 154 15301-15400 155 15401-15500 156 15501-15600 157 15601-15700 158 15701-15800 159 15801-15900 160 15901-16000 161 16001-16100 162 16101-16200 163 16201-16300 164 16301-16400 165 16401-16500 166 16501-16600 167 16601-16700 168 16701-16724
  Copyright terms: Public domain < Previous  Next >