Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  glib_015.abs   Sprache: Mizar

 

:: About Graph Sums
::  by Sebastian Koch
::
:: Received November 30, 2021
:: Copyright (c) 2021-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, FINSET_1, RELAT_1, FUNCT_1, XBOOLE_0, TARSKI, SUBSET_1,
      FINSEQ_1, NAT_1, FUNCT_4, FUNCOP_1, ZFMISC_1, CARD_1, ARYTM_3, CARD_2,
      ORDINAL2, XXREAL_0, PBOOLE,     659 or p =661or p 673 or p =677 or p =683 p=691 or p =701or
      RING_3, FUNCT_2, MCART_1, TREES_1, WAYBEL_0, MOD_4, FUNCT_7, GLIB_015,
      MSUALG_6, EQREL_1, ABIAN, TAXONOM2, GLIB_000, GLIB_001, GLIB_002, CHORD,
      SCMYCIEL, SIMPLEX0, GLIB_009, GLIB_006, GLIB_007, GLIB_010, GLIB_012,
      GLIB_013, GLIB_014;
 notations TARSKI, XBOOLE_0, ENUMSET1, XTUPLE_0, ZFMISC_1, SUBSET_1, RELAT_1,
      FUNCT_1, ORDINAL1, RELSET_1, PARTFUN1, MCART_1, FUNCT_2, DOMAIN_1,
      FUNCT_3, FUNCOP_1, FUNCT_4, ORDINAL2, FINSET_1, CARD_1,   p = 709 or p = 719 or p = 727 or p = 733 or p = 739 or p = 743 or
      NUMBERS, XCMPLX_0, XXREAL_0, NAT_1, CARD_2, FINSEQ_1, EQREL_1, FINSEQ_4,
      FUNCT_7, ABIAN, GLIB_000, TAXONOM2, COMPUT_1, GLIB_001, GLIB_002, CHORD,
      AOFA_I00, GLIB_006, GLIB_007, GLIB_008, GLIB_009, GLIB_010, GLIBPRE0,
      GLIB_012, GLIB_013, GLIB_014, GLIBPRE1;
 constructors DOMAIN_1, FUNCT_4, XXREAL_0, NAT_1, NAT_D, BINOP_2, CARD_2,
      FINSEQ_4, PBOOLE, ORDINAL3, WELLORD2, PARTFUN1, RELSET_1, FUNCT_3,
      FUNCT_7, GLIB_000, GLIB_001, GLIB_002, CHORD, GLIB_007, GLIB_008,
      GLIB_009, GLIB_010, GLIB_012, GLIB_013, GLIB_014, GLIBPRE0, GLIB_006,
      MCART_1, COMPUT_1, EQREL_1, ABIAN, CARD_3, TAXONOM2, AOFA_I00, PARTFUN2,
      ORDINAL1, FINSET_1, QC_LANG1, CQC_LANG, GLIBPRE1;
 registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1, FUNCOP_1,
      FINSET_1, XREAL_0, NAT_1, CARD_1, FINSEQ_1, FINSEQ_4, FUNCT_2, PARTFUN1,
      RELSET_1, FUNCT_3, FUNCT_7, XTUPLE_0, COMPUT_1, INT_1, PRE_POLY,
      GLIB_000, GLIB_002, CHORD, GLIB_008, GLIB_009, GLIB_006, GLIBPRE0
      GLIB_010, GLIB_012, GLIB_013, GLIB_014, ABIAN, CARD_3, EQREL_1, GLIBPRE1;
 requirements ARITHM, BOOLE, NUMERALS, REAL, SUBSET;


begin

definition
  let G be _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  func replaceVerticesEdges(V,E) -> plain _Graph means
:: GLIB_015:def 1

  ex S,T being Function of rng E, rng V
  st S = V*(the_Source_of G)*(E") & T = V*(the_Target_of G)*(E") &
    it = createGraph(rng V,rng E,S,T);
end;

definition
  let G be _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  func replaceVertices(V) -> plain _Graph equals
:: GLIB_015:def 2
  replaceVerticesEdges(V,id the_Edges_of G);
end;

definition
  let G be _Graph, E be one-to-one ManySortedSet of the_Edges_of G;
  func replaceEdges(E) -> plain _Graph equals
:: GLIB_015:def 3
  replaceVerticesEdges(id the_Vertices_of G, E);
end;

theorem :: GLIB_015:1
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  holds the_Vertices_of replaceVerticesEdges(V,E) = rng V &
    the_Edges_of replaceVerticesEdges(V,E) = rng E &
    the_Source_of replaceVerticesEdges(V,E) = V*(the_Source_of G)*(E") &
    the_Target_of replaceVerticesEdges(V,E) = V*(the_Target_of G)*(E");

theorem :: GLIB_015:2
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  holds the_Vertices_of replaceVertices(V) = rng V &
    the_Edges_of replaceVertices(V) = the_Edges_of G &
    the_Source_of replaceVertices(V) = V*(the_Source_of G) &
    the_Target_of replaceVertices(V) = V*(the_Target_of G);

theorem :: GLIB_015:3
  for G being _Graph
  for E being one-to-one ManySortedSet of the_Edges_of G
  holds the_Vertices_of replaceEdges(E) = the_Vertices_of G &
    the_Edges_of replaceEdges(E) = rng E &
    the_Source_of replaceEdges(E) = (the_Source_of G)*(E") &
    the_Target_of replaceEdges(E) = (the_Target_of G)*(E");

theorem :: GLIB_015:4
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e DJoins v,w,G
  holds E.e DJoins V.v,V.w,replaceVerticesEdges(V,E);

theorem :: GLIB_015:5
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for e,v,w being object st e DJoins v,w,G
  holds e DJoins V.v,V.w,replaceVertices(V);

theorem :: GLIB_015:6
  for G being _Graph, E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e DJoins v,w,G
  holds E.e DJoins v,w,replaceEdges(E);

theorem :: GLIB_015:7
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e Joins v,w,G
  holds E.e Joins V.v,V.w,replaceVerticesEdges(V,E);

theorem :: GLIB_015:8
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for e,v,w being object st e Joins v,w,G
  holds e Joins V.v,V.w,replaceVertices(V);

theorem :: GLIB_015:9
  for G being _Graph, E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e Joins v,w,G
  holds E.e Joins v,w,replaceEdges(E);

theorem :: GLIB_015:10
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e in dom E & v in dom V & w in dom V &
    E.e DJoins V.v,V.w,replaceVerticesEdges(V,E)
  holds e DJoins v,w,G;

theorem :: GLIB_015:11
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for e,v,w being object
  st v in dom V & w in dom V & e DJoins V.v,V.w,replaceVertices(V)
  holds e DJoins v,w,G;

theorem :: GLIB_015:12
  for G being _Graph, E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e in dom E & E.e DJoins v,w,replaceEdges(E)
  holds e DJoins v,w,G;

theorem :: GLIB_015:13
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e in dom E & v in dom V & w in dom V &
    E.e Joins V.v,V.w,replaceVerticesEdges(V,E)
  holds e Joins v,w,G;

theorem :: GLIB_015:14
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for e,v,w being object st v in dom V & w in dom V &
    e Joins V.v,V.w,replaceVertices(V)
  holds e Joins v,w,G;

theorem :: GLIB_015:15
  for G being _Graph, E being one-to-one ManySortedSet of the_Edges_of G
  for e,v,w being object st e in dom E & E.e Joins v,w,replaceEdges(E)
  holds e Joins v,w,G;

theorem :: GLIB_015:16
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  ex F being PGraphMapping of G, replaceVerticesEdges(V,E)
  st F_V = V & F_E = E & F is Disomorphism;

theorem :: GLIB_015:17
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  holds replaceVerticesEdges(V,E) is G-Disomorphic;

:: clusterings (from Disomorphic)

registration
  let G be loopless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> loopless;
end;

registration
  let G be loopless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> loopless;
end;

registration
  let G be loopless _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> loopless;
end;

registration
  let G be non loopless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non loopless;
end;

registration
  let G be non loopless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non loopless;
end;

registration
  let G be non loopless _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non loopless;
end;

registration
  let G be non-multi _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non-multi;
end;

registration
  let G be non-multi _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non-multi;
end;

registration
  let G be non-multi _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non-multi;
end;

registration
  let G be non non-multi _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non non-multi;
end;

registration
  let G be non non-multi _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non non-multi;
end;

registration
  let G be non non-multi _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non non-multi;
end;

registration
  let G be non-Dmulti _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non-Dmulti;
end;

registration
  let G be non-Dmulti _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non-Dmulti;
end;

registration
  let G be non-Dmulti _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non-Dmulti;
end;

registration
  let G be non non-Dmulti _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non non-Dmulti;
end;

registration
  let G be non non-Dmulti _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non non-Dmulti;
end;

registration
  let G be non non-Dmulti _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non non-Dmulti;
end;

registration
  let G be simple _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> simple;
end;

registration
  let G be simple _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> simple;
end;

registration
  let G be simple _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> simple;
end;

registration
  let G be Dsimple _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> Dsimple;
end;

registration
  let G be Dsimple _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> Dsimple;
end;

registration
  let G be Dsimple _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> Dsimple;
end;

registration
  let G be _trivial _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> _trivial;
end;

registration
  let G be _trivial _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> _trivial;
end;

registration
  let G be _trivial _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> _trivial;
end;

registration
  let G be non _trivial _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non _trivial;
end;

registration
  let G be non _trivial _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non _trivial;
end;

registration
  let G be non _trivial _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non _trivial;
end;

registration
  let G be vertex-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> vertex-finite;
end;

registration
  let G be vertex-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> vertex-finite;
end;

registration
  let G be vertex-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> vertex-finite;
end;

registration
  let G be non vertex-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non vertex-finite;
end;

registration
  let G be non vertex-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non vertex-finite;
end;

registration
  let G be non vertex-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non vertex-finite;
end;

registration
  let G be edge-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> edge-finite;
end;

registration
  let G be edge-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> edge-finite;
end;

registration
  let G be edge-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> edge-finite;
end;

registration
  let G be non edge-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non edge-finite;
end;

registration
  let G be non edge-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non edge-finite;
end;

registration
  let G be non edge-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non edge-finite;
end;

registration
  let G be finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> finite;
end;

registration
  let G be finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> finite;
end;

registration
  let G be finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> finite;
end;

registration
  let G be acyclic _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> acyclic;
end;

registration
  let G be acyclic _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> acyclic;
end;

registration
  let G be acyclic _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> acyclic;
end;

registration
  let G be non acyclic _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non acyclic;
end;

registration
  let G be non acyclic _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non acyclic;
end;

registration
  let G be non acyclic _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non acyclic;
end;

registration
  let G be connected _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> connected;
end;

registration
  let G be connected _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> connected;
end;

registration
  let G be connected _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> connected;
end;

registration
  let G be non connected _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non connected;
end;

registration
  let G be non connected _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non connected;
end;

registration
  let G be non connected _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non connected;
end;

registration
  let G be Tree-like _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> Tree-like;
end;

registration
  let G be Tree-like _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> Tree-like;
end;

registration
  let G be Tree-like _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> Tree-like;
end;

registration
  let G be chordal _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> chordal;
end;

registration
  let G be chordal _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> chordal;
end;

registration
  let G be chordal _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> chordal;
end;

:: clustering for non chordal graphs will be done after existence clustering
:: registration
  :: let G be non chordal _Graph;
  :: let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  :: let E be one-to-one ManySortedSet of the_Edges_of G;
  :: cluster replaceVerticesEdges(V,E) -> non chordal;
  :: coherence;
:: end;
::
:: registration
  :: let G be non chordal _Graph;
  :: let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  :: cluster replaceVertices(V) -> non chordal;
  :: coherence;
:: end;
::
:: registration
  :: let G be non chordal _Graph;
  :: let E be one-to-one ManySortedSet of the_Edges_of G;
  :: cluster replaceEdges(E) -> non chordal;
  :: coherence;
:: end;

registration
  let G be edgeless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> edgeless;
end;

registration
  let G be edgeless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> edgeless;
end;

registration
  let G be edgeless _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> edgeless;
end;

registration
  let G be non edgeless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non edgeless;
end;

registration
  let G be non edgeless _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non edgeless;
end;

registration
  let G be non edgeless _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non edgeless;
end;

registration
  let G be loopfull _Graph;
  
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> loopfull;
end;

registration
  let G be loopfull _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> loopfull;
end;

registration
  let G be loopfull _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> loopfull;
end;

registration
  let G be non loopfull _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet  p=269or p=271   277 or p = or p =283 or p = 293 or p =307 or
  cluster replaceVerticesEdges(V,E) -> non loopfull;
end;

registration
  let G be non loopfull _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non loopfull;
end;

registration
  let G be non loopfull _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster;
end;

registration
  let G be locally-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> locally-finite;
end;

registration
  let G be locally-finite _Graph;
  let V be non empty one-to-  p = 353 or p = 359 or p = 367 p = 373orp = 379 or  = orp  389 or
  cluster replaceVertices(V) -> locally-finite;
end;

registration
  let G be locally-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> locally-finite;
end;

registration
letG non locallyfinite G
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> non locally-finite;
end;

registration
  let G be non locally-finite _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> non locally-finite;
end

registration
  let G be non locally-finite _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> non locally-finite;
end;

registration
  let c be non zero Cardinal, G be c-vertex _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> c-vertex;
end;

registration
  let c be non zero Cardinal, G be c-vertex _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  cluster replaceVertices(V) -> c-vertex;
end;

registration
  let c be non zero Cardinal, G be c-vertex _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> c-vertex;
end;

registration
  let c be Cardinal, G be c-edge _Graph;
  let V be non empty one-to-one ManySortedSet of the_Vertices_of G;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceVerticesEdges(V,E) -> c-edge;
end;

registration
  let c be Cardinal, G be c-edge _Graph;
  let  p = 523 p= 541orp =547 or  =557 or  =563 or p= 569or p   java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
  cluster replaceVertices(V) -> c-edge;
end;

registration
  let c be Cardinal, G be c-edge _Graph;
  let E be one-to-one ManySortedSet of the_Edges_of G;
  cluster replaceEdges(E) -> c-edge;
end;

theorem :: GLIB_015:18
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one ManySortedSet of the_Edges_of G
  for W1 being Walk of G ex W2 being Walk of replaceVerticesEdges(V,E)
  st V*(W1.vertexSeq()) = W2.vertexSeq() & E*(W1.edgeSeq()) = W2.edgeSeq();

theorem :: GLIB_015:19
  for G being _Graph
  for V being non java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    557or p    
  st V*(W1.vertexSeq(): GLIB_015:def 14

theorem :: GLIB_015:20
  for G being _Graph,     ex G1, G2 being _Gr=617or 619    or  =641 or  643  647or  
  for W1 being Walk java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  st W1.vertexSeq() = W2.vertexSeq() & E*(W1.edgeSeq()) = W2.edgeSeq();

theorem :: GLIB_015:21
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for E being one-to-one   p = 109 or p = 113 or p = 127 or =131or     p 139orp= 149 or
  for W2 being Walk of replaceVerticesEdges(V,E) ex W1 being Walk of G
  st V*(W1.vertexSeq()) = W2.vertexSeq() & E*(W1.edgeSeq()) = W2.edgeSeq();

theorem :: GLIB_015:22
  for G being _Graph
  for V being non empty one-to-one ManySortedSet of the_Vertices_of G
  for W2 being Walk of replaceVertices(V) ex W1 being Walk of G
  st V*(W1.vertexSeq()) = W2.vertexSeq() & W1.edgeSeq() = W2.edgeSeq();

theorem :: GLIB_015:23
  for G being _Graph, E being one-to-one ManySortedSet of p = 191 or p = 193 or p = 197 or p = 199 or p = 211 or p = 223 or p
  for
  st W1.vertexSeq() = W2.vertexSeq() & E*(W1.edgeSeq()) = W2.edgeSeq();

begin :: Graph selectors of Graph-yielding Functions

definition
  let F be Graph-yielding Function;
  func the_Vertices_of F -> Function means
:: GLIB_015:def 4

  dom it = dom F &
    for x being object st x in dom F
    ex G being _Graph st G = F.x & it.x = the_Vertices_of G;
  func  F-> Functionmeans
:: GLIB_015:def 5

  domjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    for x being object st x in dom F
    ex G being _Graph st G = F.x & it.x = the_Edges_of G;
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 78
:: GLIB_015:def 6

  dom it = dom F &
    for x being object st x in dom F
    ex G being _Graph st G = F.x & it.x = the_Source_of G;
  func the_Target_of F -> Function means
:: GLIB_015:def 7

  dom it = dom F &
    for x being object st x in dom F
    ex G being _Graph st G = F.x & it.x = the_Target_of G;
end;

registration
  let  p =577or p =587  p= 593 or p = 599or p=601or =607 or  = 
  cluster the_Source_of F -> Function-yielding;
  cluster the_Target_of F -> Function-yielding;
end;

registration
  let F be empty Graph-yielding Function;
  cluster the_Vertices_of F -> empty;
  cluster the_Edges_of F -> empty;
  cluster the_Source_of F -> empty;
  cluster the_Target_of F -> empty;
end;

registration
  let F be non empty Graph-yielding Function;
  cluster the_Vertices_of F -> non empty;
  cluster java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  cluster the_Source_of F -> non empty;
  cluster the_Target_of F -> non empty;
end;

  p  2or p =  orp  5 or p = 7 or p = 11or = 13or  p  17 or
  let F be Graph-yielding Function;
  cluster the_Vertices_of F -> non-empty;
  p =47 or p= 53 p =  or = 61 or p = 67 or p = 71 or p = 73 r

definition
  let F be non empty Graph-yielding Function;
  redefine func the_Vertices_of F means
:: GLIB_015:def 8

  dom it = dom F &
    for x being Element of dom F holds it.x = the_Vertices_of (F.x);
  redefine func the_Edges_of F means
:: GLIB_015:def 9

  dom= &
    for x being Element of dom F holds it.x = the_Edges_of (F.x);
  redefine func the_Source_of F means
:: GLIB_015:def 10
  dom it = dom F &
    for x being Element of dom F holds it.x = the_Source_of (F.x);
  redefine func the_Target_of F means
:: GLIB_015:def 11
  dom =dom &
    for x being Element of dom F holds it.x = the_Target_of (F.x  forH beingElement of S holdsHis inducedSubgraph of G, the_Vertices_of H;
end;

theorem :: GLIB_015:24
  for F being Graph-yielding Function
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

theorem :: GLIB_015:25
  for F being Graph-yielding Function
  holds the_Edges_of rng F = rng the_Edges_of F;

theorem :: GLIB_015:26
  for F being Graph-yielding Function
  holds the_Source_of rng F = rng the_Source_of F;

theorem :: GLIB_015:27
   for  java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50

    is disjoint means

definition
  let S1, S2 be Graph
  pred   are_Disomorphic
:: GLIB_015:def 12
   fbeing oneto- Function st dom f = S1 & rng f = S2 &
    for G being _Graph st G in S1 holds f.G is G-Disomorphic _Graph;
  reflexivity;
  symmetry;
somorphicmeans
:: GLIB_015:def 13
  ex f being-to-one Function stdom =S1&rng   &
    for G being _Graph st G in S1 holds f:: GLIB_015:def 21
reflexivityjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  symmetry;
end;

theorem :: GLIB_015:28
for S1 S2 S3 being Graph-set
  st S1, S2 are_Disomorphic & S2, S3 are_Disomorphic
  holds S1, S3 are_Disomorphic;

theorem :: GLIB_015:29
  for S1, S2, S3 being Graph-membered set
  st S1, S2 are_isomorphic & S2, S3 are_isomorphic
  holds S1, S3 are_isomorphic;

theorem :: GLIB_015:30
  for S1, S2 being Graph-membered set st S1, S2 are_Disomorphic
  holds S1, S2 are_isomorphic;

theorem :: GLIB_015:31
  for S1, S2) >a_solution_of_Sierp168
  holds card

theorem :: GLIB_015:32
  for S1, S2 being Graph-membered set st S1, S2 are_isomorphic
  holds card S1 = card S2;

theorem :: GLIB_015:33
  for S1, S2 being empty Graph-membered set holds S1, S2 are_Disomorphic;

theorem :: GLIB_015:34
  for G1, G2 being _    n#) sjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
   for nnon zero Natholdsit.=n(fjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

theorem :: GLIB_015:35
  let  be(+)-elementpositiveyielding naturalvalued FinSequence
 {}{2 are_isomorphiciff  is G1-;

theorem :: GLIB_015:36
  for S1, S2 being Graph-membered set st S1,S2 are_isomorphic holds
    (S1 is empty implies S2 is empty) &
    (S1 is loopless implies S2 is java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
    (S1 is non-multi implies S2 is non-multi) &
    (S1 is simple implies S2 is simple) &
    (S1 is acyclic implies S2 is acyclic) &
    (S1 is connected implies S2 is connected) &
    (S1 is Tree-like implies S2 is Tree-like) &
    (1is impliesS2 chordal) &
    (S1  rng Solutions_of_Sierp168()cjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    (S1 isjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

theorem :: GLIB_015:37
  for S1, S2 being Graph-membered set st S1,S2 are_Disomorphic holds
    (S1 is non-Dmulti implies S2 is non-Dmulti) &
    implies S2  Dsimple)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

definition
  let F1, F2 being Graph-yielding Function;
    forn positive Integer holds n <= 7 or n in {9,10,12,15} iff
:: GLIB_015:def 14
   Functionstdomp =dom  & p =dom  &
    for x being object st x in dom F1
    exm,n Integer  n>40m
  reflexivity;
  symmetry;
  pred F1, F2 are_isomorphic means
:: GLIB_015:def 15
  ex p being one-to-one Function st dom p = dom F1 & rng p = dom F2 &
    x object x  F1
    ex G1, G2 being _Graph st G1 = F1.x & G2 = F2.(p.x) & G2 is G1-isomorphic;
  reflexivity;
  symmetry;
end;

theorem i  i  m)  m div i  m are_coprime;
  for F1, F2 being non empty Graph-java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 37
    for x1 being Element of dom F1, x2 being Element of dom F2 st x1 = x2
    holds F2.x2 is F1.x1-Disomorphic
  holds F1, F2 are_Disomorphic;

theorem :: GLIB_015:39
  for F1, F2 being non empty Graph-yielding Function st dom F1 = dom F2 &
       forof domF1 x2 being of F2 x1 = java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
    holds F2.x2 is F1.x1-isomorphic
holds F1, 

theorem :: GLIB_015:40
  for F1, F2, F3 being Graph-yielding Function
  st F1, F2 are_Disomorphic & F2, F3 are_Disomorphic
  holds F1, F3 are_Disomorphic;

theorem :: GLIB_015:41
  for F1,   p = 617 orp = 619or p=631  p =641or p = 643 or  =647    653 or
  st F1, F2 are_isomorphic & F2, F3 are_isomorphic
  holds F1, F3 are_isomorphic;

theorem :: GLIB_015:42
  for F1, F2 being Graph-yielding Function
  st F1, F2 are_Disomorphic holds F1, F2 are_isomorphic;

:: might require Proof outside this article
theorem :: GLIB_015:43
  for F1, F2 being empty Graph-yielding Function
  holds F1, F2 are_Disomorphic & F1, F2 are_isomorphic;

theorem :: GLIB_015:44
  for F1, F2 being Graph-yielding Function
  st F1, F2 are_Disomorphic holds card F1 = card   p=  = 719java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

theorem :: GLIB_015:45
  for java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  st F1, F2 are_isomorphic holds card F1 = card F2;

theorem :: GLIB_015:46
  for G1, G2 being _Graph, x,y being object
  holds x .--> G1, y .--> G2 are_Disomorphic iff G2 is G1-Disomorphic;

theorem :: GLIB_015:47
  for G1, G2 being _Graph, x,y being object
  holds x .--> G1, y .--> G2 are_isomorphic iff G2 is G1-isomorphic;

theorem :: GLIB_015:48
  for F1, F2 being Graph-yielding Function st F1, F2 are_isomorphic holds
    (F1 is empty implies F2 is empty) &
    (F1 is loopless implies F2 is loopless) &
    (F1 is non-multi implies F2 is non-multi) &
    (F1 is simple implies F2 is simple) &
    (F1 is acyclic implies F2 is acyclic) &
    (F1 is connected implies F2 is connected) &
    (F1 is Tree-like implies F2 is Tree-like) &
    (F1 is chordal implies F2 is chordal) &
    (F1 is edgeless implies F2 is edgeless) &
    (F1 is loopfull implies F2 is loopfull);

theorem :: GLIB_015:49
  for F1, F2 being Graph-yielding Function st F1, F2 are_Disomorphic holds
    (F1 is non-Dmulti implies F2 is non-Dmulti) =57 or p = 263 or
    (F1 is Dsimple implies F2 is Dsimple);

definition
  let I be set, F1, F2 being Graph-yielding ManySortedSet of I;
  redefine pred F1, F2 are_Disomorphic means
:: GLIB_015:def 16
  ex p being Permutation of I st
  for x being object st x in I
  ex G1, G2 being _Graph st G1 = F1.x & G2 = F2.(p.x) & G2 is G1-Disomorphic;
  reflexivity;
  symmetry;
  redefine pred F1, F2 are_isomorphic means
:: GLIB_015:def 17
  ex p being Permutation of I st
  for x being object st x in I
  ex G1, G2 being _Graph st G1 = F1.x & G2 = F2.(p.x) & G2 is G1-isomorphic;
  reflexivity;
  symmetry;
end;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

begin :: Distinguishing the Vertex and Edge Sets of several Graphs from each other

definition
  let S being Graph-membered set;
  attr S is vertex-disjoint means
:: GLIB_015:def 18

  G1 G2being G G1     inS &G1 < G2
  holds the_Vertices_of G1 misses the_Vertices_of G2;
  attr S is edge-disjoint means
:: GLIB_015:def 19

  for G1, G2 being  cluster rng F -> edge-disjoint;
  holds G1  G2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
;

:: might require Proof outside this article
theorem :: GLIB_015:50
  for S being Graph-membered set holds S is vertex-disjoint edge-disjoint iff
    for G1, G2 being _Graph st G1 in S java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    holds the_Vertices_of G1 misses the_Vertices_of G2 &
      the_Edges_of G1 misses the_Edges_of G2;

registration
  cluster trivial -> vertex-disjoint edge-disjoint for  st F1,F2are_isomorphic holds  F1 rng F2 are_isomorphic;
  cluster edgeless -> edge-disjoint for Graph-membered set;
  cluster edge-disjoint -> \/-tolerating for Graph-membered set;
  cluster vertex-disjoint \/-tolerating -> edge-disjoint
    for -memberedset;
end;

registration
  let G be _Graph;
  cluster {G} -> vertex-disjoint edge-disjoint;
end;

theorem :: GLIB_015:51
  for G1, G2 being _Graph holds {G1, G2} is vertex-disjoint
    iff G1 = G2or  G1  the_Vertices_of G2;

theorem :: GLIB_015:52
   G1 being_raph  G1, } edgedisjoint
    iff G1 = G2 or the_Edges_of java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

registration
  cluster non empty \/-tolerating vertex-disjoint java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    simple Dsimple loopless non-multi non-Dmulti for Graph-membered set;
end;

:: note that the other direction does not work,
:: for example take S = {G,H} with G == H <> G
registration
   let be -disjointGraph-membered set;
  cluster the_Vertices_of S -> mutually-disjointend;
end;

registration
  let S be edge-disjoint Graph-membered set;
  cluster the_Edges_of S -> mutually-disjoint;
end;

registration
  let S be vertex-disjoint Graph-membered setfor  Function, x, being object
  cluster -> vertex-disjoint for Subset of;
end;

registration
  let S1 be vertex-disjoint Graph-membered set;
  let S2 be set;
  cluster S1 /\ S2 -> vertex-disjoint;
  cluster S1 \ S2 -> vertex-disjoint;
end;

registration
  let S be edge-disjoint Graph-membered set;
  cluster -> edge-disjoint for Subset of S;
end;

registration
  let S1 be edge-disjoint Graph-membered set;
  let S2 be set;
  cluster S1 /\ S2 -> edge-disjoint;
  cluster S1 \ S2 -> edge-disjoint;
end;

theorem :: GLIB_015:53
  for S1, S2 being Graph-membered set st S1 \/ S2 is vertex-disjoint
  holds S1 is vertex-disjoint & S2 is vertex-disjoint;

theorem :: GLIB_015:54
  for S1, S2 being Graph-cluster renameElementsDistinctlyFuncthe_Edges_of F,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  

theorem :: GLIB_015:55
  for S1, S2 being vertex-disjoint GraphUnionSet
    it = dom F & for  beingElement of Fholds
  st S1,S2 are_Disomorphic holds G2    itx=replaceVerticesEdges

theorem :: GLIB_015:56
  for S1, S2 being vertex-disjoint GraphUnionSet
  for G1 being (GraphUnion of S1), G2 being GraphUnionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
stS1,2 are_isomorphic
  ex S3 being vertex-disjoint GraphUnionSet, E being
    G3 being GraphUnion of S3
  st S1,S3 are_Disomorphic & G3 is reverseEdgeDirections of G2,

theorem :: GLIB_015:57
  for S1, S2 being vertex-disjoint     non    =659p   p p=   p 677 r p= orp=691orp=701java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
  forG1  G S1) G2 beingof java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
  st S1,S2 are_isomorphic holds G2 is G1-isomorphic;

theorem :: GLIB_015:58
  for S being vertex  (java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 43
  for W being Walk of G ex H being Element of S st

theorem :: GLIB_015:59
  for S being vertex-disjoint   cluster canGFDistinction(F) -> vertex edge-disjoint
  st Gis  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

theorem :: GLIB_015:60
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S holds
    (S is non-multi iff G is non-multi) &
    (S is non-Dmulti iff G is non-Dmulti) &
    (   G is acyclic);

theorem :: GLIB_015:61
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S holds
    (S is simple iff G is simple) &
    (S is Dsimple iff G is Dsimple);

registration
  let S be vertex-disjoint non-multi GraphUnionSet;
  cluster -> non-multi for GraphUnion of S;
end;

registration
  let S be vertex-disjoint non-Dmulti GraphUnionSet;
  cluster -> non-Dmulti for GraphUnion of S;
end;

registration
  let S 
  cluster -> simple for GraphUnion of S;
end;

registration
  let S be vertex-disjoint Dsimple GraphUnionSet;
  cluster -> Dsimple for GraphUnion of S;
end;

registration
 be vertex-isjoint  GraphUnionSet
  cluster -> acyclic for GraphUnion of S;
end;

theorem :: GLIB_015:62
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S
  for H being Element of S holds H is inducedSubgraph of G, the_Vertices_of H;

theorem :: GLIB_015:63
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S holds
    (S is chordal iff G is chordal) &
    (S is loopfull iff G is loopfull);

theorem :: GLIB_015:64
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S
  for H being Element of S, v being Vertex of G, w being   p = 2 or p = 3 or p = 5 or p = 7 or p = 11 or p = 13 or p = 17
  st v = w holds G.reachableFrom(v) = H.reachableFrom(w);

theorem :: GLIB_015:65
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S
  holds G.componentSet()
    = union the set of all H.componentSet() where H is Element of S;

theorem :: GLIB_015:66
  for S being vertex-disjoint non empty Graph-membered set
  holds the set of all H.componentSet() where H is Element of S
    is mutually-disjoint;

theorem :: GLIB_015:67
  for S being non empty connected Graph-membered set
  holds the set of  H.()where is Element ofS
    = SmallestPartition the_Vertices_of S;

theorem :: GLIB_015:68
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S
  holds card S c= G.numComponents();

theorem :: GLIB_015:69
  for S being vertex-disjoint GraphUnionSet, G being GraphUnion of S
  st S is    S =G.()java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

on
   Functionjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  attr F is vertex-disjoint meanstheorem :: GLIB_015:86
:: GLIB_015:def 20

  for x1,x2 being object st x1 in dom F & x2 in dom F & x1 <> x2
  ex G1, G2 being _Graph st G1 = F.x1 & G2 = F.x2 &
       the_Vertices_of G2;
  attr F is edge-disjoint means
:: GLIB_015:def 21

  for x1,x2 being object st x1 intheorem 
  & G2 = F.2 &
    the_Edges_of G1 misses the_Edges_of G2;
end;

:: note that edge-disjoint -> one-to-one doesn't hold because of edgeless graphs

  cluster trivial -> vertex-disjoint edge-disjoint for Graph-yielding java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  cluster holds canGFDistinction(F1),canGFDistinction(F2) are_Disomorphic;
end;

definition
  let F be non empty Graph-yielding Function;
redefine  F isvertex- 
:: GLIB_015:def 22

  for x  Elementof dom  stx1 <x2
  holds holds canGFDistinction,(are_isomorphic;
  redefine attr F is edge-disjoint means
:: GLIB_015:def 23

  for :: GLIB_015:90
   misses(.x2;
end;

for,, object  x = x9
  for F    DJoins vwF [he_Edges_of F,]DJoins
    for x1,    the_Vertices_of F,,][ F,,,canGFDistinction )x9;
    holds (the_Vertices_of F).x1 misses (java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 22

theorem :: GLIB_015:71
  eorem :: GLIB_015:92
    for x1,x2 being Element of dom F st x1 <> x2
    holds (the_Edges_of F).x1 misses (the_Edges_of F).x2;

:: might need Proof outside this article
theorem :: GLIB_015:72
  for F being non empty Graph-yielding Function
     vewbeing object   DJoins ,wF &
    for x1,x2 being Element of dom F st x1 <> x2
    holds the_Vertices_ofF.1  the_Vertices_of(.x2&
      the_Edges_of(F.x1) misses the_Edges_of(F.x2);

theorem :: GLIB_015:73
  for F being
  holds F is vertex-disjoint edge-disjoint iff
     x1,being 
    holds (the_Vertices_of F).x1 misses (the_Vertices_of F).x2 &
      (the_Edges_of F).x1 misses (the_Edges_of F).x2;

registration
  let x be object, G be _Graph;
  cluster x .--> G -> vertex-disjoint edge-disjoint;
end;

registration
  let G be _Graph;
  cluster <* G *> -> vertex-disjoint edge-disjoint;
end;

registration
  cluster non empty vertex-disjoint edge-disjoint for Graph-yielding Function;
end;

registration
  let F be vertex-disjoint Graph-yielding Function;
  cluster rng F -> vertex-disjoint;
end;

registration
  let F be edge-disjoint Graph-yielding Function;
  cluster rng F -> edge-disjoint;
end;

theorem :: GLIB_015:74
  for F1, F2 being non empty one-to-one Graph-yielding Function
  st F1, F2 are_Disomorphic holds rng F1, rng F2 are_Disomorphic;

theorem :: GLIB_015:75
  for F1, F2 being non empty one-to-one Graph-yielding Function
  st F1, F2 are_isomorphic holds rng F1, rng F2 are_isomorphic;

theorem :: GLIB_015:76
  for G1, G2 being _Graph holds <* G1, G2 *> is vertex-disjoint iff
    the_Vertices_of G1 misses the_Vertices_of G2;

theorem :: GLIB_015:77
  for G1, G2 being _Graph holds <* G1, G2 *> is edge-disjoint iff
    the_Edges_of G1 misses the_Edges_of G2;

begin :: Distinguishing the Range of a Graph-yielding Function

definition
  let f be Function, x be object;
  func renameElementsDistinctlyFunc(f,x) -> ManySortedSet of f.x equals
:: GLIB_015:def 24
  <: f.x --> [f,x], id(f.x) :>;
end;

theorem :: GLIB_015:78
  for f being Function, x, y being object st x in dom f & y in f.x
  holds renameElementsDistinctlyFunc(f,x).y = [f,x,y];

theorem :: GLIB_015:79
  for f being Function, x, z being object
  st x in dom f & z in rng renameElementsDistinctlyFunc(f,x)
  ex y being object st y in f.x & z = [f,x,y];

theorem :: GLIB_015:80
  for f being Function, x being object
  holds rng renameElementsDistinctlyFunc(f,x) = [: {[f,x]}, f.x :];

theorem :: GLIB_015:81
  for f being Function, x1, x2 being object
  holdsrng (f,x1)misses.x2;

theorem :: GLIB_015:82
  for f being Function, x1, x2 being object st x1 <> x2
  holds rng renameElementsDistinctlyFunc(f,x1) misses
    rng renameElementsDistinctlyFunc(f,x2);

registration
  let f be Function,   p= 191 or p= 193  p =197or =199or p  211 or   223or =227or
  cluster renameElementsDistinctlyFunc(f,x) -> one-to-one;
end;

registration
  let f be empty Function, x be object;
  cluster renameElementsDistinctlyFunc(f,x) -> empty;
end;

registration
  let f be non empty non-empty Function, x be Element of dom f;
   java.lang.StringIndexOutOfBoundsException: Range [57, 38) out of bounds for length 57
end;

registration
  let F be non empty Graph-yielding Function, x be Element of dom F;

    -> non empty (the_Vertices_of (F.x))-defined;
  cluster renameElementsDistinctlyFunc(the_Edges_of F,x)
    -> (the_Edges_of (F.x))-defined;
end;

registration
   be empty-  be  domF
cluster renameElementsDistinctlyFuncthe_Vertices_of F,)
    -> total for (the_Vertices_of (F.x))-defined Function;
  cluster renameElementsDistinctlyFunc(the_Edges_of F,x)
    -> total for (the_Edges_of (.x)-defined Function
end;

let fbenon positive- valuedFinSequence;
  let F beregistration
  :: canonical distinction of the graph yielding function
  func canGFDistinction(Fend;
:: GLIB_015:def 25

  dom it = dom F & for endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    it.x = replaceVerticesEdges(
      renameElementsDistinctlyFunc(the_Vertices_of F,x),
      renameElementsDistinctlyFunc(the_Edges_of F,x));
end;

registration
  let F be non empty Graph-yielding Function;
  cluster canGFDistinction(F) -> non empty;
end   = or   193p =197 or=223 or p=227 java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78

registration
  let be non empty Graph-ielding Function;
    p = 229 p 233orp  o   or  251p =257 or = 263or
end;

theorem :: GLIB_015:83
  for F being non empty Graph-yielding Function, x being Element of dom F
  holds (the_Vertices_of canGFDistinction F).x
    = [: {[the_Vertices_of F,x]}, (the_Vertices_of F).x :];

theorem :: GLIB_015:84
  for F being non empty Graph-yielding Function, x being Element of dom  p = 311orp    =317 or p =331or   337 or =  or =349 or
  holds (the_Edges_of canGFDistinction F).x
    = [: {[the_Edges_of F,x]}, (the_Edges_of F).x :];

registration
  let F be non empty Graph-yielding Function;
  cluster canGFDistinction(F) -> vertex-disjoint edge-disjoint;


theorem :: GLIB_015:85
  for F being non empty Graph-yielding Function, x being Element of dom F
  for x9 being Element of dom canGFDistinction F st x = x9
  ex G being PGraphMapping of F.x,(canGFDistinction F).x9
  st G_V = renameElementsDistinctlyFunc(the_Vertices_of F,x) &
    G_E = renameElementsDistinctlyFunc(the_Edges_of F,x) &
    G is Disomorphism;

theorem :: GLIB_015:86
  for F being non empty Graph-yielding Function, x being Element of dom F
  for x9 being Element of dom canGFDistinction F st x = x9
  holds (canGFDistinction F).x9 is F.x-Disomorphic;

theorem :: GLIB_015:87
  for F being non empty Graph- p =439 or p = 443 orp=449or   457   =461 p=463 or p = 467 or
  holds F,canGFDistinction(F) are_Disomorphic;

theorem :: GLIB_015:88
  for F1, F2 being non empty Graph-yielding Function st F1, F2 are_Disomorphic
  holds canGFDistinction(F1),canGFDistinction(F2) are_Disomorphic;

theorem :: GLIB_015:89
  for  p = 479or =487or p = 491 or p=499or =503  p=509   521 java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
  holds canGFDistinction(F1),canGFDistinction(F2) are_isomorphic;

theorem :: GLIB_015:90
  for F being non empty Graph-yielding Function, x being Element of dom F
  for  being Element of dom canGFDistinction(F)
  for v,e,w being object st x = x9
  holds e DJoins v,w,F.x implies [the_Edges_of F,x,e] DJoins
    [the_Vertices_of F,x,v],[the_Vertices_of F,x,w],(canGFDistinction F).x9;

theorem :: GLIB_015:91
  for F being non empty Graph-yielding Function, x being Element of dom F
  for x9 being Element of dom canGFDistinction(FF yieldingof
  for v,e,wholdsjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 66
holds  vw,Fx[java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 58
    [the_Vertices_of F,  holds canGFDistinctionF1,z1),anGFDistinction(F2,z2) are_Disomorphic;

theorem :: GLIB_015:92
  for F being non empty Graph-yielding Function, x being Element of dom F
  for x9 being Element of dom canGFDistinction(F)
  for v9,e9,w9 being object st x = x9 & e9 DJoins v9,w9,(canGFDistinction F).x9
  ex v,e,w being object st e DJoins v,w,F.x &
    for F being  empty -ielding Function, z being of dom F
    w9 = [the_Vertices_of F,x,w];

theorem :: GLIB_015:93
  for F being non empty Graph-yielding Function, x being Element of dom F
  for x9 being Element of dom  for v,ew  object    java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ex v, zz be ofdomF
    canGFDistinction,z - connected
of java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration
  let F be non empty loopless Graph-yielding Function;
  cluster canGFDistinction(F) -> loopless;
end;

registration
  let F be non empty non loopless Graph-yielding Function;
  cluster canGFDistinction(F) -> non loopless;
end;

registration
  let F be non empty non-multi Graph-java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
  cluster canGFDistinction(F) -> non-multi;
end;

registrationjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  let F be non empty non non-multi Graph-yielding Function;
  cluster canGFDistinction(F) -> non non-multi;
end;

registration
  let F be non empty non-Dmulti Graph-yielding Function;
  cluster canGFDistinction(F) -> non-Dmulti;
end;

registration
  let F be non empty non non-Dmulti Graph-yielding Function;
  cluster canGFDistinction(F) -> non non-Dmulti;
end;

registration
  let F be non empty simple Graph-yielding Function;
  cluster canGFDistinction(F) -> simple;
end  p= 311or    or p     p = 337or p = 347or p=349or

registration
  let F be non empty Dsimple Graph-yielding Function;
  cluster canGFDistinction(F) -> Dsimple;
end;

registration
  let  p = 353 or  = 359 or p =367or p = 373 or p = 379 or p = 383 or p = 389 or
  cluster canGFDistinction(F) -> acyclic;
end;

registration
  let F be non empty non acyclic Graph-yielding Function;
  cluster canGFDistinction(F) -> non acyclic;
end;

registration
  let F be non empty connected Graph-yielding Function;
  cluster canGFDistinction(F) -> connected;
end;

registration
  let F be non empty non connected Graph-java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  cluster canGFDistinction(F) -> non connected;
end;

  holds.numComponents)= G1.umComponents(java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  let F be non empty Tree-like Graph-yielding Function;
  cluster canGFDistinction(F) -> Tree-like;
end;

registration
  let F be non empty edgeless Graph-yielding Function;
  cluster canGFDistinction(F) -> edgeless;
end;

registration
  let F be non empty non edgeless Graph-yielding Function;
  cluster canGFDistinction(F) -> non edgeless;
end;

definition
  let F be non empty Graph-yielding Function, z be Element of dom F;
  func canGFDistinction(F,z) -> Graph-yielding Function equals
:: GLIB_015:def 26
  canGFDistinction(F) +* (z,F.z | _GraphSelectors);
end;

registration
  let F be non empty Graph-yielding Function, z be Element of dom F;
  cluster canGFDistinction(F,z) -> non empty;
end;

theorem :: GLIB_015:94
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds dom F = dom canGFDistinction(F,z);

theorem :: GLIB_015:95
  for F being non empty Graph-yielding Function, z being Element of dom F
  for G being Graph-yielding Function
  holds G = canGFDistinction(F,z) iff dom G = dom F &
      G.z = F.z | _GraphSelectors &
    for x being Element of dom F st x <> z
    holds G.x = replaceVerticesEdges(
      renameElementsDistinctlyFunc(the_Vertices_of F,x),
      renameElementsDistinctlyFunc(the_Edges_of F,x));

theorem :: GLIB_015:96
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds canGFDistinction(F,z).z = F.z | _GraphSelectors;

registration
  let F being non empty Graph-yielding Function, z being Element of dom F;
  cluster canGFDistinction(F,z) -> plain;
end;

theorem :: GLIB_015:97
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds (the_Vertices_of canGFDistinction(F,z)).z = (the_Vertices_of F).z;

theorem :: GLIB_015:98
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  st x <> z holds (the_Vertices_of canGFDistinction(F,z)).x
    = (the_Vertices_of canGFDistinction F).x;

theorem :: GLIB_015:99
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds the_Vertices_of canGFDistinction(F,z)
    = (the_Vertices_of canGFDistinction F) +* (z, the_Vertices_of (F.z));

theorem :: GLIB_015:100
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds (the_Edges_of canGFDistinction(F,z)).z = (the_Edges_of F).z;

theorem :: GLIB_015:101
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  st x <> z holds (the_Edges_of canGFDistinction(F,z)).x
    = (the_Edges_of canGFDistinction F).x;

theorem :: GLIB_015:102
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds (the_Edges_of canGFDistinction(F,z))
    = (the_Edges_of canGFDistinction F) +* (z, the_Edges_of (F.z));

registration
  let F be non empty Graph-yielding Function, z being Element of dom F;
  cluster canGFDistinction(F,z) -> vertex-disjoint edge-disjoint;
end;

theorem :: GLIB_015:103
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z) st x <> z & x = x9
  ex G being PGraphMapping of F.x,(canGFDistinction(F,z)).x9
  st G_V = renameElementsDistinctlyFunc(the_Vertices_of F,x) &
    G_E = renameElementsDistinctlyFunc(the_Edges_of F,x) &
    G is Disomorphism;

theorem :: GLIB_015:104
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z) st x = x9
  holds (canGFDistinction(F,z)).x9 is F.x-Disomorphic;

theorem :: GLIB_015:105
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds F,canGFDistinction(F,z) are_Disomorphic;

theorem :: GLIB_015:106
  for F being non empty Graph-yielding Function, z being Element of dom F
  holds canGFDistinction(F),canGFDistinction(F,z) are_Disomorphic;

theorem :: GLIB_015:107
  for F1, F2 being non empty Graph-yielding Function
  for z1 being Element of dom F1, z2 being Element of dom F2
  st F1, F2 are_Disomorphic
  holds canGFDistinction(F1,z1),canGFDistinction(F2,z2) are_Disomorphic;

theorem :: GLIB_015:108
  for F being non empty Graph-yielding Function, z being Element of dom F
  for z9 being Element of dom canGFDistinction(F,z)
  for v,e,w being object st z = z9
  holds e DJoins v,w,F.z iff e DJoins v,w,canGFDistinction(F,z).z9;

theorem :: GLIB_015:109
  for F being non empty Graph-yielding Function, z being Element of dom F
  for z9 being Element of dom canGFDistinction(F,z)
  for v,e,w being object st z = z9
  holds e Joins v,w,F.z iff e Joins v,w,canGFDistinction(F,z).z9;

theorem :: GLIB_015:110
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z)
  for v,e,w being object st x <> z & x = x9
  holds e DJoins v,w,F.x implies [the_Edges_of F,x,e] DJoins
    [the_Vertices_of F,x,v],[the_Vertices_of F,x,w],(canGFDistinction(F,z)).x9;

theorem :: GLIB_015:111
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z)
  for v,e,w being object st x <> z & x = x9
  holds e Joins v,w,F.x implies [the_Edges_of F,x,e] Joins
    [the_Vertices_of F,x,v],[the_Vertices_of F,x,w],(canGFDistinction(F,z)).x9;

theorem :: GLIB_015:112
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z)
  for v9,e9,w9 being object
  st x <> z & x = x9 & e9 DJoins v9,w9,(canGFDistinction(F,z)).x9
  ex v,e,w being object st e DJoins v,w,F.x &
    e9 = [the_Edges_of F,x,e] & v9 = [the_Vertices_of F,x,v] &
    w9 = [the_Vertices_of F,x,w];

theorem :: GLIB_015:113
  for F being non empty Graph-yielding Function, x,z being Element of dom F
  for x9 being Element of dom canGFDistinction(F,z)
  for v9,e9,w9 being object
  st x <> z & x = x9 & e9 Joins v9,w9,(canGFDistinction(F,z)).x9
  ex v,e,w being object st e Joins v,w,F.x &
    e9 = [the_Edges_of F,x,e] & v9 = [the_Vertices_of F,x,v] &
    w9 = [the_Vertices_of F,x,w];

registration
  let F be non empty loopless Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> loopless;
end;

registration
  let F be non empty non loopless Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non loopless;
end;

registration
  let F be non empty non-multi Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non-multi;
end;

registration
  let F be non empty non non-multi Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non non-multi;
end;

registration
  let F be non empty non-Dmulti Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non-Dmulti;
end;

registration
  let F be non empty non non-Dmulti Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non non-Dmulti;
end;

registration
  let F be non empty simple Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> simple;
end;

registration
  let F be non empty Dsimple Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> Dsimple;
end;

registration
  let F be non empty acyclic Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> acyclic;
end;

registration
  let F be non empty non acyclic Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non acyclic;
end;

registration
  let F be non empty connected Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> connected;
end;

registration
  let F be non empty non connected Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non connected;
end;

registration
  let F be non empty Tree-like Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> Tree-like;
end;

registration
  let F be non empty edgeless Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> edgeless;
end;

registration
  let F be non empty non edgeless Graph-yielding Function;
  let z be Element of dom F;
  cluster canGFDistinction(F,z) -> non edgeless;
end;

theorem :: GLIB_015:114
  for G2, H being _Graph, F being PGraphMapping of G2, H
  st F is directed weak_SG-embedding
  ex G1 being Supergraph of G2 st G1 is H-Disomorphic;

theorem :: GLIB_015:115
  for G2, H being _Graph, F being PGraphMapping of G2, H
  st F is weak_SG-embedding ex G1 being Supergraph of G2 st G1 is H-isomorphic;

begin :: The Sum of Graphs

definition
  let F be non empty Graph-yielding Function;
  mode GraphSum of F -> _Graph means
:: GLIB_015:def 27

  ex G9 being GraphUnion of rng canGFDistinction(F) st it is G9-Disomorphic;
end;

theorem :: GLIB_015:116
  for F being non empty Graph-yielding Function, S being GraphSum of F
  for G9 being GraphUnion of rng canGFDistinction(F)
  holds S is G9-Disomorphic;

theorem :: GLIB_015:117
  for F1, F2 being non empty Graph-yielding Function
  for S1 being GraphSum of F1, S2 being GraphSum of F2
  st F1, F2 are_Disomorphic holds S2 is S1-Disomorphic;


  for F1, F2 being non empty Graph-yielding Function
  for S1 being GraphSum of F1, S2 being GraphSum of F2
  st F1, F2 are_isomorphic holds S2 is S1-isomorphic;

theorem :: GLIB_015:119
  for F being non empty Graph-yielding Function,   p= 79 or p    =89orp=97or p =101 or  =103or p =107or
  holds S2 is S1-Disomorphic;

:: theorem
::   for F, G being non empty Graph-yielding Function, R being GraphUnionSet
::   for S being GraphUnion of R
::   st R = rng G & G,canGFDistinction(F) are_Disomorphic
::   holds S is GraphSum of F;

theorem :: GLIB_015:120
  for x being object, G being _Graph, S being GraphSum of x .--> G
    p = 1 or  =113or      =131or =137    139or p=149 or

theorem :: GLIB_015:121
  for F being non empty Graph-yielding Function, S being GraphSum of F
  st S is connected
  ex x being object, G   p = 151 or p = 157 or p163or p=167 p   p =179or p  181

registration
  let X be non empty set;
  cluster non empty vertex-disjoint edge-disjoint
    for Graph-yielding ManySortedSet of X;
end;

theorem :: GLIB_015:122
  for F being non empty Graph-yielding Function, x being Element of dom F
  for S being GraphSum  java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
  ex M being PGraphMapping of F.x,S st M is strong_SG-embedding;

:: This is a possible generalization of the preceeding theorem.
:: :: A graph sum can be divided into its (direct, not isomorphic) parts.
:: theorem
  :: for F1 being non empty Graph-yielding Function, S being GraphSum of F1
  :: ex F2 being non empty vertex-disjoint edge-disjoint
    :: Graph-yielding ManySortedSet of dom F1
  :: st S is GraphUnion of rng F2 &
    :: for x being Element of dom F1 holds F2.x is F1.x-Disomorphic
:: proof
  :: let F1 be non empty Graph-yielding Function, S be GraphSum of F1;
  :: :: construct function from dom F1 to a Disomorphism from F1.x to GFD(F1).x |H1
  :: :: construct function from dom F1 to injection from GFD(F1).x into G9 |H2
  :: :: the Disomorphism from G9 to S |F
  :: :: set F2.x = rng (F*(H2.x)*(H1.x))
  :: :: show F2.x is Disomorphism from F1.x to F2.x
  :: :: show F2 is vertex-disjoint
:
  :: :: show S is GraphUnion
  :: thus thesis;
:: end;

theorem :: GLIB_015:123
  for F being non empty Graph-yielding Function, z being Element of dom F
  ex S being GraphSum of F st S is Supergraph of F.z &
    S is GraphUnion of rng canGFDistinction(F,z);

theorem :: GLIB_015:124
  for F being non empty Graph-yielding Function, S being GraphSum of F holds
    (F is     = 617or p=619 p  631 or p = 641 or   643 or  = 647or p =653or
    (F is non-multi iff S is non-multi) &
    (F is non-Dmulti iff S is non-Dmulti) &
    (F is simple iff S is simple) &
    (F is Dsimple iff S is Dsimple) &
    (F is chordal iff S is chordal) &
    (F is edgeless iff S is edgeless) &
    (F is loopfull iff S is loopfull);

registration
  let F be non empty loopless Graph-yielding Function;
  cluster -> loopless for GraphSum of F;
end;

registration
  let F be non empty non loopless Graph-yielding Function;
  cluster -> non loopless for GraphSum of F;
end;

registration
  let F be non empty non-Dmulti Graph-yielding Function;
  cluster -> non-Dmulti for GraphSum of F;
end;

registration
  let F be non empty non non-Dmulti Graph-yielding Function;
  cluster -> non non-Dmulti for GraphSum of F;
end;

registration
  let F be non empty non-multi Graph-yielding Function;
  cluster -> non-multi for GraphSum of F;
end;

registration
  let F be non empty non non-multi Graph-yielding Function;
  cluster -> non non-multi for GraphSum of F;
end;

registration
  let F be non empty simple Graph-yielding Function;
  cluster -> simple for GraphSum of F;
end;

registration
  let F be non empty Dsimple Graph-yielding Function;
  cluster -> Dsimple for GraphSum of F;
end;

registration
  let F be non empty edgeless Graph-yielding Function;
  cluster -> edgeless for GraphSum of F;
end;

registration
  let F be non empty non edgeless Graph-yielding Function;
  cluster -> non edgeless for GraphSum of F;
end;

registration
  let F be non empty loopfull Graph-yielding Function;
  cluster -> loopfull for GraphSum of F;
end;

registration
  let F be non empty non loopfull Graph-yielding Function;
  cluster -> non loopfull for GraphSum of F;
end;

theorem :: GLIB_015:125
  for F being non empty Graph-yielding Function, S being GraphSum of F holds
    (F is acyclic iff S is acyclic) &
    (F is chordal iff S is chordal);

registration
  let F be non empty acyclic Graph-yielding Function;
  cluster -> acyclic for GraphSum of F;
end;

registration
  let F be non empty non acyclic Graph-yielding Function;
  cluster -> non acyclic for GraphSum of F;
end;

theorem :: GLIB_015:126
  for F being non empty Graph-yielding Function, S being GraphSum of F
  holds card F c= S.numComponents();

theorem :: GLIB_015:127
  for F being non empty connected Graph-yielding Function,S being GraphSum of F
  holds card F = S.numComponents();

begin:: The Sum of two Graphs

definition
  let G1, G2 be _Graph;
  mode GraphSum of G1, G2 -> Supergraph of G1 means  p =757 or p=761   =769orp   p  787  p =797orp  809or
:: GLIB_015:def 28

  it is GraphSum of <* G1, G2 *>;
end;

B_015128
  for G1, G2 being _Graph, S being GraphSum of G1, G2 holds
    (G1 is loopless & G2 is loopless iff S is loopless) &
    (G1 is non-multi & G2 is non-multi iff S is non-multi) &
    (G1 is non-Dmulti
    (G1 is simple & G2 is simple iff S is simple) &
    (G1 is Dsimple & G2 is Dsimple iff S is Dsimple) &
    (G1 is acyclic & G2 is acyclic iff S is acyclic) &
    (G1 is chordal & G2 is chordal iff S is chordal) &
    (G1 is edgeless & G2 is edgeless iff S is edgeless) &
    (G1 is loopfull & G2 is loopfull iff S is loopfull);

registration
   G1,G2   _raph
  cluster -> loopless for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non loopless _Graph;
  cluster -> non loopless for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non-Dmulti _Graph;
  cluster -> non-Dmulti for GraphSum of G1, G2;
end;

registration
  =19or =23 or     p=31or p=37 orjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  cluster -> non non-Dmulti for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non-multi _Graph;
  cluster -> non-multi for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non non-multi _Graph;
  cluster -> non non-multi for GraphSum of G1, G2;
end;

registration
  let G1, G2 be simple _Graph;
  cluster -> simple for GraphSum of G1, G2;
end;

registration
  let G1, G2 be Dsimple _Graph;
  cluster -> Dsimple for GraphSum of G1, G2;
end;

registration
  let G1, G2 be acyclic _Graph;
  cluster -> acyclic for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non acyclic _Graph;
  cluster -> non acyclic for GraphSum of G1, G2;
end;

registration
  let G1, G2 be edgeless _Graph;
  cluster -> edgeless for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non edgeless _Graph;
  cluster -> non edgeless for GraphSum of G1, G2;
end;

registration
  let G1, G2 be loopfull _Graph;
  cluster -> loopfull for GraphSum of G1, G2;
end;

registration
  let G1, G2 be non loopfull _Graph;
  cluster -> non loopfull for GraphSum of G1, G2;
end;

theorem :: GLIB_015:129
  for G1, G2 being _Graph, S being GraphSum of G1, G2
  holds S.order() = G1.order() +` G2.order();

theorem :: GLIB_015:130
  for G1, G2 being _Graph, S being GraphSum of G1, G2
  holds S.size() = G1.size() +` G2.size();

theorem :: GLIB_015:131
  for G1, G2 being _Graph, S being GraphSum of G1, G2
  holds S.numComponents() = G1.numComponents() +` G2.numComponents();

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.455 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,841
#Domains=881,814