HomeHome Intuitionistic Logic Explorer
Theorem List (p. 164 of 170)
< 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 - 16301-16400   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremissubgr 16301 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 16302 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 16303 The properties of a subgraph. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝑆)       (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉))
 
Theoremsubgrprop2 16304 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 16305 The property of a hypergraph to be a subgraph. (Contributed by AV, 19-Nov-2020.)
𝑉 = (Vtx‘𝑆)    &   𝐴 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝑆)    &   𝐵 = (iEdg‘𝐺)       ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼𝐵)))
 
Theoremsubgrprop3 16306 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 16307 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 16308 The null graph (represented by an empty set) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.)
(𝐺𝑊 → ∅ SubGraph 𝐺)
 
Theorem0uhgrsubgr 16309 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 16310 A hypergraph is a subgraph of itself. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
(𝐺 ∈ UHGraph → 𝐺 SubGraph 𝐺)
 
Theoremsubgrfun 16311 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 16312 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 16313 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 16314* 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 16315* 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 16316 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 16317 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 16318 A subgraph of a multigraph is a multigraph. (Contributed by AV, 26-Nov-2020.)
((𝐺 ∈ UMGraph ∧ 𝑆 SubGraph 𝐺) → 𝑆 ∈ UMGraph)
 
Theoremsubusgr 16319 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 16320 Lemma for uhgrspansubgr 16321: 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 16321. (Contributed by AV, 18-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UHGraph)       (𝜑 → (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))
 
Theoremuhgrspansubgr 16321 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 16322 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 16323 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 16324 A spanning subgraph 𝑆 of a multigraph 𝐺 is a multigraph. (Contributed by AV, 27-Nov-2020.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (iEdg‘𝐺)    &   (𝜑𝑆𝑊)    &   (𝜑 → (Vtx‘𝑆) = 𝑉)    &   (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))    &   (𝜑𝐺 ∈ UMGraph)       (𝜑𝑆 ∈ UMGraph)
 
Theoremusgrspan 16325 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 16326 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 16327 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 16328 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 16329 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 16330 Extend class notation with the vertex degree function.
class VtxDeg
 
Definitiondf-vtxdg 16331* 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 7168), 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 16332* 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 16333* 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 16334* 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 16335* 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 16336 The vertex degree expressed as operation. (Contributed by AV, 12-Dec-2021.)
(𝐺𝑊 → (VtxDeg‘𝐺) = ((Vtx‘𝐺)VtxDeg(iEdg‘𝐺)))
 
Theoremvtxdgfif 16337 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 16338 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 16339 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 16340 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 16341 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 16342* 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 16343* 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 16344* Lemma for vtxduspgrfvedgfi 16345 and vtxdusgrfvedgfi 16346. (Contributed by AV, 12-Dec-2020.) (Proof shortened by AV, 5-May-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐸 = (Edg‘𝐺)    &   (𝜑 → dom (iEdg‘𝐺) ∈ Fin)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝑈𝑉)    &   (𝜑𝐺 ∈ USPGraph)       (𝜑 → (♯‘{𝑖 ∈ dom (iEdg‘𝐺) ∣ 𝑈 ∈ ((iEdg‘𝐺)‘𝑖)}) = (♯‘{𝑒𝐸𝑈𝑒}))
 
Theoremvtxduspgrfvedgfi 16345* 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 16346* 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 16347 A graph with one edge which is a loop is a simple pseudograph. (Contributed by AV, 21-Feb-2021.)
(𝜑 → (Vtx‘𝐺) = 𝑉)    &   (𝜑𝐴𝑋)    &   (𝜑𝑁𝑉)    &   (𝜑 → (iEdg‘𝐺) = {⟨𝐴, {𝑁}⟩})       (𝜑𝐺 ∈ USPGraph)
 
Theorem1loopgredg 16348 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 16349 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 16350 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 16351 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 16352 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 16353 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 16354 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 16355 Lemma for p1evtxdeqfi 16356 and p1evtxdp1fi 16357. (Contributed by AV, 3-Mar-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   (𝜑 → Fun 𝐼)    &   (𝜑 → (Vtx‘𝐹) = 𝑉)    &   (𝜑 → (iEdg‘𝐹) = (𝐼 ∪ {⟨𝐾, 𝐸⟩}))    &   (𝜑𝐾𝑋)    &   (𝜑𝐾 ∉ dom 𝐼)    &   (𝜑𝑈𝑉)    &   (𝜑𝑉 ∈ Fin)    &   (𝜑𝐺 ∈ UPGraph)    &   (𝜑 → dom 𝐼 ∈ Fin)    &   (𝜑𝐸 ∈ 𝒫 𝑉)    &   (𝜑𝐸 ≈ 2o)    &   (𝜑𝐸𝑌)       (𝜑 → ((VtxDeg‘𝐹)‘𝑈) = (((VtxDeg‘𝐺)‘𝑈) + ((VtxDeg‘⟨𝑉, {⟨𝐾, 𝐸⟩}⟩)‘𝑈)))
 
Theoremp1evtxdeqfi 16356 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 16357 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 16358* 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 16359* 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 16360* 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 16361 Extend class notation with walks (i.e. 1-walks) (of a hypergraph).
class Walks
 
Definitiondf-wlks 16362* 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 16403) discussed in Aksoy et al. The predicate 𝐹(Walks‘𝐺)𝑃 can be read as "The pair 𝐹, 𝑃 represents a walk in a graph 𝐺", see also iswlk 16367.

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 16363 If there are walks on a graph, the graph is a set. (Contributed by Jim Kingdon, 1-Feb-2026.)
(𝑊 ∈ (Walks‘𝐺) → 𝐺 ∈ V)
 
Theoremwkslem1 16364 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 16365 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 16366* 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 16367* 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 16368* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))))
 
Theoremwlkex 16369 The class of walks on a graph is a set. (Contributed by Jim Kingdon, 7-Feb-2026.)
(𝐺𝑉 → (Walks‘𝐺) ∈ V)
 
Theoremwlkv 16370 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 16371* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)       (𝐹(Walks‘𝐺)𝑃 → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))))
 
Theoremwlkvg 16372 The classes involved in a walk are sets. Now that we have wlkv 16370 there is no reason to use this theorem in new proofs and using wlkv 16370 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 16373* Generalization of iswlk 16367: 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 16374 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 16375 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 16376 A walk has length ♯(𝐹), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
(𝐹(Walks‘𝐺)𝑃 → (♯‘𝐹) ∈ ℕ0)
 
Theoremwlkclg 16377 A walk has length ♯(𝐹), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → (♯‘𝐹) ∈ ℕ0)
 
Theoremwlkp 16378 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
𝑉 = (Vtx‘𝐺)       (𝐹(Walks‘𝐺)𝑃𝑃:(0...(♯‘𝐹))⟶𝑉)
 
Theoremwlkpg 16379 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
𝑉 = (Vtx‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → 𝑃:(0...(♯‘𝐹))⟶𝑉)
 
Theoremwlkpwrdg 16380 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 16381 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 16382 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 16383* 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 16384* A graph with a walk has at least one vertex. (Contributed by Jim Kingdon, 8-Feb-2026.)
𝑉 = (Vtx‘𝐺)       (𝐹(Walks‘𝐺)𝑃 → ∃𝑥 𝑥𝑉)
 
Theoremwlklenvm1 16385 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 16386 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 16387 Lemma for wlkvtxeledgg 16388: 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-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸)
 
Theoremwlkvtxeledgg 16388* Each pair of adjacent vertices in a walk is a subset of an edge. (Contributed by AV, 28-Jan-2021.) (Proof shortened by AV, 4-Apr-2021.)
𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → ∀𝑘 ∈ (0..^(♯‘𝐹)){(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))
 
Theoremwlkvtxiedg 16389* The vertices of a walk are connected by indexed edges. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.) (Proof shortened by AV, 4-Apr-2021.)
𝐼 = (iEdg‘𝐺)       (𝐹(Walks‘𝐺)𝑃 → ∀𝑘 ∈ (0..^(♯‘𝐹))∃𝑒 ∈ ran 𝐼{(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ 𝑒)
 
Theoremwlkvtxiedgg 16390* The vertices of a walk are connected by indexed edges. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.) (Proof shortened by AV, 4-Apr-2021.)
𝐼 = (iEdg‘𝐺)       ((𝐺𝑊𝐹(Walks‘𝐺)𝑃) → ∀𝑘 ∈ (0..^(♯‘𝐹))∃𝑒 ∈ ran 𝐼{(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ 𝑒)
 
Theoremrelwlk 16391 The set (Walks‘𝐺) of all walks on 𝐺 is a set of pairs by our definition of a walk, and so is a relation. (Contributed by Alexander van der Vekens, 30-Jun-2018.) (Revised by AV, 19-Feb-2021.)
Rel (Walks‘𝐺)
 
Theoremwlkop 16392 A walk is an ordered pair. (Contributed by Alexander van der Vekens, 30-Jun-2018.) (Revised by AV, 1-Jan-2021.)
(𝑊 ∈ (Walks‘𝐺) → 𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩)
 
Theoremwlkelvv 16393 A walk is an ordered pair. (Contributed by Jim Kingdon, 2-Feb-2026.)
(𝑊 ∈ (Walks‘𝐺) → 𝑊 ∈ (V × V))
 
Theoremwlkcprim 16394 A walk as class with two components. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.) (Revised by Jim Kingdon, 1-Feb-2026.)
(𝑊 ∈ (Walks‘𝐺) → (1st𝑊)(Walks‘𝐺)(2nd𝑊))
 
Theoremwlk2f 16395* If there is a walk 𝑊 there is a pair of functions representing this walk. (Contributed by Alexander van der Vekens, 22-Jul-2018.)
(𝑊 ∈ (Walks‘𝐺) → ∃𝑓𝑝 𝑓(Walks‘𝐺)𝑝)
 
Theoremwlkcompim 16396* Implications for the properties of the components of a walk. (Contributed by Alexander van der Vekens, 23-Jun-2018.) (Revised by AV, 2-Jan-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐹 = (1st𝑊)    &   𝑃 = (2nd𝑊)       (𝑊 ∈ (Walks‘𝐺) → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝐹))if-((𝑃𝑘) = (𝑃‘(𝑘 + 1)), (𝐼‘(𝐹𝑘)) = {(𝑃𝑘)}, {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ⊆ (𝐼‘(𝐹𝑘)))))
 
Theoremwlkelwrd 16397 The components of a walk are words/functions over a zero based range of integers. (Contributed by Alexander van der Vekens, 23-Jun-2018.) (Revised by AV, 2-Jan-2021.)
𝑉 = (Vtx‘𝐺)    &   𝐼 = (iEdg‘𝐺)    &   𝐹 = (1st𝑊)    &   𝑃 = (2nd𝑊)       (𝑊 ∈ (Walks‘𝐺) → (𝐹 ∈ Word dom 𝐼𝑃:(0...(♯‘𝐹))⟶𝑉))
 
Theoremwlkeq 16398* Conditions for two walks (within the same graph) being the same. (Contributed by AV, 1-Jul-2018.) (Revised by AV, 16-May-2019.) (Revised by AV, 14-Apr-2021.)
((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st𝐴))) → (𝐴 = 𝐵 ↔ (𝑁 = (♯‘(1st𝐵)) ∧ ∀𝑥 ∈ (0..^𝑁)((1st𝐴)‘𝑥) = ((1st𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd𝐴)‘𝑥) = ((2nd𝐵)‘𝑥))))
 
Theoremedginwlkd 16399 The value of the edge function for an index of an edge within a walk is an edge. (Contributed by AV, 2-Jan-2021.) (Revised by AV, 9-Dec-2021.) (Revised by Jim Kingdon, 2-Feb-2026.)
𝐼 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝐺)    &   (𝜑 → Fun 𝐼)    &   (𝜑𝐹 ∈ Word dom 𝐼)    &   (𝜑𝐾 ∈ (0..^(♯‘𝐹)))    &   (𝜑𝐺𝑉)       (𝜑 → (𝐼‘(𝐹𝐾)) ∈ 𝐸)
 
Theoremupgredginwlk 16400 The value of the edge function for an index of an edge within a walk is an edge. (Contributed by AV, 2-Jan-2021.)
𝐼 = (iEdg‘𝐺)    &   𝐸 = (Edg‘𝐺)       ((𝐺 ∈ UPGraph ∧ 𝐹 ∈ Word dom 𝐼) → (𝐾 ∈ (0..^(♯‘𝐹)) → (𝐼‘(𝐹𝐾)) ∈ 𝐸))
    < 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-16800 169 16801-16900 170 16901-16930
  Copyright terms: Public domain < Previous  Next >