:: GRAPH_3 semantic presentation
theorem Th1: :: GRAPH_3:1
theorem Th2: :: GRAPH_3:2
theorem Th3: :: GRAPH_3:3
Lemma4:
for b1 being Graph
for b2 being Path of b1
for b3, b4 being Nat st 1 <= b3 & b3 <= len b2 & 1 <= b4 & b4 <= len b2 & b3 <> b4 holds
b2 . b3 <> b2 . b4
theorem Th4: :: GRAPH_3:4
canceled;
theorem Th5: :: GRAPH_3:5
canceled;
theorem Th6: :: GRAPH_3:6
canceled;
theorem Th7: :: GRAPH_3:7
theorem Th8: :: GRAPH_3:8
theorem Th9: :: GRAPH_3:9
theorem Th10: :: GRAPH_3:10
canceled;
theorem Th11: :: GRAPH_3:11
canceled;
theorem Th12: :: GRAPH_3:12
theorem Th13: :: GRAPH_3:13
theorem Th14: :: GRAPH_3:14
theorem Th15: :: GRAPH_3:15
theorem Th16: :: GRAPH_3:16
theorem Th17: :: GRAPH_3:17
theorem Th18: :: GRAPH_3:18
Lemma15:
for b1 being Graph
for b2 being Chain of b1
for b3 being FinSequence of the Vertices of b1 st b3 is_vertex_seq_of b2 holds
for b4 being Nat st 1 <= b4 & b4 <= len b2 holds
( 1 <= b4 & b4 <= len b3 & 1 <= b4 + 1 & b4 + 1 <= len b3 & ( ( b3 . b4 = the Target of b1 . (b2 . b4) & b3 . (b4 + 1) = the Source of b1 . (b2 . b4) ) or ( b3 . b4 = the Source of b1 . (b2 . b4) & b3 . (b4 + 1) = the Target of b1 . (b2 . b4) ) ) )
theorem Th19: :: GRAPH_3:19
theorem Th20: :: GRAPH_3:20
theorem Th21: :: GRAPH_3:21
theorem Th22: :: GRAPH_3:22
theorem Th23: :: GRAPH_3:23
theorem Th24: :: GRAPH_3:24
:: deftheorem Def1 defines Edges_In GRAPH_3:def 1 :
:: deftheorem Def2 defines Edges_Out GRAPH_3:def 2 :
:: deftheorem Def3 defines Edges_At GRAPH_3:def 3 :
:: deftheorem Def4 defines Edges_In GRAPH_3:def 4 :
:: deftheorem Def5 defines Edges_Out GRAPH_3:def 5 :
theorem Th25: :: GRAPH_3:25
theorem Th26: :: GRAPH_3:26
theorem Th27: :: GRAPH_3:27
theorem Th28: :: GRAPH_3:28
:: deftheorem Def6 defines Degree GRAPH_3:def 6 :
theorem Th29: :: GRAPH_3:29
theorem Th30: :: GRAPH_3:30
theorem Th31: :: GRAPH_3:31
theorem Th32: :: GRAPH_3:32
theorem Th33: :: GRAPH_3:33
theorem Th34: :: GRAPH_3:34
theorem Th35: :: GRAPH_3:35
theorem Th36: :: GRAPH_3:36
theorem Th37: :: GRAPH_3:37
theorem Th38: :: GRAPH_3:38
:: deftheorem Def7 defines AddNewEdge GRAPH_3:def 7 :
theorem Th39: :: GRAPH_3:39
theorem Th40: :: GRAPH_3:40
theorem Th41: :: GRAPH_3:41
theorem Th42: :: GRAPH_3:42
theorem Th43: :: GRAPH_3:43
theorem Th44: :: GRAPH_3:44
theorem Th45: :: GRAPH_3:45
theorem Th46: :: GRAPH_3:46
theorem Th47: :: GRAPH_3:47
theorem Th48: :: GRAPH_3:48
theorem Th49: :: GRAPH_3:49
theorem Th50: :: GRAPH_3:50
theorem Th51: :: GRAPH_3:51
theorem Th52: :: GRAPH_3:52
theorem Th53: :: GRAPH_3:53
Lemma52:
for b1 being finite Graph
for b2 being cyclic Path of b1
for b3 being FinSequence of the Vertices of b1
for b4 being Vertex of b1 st b3 is_vertex_seq_of b2 & b4 in rng b3 holds
Degree b4,(rng b2) is even
theorem Th54: :: GRAPH_3:54
theorem Th55: :: GRAPH_3:55
:: deftheorem Def8 defines -CycleSet GRAPH_3:def 8 :
theorem Th56: :: GRAPH_3:56
theorem Th57: :: GRAPH_3:57
:: deftheorem Def9 defines Rotate GRAPH_3:def 9 :
Lemma59:
for b1 being Graph
for b2 being Element of b1 -CycleSet
for b3 being Vertex of b1 st b3 in b1 -VSet (rng b2) holds
rng (Rotate b2,b3) = rng b2
definition
let c1 be
Graph;
let c2,
c3 be
Element of
c1 -CycleSet ;
assume that E60:
c1 -VSet (rng c2) meets c1 -VSet (rng c3)
and E61:
rng c2 misses rng c3
;
func CatCycles c2,
c3 -> Element of
a1 -CycleSet means :
Def10:
:: GRAPH_3:def 10
ex
b1 being
Vertex of
a1 st
(
b1 = choose ((a1 -VSet (rng a2)) /\ (a1 -VSet (rng a3))) &
a4 = (Rotate a2,b1) ^ (Rotate a3,b1) );
existence
ex b1 being Element of c1 -CycleSet ex b2 being Vertex of c1 st
( b2 = choose ((c1 -VSet (rng c2)) /\ (c1 -VSet (rng c3))) & b1 = (Rotate c2,b2) ^ (Rotate c3,b2) )
correctness
uniqueness
for b1, b2 being Element of c1 -CycleSet st ex b3 being Vertex of c1 st
( b3 = choose ((c1 -VSet (rng c2)) /\ (c1 -VSet (rng c3))) & b1 = (Rotate c2,b3) ^ (Rotate c3,b3) ) & ex b3 being Vertex of c1 st
( b3 = choose ((c1 -VSet (rng c2)) /\ (c1 -VSet (rng c3))) & b2 = (Rotate c2,b3) ^ (Rotate c3,b3) ) holds
b1 = b2;
;
end;
:: deftheorem Def10 defines CatCycles GRAPH_3:def 10 :
theorem Th58: :: GRAPH_3:58
:: deftheorem Def11 defines -PathSet GRAPH_3:def 11 :
theorem Th59: :: GRAPH_3:59
:: deftheorem Def12 defines -CycleSet GRAPH_3:def 12 :
theorem Th60: :: GRAPH_3:60
theorem Th61: :: GRAPH_3:61
definition
let c1 be
connected finite Graph;
let c2 be
Element of
c1 -CycleSet ;
assume that E67:
rng c2 <> the
Edges of
c1
and E68:
not
c2 is
empty
;
func ExtendCycle c2 -> Element of
a1 -CycleSet means :
Def13:
:: GRAPH_3:def 13
ex
b1 being
Element of
a1 -CycleSet ex
b2 being
Vertex of
a1 st
(
b2 = choose { b3 where B is Vertex of a1 : ( b3 in a1 -VSet (rng a2) & Degree b3 <> Degree b3,(rng a2) ) } &
b1 = choose ((the Edges of a1 \ (rng a2)) -CycleSet b2) &
a3 = CatCycles a2,
b1 );
existence
ex b1, b2 being Element of c1 -CycleSet ex b3 being Vertex of c1 st
( b3 = choose { b4 where B is Vertex of c1 : ( b4 in c1 -VSet (rng c2) & Degree b4 <> Degree b4,(rng c2) ) } & b2 = choose ((the Edges of c1 \ (rng c2)) -CycleSet b3) & b1 = CatCycles c2,b2 )
uniqueness
for b1, b2 being Element of c1 -CycleSet st ex b3 being Element of c1 -CycleSet ex b4 being Vertex of c1 st
( b4 = choose { b5 where B is Vertex of c1 : ( b5 in c1 -VSet (rng c2) & Degree b5 <> Degree b5,(rng c2) ) } & b3 = choose ((the Edges of c1 \ (rng c2)) -CycleSet b4) & b1 = CatCycles c2,b3 ) & ex b3 being Element of c1 -CycleSet ex b4 being Vertex of c1 st
( b4 = choose { b5 where B is Vertex of c1 : ( b5 in c1 -VSet (rng c2) & Degree b5 <> Degree b5,(rng c2) ) } & b3 = choose ((the Edges of c1 \ (rng c2)) -CycleSet b4) & b2 = CatCycles c2,b3 ) holds
b1 = b2
;
end;
:: deftheorem Def13 defines ExtendCycle GRAPH_3:def 13 :
theorem Th62: :: GRAPH_3:62
:: deftheorem Def14 defines Eulerian GRAPH_3:def 14 :
theorem Th63: :: GRAPH_3:63
theorem Th64: :: GRAPH_3:64
theorem Th65: :: GRAPH_3:65