1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
module M
type vertex
predicate edge vertex vertex
inductive path vertex vertex =
| path_nil : forall v. path v v
| path_cons : forall u v w. path u v -> edge v w -> path u w
end
module N
type vertex
predicate edge vertex vertex
inductive path vertex vertex =
| path_nil : forall v. path v v
| path_cons : forall u v w. path u v -> edge v w -> path u w
| path_edge : forall u v. edge u v -> path u v
clone M with
type vertex,
predicate edge,
predicate path
end
|