
Extension Name: res_path.def
Primitive Lexicon: None
Defined Lexicon:
Definitional Extensions Required by this Extension: processor.def

(forall (?occ1 ?occ2 ?a) (iff (next_processor_path ?occ1 ?occ2 ?a) (and (next_subactivity ?occ1 ?occ2 ?a) (exists (?a1 ?a2 ?r) (and (occurrence_of ?occ1 ?a1) (occurrence_of ?occ2 ?a2) (processor_activity ?a1) (processor_activity ?a2) (output_material ?r ?a1) (input_material ?r ?a2))))))Definition 2 pro_precedes is a partial ordering over the processor subactivity occurrences of ?a with respect to resource flow.
(forall (?occ1 ?occ2 ?a) (iff (pro_precedes ?occ1 ?occ2 ?a) (and (soo_precedes ?occ1 ?occ2 ?a) (forall (?occ3) (if (and (soo_precedes ?occ1 ?occ3 ?a) (soo_precedes ?occ3 ?occ2 ?a)) (exists (?occ4 ?occ5) (and (next_processor_path ?occ4 ?occ3 ?a) (next_processor_path ?occ3 ?occ5 ?a))))))))Definition 3 An activity is a resource path iff the subactivity occurrence ordering is equivalent to the material flow ordering.
(forall (?a) (iff (resource_path ?a) (forall (?occ1 ?occ2) (iff (soo_precedes ?occ1 ?occ2 ?a) (pro_precedes ?occ1 ?occ2 ?a)))))Definition 4 An occurrence is initial processor activity occurrence in an activity ?a iff ?a is a resource path and the occurrence is the root of the subactivity occurrence ordering.
(forall (?occ ?a) (iff (initial_processor_path ?occ ?a) (and (resource_path ?a) (root_soo ?occ ?a))))Definition 5 An occurrence is a final processor activity occurrence in an activity ?a iff ?a is a resource path and the occurrence is the leaf of the subactivity occurrence ordering.
(forall (?occ ?a) (iff (final_processor_path ?occ ?a) (and (resource_path ?a) (leaf_soo ?occ ?a))))