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
 
Theoremuhgr2edg 16201* If a vertex is adjacent to two different vertices in a hypergraph, there are more than one edges starting at this vertex. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 11-Feb-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   &    |-  V  =  (Vtx `  G )   =>    |-  ( ( ( G  e. UHGraph  /\  A  =/=  B )  /\  ( A  e.  V  /\  B  e.  V  /\  N  e.  V ) 
 /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  E. x  e.  dom  I E. y  e.  dom  I ( x  =/=  y  /\  N  e.  ( I `  x )  /\  N  e.  ( I `  y ) ) )
 
Theoremumgr2edg 16202* If a vertex is adjacent to two different vertices in a multigraph, there are more than one edges starting at this vertex. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 11-Feb-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. UMGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  E. x  e.  dom  I E. y  e.  dom  I ( x  =/=  y  /\  N  e.  ( I `  x )  /\  N  e.  ( I `  y ) ) )
 
Theoremusgr2edg 16203* If a vertex is adjacent to two different vertices in a simple graph, there are more than one edges starting at this vertex. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 17-Oct-2020.) (Proof shortened by AV, 11-Feb-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. USGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  E. x  e.  dom  I E. y  e.  dom  I ( x  =/=  y  /\  N  e.  ( I `  x )  /\  N  e.  ( I `  y ) ) )
 
Theoremumgr2edg1 16204* If a vertex is adjacent to two different vertices in a multigraph, there is not only one edge starting at this vertex. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 8-Jun-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. UMGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  -.  E! x  e.  dom  I  N  e.  ( I `  x ) )
 
Theoremusgr2edg1 16205* If a vertex is adjacent to two different vertices in a simple graph, there is not only one edge starting at this vertex. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 17-Oct-2020.) (Proof shortened by AV, 8-Jun-2021.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. USGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  -.  E! x  e.  dom  I  N  e.  ( I `  x ) )
 
Theoremumgrvad2edg 16206* If a vertex is adjacent to two different vertices in a multigraph, there are more than one edges starting at this vertex, analogous to usgr2edg 16203. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 9-Jan-2020.) (Revised by AV, 8-Jun-2021.)
 |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. UMGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  E. x  e.  E  E. y  e.  E  ( x  =/=  y  /\  N  e.  x  /\  N  e.  y
 ) )
 
Theoremumgr2edgneu 16207* If a vertex is adjacent to two different vertices in a multigraph, there is not only one edge starting at this vertex, analogous to usgr2edg1 16205. Lemma for theorems about friendship graphs. (Contributed by Alexander van der Vekens, 10-Dec-2017.) (Revised by AV, 9-Jan-2020.)
 |-  E  =  (Edg `  G )   =>    |-  ( ( ( G  e. UMGraph  /\  A  =/=  B )  /\  ( { N ,  A }  e.  E  /\  { B ,  N }  e.  E )
 )  ->  -.  E! x  e.  E  N  e.  x )
 
Theoremusgrsizedgen 16208 In a simple graph, the size of the edge function is the number of the edges of the graph. (Contributed by AV, 4-Jan-2020.) (Revised by AV, 7-Jun-2021.)
 |-  ( G  e. USGraph  ->  (iEdg `  G )  ~~  (Edg `  G ) )
 
Theoremusgredg3 16209* The value of the "edge function" of a simple graph is a set containing two elements (the endvertices of the corresponding edge). (Contributed by Alexander van der Vekens, 18-Dec-2017.) (Revised by AV, 17-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( ( G  e. USGraph  /\  X  e.  dom  E )  ->  E. x  e.  V  E. y  e.  V  ( x  =/=  y  /\  ( E `  X )  =  { x ,  y } ) )
 
Theoremusgredg4 16210* For a vertex incident to an edge there is another vertex incident to the edge. (Contributed by Alexander van der Vekens, 18-Dec-2017.) (Revised by AV, 17-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( ( G  e. USGraph  /\  X  e.  dom  E  /\  Y  e.  ( E `
  X ) ) 
 ->  E. y  e.  V  ( E `  X )  =  { Y ,  y } )
 
Theoremusgredgreu 16211* For a vertex incident to an edge there is exactly one other vertex incident to the edge. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( ( G  e. USGraph  /\  X  e.  dom  E  /\  Y  e.  ( E `
  X ) ) 
 ->  E! y  e.  V  ( E `  X )  =  { Y ,  y } )
 
Theoremusgredg2vtx 16212* For a vertex incident to an edge there is another vertex incident to the edge in a simple graph. (Contributed by AV, 18-Oct-2020.) (Proof shortened by AV, 5-Dec-2020.)
 |-  ( ( G  e. USGraph  /\  E  e.  (Edg `  G )  /\  Y  e.  E )  ->  E. y  e.  (Vtx `  G ) E  =  { Y ,  y } )
 
Theoremuspgredg2vtxeu 16213* For a vertex incident to an edge there is exactly one other vertex incident to the edge in a simple pseudograph. (Contributed by AV, 18-Oct-2020.) (Revised by AV, 6-Dec-2020.)
 |-  ( ( G  e. USPGraph  /\  E  e.  (Edg `  G )  /\  Y  e.  E )  ->  E! y  e.  (Vtx `  G ) E  =  { Y ,  y } )
 
Theoremusgredg2vtxeu 16214* For a vertex incident to an edge there is exactly one other vertex incident to the edge in a simple graph. (Contributed by AV, 18-Oct-2020.) (Proof shortened by AV, 6-Dec-2020.)
 |-  ( ( G  e. USGraph  /\  E  e.  (Edg `  G )  /\  Y  e.  E )  ->  E! y  e.  (Vtx `  G ) E  =  { Y ,  y } )
 
Theoremuspgredg2vlem 16215* Lemma for uspgredg2v 16216. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 6-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   &    |-  A  =  {
 e  e.  E  |  N  e.  e }   =>    |-  (
 ( G  e. USPGraph  /\  Y  e.  A )  ->  ( iota_
 z  e.  V  Y  =  { N ,  z } )  e.  V )
 
Theoremuspgredg2v 16216* In a simple pseudograph, the mapping of edges having a fixed endpoint to the "other" vertex of the edge (which may be the fixed vertex itself in the case of a loop) is a one-to-one function into the set of vertices. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 6-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   &    |-  A  =  {
 e  e.  E  |  N  e.  e }   &    |-  F  =  ( y  e.  A  |->  ( iota_ z  e.  V  y  =  { N ,  z } ) )   =>    |-  ( ( G  e. USPGraph  /\  N  e.  V )  ->  F : A -1-1-> V )
 
Theoremusgredg2vlem1 16217* Lemma 1 for usgredg2v 16219. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  A  =  { x  e.  dom  E  |  N  e.  ( E `  x ) }   =>    |-  ( ( G  e. USGraph  /\  Y  e.  A )  ->  ( iota_ z  e.  V  ( E `  Y )  =  {
 z ,  N }
 )  e.  V )
 
Theoremusgredg2vlem2 16218* Lemma 2 for usgredg2v 16219. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  A  =  { x  e.  dom  E  |  N  e.  ( E `  x ) }   =>    |-  ( ( G  e. USGraph  /\  Y  e.  A )  ->  ( I  =  ( iota_ z  e.  V  ( E `  Y )  =  { z ,  N } )  ->  ( E `  Y )  =  { I ,  N } ) )
 
Theoremusgredg2v 16219* In a simple graph, the mapping of edges having a fixed endpoint to the other vertex of the edge is a one-to-one function into the set of vertices. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   &    |-  A  =  { x  e.  dom  E  |  N  e.  ( E `  x ) }   &    |-  F  =  ( y  e.  A  |->  ( iota_ z  e.  V  ( E `  y )  =  { z ,  N } ) )   =>    |-  ( ( G  e. USGraph  /\  N  e.  V ) 
 ->  F : A -1-1-> V )
 
Theoremusgriedgdomord 16220* Alternate version of usgredgdomord 16225, not using the notation  (Edg `  G
). In a simple graph the number of edges which contain a given vertex is not greater than the number of vertices. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (iEdg `  G )   =>    |-  ( ( G  e. USGraph  /\  N  e.  V ) 
 ->  { x  e.  dom  E  |  N  e.  ( E `  x ) }  ~<_  V )
 
Theoremushgredgedg 16221* In a simple hypergraph there is a 1-1 onto mapping between the indexed edges containing a fixed vertex and the set of edges containing this vertex. (Contributed by AV, 11-Dec-2020.)
 |-  E  =  (Edg `  G )   &    |-  I  =  (iEdg `  G )   &    |-  V  =  (Vtx `  G )   &    |-  A  =  {
 i  e.  dom  I  |  N  e.  ( I `  i ) }   &    |-  B  =  { e  e.  E  |  N  e.  e }   &    |-  F  =  ( x  e.  A  |->  ( I `
  x ) )   =>    |-  ( ( G  e. USHGraph  /\  N  e.  V )  ->  F : A -1-1-onto-> B )
 
Theoremusgredgedg 16222* In a simple graph there is a 1-1 onto mapping between the indexed edges containing a fixed vertex and the set of edges containing this vertex. (Contributed by AV, 18-Oct-2020.) (Proof shortened by AV, 11-Dec-2020.)
 |-  E  =  (Edg `  G )   &    |-  I  =  (iEdg `  G )   &    |-  V  =  (Vtx `  G )   &    |-  A  =  {
 i  e.  dom  I  |  N  e.  ( I `  i ) }   &    |-  B  =  { e  e.  E  |  N  e.  e }   &    |-  F  =  ( x  e.  A  |->  ( I `
  x ) )   =>    |-  ( ( G  e. USGraph  /\  N  e.  V ) 
 ->  F : A -1-1-onto-> B )
 
Theoremushgredgedgloop 16223* In a simple hypergraph there is a 1-1 onto mapping between the indexed edges being loops at a fixed vertex  N and the set of loops at this vertex  N. (Contributed by AV, 11-Dec-2020.) (Revised by AV, 6-Jul-2022.)
 |-  E  =  (Edg `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  {
 i  e.  dom  I  |  ( I `  i
 )  =  { N } }   &    |-  B  =  {
 e  e.  E  |  e  =  { N } }   &    |-  F  =  ( x  e.  A  |->  ( I `  x ) )   =>    |-  ( ( G  e. USHGraph  /\  N  e.  V )  ->  F : A -1-1-onto-> B )
 
Theoremuspgredgdomord 16224* In a simple pseudograph the number of edges which contain a given vertex is not greater than the number of vertices. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 6-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. USPGraph  /\  N  e.  V )  ->  { e  e.  E  |  N  e.  e } 
 ~<_  V )
 
Theoremusgredgdomord 16225* In a simple graph the number of edges which contain a given vertex is not greater than the number of vertices. (Contributed by Alexander van der Vekens, 4-Jan-2018.) (Revised by AV, 18-Oct-2020.) (Proof shortened by AV, 6-Dec-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. USGraph  /\  N  e.  V ) 
 ->  { e  e.  E  |  N  e.  e } 
 ~<_  V )
 
Theoremusgrstrrepeen 16226* Replacing (or adding) the edges (between elements of the base set) of an extensible structure results in a simple graph. Instead of requiring  ( ph  ->  G Struct  X ), it would be sufficient to require  ( ph  ->  Fun  ( G  \  { (/)
} ) ) and  ( ph  ->  G  e.  _V ). (Contributed by AV, 13-Nov-2021.) (Proof shortened by AV, 16-Nov-2021.)
 |-  V  =  ( Base `  G )   &    |-  I  =  (.ef `  ndx )   &    |-  ( ph  ->  G Struct  X )   &    |-  ( ph  ->  (
 Base `  ndx )  e. 
 dom  G )   &    |-  ( ph  ->  E  e.  W )   &    |-  ( ph  ->  E : dom  E
 -1-1-> { x  e.  ~P V  |  x  ~~  2o } )   =>    |-  ( ph  ->  ( G sSet  <. I ,  E >. )  e. USGraph )
 
12.2.6  Examples for graphs
 
Theoremusgr0e 16227 The empty graph, with vertices but no edges, is a simple graph. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.) (Proof shortened by AV, 25-Nov-2020.)
 |-  ( ph  ->  G  e.  W )   &    |-  ( ph  ->  (iEdg `  G )  =  (/) )   =>    |-  ( ph  ->  G  e. USGraph )
 
Theoremusgr0vb 16228 The null graph, with no vertices, is a simple graph iff the edge function is empty. (Contributed by Alexander van der Vekens, 30-Sep-2017.) (Revised by AV, 16-Oct-2020.)
 |-  ( ( G  e.  W  /\  (Vtx `  G )  =  (/) )  ->  ( G  e. USGraph  <->  (iEdg `  G )  =  (/) ) )
 
Theoremuhgr0v0e 16229 The null graph, with no vertices, has no edges. (Contributed by AV, 21-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. UHGraph  /\  V  =  (/) )  ->  E  =  (/) )
 
Theoremuhgr0vsize0en 16230 The size of a hypergraph with no vertices (the null graph) is 0. (Contributed by Alexander van der Vekens, 5-Jan-2018.) (Revised by AV, 7-Nov-2020.)
 |-  V  =  (Vtx `  G )   &    |-  E  =  (Edg `  G )   =>    |-  ( ( G  e. UHGraph  /\  V  ~~  (/) )  ->  E  ~~  (/) )
 
Theoremuhgr0enedgfi 16231 A graph of order 0 (i.e. with 0 vertices) has a finite set of edges. (Contributed by Alexander van der Vekens, 5-Jan-2018.) (Revised by AV, 10-Jan-2020.) (Revised by AV, 8-Jun-2021.)
 |-  ( ( G  e. UHGraph  /\  (Vtx `  G )  ~~  (/) )  ->  (Edg `  G )  e.  Fin )
 
Theoremusgr0v 16232 The null graph, with no vertices, is a simple graph. (Contributed by AV, 1-Nov-2020.)
 |-  ( ( G  e.  W  /\  (Vtx `  G )  =  (/)  /\  (iEdg `  G )  =  (/) )  ->  G  e. USGraph )
 
Theoremuhgr0vusgr 16233 The null graph, with no vertices, represented by a hypergraph, is a simple graph. (Contributed by AV, 5-Dec-2020.)
 |-  ( ( G  e. UHGraph  /\  (Vtx `  G )  =  (/) )  ->  G  e. USGraph )
 
Theoremusgr0 16234 The null graph represented by an empty set is a simple graph. (Contributed by AV, 16-Oct-2020.)
 |-  (/)  e. USGraph
 
Theoremuspgr1edc 16235 A simple pseudograph with one edge. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.) (Revised by AV, 21-Mar-2021.) (Proof shortened by AV, 17-Apr-2021.)
 |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { B ,  C } >. } )   &    |-  ( ph  -> DECID  B  =  C )   =>    |-  ( ph  ->  G  e. USPGraph )
 
Theoremusgr1e 16236 A simple graph with one edge (with additional assumption that  B  =/=  C since otherwise the edge is a loop!). (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 18-Oct-2020.)
 |-  V  =  (Vtx `  G )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  V )   &    |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { B ,  C } >. } )   &    |-  ( ph  ->  B  =/=  C )   =>    |-  ( ph  ->  G  e. USGraph )
 
Theoremusgr0eop 16237 The empty graph, with vertices but no edges, is a simple graph. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.)
 |-  ( V  e.  W  -> 
 <. V ,  (/) >.  e. USGraph )
 
Theoremuspgr1eopdc 16238 A simple pseudograph with (at least) two vertices and one edge. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.)
 |-  ( ph  ->  V  e.  W )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  V )   &    |-  ( ph  -> DECID  B  =  C )   =>    |-  ( ph  ->  <. V ,  { <. A ,  { B ,  C } >. } >.  e. USPGraph )
 
Theoremuspgr1ewopdc 16239 A simple pseudograph with (at least) two vertices and one edge represented by a singleton word. (Contributed by AV, 9-Jan-2021.)
 |-  ( ph  ->  V  e.  W )   &    |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  -> DECID  A  =  B )   =>    |-  ( ph  ->  <. V ,  <" { A ,  B } "> >.  e. USPGraph )
 
Theoremusgr1eop 16240 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.)
 |-  ( ( ( V  e.  W  /\  A  e.  X )  /\  ( B  e.  V  /\  C  e.  V )
 )  ->  ( B  =/=  C  ->  <. V ,  { <. A ,  { B ,  C } >. } >.  e. USGraph ) )
 
Theoremusgr2v1e2w 16241 A simple graph with two vertices and one edge represented by a singleton word. (Contributed by AV, 9-Jan-2021.)
 |-  ( ( A  e.  X  /\  B  e.  Y  /\  A  =/=  B ) 
 ->  <. { A ,  B } ,  <" { A ,  B } "> >.  e. USGraph )
 
Theoremedg0usgr 16242 A class without edges is a simple graph. Since  ran 
F  =  (/) does not generally imply  Fun  F, but  Fun  (iEdg `  G ) is required for  G to be a simple graph, however, this must be provided as assertion. (Contributed by AV, 18-Oct-2020.)
 |-  ( ( G  e.  W  /\  (Edg `  G )  =  (/)  /\  Fun  (iEdg `  G ) ) 
 ->  G  e. USGraph )
 
Theoremusgr1vr 16243 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.)
 |-  ( ( A  e.  X  /\  (Vtx `  G )  =  { A } )  ->  ( G  e. USGraph  ->  (iEdg `  G )  =  (/) ) )
 
Theoremusgrexmpldifpr 16244 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 16245* The class of empty graphs (represented as ordered pairs) is a proper class. (Contributed by AV, 27-Dec-2020.)
 |-  U  =  { <. v ,  e >.  |  e : (/) --> (/) }   =>    |-  U  e/  _V
 
Theoremgriedg0ssusgr 16246* 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.)
 |-  U  =  { <. v ,  e >.  |  e : (/) --> (/) }   =>    |-  U  C_ USGraph
 
Theoremusgrprc 16247 The class of simple graphs is a proper class (and therefore, because of prcssprc 4251, the classes of multigraphs, pseudographs and hypergraphs are proper classes, too). (Contributed by AV, 27-Dec-2020.)
 |- USGraph  e/ 
 _V
 
12.2.7  Subgraphs
 
Syntaxcsubgr 16248 Extend class notation with subgraphs.
 class SubGraph
 
Definitiondf-subgr 16249* Define the class of the subgraph relation. A class  s is a subgraph of a class  g (the supergraph of 
s) if its vertices are also vertices of  g, and its edges are also edges of  g, connecting vertices of  s 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  s is a restriction of the edge function of  g having only vertices of  s 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  =  { <. s ,  g >.  |  ( (Vtx `  s )  C_  (Vtx `  g )  /\  (iEdg `  s )  =  (
 (iEdg `  g )  |` 
 dom  (iEdg `  s )
 )  /\  (Edg `  s
 )  C_  ~P (Vtx `  s ) ) }
 
Theoremrelsubgr 16250 The class of the subgraph relation is a relation. (Contributed by AV, 16-Nov-2020.)
 |- 
 Rel SubGraph
 
Theoremsubgrv 16251 If a class is a subgraph of another class, both classes are sets. (Contributed by AV, 16-Nov-2020.)
 |-  ( S SubGraph  G  ->  ( S  e.  _V  /\  G  e.  _V )
 )
 
Theoremissubgr 16252 The property of a set to be a subgraph of another set. (Contributed by AV, 16-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  I  =  (iEdg `  S )   &    |-  B  =  (iEdg `  G )   &    |-  E  =  (Edg `  S )   =>    |-  ( ( G  e.  W  /\  S  e.  U )  ->  ( S SubGraph  G  <->  ( V  C_  A  /\  I  =  ( B  |`  dom  I ) 
 /\  E  C_  ~P V ) ) )
 
Theoremissubgr2 16253 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.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  I  =  (iEdg `  S )   &    |-  B  =  (iEdg `  G )   &    |-  E  =  (Edg `  S )   =>    |-  ( ( G  e.  W  /\  Fun  B  /\  S  e.  U )  ->  ( S SubGraph  G  <->  ( V  C_  A  /\  I  C_  B  /\  E  C_  ~P V ) ) )
 
Theoremsubgrprop 16254 The properties of a subgraph. (Contributed by AV, 19-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  I  =  (iEdg `  S )   &    |-  B  =  (iEdg `  G )   &    |-  E  =  (Edg `  S )   =>    |-  ( S SubGraph  G  ->  ( V  C_  A  /\  I  =  ( B  |` 
 dom  I )  /\  E  C_  ~P V ) )
 
Theoremsubgrprop2 16255 The properties of a subgraph: If 
S is a subgraph of  G, its vertices are also vertices of  G, and its edges are also edges of  G, connecting vertices of the subgraph only. (Contributed by AV, 19-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  I  =  (iEdg `  S )   &    |-  B  =  (iEdg `  G )   &    |-  E  =  (Edg `  S )   =>    |-  ( S SubGraph  G  ->  ( V  C_  A  /\  I  C_  B  /\  E  C_ 
 ~P V ) )
 
Theoremuhgrissubgr 16256 The property of a hypergraph to be a subgraph. (Contributed by AV, 19-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  I  =  (iEdg `  S )   &    |-  B  =  (iEdg `  G )   =>    |-  ( ( G  e.  W  /\  Fun  B  /\  S  e. UHGraph )  ->  ( S SubGraph  G  <->  ( V  C_  A  /\  I  C_  B ) ) )
 
Theoremsubgrprop3 16257 The properties of a subgraph: If 
S is a subgraph of  G, its vertices are also vertices of  G, and its edges are also edges of  G. (Contributed by AV, 19-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  A  =  (Vtx `  G )   &    |-  E  =  (Edg `  S )   &    |-  B  =  (Edg `  G )   =>    |-  ( S SubGraph  G  ->  ( V  C_  A  /\  E  C_  B ) )
 
Theoremegrsubgr 16258 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.)
 |-  ( ( ( G  e.  W  /\  S  e.  U )  /\  (Vtx `  S )  C_  (Vtx `  G )  /\  ( Fun  (iEdg `  S )  /\  (Edg `  S )  =  (/) ) )  ->  S SubGraph  G )
 
Theorem0grsubgr 16259 The null graph (represented by an empty set) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.)
 |-  ( G  e.  W  -> 
 (/) SubGraph  G )
 
Theorem0uhgrsubgr 16260 The null graph (as hypergraph) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 28-Nov-2020.)
 |-  ( ( G  e.  W  /\  S  e. UHGraph  /\  (Vtx `  S )  =  (/) )  ->  S SubGraph  G )
 
Theoremuhgrsubgrself 16261 A hypergraph is a subgraph of itself. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
 |-  ( G  e. UHGraph  ->  G SubGraph  G )
 
Theoremsubgrfun 16262 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 `  G )  /\  S SubGraph  G )  ->  Fun  (iEdg `  S ) )
 
Theoremsubgruhgrfun 16263 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.)
 |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  Fun  (iEdg `  S ) )
 
Theoremsubgreldmiedg 16264 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.)
 |-  ( ( S SubGraph  G  /\  X  e.  dom  (iEdg `  S ) )  ->  X  e.  dom  (iEdg `  G ) )
 
Theoremsubgruhgredgdm 16265* 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.)
 |-  V  =  (Vtx `  S )   &    |-  I  =  (iEdg `  S )   &    |-  ( ph  ->  G  e. UHGraph )   &    |-  ( ph  ->  S SubGraph  G )   &    |-  ( ph  ->  X  e.  dom  I )   =>    |-  ( ph  ->  ( I `  X )  e.  { s  e.  ~P V  |  E. j  j  e.  s } )
 
Theoremsubumgredg2en 16266* An edge of a subgraph of a multigraph connects exactly two different vertices. (Contributed by AV, 26-Nov-2020.)
 |-  V  =  (Vtx `  S )   &    |-  I  =  (iEdg `  S )   =>    |-  ( ( S SubGraph  G  /\  G  e. UMGraph  /\  X  e.  dom 
 I )  ->  ( I `  X )  e. 
 { e  e.  ~P V  |  e  ~~  2o } )
 
Theoremsubuhgr 16267 A subgraph of a hypergraph is a hypergraph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
 |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  S  e. UHGraph )
 
Theoremsubupgr 16268 A subgraph of a pseudograph is a pseudograph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
 |-  ( ( G  e. UPGraph  /\  S SubGraph  G )  ->  S  e. UPGraph )
 
Theoremsubumgr 16269 A subgraph of a multigraph is a multigraph. (Contributed by AV, 26-Nov-2020.)
 |-  ( ( G  e. UMGraph  /\  S SubGraph  G )  ->  S  e. UMGraph )
 
Theoremsubusgr 16270 A subgraph of a simple graph is a simple graph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 27-Nov-2020.)
 |-  ( ( G  e. USGraph  /\  S SubGraph  G )  ->  S  e. USGraph )
 
Theoremuhgrspansubgrlem 16271 Lemma for uhgrspansubgr 16272: The edges of the graph  S obtained by removing some edges of a hypergraph  G are subsets of its vertices (a spanning subgraph, see comment for uhgrspansubgr 16272. (Contributed 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  ->  (Edg `  S )  C_  ~P (Vtx `  S ) )
 
Theoremuhgrspansubgr 16272 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 16273 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 16274 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 16275 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 16276 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 16277 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 16278 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 16279 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 16280 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 16281 Extend class notation with the vertex degree function.
 class VtxDeg
 
Definitiondf-vtxdg 16282* 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 7166), 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 16283* 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 16284* 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 16285* 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 16286* 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 16287 The vertex degree expressed as operation. (Contributed by AV, 12-Dec-2021.)
 |-  ( G  e.  W  ->  (VtxDeg `  G )  =  ( (Vtx `  G )VtxDeg (iEdg `  G )
 ) )
 
Theoremvtxdgfif 16288 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 16289 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 16290 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 16291 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 16292 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 16293* 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 16294* 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 16295* Lemma for vtxduspgrfvedgfi 16296 and vtxdusgrfvedgfi 16297. (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 16296* 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 16297* 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 16298 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 16299 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 16300 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
 )
    < 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-16881
  Copyright terms: Public domain < Previous  Next >