<!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>Formal Probabilistic Analysis of Lifetime for a WSN for Border Monitoring</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maissa Elleuch</string-name>
          <email>maissa.elleuch@ceslab.org</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Osman Hasan</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>So ene Tahar</string-name>
          <email>taharg@ece.concordia.ca</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mohamed Abid</string-name>
          <email>mohamed.abid@enis.rnu.tn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CES Laboratory, National School of Engineers of Sfax, Sfax University Soukra</institution>
          <addr-line>Street, 3052 Sfax</addr-line>
          ,
          <country country="TN">Tunisia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Dept. of Electrical &amp; Computer Engineering, Concordia University 1455 de Maisonneuve W.</institution>
          ,
          <addr-line>Montreal, Quebec, H3G 1M8</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Digital Research Center of Sfax Technopark of Sfax</institution>
          ,
          <country country="TN">Tunisia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Scheduling sensor nodes in Wireless Sensor Networks (WSN) for lifetime management purposes is a simple and intuitive approach. However, it is also crucial to not compromise on the main performance requirements of the considered application. For mission-critical WSN applications, di erent Quality of Service (QoS) requirements on network performance have to be satis ed. Nevertheless, traditional techniques usually focus on the average performance values without considering the targeted QoS requirements. In this paper, we provide rigorous formalizations in higher-order logic of the network lifetime maximization problem, under QoS constraints, for randomly-scheduled wireless sensor networks. We also use natural deduction based reasoning to verify the desired properties using theorem proving. In particular, we build upon our earlier developments on coverage and detection analysis to formally analyze the lifetime maximization problem for a border monitoring application.</p>
      </abstract>
      <kwd-group>
        <kwd>Wireless sensor networks</kwd>
        <kwd>Performance analysis</kwd>
        <kwd>Theorem proving</kwd>
        <kwd>Nodes Scheduling</kwd>
        <kwd>Network lifetime</kwd>
        <kwd>Border monitoring</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Wireless Sensor Networks (WSNs) have emerged as a key enabler technology for
various surveillance applications [
        <xref ref-type="bibr" rid="ref41">41</xref>
        ] including environmental monitoring and
object tracking. Since sensors are basically battery-powered, energy saving arises
as the most critical requirements. In a WSN for forest re detection, where
sensors are randomly and densely deployed, the network should be able to ensure
the monitoring of the area while being functional for a long period. As a wild re
occurs occasionally, some sensors can be intuitively deactivated by partitions to
save the whole network energy, and thus extend the network lifetime [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ]. In this
context, the k-set randomized scheduling [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] is an e cient scheduling approach,
which mainly consists in randomly organizing the set of nodes into k subsets.
      </p>
      <p>
        Scheduling sensors for lifetime management is surely a simple approach,
however, it is also crucial to not compromise on the performance of the application.
For mission-critical WSN applications, di erent Quality of Service (QoS)
requirements have to be usually satis ed [
        <xref ref-type="bibr" rid="ref37 ref5">5, 37</xref>
        ]. More generally, QoS is regarded as \the
capability of providing assurance that the service requirements of applications
can be satis ed" [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. For example, in a forest re application, where alarm packets
are vital, the WSN should not only cover the whole area, but, ensure also that the
re outbreak is detected within the shortest time with a high probability. Hence,
besides the network lifetime, the coverage and the detection performances are
critical requirements. Nevertheless, for the k-set randomized scheduling, these
performance metrics are completely probabilistic [
        <xref ref-type="bibr" rid="ref21 ref39">21, 39</xref>
        ]. Hence, some re
outbreaks may not be e ectively covered if the surrounding nodes are inactive, due
to random scheduling.While the probabilistic aspect poses real challenges on the
analysis of WSNs, missing re intrusion, can have devastating consequences.
      </p>
      <p>
        The performance of the randomized scheduling has been generally analyzed
using paper-and-pencil based probabilistic technique followed by some
simulations [
        <xref ref-type="bibr" rid="ref18 ref20 ref33">33, 18, 20</xref>
        ]. However, both paper-and-pencil proof and simulation methods
cannot be regarded as completely accurate mainly due to the error proneness of
the former and the in-exhaustive nature of the later. Compared with traditional
simulation, formal methods are less frequently used for the validation of WSNs.
Based on mathematical techniques, formal methods [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] rigorously analyze the
theoretical model of the given system. Recently, formal methods have gained a
growing interest in the context of WSNs to analyze their functional or
quantitative correctness [
        <xref ref-type="bibr" rid="ref29 ref3 ref42">29, 3, 42</xref>
        ], but most of the existing work is focused on the
validation of their functional aspects only. Nevertheless, reliable performance
evaluation of WSNs constitutes also an extremely challenging aspect.
      </p>
      <p>
        In this paper, we provide an accurate formal analysis of the network lifetime
for randomly-scheduled WSNs. In particular, we are interested in the
higherorder-logic formalizations of the lifetime maximization problem, given in [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ],
under QoS constraints. The main performance requirements here are associated
to the network coverage, the detection probability and the detection delay. In
earlier work [
        <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
        ], we have presented a formalization of the k-set randomized
scheduling algorithm and its main performance properties based on the recent
probability theory formalizations [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] in the HOL theorem prover. The practical
interest of these developments has been illustrated through the formal analysis of
various WSN applications [7{9]. We build upon these theoretical developments to
formally show that the optimal solution for the lifetime maximization problem
exists, and give the conditions under which the optimal solutions exist. This
formal analysis is illustrated through a border security monitoring application.
      </p>
      <p>The rest of this paper is organized as follows. Section 2 reviews some related
work. We summarize, in Section 3, the main requirements of this work. Section 4
describes the lifetime maximization problem under QoS requirements. In Section
5, the higher-order-logic formalizations of this problem are provided for a WSN
application for border monitoring. Section 6 is devoted to discussions, before
concluding the paper in Section 7.</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Theoretical analysis, also known as paper-and-pencil based probabilistic
technique, has been widely used to validate randomized scheduling algorithms for
WSN. Such analysis consists in constructing a pure theoretical model where the
required random variables are determined together with the associated
performance metrics. Afterwards, an accurate probabilistic based study is achieved.
For validation purposes, simulation, using the Monte Carlo method [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ], is
nally carried out. The analysis of the randomized scheduling has been usually
done using the paper-and-pencil based probabilistic technique [
        <xref ref-type="bibr" rid="ref18 ref21 ref23 ref36 ref40">36, 18, 21, 40, 23</xref>
        ],
followed by simulations on some network scenarios for the main performance
metrics. For example, Mamun [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] evaluated the coverage using a pure
mathematical model while simulations have been run with speci c network sizes and
sensing ranges.
      </p>
      <p>
        Model checking technique [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] has been successfully explored for the validation
of various aspects in the WSN context. In [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ], the formal analysis of the Optimal
Geographical Density Control (OGDC) algorithm, which is a kind of randomized
scheduling algorithm, has been performed within the RT-Maude rewriting tool
[
        <xref ref-type="bibr" rid="ref30">30</xref>
        ]. Several other prominent works reported on the use of model checking for the
analysis of WSN protocols include [
        <xref ref-type="bibr" rid="ref11 ref22 ref34">34, 11, 22</xref>
        ], or for the development of formal
frameworks [
        <xref ref-type="bibr" rid="ref15 ref43">15, 43</xref>
        ]. While the main strength of all these works is their formal
models and automatic veri cation, they su er from the common model checking
related problem of state space explosion [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Hence, the analysis of the OGDC
algorithm [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ] has been limited for WSNs with only 6 nodes within a monitored
region of 15m 15m. On the other hand, none of the previous works provided
a sound modelling of the randomness aspect in WSNs, which constitutes a real
limitation since most of the WSN algorithms are probabilistic. In [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ], a random
function, assumed to be 'good', has been used to model the probabilistic behavior
of interest. For Uniform distributions, a sampling value generated by the same
random function on a given interval is selected.
      </p>
      <p>
        To cope with these major problems, probabilistic model checking [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ] has
also been used for the probabilistic functional analysis of wireless systems [
        <xref ref-type="bibr" rid="ref11 ref12 ref42">11,
12, 42</xref>
        ]. Probabilistic model checking captures the probability modelling for both
the system and the property of interest. Nevertheless, the reasoning support
for statistical quantities in most of model checkers su ers from many
shortcomings. Indeed, expected performance values are usually obtained through several
runs on the built model [
        <xref ref-type="bibr" rid="ref3 ref42">3, 42</xref>
        ]. The obtained results can hardly be termed as
exhaustive and thus formally veri ed.
      </p>
      <p>
        On the other hand, very few works based on theorem proving [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] exist in the
open literature. A synchronization protocol for WSNs, has been analyzed using
the Isabelle/HOL theorem prover [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. The work in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] built a theorem proving
based framework for WSN algorithms based on the PVS system. Nevertheless,
the randomness aspect in this work has been characterized by a pseudo-random
generator, while the nodes mobility speci ed through a simple recursive function.
Furthermore, the uniform probability, considered for link quality changes, has
been just instantiated by a given value throughout the analysis. The analysis
results using the PVS framework can not be hence considered as reliable versus
the probability modelling.
      </p>
      <p>
        Unlike previous works, we provide rigorous formalizations of the network
lifetime maximization problem [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ], under QoS constraints, for randomly-scheduled
WSNs, and use natural deduction based reasoning to verify the desired
properties. Traditionally, the simulation-based analysis is usually made for di erent
performance metrics to validate their average values without considering their
potential relationship and the desired QoS requirements. In the open literature,
few works deal with the formal analysis of QoS properties in WSN. In [
        <xref ref-type="bibr" rid="ref34">34</xref>
        ], the
authors analyzed Biomedical Sensor Networks (BSN) in terms of QoS
requirements on packet delivery ratio, network connectivity and end-to-end delay. Using
the model checker UPPAAL, they validate worst-case scenarios of these metrics,
and compare the soundness of their results to a well-known WSN simulator. The
work in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] veri ed the same QoS properties, while focusing on decreasing the
power consumption. Although the scalability of the built model is acceptable for
BSN, the probabilistic aspect is not considered at all. Due to the sound
formalization of probability and its reasoning support available in the HOL theorem
prover, the formalizations, given in this paper, are rigourous. In addition, the
presented formalizations are generic and completely valid for all values.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Preliminaries</title>
      <p>In this section, we introduce the probabilistic analysis in the HOL theorem
prover. Then, we brie y describe the k-set randomized scheduling algorithm.
3.1</p>
      <sec id="sec-3-1">
        <title>Probabilistic Analysis in HOL</title>
        <p>
          In this work, we utilize the recently developed and most generic probability
theory developed by Mhamdi [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ], within the HOL theorem prover. By including
a Borel space, Mhamdi generalized the previous HOL formalization of measure
theory. After specifying the extended real numbers in HOL, he formalized
measure, Lebesgue, probability and information theories. The formalization of
probability theory in HOL is hence based on the Kolmogorov axiomatic de nition
of probability. Such formalization thus provides a uni ed framework for discrete
and continuous probability measures.
        </p>
        <p>A probability measure P is a measure function on the sample space and an
event is a measurable set within the set F of events which are subsets of . Thus,
( ; F; P ) is a probability space i it is a measure space whose measure is 1, i.e.,
P ( ) = 1. A random variable is a measurable function, satisfying the condition
that the inverse image of a measurable set is also measurable (De nition 1).</p>
      </sec>
      <sec id="sec-3-2">
        <title>De nition 1.</title>
        <p>` 8X p. real random variable X p =
prob space p ^
(8x 2 p space p ) X x 6= NegInf ^ X x 6= PosInf) ^</p>
        <p>X 2 measurable (p space p,events p) Borel.
where X designates the random variable, p is a given probability space, N egInf
and P osInf are the higher-order-logic formalizations of negative or positive
in nity. Borel is the HOL de nition of the Borel sigma algebra which is the
smallest sigma algebra generated by the open sets.</p>
        <p>The probability distribution of a random variable is the function that accepts
a random variable X and a set s and gives the probability of the event fX 2 sg.</p>
      </sec>
      <sec id="sec-3-3">
        <title>De nition 2.</title>
        <p>` 8X p.</p>
        <p>distribution p X = ( s. prob p (PREIMAGE X s \ p space p)).</p>
        <p>
          The expectation of a random variable X is de ned in HOL [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ] as its Lebesgue
integral with respect to the probability measure p.
        </p>
        <p>Z
E[X] =</p>
        <p>Xdp:
(1)
which has been formalized in HOL, in the discrete case, as follows.</p>
      </sec>
      <sec id="sec-3-4">
        <title>Theorem 1.</title>
        <p>` 8X p. (real random variable X p) ^ FINITE (IMAGE X (p space p))
) (expectation p X =</p>
        <p>PIMAGE X (p space p) ( r. r</p>
        <p>Normal (distribution p X frg))).
where (IMAGE X (p space p)) designates the values of the random variable X
over the sample space (p space p). In the discrete case, this list has to be nite,
i.e., (FINITE (IMAGE X (p space p))). The HOL function Normal allows the
conversion of the real-valued distribution to its corresponding extended real.
3.2</p>
      </sec>
      <sec id="sec-3-5">
        <title>The k-set Randomized Scheduling Algorithm</title>
        <p>
          Consider a WSN that is formed by randomly deploying a set Sn of n sensor nodes
over a eld of interest of size a. Every sensor can only sense the surrounding
environment and detect events within its circular sensing area of size r. We
suppose that the nodes are uniformly and independently deployed. During the
setup stage, the k-set randomized scheduling is run in parallel on every node
as follows [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. Each node starts by randomly picking a number, denoted by i,
ranging from 0 to (k 1), where k is the number of subsets or partitions. A node
sj is thus assigned to the ith sub-network, designated by Si, and will activate
itself only during the scheduling round of that subset. At the end, k disjoint
sub-networks are created to work alternatively.
        </p>
        <p>
          Fig. 1 shows a small WSN of eight sensor nodes, which is randomly portioned
into two sub-networks; S0 and S1. Each node randomly chooses a number 0 or
1 in order to be assigned to one of these two sub-networks. Suppose that nodes
0; 2; 5, randomly choose the number 0 and thus join the subset S0, whereas
nodes 1; 3; 4; 6; 7, select the number 1 and will be in the subset S1. These two
sub-networks will work by rounds, i.e., once the nodes 1; 3; 4; 6; 7, illustrated
by the dashed circles, will be active, the remaining nodes 0; 2; 5, will be at the
sleep state, and vice-versa.
In the context of a WSN using the randomized scheduling, the network lifetime is
\the elapsed time during which the network functions well" [
          <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
          ]. The network
lifetime, denoted by TNlife, has been mathematically de ned as follows [
          <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
          ].
        </p>
        <p>TNlife = k</p>
        <p>TSlife
where k is the number of subsets and TSlife is the average lifetime of a sensor.</p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
          ], we developed the higher-order-logic formalizations of the k-set
randomized scheduling and three of its performance aspects within the sound core
of the HOL theorem prover. The relevant metrics of interest are the network
coverage, the detection probability and the detection delay, denoted as Cn, Pd,
and D, respectively. In particular, we formally analyzed the minimum number
of nodes to deploy in order to ensure a network coverage intensity Cn of at least
t, denoted here as Cnreq, for a given number of sub-networks k [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
(2)
(3)
n
" ln(1
ln 1
        </p>
        <p>#
Cnqreq) :
k
where n is the total number of nodes, k; the number of subsets and q designates
the probability that a given event is covered by at least one sensor.
While a coverage of Cnreq is achieved, the other detection metrics, are not
guaranteed. Hence, deploying this lower bound nmin nodes may lead to worst values
for the detection metrics, which is not desired.</p>
        <p>
          Since the main goal of the k-set randomized scheduling is extending the
network lifetime [
          <xref ref-type="bibr" rid="ref19 ref21">19, 21</xref>
          ], most related performance metrics should have appropriate
values. These appropriate values, designated as Quality of Service (QoS)
constraints, mainly depend on the application requirements, and are set according
to some pre-de ned values.
        </p>
        <p>
          The lifetime problem [
          <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
          ] initially consists in maximizing the network
lifetime TNlife while minimizing the delay D, maximizing the detection probability
Pd and the network coverage intensity Cn.
8 1: D
&gt;
&gt;&lt; 2: Pd
&gt; 3: Cn
&gt;: 4: n = c:
        </p>
        <sec id="sec-3-5-1">
          <title>QoSDD</title>
          <p>QoSDP
QoSCn
(4)
where QoSDD, QoSDP , and QoSCn are prede ned QoS constraints associated
to the detection delay D, the detection probability Pd, and the network coverage
Cn, respectively, and c is a constant value.</p>
          <p>According to Equation (2), maximizing the network lifetime TNlife is to
maximize the number of subsets k. Nevertheless, the detection delay D will
intuitively increases when k is growing, which is not suitable for WSN applications.
There is thus an upper bound on the k-values so that a good coverage Cn can
be ensured with acceptable delay D and detection probability Pd. Consequently,
the main issue rather consists in optimizing the network lifetime to nd the set
of k-values that satisfy the main QoS constraints.
5</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Application: Border Security Monitoring</title>
      <p>
        Continuous surveillance along country borders is usually a high-priority concern,
especially given the critical terrorism world context. Deployed along the
borders, smart sensors can thus stop intruding objects including illegal immigrants,
terrorists, and forces or vehicles in a military context [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Due to the
safetycritical feature of the target application, sensors should have a smart behavior
regarding the power availability while satisfying the main QoS requirements.
Deployed WSNs for border monitoring usually su er from limited lifetime [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
e.g, a REMBASS sensor can be operational for 30 days only [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Thus, the k-set
randomized scheduling algorithm has been proposed for use to save energy for a
border monitoring application [
        <xref ref-type="bibr" rid="ref40">40</xref>
        ].
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], we presented our higher-order-logic formalizations of the detection
performances for randomly-scheduled WSNs. The practical e ectiveness of these
developments, have been then illustrated, through analyzing a WSN for border
surveillance [
        <xref ref-type="bibr" rid="ref32 ref40">40, 32</xref>
        ]. In this paper, we focus on formally analyzing the optimal
lifetime problem, presented in Section 4, for the same WSN-based application for
border security monitoring. Hence, the nodes have a sensing range of 30m, and
are deployed into an area of size a = 10000m2, whereas, the success probability
q of a sensor covering a point, is q = 0:28. In the context of this application,
the detection probability should be very high (Pd &gt; QoSDP = 0:95), whereas
the detection latency as the shortest possible (D &lt; QoSDD = 15s) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The QoS
value for the network coverage intensity Cn, is not given in the reference paper,
and is thus kept as generic for the considered application.
      </p>
      <p>
        According to the de nition of the network lifetime, given in Equation (2),
optimizing TNlife basically depends on optimizing the corresponding k-values.
An optimal solution exists, if there exist values of k satisfying the three rst
conditions of the problem, presented in Equation (4), for a given number of
nodes (n = c) [
        <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
        ].
      </p>
      <sec id="sec-4-1">
        <title>Theorem 2.</title>
        <p>Sa =fk j D
1 (1
1</p>
        <p>
          In Theorem 2, we formally verify the main condition so that the lifetime
problem, has an optimal solution [
          <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
          ].
        </p>
        <sec id="sec-4-1-1">
          <title>QoSDD &lt;</title>
          <p>(Q
(1 (1
is bounded and non-empty.
where L is the duration of an occurring event, T is the length of a scheduling
cycle, Q = TL , and s is the remainder of the intrusion period L in terms of the
number of slots T . The parameter s = TL + 1 TL .</p>
          <p>
            Proof. Each condition of the problem (Equation (4)) produces a set of k-values,
which has to be proved as bounded and non-empty. The term bounded, used
here, basically means \bounded above". Unfortunately, the reference textbooks
[
            <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
            ] provide a very abstract proof deducing that the big set Sa is bounded
and non-empty. Larger investigations from the mathematical view as well as the
WSN one, has been necessary to be able to understand the whole reasoning and
switch it into the HOL theorem prover.
          </p>
          <p>
            It is worth mentioning that, for space constraints, we will only involve the
main mathematical assumptions related to the used variables. The interest reader
can refer to [
            <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
            ] for further details.
(5)
5.1
          </p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>The Detection Delay</title>
        <p>The optimization problem (Equation (4)) generates the following set of k-values
for the detection delay.</p>
        <p>(Q 1 + s)(Q2 1 + s)</p>
        <p>
          SD = fk j D QoSDD &lt; 2Q(Q + 1) [1 (1 q)n] ; n = cg (6)
To prove that the set SD is bounded on k, the rst intuitive way is to look for
these concrete bounds. However, given the complexity of the delay expression
[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], such bounds are seemingly very hard to obtain. Through a deeper analysis,
we nd out that the main proof depends on two main results. Indeed, if we can
nd the limit of the set sequence (Here D(k)) versus the parameter k, then we
can get that this set is nite (Theorem 3). The second result states that if the
set is nite then it is obviously bounded (Theorem 4).
        </p>
        <p>Theorem 3 (Finite set upon a limit ). If a given sequence Un ! a, then
8" &gt; 0, there are only nitely many n for which j Un a j ".</p>
        <p>` 8U (":real) (a:real). (0
) FINITE f(n : num) : " j U(n)
") ^ (U ! a)
a jg.</p>
        <p>Proof. Consider " &gt; 0, and the set A" = fn 2 N : j Un a j "g. Using the
de nition of the limit for the real sequence Un, we have: 8" &gt; 0, there exists N
such that 8n: n N , we have j Un a j&lt; ". The set of n for which j Un a j "
will be contained in the set f1; 2; :::; N g, and hence nite.
Theorem 4 (Upper bound of a
integer s is bounded.</p>
        <p>nite integer set ). Every nite set of
` 8(s:num-&gt;bool). FINITE s ) BOUNDED s.
where the HOL function BOUNDED speci es a bounded set of integers.
Lemma 1 (The set SD is bounded ).</p>
        <p>` 8n k q s L Ts QoSDD. (0 &lt; s &lt; 1) ^ (0 &lt; L) ^ (0 &lt; Ts)
) (BOUNDED fk j DD p D n k q QoSDD g).</p>
        <p>Proof. We require the limiting value of the detection delay D versus k (Lemma
2), as well as the asymptotic behavior of the delay D on k (Lemma 3). Then,
considering Theorem 3 for the sequence D(k), with the right value of ", we can
get that the set SD is bounded. Indeed, since D(k) is increasing (Lemma 3), the
maximum possible values is limk!1 D, which is given in Lemma 2. We thus get
QoSDD &lt; limk!1D. Plugging in Theorem 3 with " = (limk!1 D) QoSDD =
(Q 12+Qs()Q(Q+21) 1+s) [1 (1 q)n] QoSDD, we can obtain that the set SD is nite.
Finally, based on Theorem 4, we deduce that SD is bounded.</p>
        <p>Lemma 2 (Limit of the detection delay when k is very large).
` 8n q s L Ts. (1
(0 &lt; q &lt; 1)
) (limk!1 DD = (Q 1+s)(Q2 1+s) [1
2Q(Q+1)
(1</p>
        <p>q)n]).</p>
        <p>n) ^ (0 &lt; s &lt; 1) ^ (0 &lt; L) ^ (0 &lt; Ts) ^
where Q = TL .</p>
        <p>
          Proof. We veri ed Lemma 2 using an alternate proof since the original proof,
based on the Mean Value Theorem (MVT), was not possible in HOL. Indeed,
while the MVT theorem in HOL is available for constant real bounds, these
bounds are considered as variables in the paper-and-pencil proof [
          <xref ref-type="bibr" rid="ref39">39</xref>
          ].
Lemma 3 (The detection delay is increasing as k increases).
` 8n q s L Ts. (1
(0 &lt; q &lt; 1)
) (mono incr ( k. real (DD p D n k q))).
        </p>
        <p>
          n) ^ (0 &lt; s &lt; 1) ^ (0 &lt; L) ^ (0 &lt; Ts) ^
where the HOL function mono incr denotes an increasing natural sequence.
Proof. The proof of the above lemma is based on the derivative of the
corresponding real functions. The reasoning thus involved a large amount of real
analysis with very complicated mathematical expressions including summations
and using various properties of sequences and series of real numbers. It is
important to note that the original proof of the above lemma in [
          <xref ref-type="bibr" rid="ref39">39</xref>
          ] was missing
a whole fraction term, which is fortunately positive and thus does not nally
a ect the validity of the function monotonicity.
        </p>
        <p>We conclude that SD is non-empty, using the monotonicity of D(k) on k
(Lemma 2), along with some reasoning on the quality of service constraints.
Indeed, D(k), increasing versus k, means that the minimum delay value, is induced
for (k = 1), i.e, D(1). The values of D(k); including QoSDD, cannot go below
D(1). Hence, we always have D(k) &gt; D(1), which gives QoSDD &gt; D(1). This
ensures that (k = 1) 2 SD, and hence SD is non-empty.
5.2</p>
      </sec>
      <sec id="sec-4-3">
        <title>The Detection Probability</title>
        <p>Based on the lifetime problem (Equation 4), we have:</p>
        <p>SP d = fk j Pdjk=1 = (1
(1
q)c)</p>
        <p>Pd</p>
        <p>QoSDP &gt; 0; n = cg
(7)
which is required to be veri ed as bounded and non-empty.</p>
        <p>Lemma 4 (The set SP d is bounded ).</p>
        <p>` 8q n s L Ts QoSDP. (1 n) ^ (0 &lt; s &lt; 1) ^ (0 &lt; L) ^
(0 &lt; Ts) ^ (0 &lt; q &lt; 1) ^ (8k. L &lt; k Ts) ^ (0 &lt; QoSDP &lt; 1)
) BOUNDED fk j QoSDP Pd p n k s L Ts qg.</p>
        <p>Proof. We rst achieve the proof that SP d is nite using Theorem 3 such that
A = 0 and " = QoSDP which is &gt; 0. For that, the behavior of the detection
probability Pd regarding the parameter k is required (Lemmas 5 and 6). We
nally establish that the set SP d is bounded using Theorem 4 together with the
latter result.</p>
        <p>Lemma 5 (Limit of the detection probability as k is in nite).
` 8q n s L Ts. (1 n) ^ (0 &lt; s &lt; 1) ^ (0 &lt; L) ^ (0 &lt; Ts) ^
(0 &lt; q &lt; 1) ^ (8k. L &lt; k Ts)</p>
        <p>lim ( k. Pd p n k s L Ts q) = 0.</p>
        <p>) k!+1
Lemma 6 (The detection probability is decreasing versus k).
` 8q n s L Ts. (1 n) ^ (0 &lt; s &lt; 1) ^ (0 &lt; L) ^ (0 &lt; Ts) ^
(0 &lt; q &lt; 1) ^ (8k. L &lt; k Ts)
) (mono decr ( k. Pd p n k s L Ts q)).</p>
        <p>Since the detection probability is decreasing with k (Lemma 6), the best
detection probability value is ensured for (k = 1). So, we have Pd(1) &gt; Pd(k).
The QoSDP values cannot go above Pd(1), i.e, P d(1) &gt; QoSDP . Hence, (k =
1) 2 SP d, which guarantees that the set SP d is non-empty.
5.3</p>
      </sec>
      <sec id="sec-4-4">
        <title>The Network Coverage</title>
        <p>Unlike the detection metrics, the upper bound of the k-values for the coverage
set; SCn, can be obtained through some mathematical operations.</p>
        <p>SCn = fk j 1
k
(1
(1
q
Theorem 5 (The set SCn is bounded ).</p>
        <p>` 8p q n s QoSCn. (1
) BOUNDED fk j QoSCn
n) ^ (0 &lt; q &lt; 1) ^ (0 &lt; QoSCn &lt; 1)</p>
        <p>Cn p X k s C n qg.</p>
        <p>Proof. The proof is mainly based on Theorem 4, together with some real analysis
about the oor function and subsets.</p>
        <p>
          The set SCn can be simply deduced as non-empty. Similarly, as the network
coverage is decreasing versus the parameter k [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], the best coverage is then
achieved for (k = 1). We hence target a good QoS value for coverage, but which
can not exceed Cn(1).
        </p>
        <p>Finally, we can deduce that the big set with the generic QoS values;</p>
        <p>Sa = SD \ SP d \ SCn
is bounded and non-empty, using the above reasoning on the three sets SD, SP d
and SCn, i.e, Theorems 1, 4, and 5, respectively, together with the fact that
(k = 1) is shown to be in each of the three sets, and hence in their intersection.</p>
        <p>Based on that, we can easily establish that, for our border security monitoring
application, we have:</p>
        <p>Sapp =fk j D
(QoSDD = 15) &lt;
(Q
(1 (1
is bounded and non-empty.</p>
        <p>
          In this section, we formally illustrate the analysis of the optimal lifetime
problem, given in Equation (2), for a border security monitoring WSN
application [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] such that (QoSDP = 0:95) and (QoSDD = 15s). It is worth to mention
that the formal developments of lifetime can be quite valuable to analyze any
randomly-scheduled application like a general surveillance framework for WSN.
(9)
6
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Discussion</title>
      <p>
        In this paper, we have been able to formally analyze, within the HOL theorem
prover, the optimal lifetime problem (Equation 4) under Quality of Service (QoS)
constraints, for wireless sensor networks using the k-set randomized scheduling.
These QoS constraints are associated with the key performance metrics, i.e.,
the network coverage, the detection probability and the detection delay. More
particularly, there are two main conditions on the k-values, under which the
optimal lifetime solution exists for such problems. These conditions require that
the big set Sa of k-values, shown in Equation (5), is non-empty and bounded. For
that, we built upon our higher-order-logic foundations, developed in [
        <xref ref-type="bibr" rid="ref6 ref8 ref9">6, 8, 9</xref>
        ], to
verify this minimal set of conditions, and illustrate this analysis through a
border security monitoring application with concrete QoS values for the detection
probability and the detection delay.
      </p>
      <p>
        The current lifetime analysis, presented in this paper, primarily illustrates
the great value of the existing higher-order-logic developments for the other
performance metrics. Indeed, the lifetime veri cation has been possible thanks to
the sound and complete formalizations of the network coverage, done in [6{8],
together with the detection probability and delay, presented in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. The
successful veri cation of the lifetime optimization problem thus clearly highlights the
main advantages of our theoretical developments of the coverage and detection
attributes in terms of precision and coherence. Hence, it would not have been
possible to e ectively achieve the main lifetime proof if, for example, there was
a missing assumption on one of the design parameters in the detection part.
      </p>
      <p>
        While the main goal of the previous formalizations on coverage and detection
[
        <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
        ] was to formally verify the expressions associated with the probabilistic
attributes of interest, the lifetime problem is considered in a completely di erent
way. Indeed, the lifetime de nition of a randomly-partitioned wireless network,
as speci ed in the paper-and-pencil probabilistic models [
        <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
        ], is very simple
(De nition 2) and does not require any investigation from the formalization side.
However , it was found to be quite interesting to tackle the formal analysis of the
lifetime optimization problem (Equation 5) under quality of service constraints.
Clearly, the higher-order-logic formalization process for the network lifetime is
quite di erent from the three other performance metrics, where the main idea
was to formally analyze the conditions under which the optimal network lifetime
exists, rather than verify the lifetime in itself.
      </p>
      <p>
        Comparably to the other performance aspects, many di culties have been
implied in the lifetime veri cation. Although the lifetime proof seems simple,
there were many hidden steps making the understanding of the main proof quite
challenging. Hence, except for the coverage set where the concrete bounds on k
were simple to get, the other sets on the delay D and the detection probability Pd
have been directly deduced to be non-empty and bounded. These deductions,
based on some missing steps in the corresponding paper-based proof [
        <xref ref-type="bibr" rid="ref38 ref39">38, 39</xref>
        ],
involved signi cant mathematical investigations. No indication was given about
which mathematical result is applied. Nevertheless, it is very common that some
details which seem obvious for mathematicians turn out to be very hard to follow
from the reader's side.
      </p>
      <p>
        Secondly, the high degree of interactivity required within a theorem prover in
general and in HOL, in particular, was also a huge obstacle for a quick
formalization. Hence, tedious mathematical e orts may be needed to prove a basic result
or just to correctly handle complicated summations. For instance, the proof of
Lemma 3, which occupied about half a page in the original textbook [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ], took
about 12 pages of HOL code. For the same lemma, we discovered that a whole
fraction term was missing in the original mathematical analysis [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ]. This
discrepancy would have had a crucial impact on the nal result if the term was of
opposite sign. On the other hand, it is clear that it would not have been possible
to catch this error based on a manual inspection unless the proof is redone step
by step. Such interesting nding clearly highlights the main strength of formal
methods guaranteeing accurate and complete results.
      </p>
    </sec>
    <sec id="sec-6">
      <title>Conclusions</title>
      <p>
        In this paper, we presented a reliable approach for the formal analysis of the
the network lifetime for randomly-scheduled WSNs. Hence, based on our
earlier work [
        <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
        ], we provided the higher-order-logic formalizations of the lifetime
maximization problem [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ], under Quality of Service (QoS) constraints related to
the network coverage and the detection performances. These formalizations
enable us to formally verify the network lifetime related characteristics of a border
security monitoring application using the k-set randomized scheduling.
      </p>
      <p>Compared with the existing approaches such as traditional paper-and-pencil
probabilistic modelling, simulation and probabilistic model checking, our
theoremproving based approach allows a generic formal veri cation of randomly-scheduled
WSNs regardless of the values of the design parameters. Besides, due to the
sound support of probability theory available in the HOL theorem prover, our
approach enables much more reliable validation of the probabilistic performance
attributes of interest including statistical quantities. Finally, unlike most of the
previous work focusing on the validation of the functional aspects of WSNs, our
work is distinguishable by addressing the performance aspects.</p>
      <p>
        As future work, the formalization of the optimal detection probability [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ],
can be also investigated in the same way of the network lifetime, achieved in this
paper. The whole proposed approach, described in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], can be also generalized to
tackle the formal analysis of a variant of the k-set randomized scheduling [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Arora</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A Line in the Sand: a Wireless Sensor Network for Target Detection, Classi cation, and Tracking</article-title>
          .
          <source>Computer Networks</source>
          <volume>46</volume>
          (
          <issue>5</issue>
          ),
          <volume>605</volume>
          {
          <fpage>634</fpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Katoen</surname>
            ,
            <given-names>J.P.</given-names>
          </string-name>
          : Principles of Model Checking. The MIT Press (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ballarini</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Model Checking Medium Access Control for Sensor Networks</article-title>
          .
          <source>In: Proceedings of the Symposium on Leveraging Applications of Formal Methods, Veri cation and Validation</source>
          . pp.
          <volume>255</volume>
          {
          <fpage>262</fpage>
          . IEEE Computer Society (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bernardeschi</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Masci</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfeifer</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          :
          <article-title>Analysis of Wireless Sensor Network Protocols in Dynamic Scenarios</article-title>
          . In: Stabilization, Safety, and
          <source>Security of Distributed Systems, Lecture Notes in Computer Science</source>
          , vol.
          <volume>5873</volume>
          , pp.
          <volume>105</volume>
          {
          <fpage>119</fpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Varshney</surname>
            ,
            <given-names>P.K.</given-names>
          </string-name>
          :
          <article-title>QoS Support in Wireless Sensor Networks: A Survey</article-title>
          .
          <source>In: Proceedings of the International Conference on Wireless Networks</source>
          . pp.
          <volume>227</volume>
          {
          <fpage>233</fpage>
          . CSREA Press (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Elleuch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Formal Analysis of a Scheduling Algorithm for Wireless Sensor Networks</article-title>
          .
          <source>In: Formal Methods and Software Engineering, Lecture Notes in Computer Science</source>
          , vol.
          <volume>6991</volume>
          , pp.
          <volume>388</volume>
          {
          <fpage>403</fpage>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Elleuch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Formal Probabilistic Analysis of a Wireless Sensor Network for Forest Fire Detection</article-title>
          . In: Symbolic Computation in Software Science,
          <source>Electronic Proceedings in Theoretical Computer Science</source>
          , vol.
          <volume>122</volume>
          , pp.
          <volume>1</volume>
          {
          <issue>9</issue>
          . Open Publishing Association (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Elleuch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Towards the Formal Performance Analysis of Wireless Sensor Networks</article-title>
          .
          <source>In: Proceedings of the Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises. IEEE Computer Society</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Elleuch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Formal Probabilistic Analysis of Detection Properties in Wireless Sensor Networks</article-title>
          .
          <source>Formal Aspects of Computing</source>
          <volume>27</volume>
          (
          <issue>1</issue>
          ),
          <volume>79</volume>
          {
          <fpage>102</fpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Fanourgakis</surname>
          </string-name>
          , E.:
          <article-title>Modelling and Veri cation of QoS properties of a Biomedical Wireless Sensor Network</article-title>
          .
          <source>Project Work</source>
          , University of Hamburg-Harbug (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fehnker</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoesel</surname>
            ,
            <given-names>L.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mader</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Modelling and Veri cation of the LMAC Protocol for Wireless Sensor Networks</article-title>
          .
          <source>In: Integrated Formal Methods, Lecture Notes in Computer Science</source>
          , vol.
          <volume>4591</volume>
          , pp.
          <volume>253</volume>
          {
          <fpage>272</fpage>
          . Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Fruth</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Probabilistic Model Checking of Contention Resolution in the IEEE 802</article-title>
          .
          <year>15</year>
          .4
          <article-title>Low-rate Wireless Personal Area Network Protocol</article-title>
          .
          <source>In: Proceedings of the 2nd symposium on Leveraging Applications of Formal Methods, Veri cation and Validation</source>
          . pp.
          <volume>290</volume>
          {
          <fpage>297</fpage>
          . IEEE Computer Society (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Gordon</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Melham</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Introduction to HOL: A Theorem Proving Environment for Higher-order Logic</article-title>
          . Cambridge Univ. Press (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Formal Hardware Veri cation Methods: a Survey</article-title>
          .
          <source>Formal Methods in System Design</source>
          <volume>1</volume>
          (
          <issue>2-3</issue>
          ),
          <volume>151</volume>
          {
          <fpage>238</fpage>
          (
          <year>1992</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Hanna</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rajan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          , Zhang, W.:
          <article-title>Slede: a Domain-speci c Veri cation Framework for Sensor Network Security Protocol Implementations</article-title>
          .
          <source>In: Proceedings of the Conference on Wireless Network Security</source>
          . pp.
          <volume>109</volume>
          {
          <fpage>118</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Heidarian</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmaltz</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaandrager</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Analysis of a Clock Synchronization Protocol for Wireless Sensor Networks</article-title>
          .
          <source>Theoretical Computer Sciences</source>
          <volume>413</volume>
          (
          <issue>1</issue>
          ),
          <volume>87</volume>
          {
          <fpage>105</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Hewish</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          : Reformatting Fighter Tactics.
          <source>Jane's International Defense Review</source>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Hsin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Network coverage using low duty-cycled sensors: Random &amp; coordinated sleep algorithms</article-title>
          .
          <source>In: Proceedings of the Symposium on Information Processing in Sensor Networks</source>
          . pp.
          <volume>433</volume>
          {
          <issue>442</issue>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Randomized Scheduling Algorithm for Wireless Sensor Networks</article-title>
          .
          <source>In Project Report of Randomized Algorithm</source>
          , University of Victoria,
          <string-name>
            <given-names>B.C.</given-names>
            ,
            <surname>Canada</surname>
          </string-name>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>King</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Randomized Coverage-preserving Scheduling Schemes for Wireless Sensor Networks</article-title>
          .
          <source>In: Networking Technologies, Services, and Protocols; Performance of Computer and Communication Networks; Mobile and Wireless Communication Systems, Lecture Notes in Computer Science</source>
          , vol.
          <volume>3462</volume>
          , pp.
          <volume>956</volume>
          {
          <fpage>967</fpage>
          . Springer (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Random Coverage with Guaranteed Connectivity: Joint Scheduling for Wireless Sensor Networks</article-title>
          .
          <source>IEEE Transactions on Parallel and Distributed Systems</source>
          <volume>17</volume>
          (
          <issue>6</issue>
          ),
          <volume>562</volume>
          {
          <fpage>575</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Olveczky,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Meseguer</surname>
          </string-name>
          , J.:
          <article-title>Formal Analysis of Leader Election in MANETs using Real-Time Maude</article-title>
          .
          <source>In: Software, Services, and Systems, Lecture Notes in Computer Science</source>
          , vol.
          <volume>8950</volume>
          , pp.
          <volume>231</volume>
          {
          <fpage>252</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ji</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>J.: A Novel</given-names>
          </string-name>
          <string-name>
            <surname>Accurate</surname>
          </string-name>
          <article-title>Forest Fire Detection System Using Wireless Sensor Networks</article-title>
          .
          <source>In: Proceedings of the Conference on Mobile Ad-hoc and Sensor Networks</source>
          . pp.
          <volume>52</volume>
          {
          <fpage>59</fpage>
          . IEEE Computer Society (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>MacKay</surname>
          </string-name>
          , D.:
          <article-title>Introduction to Monte Carlo Methods</article-title>
          .
          <source>In: Proceedings of NATO Advanced Study Institute on Learning in Graphical Models</source>
          . pp.
          <volume>175</volume>
          {
          <fpage>204</fpage>
          . Kluwer Academic Publishers (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Mamun</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          :
          <article-title>A Coverage-Based Scheduling Algorithm for WSNs</article-title>
          .
          <source>International Journal of Wireless Information Networks</source>
          <volume>21</volume>
          (
          <issue>1</issue>
          ),
          <volume>48</volume>
          {
          <fpage>57</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Mhamdi</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Information-Theoretic Analysis using Theorem Proving</article-title>
          .
          <source>Ph.D. thesis</source>
          , Concordia Univ., Montreal, QC, Canada (
          <year>December 2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Mhamdi</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Formalization of Entropy Measures in HOL</article-title>
          .
          <source>In: Interactive Theorem Proving, Lecture Notes in Computer Science</source>
          , vol.
          <volume>6898</volume>
          , pp.
          <volume>233</volume>
          {
          <fpage>248</fpage>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Weaving a Proper net to Catch Large Objects in Wireless Sensor Networks</article-title>
          .
          <source>IEEE Transactions on Wireless Communications</source>
          <volume>9</volume>
          (
          <issue>4</issue>
          ),
          <volume>1360</volume>
          {
          <fpage>1369</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29. Olveczky,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Thorvaldsen</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Formal Modeling and Analysis of the OGDC Wireless Sensor Network Algorithm in Real-time Maude</article-title>
          .
          <source>In: Formal Methods for Open Object-based Distributed Systems, Lecture Notes in Computer Science</source>
          , vol.
          <volume>4468</volume>
          , pp.
          <volume>122</volume>
          {
          <fpage>140</fpage>
          . Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <article-title>The Real-Time tool (</article-title>
          <year>2013</year>
          ), http://heim.i .uio.no/peterol/RealTimeMaude/
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Rutten</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kwaiatkowska</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Normal</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parker</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Mathematical Techniques for Analyzing Concurrent and Probabilisitc Systems</article-title>
          . CRM Monograph Series, American Mathematical Society (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vuran</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Al-Rodhaan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Al-Dhelaan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Akyildiz</surname>
          </string-name>
          , I.:
          <article-title>BorderSense: Border Patrol through Advanced Wireless Sensor Networks</article-title>
          .
          <source>Ad Hoc Networks</source>
          <volume>9</volume>
          (
          <issue>3</issue>
          ),
          <volume>468</volume>
          {
          <fpage>477</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33.
          <string-name>
            <surname>Tian</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Georganas</surname>
          </string-name>
          , N.:
          <article-title>A Coverage-preserving Node Scheduling Scheme for Large Wireless Sensor Networks</article-title>
          .
          <source>In: Proceedings of the International Workshop on Wireless Sensor Networks and Applications</source>
          . pp.
          <volume>32</volume>
          {
          <fpage>41</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          34.
          <string-name>
            <surname>Tschirner</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xuedong</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yi</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Model-based Validation of QoS Properties of Biomedical Sensor Networks</article-title>
          .
          <source>In: Proceedings of the International Conference on Embedded Software</source>
          . pp.
          <volume>69</volume>
          {
          <fpage>78</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          35.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A Survey of Energy-e cient Scheduling Mechanisms in Sensor Networks</article-title>
          .
          <source>Mobile Networks and Applications</source>
          <volume>11</volume>
          (
          <issue>5</issue>
          ),
          <volume>723</volume>
          {
          <fpage>740</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          36.
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Lightweight Deployment-Aware Scheduling for Wireless Sensor Networks</article-title>
          .
          <source>Mobile Networks and Applications</source>
          <volume>10</volume>
          (
          <issue>6</issue>
          ),
          <volume>837</volume>
          {
          <fpage>852</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          37.
          <string-name>
            <surname>Xia</surname>
          </string-name>
          , F.:
          <article-title>QoS Challenges and Opportunities in Wireless Sensor/Actuator Networks</article-title>
          .
          <source>Sensors</source>
          <volume>8</volume>
          (
          <issue>2</issue>
          ),
          <volume>1099</volume>
          {
          <fpage>1110</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          38.
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Maximizing Network Lifetime under QoS Constraints in Wireless Sensor Networks</article-title>
          .
          <source>In: Proceeding of the Global Telecommunications Conference</source>
          . pp.
          <volume>1</volume>
          {
          <issue>5</issue>
          .
          <string-name>
            <given-names>IEEE</given-names>
            <surname>Computer</surname>
          </string-name>
          <article-title>Society (</article-title>
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          39.
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Coverage and Detection of a Randomized Scheduling Algorithm in Wireless Sensor Networks</article-title>
          .
          <source>IEEE Transactions on Computers</source>
          <volume>59</volume>
          (
          <issue>4</issue>
          ),
          <volume>507</volume>
          {
          <fpage>521</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          40.
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Two and Threedimensional Intrusion Object Detection under Randomized Scheduling Algorithms in Sensor Networks</article-title>
          .
          <source>Computer Networks</source>
          <volume>53</volume>
          (
          <issue>14</issue>
          ),
          <volume>2458</volume>
          {
          <fpage>2475</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          41.
          <string-name>
            <surname>Yick</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mukherjee</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghosal</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Wireless Sensor Network Survey</article-title>
          .
          <source>Computer Networks</source>
          <volume>52</volume>
          (
          <issue>12</issue>
          ),
          <volume>2292</volume>
          {
          <fpage>2330</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          42.
          <string-name>
            <surname>Zayani</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barkaoui</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ayed</surname>
          </string-name>
          , R.B.:
          <article-title>Probabilistic Veri cation and Evaluation of Backo Procedure of the WSN ECo-MAC Protocol</article-title>
          .
          <source>International Journal of Wireless &amp; Mobile Networks</source>
          <volume>12</volume>
          (
          <issue>1</issue>
          ),
          <volume>156</volume>
          {
          <fpage>170</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          43.
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Liu,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Dong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Gu</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          :
          <article-title>Towards a Model Checker for NesC and Wireless Sensor Networks</article-title>
          .
          <source>In: Formal Methods and Software Engineering, Lecture Notes in Computer Science</source>
          , vol.
          <volume>6991</volume>
          , pp.
          <volume>372</volume>
          {
          <fpage>387</fpage>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>