fixed?(G:graph[T], phi:map(G,G)):bool = (FORALL (v: (vert(G))):
v /= phi(v)) IMPLIES (EXISTS (x,y: (vert(G))):
y = phi(x) AND x = phi(y) AND edge?(G)(x,y))
reachable(G,x): finite_set[T] = {y: T | vert(G)(y) AND
(EXISTS (w: Seq(G)): walk_from?(G,w,x,y))}
sub_tree_k: LEMMA (FORALL k,H,G: subgraph?(H,G) AND tree?(G) AND
connected?(H) AND size(G)=size(H)+k IMPLIES tree?(H)) IMPLIES (FORALL H,G: subgraph?(H,G) AND
tree?(G) AND connected?(H) IMPLIES tree?(H))
sub_tree_0 : LEMMA tree?(G) AND subgraph?(H,G) AND size(H)=size(G) AND connected?(H) IMPLIES H=G
sub_tree_k_lemm: LEMMA (FORALL k,H,G: subgraph?(H,G) AND tree?(G) AND
connected?(H) AND size(G)=size(H)+k IMPLIES tree?(H))
sub_tree_all : LEMMA tree?(G) AND subgraph?(H,G) AND connected?(H) IMPLIES tree?(H)
path_reach4 : LEMMA tree?(G) AND edges(G)(e) IMPLIES NOT path_connected?(del_edge(G,e))
Fox(Tr:Tree, G: Subgraph(Tr), H: Subgraph(Tr), phi:map(Tr,Tr)): bool =
( EXISTS w:path?(Tr,w) AND length(w)>1 AND
phi(w(0))=w(length(w)-1) AND G = G_from(Tr,w) AND
H = Bush(Tr,w(length(w)-1),dbl(w(length(w)-2),w(length(w)-1))))
short_hound: LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr)):
path_from?(Tr,w,x,phi(x)) AND length(w)=1 IMPLIES fixed?(Tr,phi)
back_hound : LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr)):
path_from?(Tr,w,x,phi(x)) AND length(w)=2 AND
phi(w(1))=w(length(w)-2) IMPLIES fixed?(Tr,phi)
stuck_hound: LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr)):
path_from?(Tr,w,x,phi(x)) AND length(w)>1 AND phi(w(1))=w(length(w)-1) IMPLIES EXISTS (p:prewalk):
path_from?(Tr,p,w(1),phi(w(1))) AND length(p)<length(w) AND
((length(p)>1 AND p(length(p)-2)=w(length(w)-2)) OR fixed?(Tr,phi))
whole_hound: LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr)):
path_from?(Tr,w,x,phi(x)) AND length(w)>2 AND
phi(w(1))=w(length(w)-2) IMPLIES EXISTS (p:prewalk):
path_from?(Tr,p,w(1),phi(w(1))) AND length(p)<length(w) AND
(length(p)>1 IMPLIES p(length(p)-2)=w(length(w)-3))
fixed_fox : LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr)):
(EXISTS (G,H:Subgraph(Tr)):Fox(Tr,G,H,phi)) OR fixed?(Tr,phi)
small_fox : LEMMAFORALL (Tr:Tree, phi:map(Tr,Tr),(G,H:Subgraph(Tr))):
Fox(Tr,G,H,phi) IMPLIES (EXISTS (GG,HH:Subgraph(Tr)):
Fox(Tr,GG,HH,phi) AND
lsth((size(GG),size(HH)),(size(G),size(H)))) OR fixed?(Tr,phi)
num_edge_tree: LEMMA connected?(G) AND num_edges(G)<size(G) IMPLIES tree?(G)
uniq_paths?(G): bool = FORALL (s,t,p,q): path_from?(G,p,s,t) AND
path_from?(G,q,s,t) IMPLIES p = q
% We take advantage of some of the tree properties proved above to % deduce the theorem stated in "graphs" context that a graph with vertices % only of degree > 1, must have a cycle.
sub_cycle : LEMMAFORALL (w: Seq(H)): subgraph?(H,G) and cycle?(H,w) IMPLIES cycle?(G,w)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.