now ex G2 being [ELabeled] [VLabeled] inducedSubgraph of G,V,E st
( G2 is elabel-inheriting & G2 is vlabel-inheriting )per cases
( ( V is non empty Subset of (the_Vertices_of G) & E c= G .edgesBetween V ) or not V is non empty Subset of (the_Vertices_of G) or not E c= G .edgesBetween V )
;
suppose A1:
(
V is non
empty Subset of
(the_Vertices_of G) &
E c= G .edgesBetween V )
;
ex G2 being [ELabeled] [VLabeled] inducedSubgraph of G,V,E st
( G2 is elabel-inheriting & G2 is vlabel-inheriting )set X = the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E;
set EL =
(the_ELabel_of G) | (the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E);
reconsider EL9 =
(the_ELabel_of G) | (the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E) as
PartFunc of
(dom ((the_ELabel_of G) | (the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E))),
(rng ((the_ELabel_of G) | (the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E))) by RELSET_1:4;
reconsider EL9 =
EL9 as
PartFunc of
(the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E),
(rng ((the_ELabel_of G) | (the_Edges_of the [ELabeled] [VLabeled] inducedSubgraph of G,V,E))) by RELAT_1:58, RELSET_1:5;
set G1 = the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E .set (
ELabelSelector,
EL9);
set VL =
(the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)));
reconsider VL9 =
(the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9))) as
PartFunc of
(dom ((the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9))))),
(rng ((the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9))))) by RELSET_1:4;
reconsider VL9 =
VL9 as
PartFunc of
(the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9))),
(rng ((the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9))))) by RELAT_1:58, RELSET_1:5;
set G2 =
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) .set (
VLabelSelector,
VL9);
A2:
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) .set (
VLabelSelector,
VL9)
== the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E .set (
ELabelSelector,
EL9)
by Lm3;
the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E == the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E .set (
ELabelSelector,
EL9)
by Lm3;
then A3:
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) .set (
VLabelSelector,
VL9)
== the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E
by A2;
then
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) .set (
VLabelSelector,
VL9) is
Subgraph of the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E
by GLIB_000:87;
then reconsider G2 =
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) .set (
VLabelSelector,
VL9) as
Subgraph of
G by GLIB_000:43;
A4:
the_Vertices_of G2 =
the_Vertices_of the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E
by A3
.=
V
by A1, GLIB_000:def 37
;
the_Edges_of G2 =
the_Edges_of the
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E
by A3
.=
E
by A1, GLIB_000:def 37
;
then reconsider G2 =
G2 as
[ELabeled] [VLabeled] inducedSubgraph of
G,
V,
E by A1, A4, GLIB_000:def 37;
take G2 =
G2;
( G2 is elabel-inheriting & G2 is vlabel-inheriting ) the_ELabel_of G2 =
( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)) . ELabelSelector
by GLIB_000:9
.=
EL9
by GLIB_000:8
.=
(the_ELabel_of G) | (the_Edges_of G2)
by A3
;
hence
G2 is
elabel-inheriting
;
G2 is vlabel-inheriting the_VLabel_of G2 =
(the_VLabel_of G) | (the_Vertices_of ( the [ELabeled] [VLabeled] inducedSubgraph of G,V,E .set (ELabelSelector,EL9)))
by GLIB_000:8
.=
(the_VLabel_of G) | (the_Vertices_of G2)
by A2
;
hence
G2 is
vlabel-inheriting
;
verum end; end; end;
hence
ex b1 being [ELabeled] [VLabeled] inducedSubgraph of G,V,E st
( b1 is elabel-inheriting & b1 is vlabel-inheriting )
; verum