HomeHome Intuitionistic Logic Explorer
Theorem List (p. 163 of 169)
< Previous  Next >
Browser slow? Try the
Unicode version.

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

Theorem List for Intuitionistic Logic Explorer - 16201-16300   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremuhgrspansubgr 16201 A spanning subgraph  S of a hypergraph  G is actually a subgraph of  G. A subgraph  S of a graph  G which has the same vertices as  G and is obtained by removing some edges of  G 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.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  (Vtx `  S )  =  V )   &    |-  ( ph  ->  (iEdg `  S )  =  ( E  |`  A ) )   &    |-  ( ph  ->  G  e. UHGraph )   =>    |-  ( ph  ->  S SubGraph  G )
 
Theoremuhgrspan 16202 A spanning subgraph  S of a hypergraph  G is a hypergraph. (Contributed by AV, 11-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  (Vtx `  S )  =  V )   &    |-  ( ph  ->  (iEdg `  S )  =  ( E  |`  A ) )   &    |-  ( ph  ->  G  e. UHGraph )   =>    |-  ( ph  ->  S  e. UHGraph )
 
Theoremupgrspan 16203 A spanning subgraph  S of a pseudograph  G is a pseudograph. (Contributed by AV, 11-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  (Vtx `  S )  =  V )   &    |-  ( ph  ->  (iEdg `  S )  =  ( E  |`  A ) )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  S  e. UPGraph )
 
Theoremumgrspan 16204 A spanning subgraph  S of a multigraph  G is a multigraph. (Contributed by AV, 27-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  (Vtx `  S )  =  V )   &    |-  ( ph  ->  (iEdg `  S )  =  ( E  |`  A ) )   &    |-  ( ph  ->  G  e. UMGraph )   =>    |-  ( ph  ->  S  e. UMGraph )
 
Theoremusgrspan 16205 A spanning subgraph  S of a simple graph  G is a simple graph. (Contributed by AV, 15-Oct-2020.) (Revised by AV, 16-Oct-2020.) (Proof shortened by AV, 18-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  (Vtx `  S )  =  V )   &    |-  ( ph  ->  (iEdg `  S )  =  ( E  |`  A ) )   &    |-  ( ph  ->  G  e. USGraph )   =>    |-  ( ph  ->  S  e. USGraph )
 
Theoremuhgrspanop 16206 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.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( G  e. UHGraph  ->  <. V ,  ( E  |`  A )
 >.  e. UHGraph )
 
Theoremupgrspanop 16207 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.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( G  e. UPGraph  ->  <. V ,  ( E  |`  A )
 >.  e. UPGraph )
 
Theoremumgrspanop 16208 A spanning subgraph of a multigraph represented by an ordered pair is a multigraph. (Contributed by AV, 27-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( G  e. UMGraph  ->  <. V ,  ( E  |`  A )
 >.  e. UMGraph )
 
Theoremusgrspanop 16209 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.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( G  e. USGraph  ->  <. V ,  ( E  |`  A )
 >.  e. USGraph )
 
12.2.8  Vertex degree
 
Syntaxcvtxdg 16210 Extend class notation with the vertex degree function.
 class VtxDeg
 
Definitiondf-vtxdg 16211* Define the vertex degree function for a graph. To be appropriate for arbitrary hypergraphs, we have to double-count those edges that contain  u "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  +e 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 7141), 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  =  ( g  e.  _V  |->  [_ (Vtx `  g )  /  v ]_ [_ (iEdg `  g )  /  e ]_ ( u  e.  v  |->  ( ( `  { x  e.  dom  e  |  u  e.  ( e `  x ) } ) +e
 ( `  { x  e. 
 dom  e  |  ( e `  x )  =  { u } } ) ) ) )
 
Theoremvtxdgfval 16212* 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   =>    |-  ( G  e.  W  ->  (VtxDeg `  G )  =  ( u  e.  V  |->  ( ( `  { x  e.  A  |  u  e.  ( I `  x ) } ) +e
 ( `  { x  e.  A  |  ( I `
  x )  =  { u } }
 ) ) ) )
 
Theoremvtxedgfi 16213* In a finite graph, the number of edges from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  { x  e.  A  |  U  e.  ( I `  x ) }  e.  Fin )
 
Theoremvtxlpfi 16214* In a finite graph, the number of loops from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  { x  e.  A  |  ( I `
  x )  =  { U } }  e.  Fin )
 
Theoremvtxdgfifival 16215* The degree of a vertex for graphs with finite vertex and edge sets. (Contributed by Jim Kingdon, 10-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  (
 ( `  { x  e.  A  |  U  e.  ( I `  x ) } )  +  ( ` 
 { x  e.  A  |  ( I `  x )  =  { U } } ) ) )
 
Theoremvtxdgop 16216 The vertex degree expressed as operation. (Contributed by AV, 12-Dec-2021.)
 |-  ( G  e.  W  ->  (VtxDeg `  G )  =  ( (Vtx `  G )VtxDeg (iEdg `  G )
 ) )
 
Theoremvtxdgfif 16217 In a finite graph, the vertex degree function is a function from vertices to nonnegative integers. (Contributed by Jim Kingdon, 17-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (VtxDeg `  G ) : V --> NN0 )
 
Theoremvtxdg0v 16218 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.)
 |-  V  =  (Vtx `  G )   =>    |-  ( ( G  =  (/)  /\  U  e.  V ) 
 ->  ( (VtxDeg `  G ) `  U )  =  0 )
 
Theoremvtxdgfi0e 16219 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  I  =  (/) )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  0
 )
 
Theoremvtxdeqd 16220 Equality theorem for the vertex degree: If two graphs are structurally equal, their vertex degree functions are equal. (Contributed by AV, 26-Feb-2021.)
 |-  ( ph  ->  G  e.  X )   &    |-  ( ph  ->  H  e.  Y )   &    |-  ( ph  ->  (Vtx `  H )  =  (Vtx `  G ) )   &    |-  ( ph  ->  (iEdg `  H )  =  (iEdg `  G ) )   =>    |-  ( ph  ->  (VtxDeg `  H )  =  (VtxDeg `  G ) )
 
Theoremvtxdfifiun 16221 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.)
 |-  I  =  (iEdg `  G )   &    |-  J  =  (iEdg `  H )   &    |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  (Vtx `  H )  =  V )   &    |-  ( ph  ->  (Vtx `  U )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  H  e. UPGraph )   &    |-  ( ph  ->  ( dom  I  i^i  dom  J )  =  (/) )   &    |-  ( ph  ->  Fun  I )   &    |-  ( ph  ->  Fun  J )   &    |-  ( ph  ->  N  e.  V )   &    |-  ( ph  ->  (iEdg `  U )  =  ( I  u.  J ) )   &    |-  ( ph  ->  dom 
 I  e.  Fin )   &    |-  ( ph  ->  dom  J  e.  Fin )   =>    |-  ( ph  ->  (
 (VtxDeg `  U ) `  N )  =  (
 ( (VtxDeg `  G ) `  N )  +  ( (VtxDeg `  H ) `  N ) ) )
 
Theoremvtxdumgrfival 16222* 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  D  =  (VtxDeg `  G )   &    |-  ( ph  ->  G  e. UMGraph )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   =>    |-  ( ph  ->  ( D `  U )  =  ( `  { x  e.  A  |  U  e.  ( I `  x ) } ) )
 
Theoremvtxd0nedgbfi 16223* 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  D  =  (VtxDeg `  G )   &    |-  ( ph  ->  dom 
 I  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (
 ( D `  U )  =  0  <->  -.  E. i  e. 
 dom  I  U  e.  ( I `  i ) ) )
 
Theoremvtxduspgrfvedgfilem 16224* Lemma for vtxduspgrfvedgfi 16225 and vtxdusgrfvedgfi 16226. (Contributed by AV, 12-Dec-2020.) (Proof shortened by AV, 5-May-2021.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   &    |-  ( ph  ->  dom  (iEdg `  G )  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. USPGraph )   =>    |-  ( ph  ->  ( ` 
 { i  e.  dom  (iEdg `  G )  |  U  e.  ( (iEdg `  G ) `  i
 ) } )  =  ( `  { e  e.  E  |  U  e.  e } ) )
 
Theoremvtxduspgrfvedgfi 16225* The value of the vertex degree function for a simple pseudograph. (Contributed by AV, 12-Dec-2020.) (Proof shortened by AV, 5-May-2021.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   &    |-  ( ph  ->  dom  (iEdg `  G )  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. USPGraph )   &    |-  D  =  (VtxDeg `  G )   =>    |-  ( ph  ->  ( D `  U )  =  ( ( `  { e  e.  E  |  U  e.  e } )  +  ( ` 
 { e  e.  E  |  e  =  { U } } ) ) )
 
Theoremvtxdusgrfvedgfi 16226* The value of the vertex degree function for a simple graph. (Contributed by AV, 12-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   &    |-  ( ph  ->  dom  (iEdg `  G )  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. USGraph )   &    |-  D  =  (VtxDeg `  G )   =>    |-  ( ph  ->  ( D `  U )  =  ( `  { e  e.  E  |  U  e.  e } ) )
 
Theorem1loopgruspgr 16227 A graph with one edge which is a loop is a simple pseudograph. (Contributed by AV, 21-Feb-2021.)
 |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  N  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { N } >. } )   =>    |-  ( ph  ->  G  e. USPGraph )
 
Theorem1loopgredg 16228 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.)
 |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  N  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { N } >. } )   =>    |-  ( ph  ->  (Edg `  G )  =  { { N } } )
 
Theorem1loopgrvd2fi 16229 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.)
 |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  N  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { N } >. } )   &    |-  ( ph  ->  V  e.  Fin )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  N )  =  2
 )
 
Theorem1loopgrvd0fi 16230 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.)
 |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  N  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { N } >. } )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  K  e.  ( V  \  { N } ) )   =>    |-  ( ph  ->  ( (VtxDeg `  G ) `  K )  =  0 )
 
Theorem1hevtxdg0fi 16231 The vertex degree of vertex  D in a finite pseudograph 
G with only one edge  E is 0 if  D is not incident with the edge  E. (Contributed by AV, 2-Mar-2021.) (Revised by Jim Kingdon, 13-Mar-2026.)
 |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  E >. } )   &    |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  D  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  E  e.  Y )   &    |-  ( ph  ->  D  e/  E )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  D )  =  0
 )
 
Theorem1hevtxdg1en 16232 The vertex degree of vertex  D in a multigraph  G with only one edge  E is 1 if  D is incident with the edge  E. (Contributed by AV, 2-Mar-2021.) (Proof shortened by AV, 17-Apr-2021.)
 |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  E >. } )   &    |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  D  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UMGraph )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  D  e.  E )   &    |-  ( ph  ->  E 
 ~~  2o )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  D )  =  1
 )
 
Theorem1hegrvtxdg1fi 16233 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.)
 |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  V )   &    |-  ( ph  ->  B  =/=  C )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  E >. } )   &    |-  ( ph  ->  { B ,  C }  C_  E )   &    |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UMGraph )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  B )  =  1
 )
 
Theorem1hegrvtxdg1rfi 16234 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.)
 |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  V )   &    |-  ( ph  ->  B  =/=  C )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  E >. } )   &    |-  ( ph  ->  { B ,  C }  C_  E )   &    |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UMGraph )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  C )  =  1
 )
 
Theoremp1evtxdeqfilem 16235 Lemma for p1evtxdeqfi 16236 and p1evtxdp1fi 16237. (Contributed by AV, 3-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  Fun 
 I )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I  u.  { <. K ,  E >. } )
 )   &    |-  ( ph  ->  K  e.  X )   &    |-  ( ph  ->  K 
 e/  dom  I )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  dom 
 I  e.  Fin )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  E 
 ~~  2o )   &    |-  ( ph  ->  E  e.  Y )   =>    |-  ( ph  ->  ( (VtxDeg `  F ) `  U )  =  ( ( (VtxDeg `  G ) `  U )  +  ( (VtxDeg `  <. V ,  { <. K ,  E >. } >. ) `  U ) ) )
 
Theoremp1evtxdeqfi 16236 If an edge  E which does not contain vertex  U is added to a graph  G (yielding a graph  F), the degree of  U is the same in both graphs. (Contributed by AV, 2-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  Fun 
 I )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I  u.  { <. K ,  E >. } )
 )   &    |-  ( ph  ->  K  e.  X )   &    |-  ( ph  ->  K 
 e/  dom  I )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  dom 
 I  e.  Fin )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  E 
 ~~  2o )   &    |-  ( ph  ->  E  e.  Y )   &    |-  ( ph  ->  U  e/  E )   =>    |-  ( ph  ->  (
 (VtxDeg `  F ) `  U )  =  (
 (VtxDeg `  G ) `  U ) )
 
Theoremp1evtxdp1fi 16237 If an edge  E (not being a loop) which contains vertex  U is added to a graph  G (yielding a graph  F), the degree of  U is increased by 1. (Contributed by AV, 3-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  Fun 
 I )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I  u.  { <. K ,  E >. } )
 )   &    |-  ( ph  ->  K  e.  X )   &    |-  ( ph  ->  K 
 e/  dom  I )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  dom 
 I  e.  Fin )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  E 
 ~~  2o )   &    |-  ( ph  ->  U  e.  E )   =>    |-  ( ph  ->  ( (VtxDeg `  F ) `  U )  =  ( ( (VtxDeg `  G ) `  U )  +  1 ) )
 
Theoremvdegp1aid 16238* The induction step for a vertex degree calculation. If the degree of  U in the edge set  E is  P, then adding  { X ,  Y } to the edge set, where  X  =/=  U  =/= 
Y, yields degree  P as well. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  U  e.  V )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  I  e. Word  { x  e.  ~P V  |  ( x  ~~  1o  \/  x  ~~  2o ) }
 )   &    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  P )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  X  =/=  U )   &    |-  ( ph  ->  Y  e.  V )   &    |-  ( ph  ->  Y  =/=  U )   &    |-  ( ph  ->  X  =/=  Y )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I ++  <" { X ,  Y } "> ) )   =>    |-  ( ph  ->  (
 (VtxDeg `  F ) `  U )  =  P )
 
Theoremvdegp1bid 16239* The induction step for a vertex degree calculation, for example in the Königsberg graph. If the degree of  U in the edge set  E is  P, then adding  { U ,  X } to the edge set, where  X  =/=  U, yields degree  P  +  1. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  U  e.  V )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  I  e. Word  { x  e.  ~P V  |  ( x  ~~  1o  \/  x  ~~  2o ) }
 )   &    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  P )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  X  =/=  U )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I ++  <" { U ,  X } "> ) )   =>    |-  ( ph  ->  (
 (VtxDeg `  F ) `  U )  =  ( P  +  1 )
 )
 
Theoremvdegp1cid 16240* The induction step for a vertex degree calculation, for example in the Königsberg graph. If the degree of  U in the edge set  E is  P, then adding  { X ,  U } to the edge set, where  X  =/=  U, yields degree  P  +  1. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.)
 |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  U  e.  V )   &    |-  I  =  (iEdg `  G )   &    |-  ( ph  ->  I  e. Word  { x  e.  ~P V  |  ( x  ~~  1o  \/  x  ~~  2o ) }
 )   &    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  P )   &    |-  ( ph  ->  (Vtx `  F )  =  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  X  =/=  U )   &    |-  ( ph  ->  (iEdg `  F )  =  ( I ++  <" { X ,  U } "> ) )   =>    |-  ( ph  ->  (
 (VtxDeg `  F ) `  U )  =  ( P  +  1 )
 )
 
12.3  Walks, paths and cycles
 
12.3.1  Walks
 
Syntaxcwlks 16241 Extend class notation with walks (i.e. 1-walks) (of a hypergraph).
 class Walks
 
Definitiondf-wlks 16242* 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 16283) discussed in Aksoy et al. The predicate  F (Walks `  G ) P can be read as "The pair  <. F ,  P >. represents a walk in a graph  G", see also iswlk 16247.

The condition  { ( p `  k ) ,  ( p `  ( k  +  1 ) ) }  C_  ( (iEdg `  g ) `  (
f `  k )
) (hereinafter referred to as C) would not be sufficient, because the repetition of a vertex in a walk (i.e.  ( p `  k )  =  ( p `  ( k  +  1 ) ) should be allowed only if there is a loop at  ( p `  k
). Otherwise, C would be fulfilled by each edge containing  ( p `  k
).

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  =  ( g  e.  _V  |->  {
 <. f ,  p >.  |  ( f  e. Word  dom  (iEdg `  g )  /\  p : ( 0 ... ( `  f )
 ) --> (Vtx `  g
 )  /\  A. k  e.  ( 0..^ ( `  f
 ) )if- ( ( p `  k )  =  ( p `  ( k  +  1
 ) ) ,  (
 (iEdg `  g ) `  ( f `  k
 ) )  =  {
 ( p `  k
 ) } ,  {
 ( p `  k
 ) ,  ( p `
  ( k  +  1 ) ) }  C_  ( (iEdg `  g
 ) `  ( f `  k ) ) ) ) } )
 
Theoremwlkmex 16243 If there are walks on a graph, the graph is a set. (Contributed by Jim Kingdon, 1-Feb-2026.)
 |-  ( W  e.  (Walks `  G )  ->  G  e.  _V )
 
Theoremwkslem1 16244 Lemma 1 for walks to substitute the index of the condition for vertices and edges in a walk. (Contributed by AV, 23-Apr-2021.)
 |-  ( A  =  B  ->  (if- ( ( P `
  A )  =  ( P `  ( A  +  1 )
 ) ,  ( I `
  ( F `  A ) )  =  { ( P `  A ) } ,  { ( P `  A ) ,  ( P `  ( A  +  1 ) ) }  C_  ( I `  ( F `  A ) ) )  <-> if- ( ( P `  B )  =  ( P `  ( B  +  1 ) ) ,  ( I `  ( F `  B ) )  =  { ( P `
  B ) } ,  { ( P `  B ) ,  ( P `  ( B  +  1 ) ) }  C_  ( I `  ( F `  B ) ) ) ) )
 
Theoremwkslem2 16245 Lemma 2 for walks to substitute the index of the condition for vertices and edges in a walk. (Contributed by AV, 23-Apr-2021.)
 |-  ( ( A  =  B  /\  ( A  +  1 )  =  C )  ->  (if- ( ( P `  A )  =  ( P `  ( A  +  1
 ) ) ,  ( I `  ( F `  A ) )  =  { ( P `  A ) } ,  { ( P `  A ) ,  ( P `  ( A  +  1 ) ) }  C_  ( I `  ( F `  A ) ) )  <-> if- ( ( P `  B )  =  ( P `  C ) ,  ( I `  ( F `  B ) )  =  { ( P `
  B ) } ,  { ( P `  B ) ,  ( P `  C ) }  C_  ( I `  ( F `  B ) ) ) ) )
 
Theoremwksfval 16246* The set of walks (in an undirected graph). (Contributed by AV, 30-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( G  e.  W  ->  (Walks `  G )  =  { <. f ,  p >.  |  ( f  e. Word  dom  I  /\  p :
 ( 0 ... ( `  f ) ) --> V  /\  A. k  e.  ( 0..^ ( `  f )
 )if- ( ( p `
  k )  =  ( p `  (
 k  +  1 ) ) ,  ( I `
  ( f `  k ) )  =  { ( p `  k ) } ,  { ( p `  k ) ,  ( p `  ( k  +  1 ) ) }  C_  ( I `  (
 f `  k )
 ) ) ) }
 )
 
Theoremiswlk 16247* Properties of a pair of functions to be/represent a walk. (Contributed by AV, 30-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  F  e.  U  /\  P  e.  Z ) 
 ->  ( F (Walks `  G ) P  <->  ( F  e. Word  dom 
 I  /\  P :
 ( 0 ... ( `  F ) ) --> V  /\  A. k  e.  ( 0..^ ( `  F )
 )if- ( ( P `
  k )  =  ( P `  (
 k  +  1 ) ) ,  ( I `
  ( F `  k ) )  =  { ( P `  k ) } ,  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) ) ) ) )
 
Theoremwlkpropg 16248* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  ( F  e. Word  dom  I 
 /\  P : ( 0 ... ( `  F ) ) --> V  /\  A. k  e.  ( 0..^ ( `  F )
 )if- ( ( P `
  k )  =  ( P `  (
 k  +  1 ) ) ,  ( I `
  ( F `  k ) )  =  { ( P `  k ) } ,  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) ) ) )
 
Theoremwlkex 16249 The class of walks on a graph is a set. (Contributed by Jim Kingdon, 7-Feb-2026.)
 |-  ( G  e.  V  ->  (Walks `  G )  e.  _V )
 
Theoremwlkv 16250 The classes involved in a walk are sets. (Contributed by Alexander van der Vekens, 31-Oct-2017.) (Revised by AV, 3-Feb-2021.)
 |-  ( F (Walks `  G ) P  ->  ( G  e.  _V  /\  F  e.  _V  /\  P  e.  _V ) )
 
Theoremwlkprop 16251* Properties of a walk. (Contributed by AV, 5-Nov-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( F (Walks `  G ) P  ->  ( F  e. Word  dom  I  /\  P : ( 0 ... ( `  F )
 ) --> V  /\  A. k  e.  ( 0..^ ( `  F ) )if- ( ( P `  k )  =  ( P `  ( k  +  1 ) ) ,  ( I `  ( F `  k ) )  =  { ( P `
  k ) } ,  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) ) ) )
 
Theoremwlkvg 16252 The classes involved in a walk are sets. Now that we have wlkv 16250 there is no reason to use this theorem in new proofs and using wlkv 16250 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.)
 |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  ( F  e.  _V  /\  P  e.  _V )
 )
 
Theoremiswlkg 16253* Generalization of iswlk 16247: Conditions for two classes to represent a walk. (Contributed by Alexander van der Vekens, 23-Jun-2018.) (Revised by AV, 1-Jan-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( G  e.  W  ->  ( F (Walks `  G ) P  <->  ( F  e. Word  dom 
 I  /\  P :
 ( 0 ... ( `  F ) ) --> V  /\  A. k  e.  ( 0..^ ( `  F )
 )if- ( ( P `
  k )  =  ( P `  (
 k  +  1 ) ) ,  ( I `
  ( F `  k ) )  =  { ( P `  k ) } ,  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) ) ) ) )
 
Theoremwlkf 16254 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.)
 |-  I  =  (iEdg `  G )   =>    |-  ( F (Walks `  G ) P  ->  F  e. Word  dom  I )
 
Theoremwlkfg 16255 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.)
 |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  F  e. Word  dom  I )
 
Theoremwlkcl 16256 A walk has length ♯ ( F ), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
 |-  ( F (Walks `  G ) P  ->  ( `  F )  e.  NN0 )
 
Theoremwlkclg 16257 A walk has length ♯ ( F ), which is an integer. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 18-Feb-2021.)
 |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  ( `  F )  e.  NN0 )
 
Theoremwlkp 16258 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
 |-  V  =  (Vtx `  G )   =>    |-  ( F (Walks `  G ) P  ->  P : ( 0 ... ( `  F )
 ) --> V )
 
Theoremwlkpg 16259 The mapping enumerating the vertices of a walk is a function. (Contributed by AV, 5-Apr-2021.)
 |-  V  =  (Vtx `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  P : ( 0
 ... ( `  F )
 ) --> V )
 
Theoremwlkpwrdg 16260 The sequence of vertices of a walk is a word over the set of vertices. (Contributed by AV, 27-Jan-2021.)
 |-  V  =  (Vtx `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  P  e. Word  V )
 
Theoremwlklenvp1 16261 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.)
 |-  ( F (Walks `  G ) P  ->  ( `  P )  =  ( ( `  F )  +  1 ) )
 
Theoremwlklenvp1g 16262 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.)
 |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  ( `  P )  =  ( ( `  F )  +  1 )
 )
 
Theoremwlkm 16263* 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.)
 |-  ( F (Walks `  G ) P  ->  E. x  x  e.  P )
 
Theoremwlkvtxm 16264* A graph with a walk has at least one vertex. (Contributed by Jim Kingdon, 8-Feb-2026.)
 |-  V  =  (Vtx `  G )   =>    |-  ( F (Walks `  G ) P  ->  E. x  x  e.  V )
 
Theoremwlklenvm1 16265 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.)
 |-  ( F (Walks `  G ) P  ->  ( `  F )  =  ( ( `  P )  -  1 ) )
 
Theoremwlklenvm1g 16266 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.)
 |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  ( `  F )  =  ( ( `  P )  -  1 ) )
 
Theoremifpsnprss 16267 Lemma for wlkvtxeledgg 16268: Two adjacent (not necessarily different) vertices  A and  B in a walk are incident with an edge  E. (Contributed by AV, 4-Apr-2021.) (Revised by AV, 5-Nov-2021.)
 |-  (if- ( A  =  B ,  E  =  { A } ,  { A ,  B }  C_  E )  ->  { A ,  B }  C_  E )
 
Theoremwlkvtxeledgg 16268* 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.)
 |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  A. k  e.  (
 0..^ ( `  F )
 ) { ( P `
  k ) ,  ( P `  (
 k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) )
 
Theoremwlkvtxiedg 16269* 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.)
 |-  I  =  (iEdg `  G )   =>    |-  ( F (Walks `  G ) P  ->  A. k  e.  ( 0..^ ( `  F )
 ) E. e  e. 
 ran  I { ( P `  k ) ,  ( P `  (
 k  +  1 ) ) }  C_  e
 )
 
Theoremwlkvtxiedgg 16270* 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.)
 |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  F (Walks `  G ) P ) 
 ->  A. k  e.  (
 0..^ ( `  F )
 ) E. e  e. 
 ran  I { ( P `  k ) ,  ( P `  (
 k  +  1 ) ) }  C_  e
 )
 
Theoremrelwlk 16271 The set  (Walks `  G
) of all walks on  G 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 `  G )
 
Theoremwlkop 16272 A walk is an ordered pair. (Contributed by Alexander van der Vekens, 30-Jun-2018.) (Revised by AV, 1-Jan-2021.)
 |-  ( W  e.  (Walks `  G )  ->  W  =  <. ( 1st `  W ) ,  ( 2nd `  W ) >. )
 
Theoremwlkelvv 16273 A walk is an ordered pair. (Contributed by Jim Kingdon, 2-Feb-2026.)
 |-  ( W  e.  (Walks `  G )  ->  W  e.  ( _V  X.  _V ) )
 
Theoremwlkcprim 16274 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.)
 |-  ( W  e.  (Walks `  G )  ->  ( 1st `  W ) (Walks `  G ) ( 2nd `  W ) )
 
Theoremwlk2f 16275* If there is a walk  W there is a pair of functions representing this walk. (Contributed by Alexander van der Vekens, 22-Jul-2018.)
 |-  ( W  e.  (Walks `  G )  ->  E. f E. p  f (Walks `  G ) p )
 
Theoremwlkcompim 16276* 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  F  =  ( 1st `  W )   &    |-  P  =  ( 2nd `  W )   =>    |-  ( W  e.  (Walks `  G )  ->  ( F  e. Word  dom  I  /\  P : ( 0 ... ( `  F )
 ) --> V  /\  A. k  e.  ( 0..^ ( `  F ) )if- ( ( P `  k )  =  ( P `  ( k  +  1 ) ) ,  ( I `  ( F `  k ) )  =  { ( P `
  k ) } ,  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }  C_  ( I `  ( F `  k ) ) ) ) )
 
Theoremwlkelwrd 16277 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.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  F  =  ( 1st `  W )   &    |-  P  =  ( 2nd `  W )   =>    |-  ( W  e.  (Walks `  G )  ->  ( F  e. Word  dom  I  /\  P : ( 0 ... ( `  F )
 ) --> V ) )
 
Theoremwlkeq 16278* 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.)
 |-  ( ( A  e.  (Walks `  G )  /\  B  e.  (Walks `  G )  /\  N  =  ( `  ( 1st `  A ) ) )  ->  ( A  =  B  <->  ( N  =  ( `  ( 1st `  B ) ) 
 /\  A. x  e.  (
 0..^ N ) ( ( 1st `  A ) `  x )  =  ( ( 1st `  B ) `  x )  /\  A. x  e.  ( 0
 ... N ) ( ( 2nd `  A ) `  x )  =  ( ( 2nd `  B ) `  x ) ) ) )
 
Theoremedginwlkd 16279 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.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   &    |-  ( ph  ->  Fun 
 I )   &    |-  ( ph  ->  F  e. Word  dom  I )   &    |-  ( ph  ->  K  e.  (
 0..^ ( `  F )
 ) )   &    |-  ( ph  ->  G  e.  V )   =>    |-  ( ph  ->  ( I `  ( F `
  K ) )  e.  E )
 
Theoremupgredginwlk 16280 The value of the edge function for an index of an edge within a walk is an edge. (Contributed by AV, 2-Jan-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. UPGraph  /\  F  e. Word  dom  I ) 
 ->  ( K  e.  (
 0..^ ( `  F )
 )  ->  ( I `  ( F `  K ) )  e.  E ) )
 
Theoremiedginwlk 16281 The value of the edge function for an index of an edge within a walk is an edge. (Contributed by AV, 23-Apr-2021.)
 |-  I  =  (iEdg `  G )   =>    |-  ( ( Fun  I  /\  F (Walks `  G ) P  /\  X  e.  ( 0..^ ( `  F )
 ) )  ->  ( I `  ( F `  X ) )  e. 
 ran  I )
 
Theoremwlkl1loop 16282 A walk of length 1 from a vertex to itself is a loop. (Contributed by AV, 23-Apr-2021.)
 |-  ( ( ( Fun  (iEdg `  G )  /\  F (Walks `  G ) P )  /\  (
 ( `  F )  =  1  /\  ( P `
  0 )  =  ( P `  1
 ) ) )  ->  { ( P `  0 ) }  e.  (Edg `  G ) )
 
Theoremwlk1walkdom 16283* A walk is a 1-walk "on the edge level" according to Aksoy et al. (Contributed by AV, 30-Dec-2020.)
 |-  I  =  (iEdg `  G )   =>    |-  ( F (Walks `  G ) P  ->  A. k  e.  ( 1..^ ( `  F )
 ) 1o  ~<_  ( ( I `  ( F `
  ( k  -  1 ) ) )  i^i  ( I `  ( F `  k ) ) ) )
 
Theoremupgriswlkdc 16284* Properties of a pair of functions to be a walk in a pseudograph. (Contributed by AV, 2-Jan-2021.) (Revised by AV, 28-Oct-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( G  e. UPGraph  ->  ( F (Walks `  G ) P 
 <->  ( F  e. Word  dom  I 
 /\  P : ( 0 ... ( `  F ) ) --> V  /\  A. k  e.  ( 0..^ ( `  F )
 ) (DECID  ( P `  k
 )  =  ( P `
  ( k  +  1 ) )  /\  ( I `  ( F `
  k ) )  =  { ( P `
  k ) ,  ( P `  (
 k  +  1 ) ) } ) ) ) )
 
Theoremupgrwlkedg 16285* The edges of a walk in a pseudograph join exactly the two corresponding adjacent vertices in the walk. (Contributed by AV, 27-Feb-2021.)
 |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e. UPGraph  /\  F (Walks `  G ) P )  ->  A. k  e.  ( 0..^ ( `  F ) ) ( I `
  ( F `  k ) )  =  { ( P `  k ) ,  ( P `  ( k  +  1 ) ) }
 )
 
Theoremupgrwlkcompim 16286* Implications for the properties of the components of a walk in a pseudograph. (Contributed by Alexander van der Vekens, 23-Jun-2018.) (Revised by AV, 14-Apr-2021.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  F  =  ( 1st `  W )   &    |-  P  =  ( 2nd `  W )   =>    |-  ( ( G  e. UPGraph  /\  W  e.  (Walks `  G ) )  ->  ( F  e. Word  dom  I  /\  P : ( 0
 ... ( `  F )
 ) --> V  /\  A. k  e.  ( 0..^ ( `  F ) ) ( I `  ( F `  k ) )  =  { ( P `
  k ) ,  ( P `  (
 k  +  1 ) ) } ) )
 
Theoremwlkvtxedg 16287* The vertices of a walk are connected by edges. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.)
 |-  E  =  (Edg `  G )   =>    |-  ( F (Walks `  G ) P  ->  A. k  e.  ( 0..^ ( `  F )
 ) E. e  e.  E  { ( P `
  k ) ,  ( P `  (
 k  +  1 ) ) }  C_  e
 )
 
Theoremupgrwlkvtxedg 16288* The pairs of connected vertices of a walk are edges in a pseudograph. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.)
 |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. UPGraph  /\  F (Walks `  G ) P )  ->  A. k  e.  ( 0..^ ( `  F ) ) { ( P `  k ) ,  ( P `  (
 k  +  1 ) ) }  e.  E )
 
Theoremuspgr2wlkeq 16289* Conditions for two walks within the same simple pseudograph being the same. It is sufficient that the vertices (in the same order) are identical. (Contributed by AV, 3-Jul-2018.) (Revised by AV, 14-Apr-2021.)
 |-  ( ( G  e. USPGraph  /\  ( A  e.  (Walks `  G )  /\  B  e.  (Walks `  G )
 )  /\  N  =  ( `  ( 1st `  A ) ) )  ->  ( A  =  B  <->  ( N  =  ( `  ( 1st `  B ) ) 
 /\  A. y  e.  (
 0 ... N ) ( ( 2nd `  A ) `  y )  =  ( ( 2nd `  B ) `  y ) ) ) )
 
Theoremuspgr2wlkeq2 16290 Conditions for two walks within the same simple pseudograph to be identical. It is sufficient that the vertices (in the same order) are identical. (Contributed by Alexander van der Vekens, 25-Aug-2018.) (Revised by AV, 14-Apr-2021.)
 |-  ( ( ( G  e. USPGraph  /\  N  e.  NN0 )  /\  ( A  e.  (Walks `  G )  /\  ( `  ( 1st `  A ) )  =  N )  /\  ( B  e.  (Walks `  G )  /\  ( `  ( 1st `  B ) )  =  N ) )  ->  ( ( 2nd `  A )  =  ( 2nd `  B )  ->  A  =  B ) )
 
Theoremuspgr2wlkeqi 16291 Conditions for two walks within the same simple pseudograph to be identical. It is sufficient that the vertices (in the same order) are identical. (Contributed by AV, 6-May-2021.)
 |-  ( ( G  e. USPGraph  /\  ( A  e.  (Walks `  G )  /\  B  e.  (Walks `  G )
 )  /\  ( 2nd `  A )  =  ( 2nd `  B )
 )  ->  A  =  B )
 
Theoremumgrwlknloop 16292* In a multigraph, each walk has no loops! (Contributed by Alexander van der Vekens, 7-Nov-2017.) (Revised by AV, 3-Jan-2021.)
 |-  ( ( G  e. UMGraph  /\  F (Walks `  G ) P )  ->  A. k  e.  ( 0..^ ( `  F ) ) ( P `
  k )  =/=  ( P `  (
 k  +  1 ) ) )
 
Theoremwlkv0 16293 If there is a walk in the null graph (a class without vertices), it would be the pair consisting of empty sets. (Contributed by Alexander van der Vekens, 2-Sep-2018.) (Revised by AV, 5-Mar-2021.)
 |-  ( ( (Vtx `  G )  =  (/)  /\  W  e.  (Walks `  G )
 )  ->  ( ( 1st `  W )  =  (/)  /\  ( 2nd `  W )  =  (/) ) )
 
Theoremg0wlk0 16294 There is no walk in a null graph (a class without vertices). (Contributed by Alexander van der Vekens, 2-Sep-2018.) (Revised by AV, 5-Mar-2021.)
 |-  ( (Vtx `  G )  =  (/)  ->  (Walks `  G )  =  (/) )
 
Theorem0wlk0 16295 There is no walk for the empty set, i.e. in a null graph. (Contributed by Alexander van der Vekens, 2-Sep-2018.) (Revised by AV, 5-Mar-2021.)
 |-  (Walks `  (/) )  =  (/)
 
Theoremwlk0prc 16296 There is no walk in a null graph (a class without vertices). (Contributed by Alexander van der Vekens, 2-Sep-2018.) (Revised by AV, 5-Mar-2021.)
 |-  ( ( S  e/  _V 
 /\  (Vtx `  S )  =  (Vtx `  G ) )  ->  (Walks `  G )  =  (/) )
 
Theoremwlklenvclwlk 16297 The number of vertices in a walk equals the length of the walk after it is "closed" (i.e. enhanced by an edge from its last vertex to its first vertex). (Contributed by Alexander van der Vekens, 29-Jun-2018.) (Revised by AV, 2-May-2021.) (Revised by JJ, 14-Jan-2024.)
 |-  ( W  e. Word  (Vtx `  G )  ->  ( <. F ,  ( W ++ 
 <" ( W `  0 ) "> ) >.  e.  (Walks `  G )  ->  ( `  F )  =  ( `  W ) ) )
 
Theoremwlkpvtx 16298 A walk connects vertices. (Contributed by AV, 22-Feb-2021.)
 |-  V  =  (Vtx `  G )   =>    |-  ( F (Walks `  G ) P  ->  ( N  e.  ( 0
 ... ( `  F )
 )  ->  ( P `  N )  e.  V ) )
 
Theoremwlkepvtx 16299 The endpoints of a walk are vertices. (Contributed by AV, 31-Jan-2021.)
 |-  V  =  (Vtx `  G )   =>    |-  ( F (Walks `  G ) P  ->  ( ( P `  0
 )  e.  V  /\  ( P `  ( `  F ) )  e.  V ) )
 
Theorem2wlklem 16300* Lemma for theorems for walks of length 2. (Contributed by Alexander van der Vekens, 1-Feb-2018.)
 |-  ( A. k  e. 
 { 0 ,  1 }  ( E `  ( F `  k ) )  =  { ( P `  k ) ,  ( P `  (
 k  +  1 ) ) }  <->  ( ( E `
  ( F `  0 ) )  =  { ( P `  0 ) ,  ( P `  1 ) }  /\  ( E `  ( F `  1 ) )  =  { ( P `
  1 ) ,  ( P `  2
 ) } ) )
    < 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-16810
  Copyright terms: Public domain < Previous  Next >