(4steps total)
PrintForm
Definitions
Lemmas
graph
1
3
Sections
Graphs
Doc
At:
adjl-vertex-accum-properties
A:AdjList, T:Type, s:T, f:(T
Vertices(adjl-graph(A))
T).
L:Vertices(adjl-graph(A)) List. no_repeats(Vertices(adjl-graph(A));L) & (
y:Vertices(adjl-graph(A)). (y
L)) & adjl-vertex-accum(A;s',x'.f(s',x');s) = list_accum(s',x'.f(s',x');s;L)
By:
Unfolds [`adjl-graph`;`adjl-vertex-accum`] 0
THEN
Reduce 0
THEN
InstConcl [upto(0;A.size)]
Generated subgoals:
1
1.
A:
AdjList
2.
T:
Type
3.
s:
T
4.
f:
T
A.size
T
no_repeats(
A.size;upto(0;A.size))
1
step
 
2
1.
A:
AdjList
2.
T:
Type
3.
s:
T
4.
f:
T
A.size
T
5.
y:
A.size
(y
upto(0;A.size))
1
step
 
3
1.
A:
AdjList
2.
T:
Type
3.
s:
T
4.
f:
T
A.size
T
primrec(A.size;s;
x',s'. f(s',x')) = list_accum(s',x'.f(s',x');s;upto(0;A.size))
1
step
About:
(4steps total)
PrintForm
Definitions
Lemmas
graph
1
3
Sections
Graphs
Doc