let G2 be _Graph; for V being set
for G1 being addLoops of G2,V holds
( G1 is chordal iff G2 is chordal )
let V be set ; for G1 being addLoops of G2,V holds
( G1 is chordal iff G2 is chordal )
let G1 be addLoops of G2,V; ( G1 is chordal iff G2 is chordal )
hereby ( G2 is chordal implies G1 is chordal )
assume A1:
G1 is
chordal
;
G2 is chordal now for P2 being Walk of G2 st P2 .length() > 3 & P2 is Cycle-like holds
P2 is chordal let P2 be
Walk of
G2;
( P2 .length() > 3 & P2 is Cycle-like implies P2 is chordal )assume A2:
(
P2 .length() > 3 &
P2 is
Cycle-like )
;
P2 is chordal reconsider P1 =
P2 as
Walk of
G1 by GLIB_006:75;
A3:
(
P1 .length() = P2 .length() &
P1 is
Cycle-like )
by A2, GLIB_006:76, GLIB_001:114;
now ex m, n being odd Nat st
( m + 2 < n & n <= len P2 & P2 . m <> P2 . n & ex e being object st e Joins P2 . m,P2 . n,G2 & ( for f being object st f in P2 .edges() holds
not f Joins P2 . m,P2 . n,G2 ) )consider m,
n being
odd Nat such that A4:
(
m + 2
< n &
n <= len P1 &
P1 . m <> P1 . n )
and A5:
ex
e being
object st
e Joins P1 . m,
P1 . n,
G1
and A6:
for
f being
object st
f in P1 .edges() holds
not
f Joins P1 . m,
P1 . n,
G1
by A1, A2, A3, CHORD:def 10, CHORD:def 11;
take m =
m;
ex n being odd Nat st
( m + 2 < n & n <= len P2 & P2 . m <> P2 . n & ex e being object st e Joins P2 . m,P2 . n,G2 & ( for f being object st f in P2 .edges() holds
not f Joins P2 . m,P2 . n,G2 ) )take n =
n;
( m + 2 < n & n <= len P2 & P2 . m <> P2 . n & ex e being object st e Joins P2 . m,P2 . n,G2 & ( for f being object st f in P2 .edges() holds
not f Joins P2 . m,P2 . n,G2 ) )thus
(
m + 2
< n &
n <= len P2 &
P2 . m <> P2 . n )
by A4;
( ex e being object st e Joins P2 . m,P2 . n,G2 & ( for f being object st f in P2 .edges() holds
not f Joins P2 . m,P2 . n,G2 ) )thus
ex
e being
object st
e Joins P2 . m,
P2 . n,
G2
for f being object st f in P2 .edges() holds
not f Joins P2 . m,P2 . n,G2thus
for
f being
object st
f in P2 .edges() holds
not
f Joins P2 . m,
P2 . n,
G2
verum end; hence
P2 is
chordal
by CHORD:def 10;
verum end; hence
G2 is
chordal
by CHORD:def 11;
verum
end;
assume A8:
G2 is chordal
; G1 is chordal
now for P1 being Walk of G1 st P1 .length() > 3 & P1 is Cycle-like holds
P1 is chordal let P1 be
Walk of
G1;
( P1 .length() > 3 & P1 is Cycle-like implies P1 is chordal )assume A9:
(
P1 .length() > 3 &
P1 is
Cycle-like )
;
P1 is chordal
P1 is
Walk of
G2
then reconsider P2 =
P1 as
Walk of
G2 ;
A11:
(
P1 .length() = P2 .length() &
P2 is
Cycle-like )
by A9, GLIB_006:76, GLIB_001:114;
now ex m, n being odd Nat st
( m + 2 < n & n <= len P1 & P1 . m <> P1 . n & ex e being object st e Joins P1 . m,P1 . n,G1 & ( for f being object st f in P1 .edges() holds
not f Joins P1 . m,P1 . n,G1 ) )consider m,
n being
odd Nat such that A12:
(
m + 2
< n &
n <= len P2 &
P2 . m <> P2 . n )
and A13:
ex
e being
object st
e Joins P2 . m,
P2 . n,
G2
and A14:
for
f being
object st
f in P2 .edges() holds
not
f Joins P2 . m,
P2 . n,
G2
by A8, A9, A11, CHORD:def 10, CHORD:def 11;
take m =
m;
ex n being odd Nat st
( m + 2 < n & n <= len P1 & P1 . m <> P1 . n & ex e being object st e Joins P1 . m,P1 . n,G1 & ( for f being object st f in P1 .edges() holds
not f Joins P1 . m,P1 . n,G1 ) )take n =
n;
( m + 2 < n & n <= len P1 & P1 . m <> P1 . n & ex e being object st e Joins P1 . m,P1 . n,G1 & ( for f being object st f in P1 .edges() holds
not f Joins P1 . m,P1 . n,G1 ) )thus
(
m + 2
< n &
n <= len P1 &
P1 . m <> P1 . n )
by A12;
( ex e being object st e Joins P1 . m,P1 . n,G1 & ( for f being object st f in P1 .edges() holds
not f Joins P1 . m,P1 . n,G1 ) )thus
ex
e being
object st
e Joins P1 . m,
P1 . n,
G1
for f being object st f in P1 .edges() holds
not f Joins P1 . m,P1 . n,G1thus
for
f being
object st
f in P1 .edges() holds
not
f Joins P1 . m,
P1 . n,
G1
verum end; hence
P1 is
chordal
by CHORD:def 10;
verum end;
hence
G1 is chordal
by CHORD:def 11; verum