T he Asymmetric leader election algorithm: number of survivors near - - PowerPoint PPT Presentation

t he asymmetric leader election algorithm number of
SMART_READER_LITE
LIVE PREVIEW

T he Asymmetric leader election algorithm: number of survivors near - - PowerPoint PPT Presentation

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J ( n ) Asymptotics for p T he Asymmetric leader election algorithm: number of survivors near the end of the game Guy Louchard March 14, 2014


slide-1
SLIDE 1

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

The Asymmetric leader election algorithm: number of survivors near the end of the game

Guy Louchard March 14, 2014

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-2
SLIDE 2

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Outline

1 Introduction 2 Model and Notations 3 Asymptotic analysis of L := number of survivors at position

J(n) − κ

4 Asymptotics for p → 0 5 Asymptotics for p → 1 6 Conclusion

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-3
SLIDE 3

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Introduction

The following classical asymmetric leader election algorithm has

  • btained quite a bit of attention lately.

Starting with n players, each one throws a coin, and the k of them which have thrown head (with probability q) go on, and the leader will be found amongst them, using the same strategy. Should nobody advance, will the party repeat the procedure. One of the most interesting parameter here is the number J(n) of rounds until a leader has been identified. Without being exhaustive, let us mention the following related papers: Prodinger [19], Fill, Mahmoud, Szpankowski [1], Janson, Szpankowski [5], Knessel [10], Lavault, Louchard [11], Janson, Lavault, Louchard [4], Louchard, Prodinger [15], Kalpathy, Mahmoud, Ward [9], Louchard, Martinez, Prodinger [12], Louchard, Prodinger [16], Louchard, Prodinger, Ward [17], Kalpathy [6], Kalpathy [7].

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-4
SLIDE 4

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Our attention was recently attracted by an interesting paper by Kalpathy, Mahmoud and Rosenkrantz [8], where they consider the number of survivors Sn,t, after t election rounds, in a broad class

  • f fair leader election algorithms starting with n candidates. They

give sufficient conditions for Sn,t

n

to converge to a product of independent identically distributed random variables. Their analysis starts from the beginning of the game. They give two illustrative examples, one with classical leader election and one with uniform splitting protocol.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-5
SLIDE 5

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We found it interesting to investigate, in the classical asymmetric leader election algorithm (with possible resurrections), what happens near the end of the game, namely we fix an integer κ and we would like to study the behaviour of the number of survivors L at level J(n) − κ. In our asymptotic analysis (for n → ∞) we are focusing on the limiting distribution function. It might look paradoxical at first sight, that the asymptotic formulae involve, on the right side, some quantities P(i, k), G(i, k, ℓ) defined by some recursions. However, this happens often, and convergence is quite good, so that with

  • nly a few terms (obtained directly from the recursion) a good

approximation of the numerical values can be obtained.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-6
SLIDE 6

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Further, we investigate what happens, if the parameter p = 1 − q gets small (p → 0) or large (p → 1). We use three efficient tools: an urn model, a Mellin-Laplace technique for Harmonic sums and some asymptotic distributions related to one of the extreme-value distributions: the Gumbel law. The paper is organized as follows: Sec. 2 presents our model and notations, Sec. 3 analyses L := number of survivors at position J(n) − κ. Sec. 4 considers the case where the parameter p → 0 and Sec. 5 the case where p → 1. Sec. 6 concludes the paper which fits within the framework of Analytic Combinatorics.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-7
SLIDE 7

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Model and Notations

Let the random variable X be geometrically distributed, i. e., P(X = j) = pqj−1, with q = 1 − p: We interpret p as the killing probability, and q as the survival probability. Let us consider the game as an urn model, with urns labelled 1, 2, . . ., where we throw n balls, and the probability of each ball falling into urn j being given by pqj−1. The balls at level j represent the candidates who are killed at this level. Let us denote by J(n) the number of rounds, when we start with n players. Note that, when all the players are killed, they are magically resurrected and try again. This increases the parameter J, but leaves the party at the same level (same urn). Note that we often speak synonymously about players, balls, candidates, etc., and also about urns, levels, positions, time etc. We drop the n-dependency when there is no ambiguity, to ease the

  • notation. We will use the following notations:

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-8
SLIDE 8

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Π(λ, u) := e−λλu/u!, (Poisson distribution), J(n) := number of rounds until a leader has been identified, starting with n candidates , n∗ := np q , Q := 1/q, M := log p, χt := 2tπi L , ˜ α := α/L, log := logQ, η := j − log n∗,

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-9
SLIDE 9

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

L := ln Q, {x} := fractional part of x, L := number of survivors at position J(n) − κ, P(i, k) := P(J(i) = k| we start with i candidates), G(i, k, ℓ) := P( number of survivors at step k is given by ℓ, starting with i candidates)( including possible resurrections ), G ∗(i, k, ℓ) := P( number of survivors at step k is given by ℓ, starting with i candidates)( with no resurrections ).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-10
SLIDE 10

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We recall the main properties of such a model. Asymptotic independence. We have asymptotic independence of urns, for all events related to urn j containing O(1) balls. This is proved, by Poissonization-De-Poissonization, in [3],[14] and [18]. The error term is O(n−C) where C is a positive constant.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-11
SLIDE 11

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Asymptotic distributions. We obtain asymptotic distributions of the interesting random variables as follows. The number of balls in each urn is asymptotically Poisson-distributed with parameter npqj−1 in urn j containing O(1) balls (this is the classical asymptotic for the Binomial distribution). This means that the asymptotic number ℓ of balls in urn j is given by exp

  • −npqj−1

npqj−1ℓ ℓ! , and with η = j − log n∗, this is equivalent to Π

  • e−Lη, ℓ
  • . The

asymptotic distributions are related to Gumbel distribution functions (given by exp (−e−x)) or convergent series of such. The error term is O(n−1).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-12
SLIDE 12

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Extended summations. Some summations now go to ∞. This is justified, for example, in [14]. Mellin transform. Asymptotic expressions for the moments are obtained by Mellin transforms applied to Harmonic sums (see for instance, Flajolet, Gourdon, Dumas [2] for a nice exposition). The error term is O(n−C). We proceed as follows (see [13] for detailed proofs): from the asymptotic properties of the urns, we obtain the asymptotic distributions of our random variables of interest. Next we compute the Laplace transform φ(α) of these distributions, from which we can derive the dominant part of probabilities as well as the (tiny) periodic part in the form of a Fourier series. This connection will be detailed in the next sections.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-13
SLIDE 13

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Rapid decrease property. Γ(s) decreases exponentially in the direction i∞: |Γ(σ + it)| ∼ √ 2π|t|σ−1/2e−π|t|/2. Also, we this property is true for all other functions we

  • encounter. So inverting the Mellin transforms is easily
  • justified. (see [13], Sec.4 for example).

Early approximations. If we compare the approach in this paper with other ones that appeared previously, then we can notice the following. Traditionally, one would stay with exact enumerations as long as possible, and only at a late stage move to asymptotics. Doing this, one would, in terms of asymptotics, carry many unimportant contributions around, which makes the computations quite heavy. Here, however, approximations are carried out as early as possible, and this allows for streamlined (and often automatic) computations.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-14
SLIDE 14

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

  • Convergence. Asymptotically, the distribution will be a

periodic function of {log n}. The distributions do not converge in the weak sense, they do however converge along subsequences nm for which {log n} is constant. This type of convergence is not uncommon in the Analysis of Algorithms. Many examples are given in [13]. Thus, the present paper represents another application of the powerful technique that was first presented in [13].

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-15
SLIDE 15

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Asymptotic analysis of L := number of survivors at position J(n) − κ

Let us first write down the recursions satisfied by P(i, k), G(i, k, ℓ). P(i, k) = (pi + qi)P(i, k − 1) +

i−1

  • u=1

i u

  • qupi−uP(u, k − 1). (1)

Indeed, with probability qi, all advance, we repeat the procedure, with probability pi, all players are killed, they are resurrected and they try again, with probability i

u

  • qupi−u, 1 ≤ u ≤ i − 1, u players

survive. P(1, 0) = 1, P(1, k) = 0, k > 0, P(i, 0) = 0, i > 1. G(i, k, ℓ) = (pi + qi)G(i, k − 1, ℓ) +

i−1

  • u=1

i u

  • qupi−uG(u, k − 1, ℓ),

i ≥ 2, 1 ≤ ℓ ≤ i. The justification is identical.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-16
SLIDE 16

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

The following properties are easily checked: G(u, 0, u) = 1, G(u, 0, v) = 0, v = u. G(i, 1, v) = i v

  • qvpi−v,

v = i, G(i, 1, i) = pi + qi.

  • ℓ≥1

G(i, k, ℓ) = P(i, J ≥ k) = 1 − P(i, J < k).

  • ℓ≥1

G(i, 1, ℓ) = 1.

i

  • ℓ=2

G(i, k − v, ℓ)P(l, v) = P(i, k), ∀k ≥ v. G(i, k, 1) = P(i, k), G(i, 1, 1) = P(i, 1).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-17
SLIDE 17

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p → Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-18
SLIDE 18

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Let us first recall, from [15], the asymptotic distribution of J(n). We will consider the maximal non-empty urn. Assume that it contains i balls. Notice that there are no resurrections before. If i ≥ 2, this means that we must restart the game with i

  • candidates. Assume that this costs k ≥ 1 rounds. Denoting

by j − k the position of the maximal non-empty urn, we have P1(n, j) = P(J(n) = j) ∼ f1(η), where, with η′ = j − k − log n∗ = η − k, f1(η) =

  • k=1

  • i=2

Π q p e−Lη′, 0

  • Π
  • e−Lη′, i
  • P(i, k)

=

  • k=1

  • i=2

exp

  • −q

p e−Lη′ exp

  • −e−Lη′ (e−Lη′)i

i! P(i, k) =

  • k=1

  • i=2

exp

  • −1

peLke−Lη e−LηieLki i! P(i, k).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-19
SLIDE 19

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Justification: this corresponds to i ≥ 2 balls in urn j − k (normalized as η′), no balls to the right of j − k and the end of the game occurs at j (normalized as η). We use asymptotic independence of urns and Poisson limiting random variables. We recognize the presence of the Gumbel distribution. All sums should be finite, but, as proved in [14] for similar sums, asymptotically, we can use infinite sums.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-20
SLIDE 20

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

If i = 1, this means that the last alive candidate corresponds to some urn j, which is the last non-empty urn before the maximal non-empty urn. The distribution of balls after urn j is asymptotically given by Π( q

pe−Lη, u). So

P2(n, j) = P(J(n) = j) ∼ f2(η), where f2(η) = Π q p e−Lη, 1 1 − Π

  • e−Lη, 0
  • = exp
  • −q

p e−Lη q p e−Lη 1 − exp

  • −e−Lη

. Justification: this corresponds to a non-empty urn at j (normalized as η), one ball to the right of j, and the end of the game occurs at j. So P(n, j) = P(J(n) = j) ∼ f (η) = f1(η) + f2(η), and fi(η) > 0.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-21
SLIDE 21

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p → Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-22
SLIDE 22

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Now we turn to the main objective of this paper: the asymptotic distribution of the number of survivors at level J(n) − κ. The analysis is somewhat more complicated than the analysis of J(n). If the maximal non-empty urn contains i ≥ 2 balls, we must consider two subcases. We will use the following relation: e−L(η′−1) + e−L(η′−2) + . . . + e−L(η′−(κ−k−1)) = e−Lη′(Q + Q2 + . . . + Qκ−k−1) = e−Lη′ 1 p

  • Qκ−k−1 − 1
  • = e−Lη′ϕ1(κ, k), say.

(2)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-23
SLIDE 23

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

If i ≥ 2, κ ≤ k then we have ℓ ≥ 2 survivors at position j − κ, with probability G(i, k − κ, ℓ) (with possible resurrections) and we finish the game with κ steps, at position j, starting with ℓ balls. This leads to the following asymptotic joint distribution of J(n) and L R1,1(η, ℓ) = P(J(n) = j, L = ℓ) ∼

  • k≥κ
  • i≥ℓ

G(i, k − κ, ℓ)P(ℓ, κ)Π q p e−Lη′, 0

  • Π
  • e−Lη′, i
  • =
  • k≥κ
  • i≥ℓ

G(i, k − κ, ℓ)P(ℓ, κ) exp

  • −1

pe−Lη′ e−Liη′ i! l ≥ 2, η′ := η − k = j − k − log(n). Again the Gumbel distribution enters the picture.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-24
SLIDE 24

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

If i ≥ 2, κ > k then between steps j − κ + 1 and j − k − 1, we have u dead candidates. The maximal non-empty urn at step j − k contains i balls and again, we finish the game with k steps, at position j, starting with i balls. The u dead candidates asymptotically obey the Poisson distribution with parameter e−Lη′ϕ1(κ, k) (see (2)) and the total number of survivors at position j − κ is given by ℓ = i + u.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-25
SLIDE 25

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

This leads to R1,2(η, ℓ) = P(J(n) = j, L = ℓ) ∼

  • i+u=ℓ,i≥2
  • 1≤k<κ

Π

  • e−Lη′ϕ1(κ, k), u
  • Π

q p e−Lη′, 0

  • ×

× Π

  • e−Lη′, i
  • P(i, k),

κ ≥ 2, =

  • i+u=ℓ,i≥2
  • 1≤k<κ

exp

  • −e−Lη′ Qκ−k−1

p e−Liη′ i!

  • e−Lη′ϕ1(κ, k)

u u! P(i, k) =

  • i+u=ℓ,i≥2
  • 1≤k<κ

exp

  • −e−LηeLk Qκ−k−1

p e−LiηeLik i! × ×

  • e−LηeLkϕ1(κ, k)

u u! P(i, k), ϕ1(κ, k) := 1 p

  • Qκ−k−1 − 1
  • .

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-26
SLIDE 26

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Finally, if the maximal non-empty urn contains 1 ball, then we have u dead candidates between j − κ + 1 and j − 1, r dead players at position j and exactly one dead player after j. Hence R2(η, ℓ) = P(J(n) = j, L = ℓ) ∼

  • 1+r+u=ℓ,r>0,u≥0

Π q p e−Lη, 1

  • Π
  • e−Lη, r
  • Π
  • e−Lηϕ2(κ), u
  • = Π

q p e−Lη, 1 Π

  • e−Lη(1 + ϕ2(κ)), ℓ − 1
  • −Π
  • e−Lη, 0)Π(e−Lηϕ2(κ)), ℓ − 1
  • = exp
  • −e−Lη Qκ−1

p q p e−Lη 1 (ℓ − 1)!× ×

  • e−Lη(1 + ϕ2(κ))

ℓ−1 −

  • e−Lηϕ2(κ)

ℓ−1 ϕ2(κ) := 1 p

  • Qκ−1 − 1
  • .

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-27
SLIDE 27

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Following now the lines of [13], we proceed to the Laplace transforms w.r.t η. This leads to φ1,1(α, ℓ) =

  • k≥κ
  • i≥ℓ

G(i, k − κ, ℓ)P(ℓ, κ)eLk ˜

α

Li! (1/p)−i+˜

αΓ(i − ˜

α). φ1,2(α, ℓ) =

  • i+u=ℓ,i≥2
  • 1≤k<κ

Γ(i + u − ˜ α) 1 Li!u!

  • eLk Qκ−k−1

p −i−u+˜

α

× × ϕ1(κ, k)ueLkieLkuP(i, k) =

  • i+u=ℓ,i≥2
  • 1≤k<κ

Γ(i + u − ˜ α) 1 Li!u! Qκ−k−1 p −i−u+˜

α

× × eLk ˜

αϕ1(κ, k)uP(i, k).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-28
SLIDE 28

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

φ2(α, ℓ) = Γ(1 + (ℓ − 1) − ˜ α) Qκ−1 p −1−(ℓ−1)+˜

α q

pL 1 (ℓ − 1)!× ×

  • (1 + ϕ2(κ))ℓ−1 − ϕ2(κ)ℓ−1

= Γ(ℓ − ˜ α) Qκ−1 p −ℓ+˜

α q

pL 1 (ℓ − 1)!× ×

  • (1 + ϕ2(κ))ℓ−1 − ϕ2(κ)ℓ−1

. This leads to the dominant (non-periodic) part of G(n, J(n) − κ, ℓ) namely the probability that number of survivors at step J(n) − κ is given by ℓ, starting with n candidates

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-29
SLIDE 29

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Theorem 3.1 The dominant (non-periodic) part of the probability G(n, J(n) − κ, ℓ) that L: the number of survivors at step J(n) − κ, is given by ℓ, (starting with n candidates), is asymptotically given by G(n, J(n) − κ, ℓ) ∼ R1,1(ℓ) + R1,2(ℓ) + R2(ℓ), with R1,1(ℓ) = φ1,1(0, ℓ) =

  • k≥κ
  • i≥ℓ

G(i, k − κ, ℓ)P(ℓ, κ)pi Li , ℓ ≥ 2,

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-30
SLIDE 30

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R1,2(ℓ) = φ1,2(0, ℓ) =

  • i+u=ℓ,i≥2
  • 1≤k<κ

Γ(i + u) 1 Li!u! Qκ−k−1 p −i−u ϕ1(κ, k)uP(i, k) =

  • i=2
  • 1≤k<κ

Γ(ℓ) 1 Li!(ℓ − i)! Qκ−k−1 p −ℓ P(i, k)ϕ1(κ, k)ℓ−i, ℓ ≥ 2, R2(ℓ) = φ2(0, ℓ) = Qκ−1 p −ℓ q pL

  • (1 + ϕ2(κ))ℓ−1 − ϕ2(κ)ℓ−1

, ℓ ≥ 2

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-31
SLIDE 31

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

The presence of pi

Li in R1,1(ℓ) is not surprising: this is explained as

  • follows. The asymptotic probability of a position v of maximal

non-empty urn and a number i of players in this urn, is given, with η = j − log n∗, by Π q p e−Lη, 0

  • Π
  • e−Lη, i
  • = exp
  • − 1

pe−Lηe−Lηi i! . This is the classical asymptotic for the Binomial distribution, and is easily checked as follows: n i 1 − qj−1n−i q(j−1)ipi = n i 1 − e−L(j−1)n−i e−L(j−1)ipi = n i 1 − e−Lη pn n−i e−Lηi nipi pi ∼ exp

  • −e−Lη/p

e−Lηi i! .

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-32
SLIDE 32

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

The probability of a number i of balls independently of the position j, is given by the asymptotic distribution

  • j=1

exp

  • −1

pe−Lη e−Lηi i! . This is an harmonic sum, and with φ3(α) = ∞

−∞

eαη exp

  • −1

pe−Lη e−Lηi i! dη = (1/p)−i+˜

α

Li! Γ(i − ˜ α), the asymptotic probability of i balls is given by φ3(0) = pi iL. (3) This is an honest probability measure as

  • i=1

pi iL = 1.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-33
SLIDE 33

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We have no periodic component here. Indeed, it should be given by

  • t=0

  • i=1

φ3(−Lχt)e−2tπi log n∗ =

  • t=0

  • i=1

(1/p)−i−χt Li! Γ(i+χt)e−2tπi{log n∗}. We note that replacing log n∗ by log n + M + 1 allows the elimination of pχt. We are left with a term

  • i=1

pi Li!Γ(i + χt), but this is null by [15], Appendix A.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-34
SLIDE 34

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Let us check that our theorem also leads to an honest probability

  • measure. Set

S1,1 =

  • ℓ≥2

R1,1(ℓ) =

  • k≥κ
  • i≥2

i

  • ℓ=2

G(i, k − κ, ℓ)P(ℓ, κ)pi Li =

  • k≥κ
  • i≥2

pi Li P(i, k).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-35
SLIDE 35

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

S1,2 =

  • ℓ≥2

R1,2(ℓ) =

  • ℓ≥2

  • i=2
  • 1≤k<κ

Γ(ℓ) 1 Li!(ℓ − i)!× × Qκ−k−1 p −ℓ P(i, k)ϕ1(κ, k)ℓ−i =

  • 1≤k<κ
  • i≥2

ϕ1(κ, k)−iP(i, k) 1 Li!

  • ℓ≥i

Γ(ℓ) 1 (ℓ − i)!× × Qκ−k−1 p −ℓ ϕ1(κ, k)ℓ =

  • 1≤k<κ
  • i≥2

ϕ1(κ, k)−iP(i, k) 1 Li!Γ(i)

  • Qκ−k−1 − 1

i =

  • 1≤k<κ
  • i≥2

pi Li P(i, k).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-36
SLIDE 36

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

S2 =

  • ℓ≥2

R2(ℓ) = q pL

  • ℓ≥2

Qκ−1 p −ℓ (1 + ϕ2(κ))ℓ−1 − ϕ2(κ)ℓ−1 = q pL.p2 q = p L. Now we have S1,1 + S1,2 + S2 =

  • i≥2

pi Li + p L = 1, as it should.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-37
SLIDE 37

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We now turn to the periodic component of our asymptotics. Following again the techniques detailed in [13], this leads to (again, we have the elimination of pχt.) Theorem 3.2 The periodic component of the probability G(n, J(n) − κ, ℓ) that L: the number of survivors at step J(n) − κ, is given by ℓ, (starting with n candidates), is asymptotically given by w(n, J(n) − κ, ℓ) ∼ w1,1(ℓ) + w1,2(ℓ) + w2(ℓ),

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-38
SLIDE 38

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

with w1,1(ℓ) =

  • t=0

φ1,1(α, ℓ)|α=−Lχt e−2tπi{log n∗} =

  • t=0
  • k≥κ
  • i≥ℓ

G(i, k − κ, ℓ)P(ℓ, κ)e−kχt Li! piΓ(i + χt)e−2tπi{log n}, w1,2(ℓ) =

  • t=0

φ1,2(α, ℓ)|α=−Lχt e−2tπi{log n∗} =

  • t=0
  • i+u=ℓ,i≥2
  • 1≤k<κ

Γ(i + u + χt) 1 Li!u!pi+uQ(κ−k−1)(−i−u−χt)× × e−kχtϕ1(κ, k)uP(i, k)e−2tπi{log n},

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-39
SLIDE 39

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

w2(ℓ) =

  • t=0

φ2(α, ℓ)|α=−Lχt e−2tπi{log n∗} =

  • t=0

Γ(ℓ + χt)pℓQ(κ−1)(−ℓ−χt) q pL 1 (ℓ − 1)!× ×

  • (1 + ϕ2(κ))ℓ−1 − ϕ2(κ)ℓ−1

.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-40
SLIDE 40

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Asymptotics for p → 0

We will only deal with first order asymptotics. We first let n → ∞ and then p → 0. Let, with ε = o(1), p = ε, q = 1 − ε, Q = 1 1 − ε ∼ 1 + ε, L = ln(1 − ε) ∼ ε, log n∗ ∼ ln n ε + ln ε ε . As the resurrection would lead here to negligible contribution, (1) leads to P(i, k) = (1 − iε)P(i, k − 1) + iεP(i − 1, k − 1). (4) Indeed the probability that all i players die is given by εi which is negligible.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-41
SLIDE 41

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We have the asymptotic P(i, k) ∼ i(i − 1)

  • 1 − e−(k−1)εi−2

e−2(k−1)εε. This is justified as follows: we first have 2 survivors at position k − 1, without resurrection, with probability

i(i−1) 2

  • 1 − e−(k−1)εi−2 e−2(k−1)ε, and with probability 2ε, one

survive at position k. The event that u > 2 players survive at position k − 1 entails a O(εu−1) contribution at position k, negligible w.r.t. ε.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-42
SLIDE 42

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Let us check that this asymptotic for P(i, k) satisfies (4). Set ∆ := i(i − 1)

  • 1 − e−(k−1)εi−2

e−2(k−1)εε −

  • (1 − iε)i(i − 1)
  • 1 − e−(k−2)εi−2

e−2(k−2)εε +iε(i − 1)(i − 2)

  • 1 − e−(k−2)εi−3

e−2(k−2)εε

  • ,

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-43
SLIDE 43

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

and, with α := e−(k−2)ε, ∆ ∼ i(i − 1)

  • (1 − α)i−3 + (i − 2)εα (1 − α)i−3

α2(1 − 2ε)

  • ε

  • (1 − iε)i(i − 1) (1 − α)i−3 (1 − α)α2ε

+iε(i − 1)(i − 2) (1 − α)i−3 α2ε

  • = −2iε3 (1 − α)i−3 α3(i − 1)(i − 2),

which is null by first order asymptotics. Similarly, we have G(i, k, ℓ) ∼ i ℓ 1 − e−kεi−ℓ e−ℓkε, and G ∗ is asymptotically equivalent to G. Note that J(n) has a mean ∼ ln n

ε

and is spread with a standard deviation = O 1

ε

  • .

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-44
SLIDE 44

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Now we turn to asymptotics for R1,1(ℓ), R1,2(ℓ), R2(ℓ). From Theorem 3.1, we derive R1,1(ℓ) ∼

  • k≥κ
  • i≥ℓ

i ℓ 1 − e−(k−κ)εi−ℓ e−ℓ(k−κ)εℓ(ℓ − 1)× ×

  • 1 − e−(κ−1)εℓ−2

e−2(κ−1)εε εi Li , and with u := (k − κ)ε, R1,1(ℓ) ∼

  • k≥κ

εℓ ℓ [1 − (1 − e−u)ε]ℓ e−ℓuℓ(ℓ − 1) ((κ − 1)ε)ℓ−2 ε1 L, and with Euler-MacLaurin, (the error terms are negligible), R1,1(ℓ) ∼ εℓ ℓ ℓ(ℓ − 1) ((κ − 1)ε)ℓ−2 ε1 L ∞ e−ℓu (1 + ℓ(1 − e−u)ε du ε ∼ εℓ ℓ ℓ(ℓ − 1) ((κ − 1)ε)ℓ−2 1 L 1 ℓ ∼ εℓ−1 ℓ (ℓ − 1) ((κ − 1)ε)ℓ−2 = ε2ℓ−3 ℓ (ℓ − 1) ((κ − 1))ℓ−2 . (5)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-45
SLIDE 45

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R1,2(ℓ) ∼

  • i=2
  • 1≤k<κ

Γ(ℓ) 1 Li!(ℓ − i)!εℓ(1 − ε)(κ−k−1)ℓi(i − 1)× ×

  • 1 − e−(k−1)εi−2

e−2(k−1)εε 1 ε((1 + ε)κ−k−1 − 1) ℓ−i ∼

  • 1≤k<κ

εℓ(1 − ε)(κ−k−1)ℓε

  • 1 − e−(k−1)ε + 1

ε((1 + ε)κ−k−1 − 1)

  • 1≤k<κ

εℓ(ℓ − 1)(κ − k − 1)ℓ−2. (6)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-46
SLIDE 46

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R2(ℓ) ∼ 1 εLεℓ(1 − ε)(κ−1)ℓ

  • 1 + 1

ε((1 + ε)κ−1 − 1) ℓ−1 − 1 ε((1 + ε)κ−1 − 1) ℓ−1 ∼ εℓ−2 κℓ−1 − (κ − 1)ℓ−1 . (7)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-47
SLIDE 47

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

This leads to the following theorem Theorem 4.1 If p = ε = o(1), the dominant (non-periodic) part of the probability G(n, J(n) − κ, ℓ) that L: the number of survivors at step J(n) − κ, is given by ℓ, (starting with n candidates), is asymptotically given by G(n, J(n) − κ, ℓ) ∼ R1,1(ℓ) + R1,2(ℓ) + R2(ℓ), with R1,1(ℓ) ∼ ε2ℓ−3 ℓ (ℓ − 1) ((κ − 1))ℓ−2 , R1,2(ℓ) ∼

  • 1≤k<κ

εℓ(ℓ − 1)(κ − k − 1)ℓ−2, R2(ℓ) ∼ εℓ−2 κℓ−1 − (κ − 1)ℓ−1 . So R2(ℓ) is dominant.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-48
SLIDE 48

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

For ℓ = 2, this leads respectively to R1,1(2) ∼ ε 2, R1,2(2) ∼ κε2, R2(2) ∼ 1.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-49
SLIDE 49

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

So, asymptotically, only 2 survivors remain at step J(n) − κ, independently of κ. We can check that, to first order, ∞

2 (R1,1(ℓ) + R1,2(ℓ) + R2(ℓ)) ∼ 1. Indeed, we obtain (here we

need more precision in the asymptotics, we omit the details)

  • 2

R1,1(ℓ) ∼ ε 2,

  • 2

R1,2(ℓ) ∼ O(κε2),

  • 2

R2(ℓ) ∼ 1 − ε 2 + O(κε2).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-50
SLIDE 50

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

It is interesting to check our asymptotics by a direct more probabilistic approach. For R1,1(ℓ), the probabilistic interpretation, by (3) is obvious. For R1,2(ℓ), we have ℓ survivors at step s = j − κ (no resurrections). Again, with no resurrection, frome these ℓ players, i survive at position j − k − 1 and they are all killed at time j − k. The game ends at step j in k steps. Hence R1,2(ℓ) ∼

  • s=1

  • i=2
  • 1≤k<κ

n ℓ 1 − e−sεn−ℓ e−ℓsε× × G(ℓ, κ − k − 1, i)εiP(i, k), and with sε = η + ln(n − ℓ), R1,2(ℓ) ∼

  • s=1

  • i=2
  • 1≤k<κ

n ℓ 1 − e−η n − ℓ n−ℓ e−ℓη (n − ℓ)ℓ × × G(ℓ, κ − k − 1, i)εiP(i, k),

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-51
SLIDE 51

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

and with Euler-MacLaurin, R1,2(ℓ) ∼ ∞

η=−∞ ℓ

  • i=2
  • 1≤k<κ

1 ℓ! exp(−e−η)e−ℓη dη ε × × G(ℓ, κ − k − 1, i)εiP(i, k) ∼ 1 εℓ

  • i=2
  • 1≤k<κ

ℓ i 1 − e−(κ−k−1)εℓ−i e−i(κ−k−1)εεii(i − 1)× ×

  • 1 − e−(k−1)εi−2

e−2(k−1)εε ∼

  • 1≤k<κ

1 ε(ℓ − 1) [(κ − k − 1)ε]ℓ−2 ε3 which is identical to (6).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-52
SLIDE 52

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Concerning R2(ℓ), we have ℓ survivors at step s = j − κ (no resurrections). Again, with no resurrection, from these ℓ players, v survive at position j − 1 and they are all killed but 1 at time j. This leads to R2(ℓ) ∼

  • s=1

  • v=2

n ℓ 1 − e−sεn−ℓ e−ℓsεG(ℓ, κ − 1, v)vεv−1(1 − ε) ∼ 1 εℓ

  • v=2

ℓ v 1 − e−(κ−1)εℓ−v e−v(κ−1)εvεv−1(1 − ε) ∼ 1 ε [(κ − 1)ε]ℓ−2 ε

  • κ
  • κ

κ − 1 ℓ−1 + 1 − κ

  • = εℓ−2

κℓ−1 − (κ − 1)ℓ−1 which is identical to (7).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-53
SLIDE 53

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Asymptotics for p → 1

Here, we have p = 1 − ε, q = ε, Q = 1 ε, L = − ln(ε), log n∗ ∼ ln n − ln(ε) + ε ln ε. The distribution of J(n) is concentrated at log n. Now we must distinguish between G and G ∗. P(i, k) ∼ (1 − ε)i(k−1) i 1

  • (1 − ε)i−1ε ∼ iεe−εik.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-54
SLIDE 54

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Explanation: the i players are asymptotically all killed and resurrected during the first k − 1 steps. At step k, only one survive. G(i, k, ℓ) ∼ (1 − ε)i(k−1) i ℓ

  • (1 − ε)i−ℓεℓ ∼ e−εikεℓ

i ℓ

  • eεℓ,

G ∗(i, k, ℓ) ∼ i ℓ

  • (1 − εk)i−ℓεkℓ ∼ e−εk(i−ℓ).

Concerning G, the justification is similar to the one for P. Concerning G ∗, there are ℓ survivors during k steps (no resurrection), which leads to a Binomial distribution.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-55
SLIDE 55

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Now we turn to asymptotics for R1,1(ℓ), R1,2(ℓ), R2(ℓ). From Theorem 3.1, we derive R1,1(ℓ) ∼

  • k≥κ
  • i≥ℓ

i ℓ

  • e−εi(k−κ)eεℓεℓe−ℓκεℓε(1 − ε)i

Li ∼

  • k≥κ

e−εℓ(k−κ) eε(κ−k)(ε − 1) + 1 −ℓ εℓe−ℓκε ε L, and with k = κ + u, R1,1(ℓ) ∼ ∞ e−εℓu e−εu(ε − 1) + 1 −ℓ du ε εℓe−ℓκε ε L ∼ εℓe−ℓκε 1 L(I1 + I2),

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-56
SLIDE 56

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

I1 ∼ 1/ε (1 − εℓu) [(1 + u)ε]−ℓ du ∼ ε−ℓ ℓ − 1, I2 ∼ ∞

1/ε

e−εℓu exp(e−εuℓ)du ∼ exp(−1) yℓeℓy dy yε ∼ C(ℓ) ε , with a rapidly decreasing function C(ℓ) := (−ℓ)−ℓ(Γ(ℓ) − Γ(ℓ, −ℓe−ℓ)), I1 is dominant, hence R1,1(ℓ) ∼ e−ℓκε L(ℓ − 1).

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-57
SLIDE 57

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R1,2(ℓ) ∼

  • i=2
  • 1≤k<κ

Γ(ℓ) 1 Li!(ℓ − i)!ε(κ−k−1)ℓ(1 − ε)ℓe−ikεiεAℓ−i, (8) with A := εk−κ+1 − 1, R1,2(ℓ) ∼

  • 1≤k<κ

1 Lε(κ−k−1)ℓe−εℓεAℓB 1 A2e2kε , with B := (1 + ekεA) 1 + ekεA ekεA ℓ−2 − ekεA, B ∼ (1 + (1 + kε)A) 1 + (1 + kε)A (1 + kε)A ℓ−2 − (1 + kε)A. for k = κ − 1, A = 0, AℓB/A2 → 1, for A → 0, for k < κ − 1, A ∼ εk−κ+1, B ∼ ℓ − 1.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-58
SLIDE 58

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R1,2(ℓ) ∼ S1 + S2, S1 ∼ 1 Le−εℓεε−2(κ−1)ε, S2 ∼

  • 1≤k<κ−1

1 Lε(κ−k−1)ℓe−εℓεε(k−κ+1)ℓ(ℓ − 1)ε−2(k−κ+1)e−2kε ∼ 1 Le−εℓ(ℓ − 1)ε3. S2 is negligible wrt S1, hence R1,2(ℓ) ∼ 1 Le−εℓεε−2(κ−1)ε. (9)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-59
SLIDE 59

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

R2(ℓ) ∼ (1 − ε)ℓε(κ−1)ℓ ε (1 − ε)L× ×

  • 1 +

1 1 − ε(C − 1) ℓ−1 −

  • 1

1 − ε(C − 1) ℓ−1 , (10) with C := ε1−κ, R2(ℓ) ∼ (1 − ε)ℓε(κ−1)ℓ ε (1 − ε)L(ℓ − 1)C ℓ−2 ∼ 1 Lε2κ−1(ℓ − 1)e−(ℓ−1)ε.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-60
SLIDE 60

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

This leads to the following theorem Theorem 5.1 If p = 1 − ε, ε = o(1), the dominant (non-periodic) part of the probability G(n, J(n) − κ, ℓ) that L: the number of survivors at step J(n) − κ, is given by ℓ, (starting with n candidates), is asymptotically given by G(n, J(n) − κ, ℓ) ∼ R1,1(ℓ) + R1,2(ℓ) + R2(ℓ), with R1,1(ℓ) ∼ e−ℓκε L(ℓ − 1), R1,2(ℓ) ∼ 1 Le−εℓεε−2(κ−1)ε, R2(ℓ) ∼ 1 Lε2κ−1(ℓ − 1)e−(ℓ−1)ε. So R1,1(ℓ) is dominant.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-61
SLIDE 61

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

We can check that, to first order, ∞

2 (R1,1(ℓ) + R1,2(ℓ) + R2(ℓ)) ∼ 1. Indeed, we obtain ∞

  • 2

R1,1(ℓ) ∼ − ln(εκ) L = 1 + O(1 L),

  • 2

R1,2(ℓ) ∼ O(1 L), if κ > 1,

  • 2

R2(ℓ) ∼ 1 Lε2κ−3, if κ = 1,

  • 2

R2(ℓ) ∼ 1 L.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-62
SLIDE 62

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

It is again interesting to check our asymptotics by a direct more probabilistic approach. For R1,1(ℓ), the probabilistic interpretation, by (3) is again obvious. For R1,2(ℓ), we need the following

  • bservation. For i = O(1), the probability that there are i

survivors from n players, at time s, without resurrection, is given by G ∗(n, s, i), and

  • s

G ∗(n, s, i) =

  • s

n i

  • (1 − εs)n−iεsi

=

  • s

n i

  • (1 − e−Ls)n−ie−Lsi,

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-63
SLIDE 63

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

and with Ls = ln(n − i) + η,

  • s

G ∗(n, s, i) =

  • s

n i 1 − e−η n − i n−i e−iη (n − i)i ∼

  • s

exp(−e−η)e−iη i! ∼ ∞

−∞

exp(−e−η)e−iη i! dη L = 1 iL. (11)

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-64
SLIDE 64

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

For R1,2(ℓ), we have ℓ survivors at step s = j − κ (no resurrections). Again, with no resurrection, from these ℓ players, i survive during the next κ − k − 1 steps and they are all killed at time j − k. The game ends at step j in k steps. Hence, by (11), R1,2(ℓ) ∼

  • i=2
  • 1≤k<κ

1 LℓG ∗(ℓ, κ − k − 1, i)(1 − ε)iP(i, k) ∼

  • i=2
  • 1≤k<κ

1 Lℓ ℓ i

  • ε(κ−k−1)i

1 − εκ−k−1ℓ−i (1 − ε)iiεe−εik, which is equivalent to (8), after some algebra.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-65
SLIDE 65

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Similarly, for R2(ℓ), we have ℓ survivors at step s = j − κ (no resurrections). Again, with no resurrection, from these ℓ players, v survive during the next κ − 1 steps and they are all killed but 1 at time j. This leads to R2(ℓ) ∼ 1 ℓL

  • v=2

G ∗(ℓ, κ − 1, v)v(1 − ε)v−1ε ∼ 1 ℓL

  • v=2

ℓ v

  • ε(κ−1)v

1 − εκ−1ℓ−v v(1 − ε)v−1ε ∼ ε LD((D − Dε + E)ℓ−1 − E ℓ−1), with D := εκ−1, E := 1 − εκ−1,

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-66
SLIDE 66

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

(1 − ε)ℓ−1εκ−1

  • εκ−1 +

1 1 − ε(1 − εκ−1) ℓ−1 −

  • 1

1 − ε(1 − εκ−1) ℓ−1 = εκ−1 εκ−1(1 − ε) + (1 − εκ−1) ℓ−1 −

  • 1 − εκ−1ℓ−1

. which is equivalent to (10), after some algebra.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-67
SLIDE 67

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Conclusion

This paper is devoted to another application of some tools related to urn model, Mellin-Laplace technique for Harmonic sums and Gumbel distribution. The asymptotic distributions of the number

  • f survivors near the end of the classical leader election algorithm

can be derived in an almost mechanical way. The analysis of some

  • ther election algorithms will be the object of future work.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-68
SLIDE 68

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

J.A. Fill, H. Mahmoud, and W. Szpankowski. On the distribution for the duration of a randomized leader election algorithm. Annals of Applied Probability, 6:1260–1283, 1996.

  • P. Flajolet, X. Gourdon, and P. Dumas.

Mellin transforms and asymptotics: Harmonic sums. Theoretical Computer Science, 144:3–58, 1995.

  • P. Hitczenko and G. Louchard.

Distinctness of compositions of an integer: a probabilistic analysis. Random Structures and Algorithms, 19(3,4):407–437, 2001.

  • S. Janson, C. Lavault, and G. Louchard.

Convergence of some leader election algorithms. Discrete Mathematics and Theoretical Computer Science, 10,3:171–196, 2008.

  • S. Janson and W. Szpankowski.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-69
SLIDE 69

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Analysis of an asymmetric leader election algorithm. Electronic Journal of Combinatorics, 4(R17):1–16, 1997.

  • R. Kalpathy.

Perpetuities in fair leader election algorithms. ph.d. dissertation. Technical report, Department of Statistics, The George Washington University, Washington, D.C., 2013.

  • R. Kalpathy and H. Mahmoud.

Perpetuities in fair leader election algorithms. Advances in Applied Probability, 46, in press, 2014.

  • R. Kalpathy, H. Mahmoud, and W. Rosenkrantz.

Survivors in leader election algorithms. Statistics and Probability Letters, to appear, 2014.

  • R. Kalpathy, H.M. Mahmoud, and M.D. Ward.

Asymptotic properties of a leader election algorithm. Journal of Applied Probability, 48:569–575, 2011.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-70
SLIDE 70

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

  • C. Knessl.

Asymptotics and numerical studies of the leader election algorithm. European Journal of Applied Mathematics, 12:645–664, 2001.

  • C. Lavault and G. Louchard.

Asymptotic analysis of a leader election algorithms. Theoretical Computer Science, 359,1,3:239–254, 2006.

  • G. Louchard, C. Martinez, and H. Prodinger.

The swedish leader election protocol: Analysis and variations. In Proceedings ANALCO 2011, pages 127–134, 2011.

  • G. Louchard and H. Prodinger.

Asymptotics of the moments of extreme-value related distribution functions. Algorithmica, 46:431–467, 2006. Long version: http://www.ulb.ac.be/di/mcs/louchard/moml.ps.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-71
SLIDE 71

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

  • G. Louchard and H. Prodinger.

On gaps and unoccupied urns in sequences of geometrically distributed random variables. Discrete Mathematics, 308,9:1538–1562, 2008. Long version: http://www.ulb.ac.be/di/mcs/louchard/gaps18.ps.

  • G. Louchard and H. Prodinger.

The asymmetric leader election algorithm: Another approach. Annals of Combinatorics, 12:449–478, 2009.

  • G. Louchard and H. Prodinger.

The asymmetric leader election algorithm with swedish stopping: A probabilistic analysis. Discrete Mathematics and Theoretical Computer Science, 14,2:91–128, 2012.

  • G. Louchard, H. Prodinger, and M. D. Ward.

Number of survivors in the presence of a demon.

Guy Louchard The Asymmetric leader election algorithm: number of survivors

slide-72
SLIDE 72

Introduction Model and Notations Asymptotic analysis of L := number of survivors at position J(n) − κ Asymptotics for p →

Periodica Mathematica Hungarica, 64,1:101–117, 2012.

  • G. Louchard, H. Prodinger, and M.D. Ward.

The number of distinct values of some multiplicity in sequences of geometrically distributed random variables. Discrete Mathematics and Theoretical Computer Science, AD:231–256, 2005. 2005 International Conference on Analysis of Algorithms.

  • H. Prodinger.

How to select a loser. Discrete Mathematics, 120:149–159, 1993.

Guy Louchard The Asymmetric leader election algorithm: number of survivors