<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>On Semantics for Testing in Time Petri Nets</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Elena Bozhenkova</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Irina Virbitskaite</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>A.P. Ershov Institute of Informatics Systems</institution>
          ,
          <addr-line>SB RAS; 6, Lavrentiev av., Novosibirsk, 630090, Russian Federation</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Dense-Time Petri Nets (TPNs) are now a well-established model to describe and study real time (quantitative) and functional (qualitative) properties of safety-critical, computer-controlled systems. Testing equivalences, used to compare systems' behaviors (processes) and reduce the structure of systems, are defined in terms of tests that processes may or must pass. The intention of the paper is to establish the interrelations between various semantics for must-testing equivalences with extended tests, in the framework of TPNs. This allows for studying in detail the timing behavior in addition to the degree of relative concurrency of processes generated when systems are functioning.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Dense-Time Petri Nets (TPNs) are suitable for qualitative and quantitative modelling and
verifying of safety-critical, computer-controlled, real-time systems. Several semantics (behaviors) are
explored in the literature for TPNs, that can be classified according to interleaving – partial order
dichotomy. The classical interleaving behavior of the TPN is described by runs — sequences of
changes in states by time elapsings and/or transition firings. The semantics allows for analyzing
some safety and liveness properties of systems, however concurrency between net transitions
is reduced to non-deterministic choice between sequences of transitions firings in any possible
order. Step semantics of TPNs generalizes the interleaving approach by allowing several
concurrent transitions (forming a step) to fire simultaneously. Partial order semantics of TPNs is
most often represented by means of the so-called causal net processes which include events
and conditions related by causal dependence (the absence of causality means concurrency)
and equipped with timing information. Causal tree semantics summarizes the interleaving
and partial order approaches by representing the behavior of the TPN in the form of a tree
with nodes corresponding to runs, and edges labeled by actions with their times and causal
predecessors.</p>
      <p>
        Testing equivalences [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] are explicitly based on a framework of extracting information about
the systems’ behaviors (processes) by testing them. Two processes are considered equivalent if
there is no test that can distinguish them. In the realm of untimed models, interleaving testing
was thoroughly investigated and well-understood in the setting of models of transition systems
(see [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ] among many others). Interleaving, step and partial order testing equivalences for
elementary net systems (safe Petri nets without loops) were studied in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. There, the authors
indicated the location of the testings among other behavioral equivalences from linear time –
branching time spectrum, providing their hierarchies for the model under consideration with
and without invisible actions. Partial order and non-deterministic semantics for diferent classes
of Petri nets are often represented by means of various models of event structures. In the
framework of the models, testing equivalences within interleaving – partial order dichotomy
were developed and compared in the papers [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ]. Moreover, in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] special attention was paid
to the relationships between partial order and causal tree semantics in the context of testing
equivalences. To the best of authors’ knowledge, causal tree semantics in the framework of
Petri nets has not been studied yet.
      </p>
      <p>
        As safety-critical applications often require verification of real time characteristics, testing
equivalences are expanded in concurrent models with time. In the papers [
        <xref ref-type="bibr" rid="ref8">8, 9, 10, 11</xref>
        ], alternative
characterizations of timed testing are provided for timed generalizations of interleaving models.
In [12], the testing relations along with their alternative characterization and discretization
were proposed in the framework of Petri nets with time intervals associated to arcs from places
to transitions. At the same time, to the best of our knowledge, there are only few mentions
of a fusion of timing and partial order semantics, in testing scenario. In this regard, the work
[13] is a welcome exception, where time-sensitive testing is investigated within linear time –
branching time spectrum, in the setting of event structure models with time characteristics.
Also, our origin is the paper [14] the main result of which is the coincidence of poset and causal
tree testing equivalences, with the tests as direct extensions of the experiments, in the setting
of TPNs. In this paper, we expand the results of [14] to step, poset and causal tree semantics
with extended tests1, and demonstrate the discriminating/matching power of the semantics in
the framework of testing equivalences on contact-free TPNs. The results obtained can be useful
in formal verification of systems since partial order semantics allows for reducing the number
of systems’ states to be analyzed.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Syntax and Diferent Semantics of TPNs</title>
      <p>In this section, some terminology concerning the model of Petri nets with timing constraints
(time intervals on the firings of transitions) and its concurrent semantics in terms of
interleaving/step firing sequences, causal net processes and causal trees are defined.</p>
      <sec id="sec-2-1">
        <title>2.1. Syntax and Interleaving/Step Semantics of TPNs</title>
        <p>We start with recalling the definitions of the structure and interleaving/step behavior of time
Petri nets [15, 16]. We use  as an alphabet of actions and N as a set of multisets over
. Let the domain T of time values be the set of rational numbers. We denote by [ 1,  2] the
closed interval between two time values  1,  2 ∈ T. Infinity is allowed at the upper bounds of
intervals. Let  be the set of all such intervals.</p>
        <p>Definition 1. • A (labeled over ) time Petri net is a pair   = ( , ), where  = ( ,
 ,  , 0, ) is a (labeled over ) underlying Petri net (with a finite set  of places, a
1Testing equivalence with extended tests checks, after the executions of the experiments, the tests that are
continuations of the experiments with steps/posets of actions, not with single actions.</p>
        <p>: (∙  ∪ ∙ ) ∩ (∙ ′ ∪ ′∙ ) = ∅).
define ∙  = ⋃︀
∈ ∙  and  ∙ = ⋃︀</p>
        <p>∈ ∙ .
ifnite set  of transitions such that  ∩  = ∅ and  ∪  ̸= ∅, a flow relation
( ×  ) ∪ ( ×  ), an initial marking ∅ ≠ 0 ⊆  , a labeling function  :  → ) and
 :  →   is a static timing function associating with each transition a time interval.
 ⊆
For a transition  ∈  , the boundaries of the interval () ∈   are called the earliest
ifring time   and latest firing time   of . For  ∈  ∪  , let ∙  = { | (, ) ∈  }
and ∙ = { | (, ) ∈  } be the preset and postset of , respectively. For  ⊆  ∪  ,
 if ∙  ⊆
• A marking  of   is any subset of  . A transition  ∈  is enabled at a marking
 . Let ( ) be the set of transitions enabled at  . A non-empty subset
∅ ̸=  ⊆  is a step enabled at a marking  , if (∀ ∈  ◇  ∈ ( )) and (∀ ̸= ′ ∈
marking and 0() = 0, for all  ∈ (0).</p>
        <p>A state of   is a pair (,  ), where  is a marking and  : ( ) →−
timing function. The initial state of   is a pair 0 = (0, 0), where 0 is the initial
T is a dynamic
A step  enabled at a marking  can fire from a state  = (,  ) after a delay time
 ∈ T if ( () ≤  () +  ), for all  ∈  , and ( (′) +  ≤  (′)), for all ′ ∈ ( ).
The firing of a step  that can fire from a state  = (,  ) after a delay time  leads to the
new state ′ = ( ′,  ′) (denoted  →−</p>
        <p>′) given by:
(, )
()  →−</p>
        <p>′,
() ∀′ ∈  ◇  ′(′) =
⎨
⎧  (′) + ,</p>
        <p>0,
⎩ undefined , otherwise.</p>
        <p>if ′ ∈ ( ∖ ∙ ),
if ′ ∈ ( ′) ∖ ( ∖ ∙ ),
time Petri nets.</p>
        <p>(, )
Then, we write  →−</p>
        <p>′, if  = ( ) = Σ∈ () ∈ N, i.e.  is a multiset
over the set { ∈  |  = () and  ∈  }. We use the notation  →−
 = (1,  1) . . . (,  ) and  = 0 (1, 1) 1 . . . − 1 (, )  = ′ ( ≥
→− →−</p>
        <p>
          ′ if
0). In this
0, and (  ) be the set of all reachable states of   from 0. For 
case,  is a step firing sequence of   from  (to ′), and ′ is a reachable state of  
from . Whenever |  |= 1 for all 1 ≤  ≤ , we call  an interleaving firing sequence
of   . Let ℱ ()(  ) be the set of all step (interleaving) firing sequences of   from
= (1,  1) . . .
(,  ) ∈ ℱ ()(  ), ( ) = (1,  1) . . . (,  ) if  = () for all 1 ≤  ≤ .

We call    -restricted if ∙  ̸= ∅ ≠ ∙ , for all transitions  ∈  ; contact-free if whenever
a step  can fire from the state  = (,  ) after some delay time  , then ( ∖∙  )∩ ∙ = ∅,
for all  ∈ (  ). In what follows, we shall consider only  -restricted and contact-free
Example 1. A (labeled over  = {, , }) time Petri net ̃︂ is shown in Figure 1. Here,
the places are represented by circles, and transitions — by bars; the names are depicted near the
net elements, the flow relation is drawn by the arcs, the initial marking is represented as the set
of the places with tokens (bold points), and the values of the labeling and timing functions are
, 3[
          <xref ref-type="bibr" rid="ref1 ref3">1, 3</xref>
          ] 1 , 2[
          <xref ref-type="bibr" rid="ref1 ref3">1, 3</xref>
          ]
3
, 1[
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ]
4
, 5[
          <xref ref-type="bibr" rid="ref2">0, 2</xref>
          ]
2
5
printed next to the transitions. It is not dificult to check that 1, 2 and 4 are transitions enabled
at the initial marking 0 = {1, 2}, and, moreover, {1, 4} and {2, 4} are steps enabled
at 0. The steps can fire from the initial state 0 = (0, 0) after time delay  1 = 1, where
        </p>
        <sec id="sec-2-1-1">
          <title>The sequence</title>
          <p>= ({1, 4}, 0.5) (3, 1) (2, 2)
(5, 2) is a step firing sequence of ̃︂ from 0. Also, we have ( ) = (2′, 0.5) (, 1) (, 2)
(, 2). Furthermore, it is easy to see that ̃︂ is really  -restricted and contact-free.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Causal Net Process Semantics of TPNs</title>
        <p>In this subsection, the concept of causality-based net processes is presented in the context of
TPNs.</p>
        <p>We start with the definition of time causal nets, whose events and conditions are related by
causal dependence and concurrency (absence of causality), and whose timing function associates
with the events their occurrence times.</p>
        <p>Definition 2.</p>
        <p>A (labeled over ) time causal net is a finite, acyclic net   = (, , , ,  )
with a set  of conditions; a set  of events; a flow relation
 ⊆
( × ) ∪ ( × ) such that
timing function  :  → T such that  + ′ ⇒  () ≤  (′).
| ∙  |≤
1 ≥|</p>
        <p>∙ |, for all  ∈ , and ∙  =  = ∙ ; a labeling function  :  → , and a
For a time causal net   = (, , , ,  ) and , ′ ∈ , define:
•   ∙ = { ∈  | ∙ = ∅};
• ≺ = +, ⪯ = * (causality);</p>
        <p>∙ ();
•  () = {′ ∈  | ′ ≺</p>
        <p>} (causal predecessors of ), () = {′ ∈
 |  (′) &lt;  ()} (time predecessors of ), and () = (()∙
∪ ∙   ) ∖
timely sound subset of  if ′ ⊂  and (′) ⊆ ′, for all ′ ∈ ′;
• ′ is a downward-closed subset of  if ′ ⊂
 and  (′) ⊆ ′, for all ′ ∈ ′; a
•  ⌣ ′ ⇐⇒</p>
        <p>¬(( ≺ ′) ∨ (′ ≺ )) (concurrency); ∅ ̸=  ⊆  is a step if  ⌣ ′
and  () =  (′) for all  ̸= ′ ∈  . Let  ( ) =  () for some  ∈  (time of  );
1 ≤  ≤ ,  is an -linearization;
•  (  ) = (  , ⪯   ∩(  ×
• a sequence  = 1 . . .  ( ≥</p>
        <p>0) of steps of   is an s-linearization of   if ⋃︀
 and ⋂︀
set of ⋃︀
¬((′ ≺
and for all 1 ≤  &lt;  ≤
 it holds: ⋃︀</p>
        <p>1≤ ≤   is a downward-closed and timely sound
sub1≤ ≤ &gt;1  = ∅ (i.e. every event of   appears in the sequence exactly once),
1≤ ≤   (i.e. both causal and time order are preserved: for all 1 ≤  &lt;  ≤ ,
) ∨ ( (′) &lt;  ())), for all  ∈ , ′ ∈  ). Whenever |  | = 1 for all
1≤ ≤   =
  ),   ,    ) is a time poset2. For time posets
closed and timely sound subset of , ⪯ ′=⪯ ∩</p>
        <p>′ × ′, ′ =  |′ , and  ′ =  |′ .</p>
        <p>= (, ⪯ , ,  ) and  ′ = (′, ⪯ ′, ′,  ′),  is a pos-extension of  ′ if ′ is a
downwardWe are now ready to define the concept of causal net based processes of TPNs, proposed in
[15].</p>
        <p>Definition 3.
  = (, , , ,  ),
hold:</p>
        <p>Given a time Petri net   = (( ,  ,  , 0, ), ) and a time causal net
• a mapping  :  ∪  →  ∪  is a homomorphism from   to   if the following
–  () ⊆  ,  () ⊆  ;
– the restriction of  to ∙  is a bijection between ∙  and ∙  (), and the restriction of 
to ∙ is a bijection between ∙ and  ()∙ , for all  ∈ ;
– the restriction of  to ∙   is a bijection between ∙   and 0;
– () = ( ()), for all  ∈ .</p>
        <p>and  is a homomorphism from   to   ;
• a pair  = ( ,  ) is a time process of a time Petri net   if   is a time causal net
• a time process  = ( ,  ) of   is correct if for all  ∈  it holds:
(a)  () ≥</p>
        <p>TOE (∙ ,  ()) +  ( ()),
(b) ∀ ∈ ( (())) ◇  () ≤</p>
        <p>TOE ((), ) +  ().</p>
        <p>Here, for a subset ′ ⊆</p>
        <p>and a transition  ∈ ( (′)), the time of enabling (TOE)
of , i.e. the latest global time moment when tokens appear in all input places of , is
defined as follows:</p>
        <p>TOE (′, ) = max
[′] = { ∈ ′ |    () ∈ ∙ }.</p>
        <p>Let  (  ) denote the set of correct time processes of   .</p>
        <p>︁(
{   (∙ ) |  ∈ [′] ∖ ∙   } ∪ {0} , where
︁)</p>
        <p>We now present for the time Petri net the relationships between its correct time processes
and its interleaving/step firing sequences from the initial state.</p>
        <p>Proposition 1. [15, 16] Let   be a time Petri net. Then,
function  :  → T such that  ⪯ ′ ⇒  () ≤  (′).</p>
        <p>2A (labeled over ) time poset (partially ordered set) is a tuple  = (, ⪯ , , 
) consisting of a finite set 
of elements; a reflexive, antisymmetric and transitive relation ⪯ ; a labeling function  :  → ; and a timing
(i) for any  = ( ,  ) ∈ (  ) with an ()-linearization  = 1 . . .  of   , there
is a unique step (interleaving) firing sequence   ( ) = ( (1),  (1) − 0) . . . ( (),
 () −  (− 1)) ∈ ℱ ()(  );
(ii) for any step (interleaving) firing sequence  ∈ ℱ ()(  ), there is a unique (up to
an isomorphism3) correct time process   = ( ,  ) ∈ (  ) with a unique
()linearization   of   such that    (  ) =  .</p>
        <p>For correct time processes  = ( ,  ),  ′ = (  ′,  ′) ∈ (  ), we say that  is a
-extension of  ′ in   if  (  ) is -extension of  (  ′), ′ ⊂ , ′ =  ∩ (′ ×
′ ∪ ′ × ′), and  ′ =  |′∪′ .</p>
        <p>We expand the above results to -extensions of correct time processes of TPNs.
Lemma 1. Given a time Petri net   ,  ∈ ℱ ()(  ), and  ∈ (  ) such that  =
  ( ), where  is an ()-linearization of   ,
(i) if ̃︀ is a -extension of  in   , then there is  ′ ∈ ℱ ()(  ) such that  ′ =
  ( ′), where  ′ is an ()-linearization of   ;</p>
        <p>̃︀ ̃︀
(ii) if  ′ ∈ ℱ ()(  ), there is ̃︀ ∈ (  ) such that ̃︀ is a -extension of  in  
and  ′ =   ( ′), where  ′ is an ()-linearization of   .</p>
        <p>̃︀ ̃︀</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Causal Tree Semantics of TPNs</title>
        <p>Causal trees [17] are synchronisation trees which carry in their labels additional information
about causes of actions thus providing us with an interleaving description of concurrent
processes, which faithfully expresses causality. Time causal trees are generalizations of causal
trees by adding timing. In the time causal tree of the TPN, the nodes are the interleaving firing
sequences of the TPN, and an edge exists between two nodes if the second one is a direct
extension of the first one. The causes in the edge labels are calculated based on the causality
relations in the correct time processes of the TPN corresponding to the nodes (the interleaving
ifring sequences).</p>
        <p>Definition 4. The time causal tree of the TPN   ,   (  ), is a tree (ℱ (  ), , ),
where ℱ (  ) is the set of nodes with the root  ;  = {(,  (,  )) | ,  (,  ) ∈ ℱ (  )}
is the set of edges;  is the labeling function such that ( ) =  and (,  (,  )) = (  (),  ,
), with  =    (  = 1 . . . ),  (,  ) =    (, ) (  (, ) = 1 . . . ),  = { −  + 1 |
 ≺    (, ) }. Let ℎ( ) be the path starting from the root and finishing in the node  of
  (  )4.</p>
        <p>3Time processes  = ( ,  ) and  ′ = (  ′,  ′) ∈ (  ) are isomorphic (denoted  ≃  ′) if there exists
a bijective mapping  :  ∪  → ′ ∪ ′ such that (i)  () = ′ and  () = ′; (ii)    ⇐⇒  () ′  (),
for all ,  ∈  ∪ ; (iii) () = ′( ()), for all  ∈ ; (iv)  () =  ′( ()), for all  ∈ ; (v)  () =  ′( ()),
for all  ∈  ∪ .</p>
        <p>4We assume ℎ( ) =  . Notice that in   (  ), for any node  ∈ ℱ(  ), there is a path starting
from the root and finishing in  .
(, 0.5, ∅) (, 0.5, ∅) (, 1, {2}) (, 2, {1}) (, 2, {1, 3}).

Example 2. Consider the time Petri net ̃︂ (see Figure 1) and its interleaving firing sequence
= (1, 0.5) (4, 0) (3, 1) (2, 2) (5, 2) ∈ ℱ (̃︂ ). It is easy to get that (ℎ( )) =
We finally establish some relationships between correct time processes and labeled paths in
the time causal trees of two time Petri nets.</p>
        <p>Proposition 2. Let   ,   ′ be time Petri nets. Then,</p>
        <p>(ℎ(  ( ))) = ′(ℎ(  ′ ( ( )))), for any -linearization  of   ;
(i) for any  ∈ (  ) and  ′ ∈ (  ′) with an isomorphism  :  (  ) →  (  ′ ),
is an isomorphism  :  (   ) →  (   ′ ) such that  (  ) =   ′ .</p>
        <p>(ii) for any  ∈ ℱ (  ) and  ′ ∈ ℱ (  ′) such that (ℎ( )) = ′(ℎ( ′)), there</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Testing Equivalences</title>
      <p>Interleaving testing equivalence deals with the experiments on the TPN — sequences of actions
with their times — and the behaviors which are tested for after the experiments — sets of actions
with their times. So, it checks whether actions with times, given as a test, can be executed after
a sequence of actions with times, specified as an experiment. Here, both the experiments and
tests represent interleaving semantics.</p>
      <p>Definition 5.</p>
      <p>Given time Petri nets   and   ′,
• for a sequence  ∈ ( × T)* and a set  ⊆
( × T),   after  MUST 
if for all firing sequences</p>
      <p>∈ ℱ (  ) such that ( ) = , there exists an element
(,  ) ∈  and a firing sequence  (,  ) ∈ ℱ (  ) such that ( (,  )) = (,  );
sequences  ∈ ( × T)* and for all sets  ⊆ ( ×</p>
      <sec id="sec-3-1">
        <title>T), it holds:</title>
        <p>•   and   ′ are interleaving testing equivalent (denoted   ∼    ′) if for all
  after  MUST</p>
        <p>⇐⇒   ′ after  MUST .</p>
        <p>In step testing, the experiments on the TPN are sequences of multisets over sets of actions
with their times and the tests checked after the experiments are sets of multisets over sets of
actions with their times. So, it checks whether multisets over sets of actions with times, given
as a test, can be executed after a sequence of multisets over sets of actions with times, specified
as an experiment. Thereby, both the experiments and tests respect step semantics.
Definition 6.</p>
        <p>Given time Petri nets   and   ′,
• for a sequence  ∈ (N × T)* and a set  ⊆
(N × T),   after  MUST
 if for all firing sequences</p>
        <p>∈ ℱ (  ) such that ( ) = , there exists an element
(,  ) ∈  and a firing sequence  (,  ) ∈ ℱ (  ) such that ( (,  )) = (,  );
  1 :
  after  MUST</p>
        <p>⇐⇒   ′ after  MUST .</p>
        <p>The idea of partial order testing is that the experiments on the TPN are time posets and the
tests, that are examined after the experiments, are sets of -extensions of the experiments.
This contrasts with partial order based testing investigated in the paper in [14], where the tests
contain sets of time posets extending the experiments by single actions with their times. From
now on, we denote -extensions of a time poset   by TP  .</p>
        <p>Definition 7.</p>
        <p>Given time Petri nets   and   ′,
• for a time poset   and a set TP ⊆ TP  ,   after   MUST TP if for all
time processes  = ( ,  ) ∈  (  ) and for all isomorphisms  :  (  ) →−   ,</p>
        <p>there exists a time poset   ′ ∈ TP, a time process  ′ = (  ′,  ′) ∈  (  ), and an
isomorphism  ′ :  (  ′) →−   ′, such that  ′ is a -extension of  and  ⊂  ′;

•   and   ′ are poset testing equivalent (denoted   ∼    ′) if for all time posets
  and for all sets TP ⊆ TP  , it holds:
  after   MUSTTP</p>
        <p>⇐⇒   ′ after   MUSTTP.</p>
        <p>Theorem 1. Given time Petri nets   and   ′,
  ∼    ′ =⇒   ∼    =⇒   ∼    ′.</p>
        <p />
        <p>The implications in the theorem above do not hold in the opposite directions, as demonstrated
in the example below.</p>
        <p>Example 3. The time Petri nets   1 and   2, shown in Figure 2, are ∼ –equivalent but
  
they are neither ∼ – nor ∼ –equivalent. First, check that   1 and   2 are not ∼ –
equivalent. It is easy to see that   1 after  = (1′ + 1′, 1) MUST  = ∅, because
in ℱ (  1) there is no firing sequence  such that ( ) = . However, this is not the
case in   2, since in ℱ (  2) there exists a firing sequence  such that ( ) =  and it
is impossible to find any element (,  ) of  so as to locate in ℱ (  2) a firing sequence
 (,  ) such that ( (,  )) = (,  ). Hence, it hods that ¬(  2 after  = (1′ + 1′, 1)
MUST  = ∅). Second, verify that   1 and   2 are not ∼ –equivalent. Define
a poset   = ({1, 2}, ⪯ ,  ,  ) (with ⪯ = {(1, 1), (2, 2)},  (1) = ,  (2) = ,
 (1) =  (2) = 1). For any time process  1 = ( 1,  1) ∈  (  1), there is no isomorphism
1 :  ( 1) →−   . So, it is true that   1 after   MUST TP = ∅. However, this is
not the case in   2 because there is a time process  2 = ( 2,  2) ∈  (  2), with  2
containing two concurrent events labeled by  and , both with time value 1, and an isomorphism
2 :  ( 2) →−   , and we cannot find any -extension of   in TP. Hence, it hods that
¬(  2 after   MUST TP = ∅).</p>
        <p>The time Petri nets   3 and   4, shown in Figure 3, are ∼ –equivalent but not ∼ –

equivalent. Let’s make sure of the latter. Define posets   = ({1}, ⪯ ,  ,  ) (with ⪯ = {(1, 1)},
 (1) = ,  (1) = 0) and   ′ = ({1, 2, 3, 4}, ⪯ ′,  ′,  ′) (with ⪯ ′= {(, ) | 1 ≤
 ≤ 4} ∪ {(2, 3)},  ′(1) =  ′(2) = ,  ′(3) =  ′(4) = ,  ′(1) =  ′(2) = 0,
and  ′(3) =  ′(4) = 2.9. It is easy to see that   ′ is a -extension of   . For any
time process  1 = ( 1,  1) ∈ (  3), with  1 consisting of an event with label 
and time value 0, and any isomorphism 1 :  ( 1) →−   , we can find a -extension
 1′ = ( 1′ ,  ′1) ∈ (  1), with  1′ consisting of two concurrent events, both with label 
and time value 0, and two concurrent events, both with label  and time value 2.9, and, moreover,
one of the two events labeled by  is causally preceded by the added event labeled by , and an
isomorphism 1′ :  ( 1′ ) →−   ′ such that 1 ⊂ 1′ . But this is not the case in   4.</p>
        <p>The time Petri nets   5 and   6, depicted in Figure 4, are ∼ ⋆⋆–equivalent, for ⋆ ∈ {, ,
}. □</p>
        <p>At last, the definition of testing equivalence based on the causal trees of TPNs is developed.
In doing so the experiments are considered as sequences over the alphabet ( × T × 2N)
(corresponding to labeled paths from the roots in the causal trees) and the tests are specified as
sets of non-empty sequences over the same alphabet (corresponding to sets of extensions of the
labeled paths in the causal trees). In the paper [14], the tests directly extend the experiments by
single elements, not by sequences of elements, from the set ( × T × 2N).
Definition 8. Given time Petri nets   and   ′ with their time causal trees   (  ) and
  (  ′), respectively,
• for a sequence  ∈ ( × T × 2N)* and a set W ⊆ ( × T × 2N)+, we say   (  )
after  MUST W if for all paths  in   (  ) from its root to a node  such
that () = , there exists ′ ∈ W and a path ′ starting from the node , such that
(′) = ′;
•   and   ′ are causal tree testing equivalent (  ∼    ′) if for all sequences
 ∈ ( × T × 2N)* and sets W ⊆ ( × T × 2N)+, it holds:
  (  ) after  MUSTW</p>
        <p>⇐⇒   (  ′) after  MUSTW.</p>
        <p>We finally expand the main result of [ 14] by establishing the coincidence of poset and causal
tree testing equivalences with extended tests, in the setting of TPNs.</p>
        <p>Theorem 2. Given time Petri nets   and   ′,</p>
        <p>∼    ′ ⇐⇒   ∼    ′.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Concluding Remarks</title>
      <p>We have specified and studied several testing equivalences based on concurrent semantics, in
the setting of contact-free time Petri nets. In doing so, we dealt with various conceptions of the
behavior of the time Petri net: interleaving/step firing sequences, time processes, from causal
nets of which partial orders are derived, and time causal tree, constructed from interleaving
ifring sequences and partial orders. We have demonstrated that interleaving testing equivalence
(with the experiments as labeled interleaving firing sequences and with the tests as experiments
extensions by single actions with their times) is coarser than step testing (with the experiments
as labeled step firing sequences and the tests as sequences extensions by steps of concurrent
actions with their times), which, in turn, is coarser than poset testing (with time posets as
experiments and their -extensions as tests). As the main result, the latter equivalence has
been established to coincide with causal tree testing (based on labeled paths and their extensions
in time causal trees of TPNs).</p>
      <p>As for future work, we plan to investigate the equivalences and semantics under consideration
in the framework of Petri nets with weak timing policy [18]. Also, it would be interesting to
see whether open intervals in the specification of TPNs influence the results obtained here.
Netherlands, July 15-18, 1991, IEEE Computer Society, 1991, pp. 110–119. URL: https:
//doi.org/10.1109/LICS.1991.151635. doi:10.1109/LICS.1991.151635.
[9] M. Hennessy, T. Regan, A process algebra for timed systems, Inf. Comput. 117 (1995)
221–239. URL: https://doi.org/10.1006/inco.1995.1041. doi:10.1006/inco.1995.1041.
[10] F. Corradini, W. Vogler, L. Jenner, Comparing the worst-case eficiency of asynchronous
systems with PAFAS, Acta Informatica 38 (2002) 735–792. URL: https://doi.org/10.1007/
s00236-002-0094-3. doi:10.1007/s00236-002-0094-3.
[11] L. F. L. Díaz, D. de Frutos-Escrig, Denotational semantics for timed testing, in: M. Bertran,
T. Rus (Eds.), Transformation-Based Reactive Systems Development, 4th International
AMAST Workshop on Real-Time Systems and Concurrent and Distributed Software,
ARTS’97, Palma, Mallorca, Spain, May 21-23, 1997, Proceedings, volume 1231 of
Lecture Notes in Computer Science, Springer, 1997, pp. 368–382. URL: https://doi.org/10.1007/
3-540-63010-4_25. doi:10.1007/3-540-63010-4\_25.
[12] E. Bihler, W. Vogler, Timed Petri nets: Eficiency of asynchronous systems, in: M. Bernardo,
F. Corradini (Eds.), Formal Methods for the Design of Real-Time Systems, International
School on Formal Methods for the Design of Computer, Communication and Software
Systems, SFM-RT 2004, Bertinoro, Italy, September 13-18, 2004, Revised Lectures, volume
3185 of Lecture Notes in Computer Science, Springer, 2004, pp. 25–58. URL: https://doi.org/
10.1007/978-3-540-30080-9_2. doi:10.1007/978-3-540-30080-9\_2.
[13] M. V. Andreeva, I. B. Virbitskaite, Observational equivalences for timed stable event
structures, Fundam. Informaticae 72 (2006) 1–19. URL: http://content.iospress.com/articles/
fundamenta-informaticae/fi72-1-3-02.
[14] E. N. Bozhenkova, I. B. Virbitskaite, Testing equivalences of time Petri nets, Program.</p>
      <p>Comput. Softw. 46 (2020) 251–260. URL: https://doi.org/10.1134/S0361768820040040. doi:10.
1134/S0361768820040040.
[15] T. Aura, J. Lilius, A causal semantics for time Petri nets, Theor. Comput. Sci. 243 (2000) 409–
447. URL: https://doi.org/10.1016/S0304-3975(99)00114-0. doi:10.1016/S0304-3975(99)
00114-0.
[16] I. B. Virbitskaite, D. Bushin, E. Best, True concurrent equivalences in time Petri nets,
Fundam. Informaticae 149 (2016) 401–418. URL: https://doi.org/10.3233/FI-2016-1454.
doi:10.3233/FI-2016-1454.
[17] P. Darondeau, P. Degano, Refinement of actions in event structures and causal trees,
Theor. Comput. Sci. 118 (1993) 21–48. URL: https://doi.org/10.1016/0304-3975(93)90361-V.
doi:10.1016/0304-3975(93)90361-V.
[18] P. Reynier, A. Sangnier, Weak time Petri nets strike back!, in: M. Bravetti, G. Zavattaro
(Eds.), CONCUR 2009 - Concurrency Theory, 20th International Conference, CONCUR 2009,
Bologna, Italy, September 1-4, 2009. Proceedings, volume 5710 of Lecture Notes in Computer
Science, Springer, 2009, pp. 557–571. URL: https://doi.org/10.1007/978-3-642-04081-8_37.
doi:10.1007/978-3-642-04081-8\_37.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>R. de Nicola</surname>
          </string-name>
          , M. Hennessy,
          <article-title>Testing equivalence for processes</article-title>
          , in: J.
          <string-name>
            <surname>Díaz</surname>
          </string-name>
          (Ed.),
          <source>Automata, Languages and Programming, 10th Colloquium</source>
          , Barcelona, Spain,
          <source>July 18-22</source>
          ,
          <year>1983</year>
          , Proceedings, volume
          <volume>154</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>1983</year>
          , pp.
          <fpage>548</fpage>
          -
          <lpage>560</lpage>
          . URL: https://doi.org/10.1007/BFb0036936. doi:
          <volume>10</volume>
          .1007/BFb0036936.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2] R. de Nicola,
          <article-title>Extensional equivalences for transition systems</article-title>
          ,
          <source>Acta Informatica</source>
          <volume>24</volume>
          (
          <year>1987</year>
          )
          <fpage>211</fpage>
          -
          <lpage>237</lpage>
          . URL: https://doi.org/10.1007/BF00264365. doi:
          <volume>10</volume>
          .1007/BF00264365.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cleaveland</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hennessy</surname>
          </string-name>
          ,
          <article-title>Testing equivalence as a bisimulation equivalence</article-title>
          ,
          <source>Formal Aspects Comput</source>
          .
          <volume>5</volume>
          (
          <issue>1993</issue>
          )
          <fpage>1</fpage>
          -
          <lpage>20</lpage>
          . URL: https://doi.org/10.1007/BF01211314. doi:
          <volume>10</volume>
          .1007/ BF01211314.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Pomello</surname>
          </string-name>
          , G. Rozenberg,
          <string-name>
            <given-names>C.</given-names>
            <surname>Simone</surname>
          </string-name>
          ,
          <article-title>A survey of equivalence notions for net based systems</article-title>
          , in: G. Rozenberg (Ed.),
          <source>Advances in Petri Nets</source>
          <year>1992</year>
          ,
          <article-title>The DEMON Project</article-title>
          , volume
          <volume>609</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>1992</year>
          , pp.
          <fpage>410</fpage>
          -
          <lpage>472</lpage>
          . URL: https: //doi.org/10.1007/3-540-55610-9_
          <fpage>180</fpage>
          . doi:
          <volume>10</volume>
          .1007/3-540-55610-9\_
          <fpage>180</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>L.</given-names>
            <surname>Aceto</surname>
          </string-name>
          ,
          <article-title>History preserving, causal and mixed-ordering equivalence over stable event structures</article-title>
          ,
          <source>Fundam. Informaticae</source>
          <volume>17</volume>
          (
          <year>1992</year>
          )
          <fpage>319</fpage>
          -
          <lpage>331</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L.</given-names>
            <surname>Aceto</surname>
          </string-name>
          , R. de Nicola, A. Fantechi,
          <article-title>Testing equivalences for event structures</article-title>
          , in: M. V.
          <string-name>
            <surname>Zilli</surname>
          </string-name>
          (Ed.),
          <source>Mathematical Models for the Semantics of Parallelism, Advanced School</source>
          , Rome, Italy,
          <source>September 24 - October 1</source>
          ,
          <year>1986</year>
          , Proceedings, volume
          <volume>280</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>1986</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>20</lpage>
          . URL: https://doi.org/10.1007/3-540-18419-
          <issue>8</issue>
          _9. doi:
          <volume>10</volume>
          . 1007/3-540-18419-8\_9.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>U.</given-names>
            <surname>Goltz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wehrheim</surname>
          </string-name>
          ,
          <article-title>Causal testing</article-title>
          , in: W. Penczek,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Szalas (Eds.),
          <source>Mathematical Foundations of Computer Science</source>
          <year>1996</year>
          , 21st International Symposium, MFCS'96,
          <string-name>
            <surname>Cracow</surname>
          </string-name>
          , Poland, September 2-
          <issue>6</issue>
          ,
          <year>1996</year>
          , Proceedings, volume
          <volume>1113</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>1996</year>
          , pp.
          <fpage>394</fpage>
          -
          <lpage>406</lpage>
          . URL: https://doi.org/10.1007/3-540-61550-4_
          <fpage>165</fpage>
          . doi:
          <volume>10</volume>
          .1007/3-540-61550-4\_
          <fpage>165</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cleaveland</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. E.</given-names>
            <surname>Zwarico</surname>
          </string-name>
          ,
          <article-title>A theory of testing for real-time</article-title>
          ,
          <source>in: Proceedings of the Sixth Annual Symposium on Logic in Computer Science (LICS '91)</source>
          , Amsterdam, The
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>