A CS look at stochastic branching processes

Similar documents
Newtonian Program Analysis

Space-efficient scheduling of stochastically generated tasks

Newtonian Program Analysis: Solving Sharir and Pnueli s Equations

On Fixed Point Equations over Commutative Semirings

Solutions to homework Assignment #6 Math 119B UC Davis, Spring 2012

Introduction to Kleene Algebras

Motivation for introducing probabilities

An Extension of Newton s Method to ω-continuous Semirings

Solving fixed-point equations over semirings

SFM-11:CONNECT Summer School, Bertinoro, June 2011

Computing rewards in probabilistic pushdown systems

THE REAL NUMBERS Chapter #4

Lecture 16: Computation Tree Logic (CTL)

Extinction of Family Name. Student Participants: Tianzi Wang Jamie Xu Faculty Mentor: Professor Runhuan Feng

14 Branching processes

Discrete random structures whose limits are described by a PDE: 3 open problems

Distributed Optimization. Song Chong EE, KAIST

Solving Monotone Polynomial Equations

Parity Objectives in Countable MDPs

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Lecture 5: Introduction to Complexity Theory

CASE STUDY: EXTINCTION OF FAMILY NAMES

16.410/413 Principles of Autonomy and Decision Making

Population growth: Galton-Watson process. Population growth: Galton-Watson process. A simple branching process. A simple branching process

Stochastic Games with Time The value Min strategies Max strategies Determinacy Finite-state games Cont.-time Markov chains

On the Total Variation Distance of Labelled Markov Chains

25. Chain Rule. Now, f is a function of t only. Expand by multiplication:

The range of tree-indexed random walk

CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010

arxiv: v2 [cs.dm] 14 May 2018

Randomized Algorithms III Min Cut

Genetic Algorithms: Basic Principles and Applications

Markov decision processes

Limiting Behavior of Markov Chains with Eager Attractors

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Theory of Computation p.1/?? Theory of Computation p.2/?? Unknown: Implicitly a Boolean variable: true if a word is

Negotiation Games. Javier Esparza and Philipp Hoffmann. Fakultät für Informatik, Technische Universität München, Germany

Axioms of Kleene Algebra

Chapter 11. Min Cut Min Cut Problem Definition Some Definitions. By Sariel Har-Peled, December 10, Version: 1.

Propositional Calculus - Semantics (3/3) Moonzoo Kim CS Dept. KAIST

CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions

T Reactive Systems: Temporal Logic LTL

Recap from Last Time

Approximative Methods for Monotone Systems of min-max-polynomial Equations

Unranked Tree Automata with Sibling Equalities and Disequalities

Parameterized verification of many identical probabilistic timed processes

What is Binary? Digital Systems and Information Representation. An Example. Physical Representation. Boolean Algebra

RECENT RESULTS FOR SUPERCRITICAL CONTROLLED BRANCHING PROCESSES WITH CONTROL RANDOM FUNCTIONS

Computer Sciences Department

Adequate set of connectives, logic gates and circuits

BRANCHING PROCESSES 1. GALTON-WATSON PROCESSES

Grade 8 Factorisation

Koza s Algorithm. Choose a set of possible functions and terminals for the program.

MARKOV DECISION PROCESSES (MDP) AND REINFORCEMENT LEARNING (RL) Versione originale delle slide fornita dal Prof. Francesco Lo Presti

Timo Latvala. February 4, 2004

Chapter 4: Computation tree logic

Logic in Automatic Verification

Convergence of Feller Processes

Recap from Last Time

Algorithmic Game Theory and Applications. Lecture 15: a brief taster of Markov Decision Processes and Stochastic Games

Markov Chains. As part of Interdisciplinary Mathematical Modeling, By Warren Weckesser Copyright c 2006.

Convergence Thresholds of Newton s Method for Monotone Polynomial Equations

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Markov Decision Processes Chapter 17. Mausam

Fault-Tolerant Consensus

4 Branching Processes

Kleene Algebras and Algebraic Path Problems

Announcements. Friday Four Square! Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Did you lose a phone in my office?

Theory of Computer Science

Theory of Computer Science. Theory of Computer Science. E1.1 Motivation. E1.2 How to Measure Runtime? E1.3 Decision Problems. E1.

CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis. Hunter Zahn Summer 2016

Root Finding (and Optimisation)

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

A An Overview of Complexity Theory for the Algorithm Designer

UPPER DEVIATIONS FOR SPLIT TIMES OF BRANCHING PROCESSES

Recursive Markov Chains, Stochastic Grammars, and Monotone Systems of Nonlinear Equations

CS 7180: Behavioral Modeling and Decisionmaking

STOCHASTIC PROCESSES Basic notions

are Banach algebras. f(x)g(x) max Example 7.4. Similarly, A = L and A = l with the pointwise multiplication

Heuristics for Efficient SAT Solving. As implemented in GRASP, Chaff and GSAT.

Almost transparent short proofs for NP R

Chapter 3 Deterministic planning

Chapter 6: Branching Processes: The Theory of Reproduction

Markov decision processes (MDP) CS 416 Artificial Intelligence. Iterative solution of Bellman equations. Building an optimal policy.

Chapter 1: Foundations for Algebra

MATH 1A, Complete Lecture Notes. Fedor Duzhin

Scheduling Markovian PERT networks to maximize the net present value: new results

k-protected VERTICES IN BINARY SEARCH TREES

Functional Data Structures

Lagrange Multipliers

Advanced Introduction to Machine Learning

Markov Decision Processes Infinite Horizon Problems

Planning Under Uncertainty II

Lecture 2: Divide and conquer and Dynamic programming

Notes on generating functions in automata theory

Verifying Randomized Distributed Algorithms with PRISM

CS Communication Complexity: Applications and New Directions

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata.

A Note on Bisexual Galton-Watson Branching Processes with Immigration

Transcription:

A computer science look at stochastic branching processes T. Brázdil J. Esparza S. Kiefer M. Luttenberger Technische Universität München For Thiagu, December 2008

Back in victorian Britain... There was concern amongst the Victorians that aristocratic families were becoming extinct.

Back in victorian Britain... There was concern amongst the Victorians that aristocratic families were becoming extinct. Francis Galton (1822-1911), anthropologist and polymath: Are families of English peers more likely to die out than the families of ordinary men? Let p 0, p 1,..., p n be the respective probabilities that a man has 0, 1, 2,... n sons, let each son have the same probability for sons of his own, and so on. What is the probability that the male line goes extinct, and what is the probability that it goes extinct after r generations?

Back in victorian Britain... There was concern amongst the Victorians that aristocratic families were becoming extinct. Francis Galton (1822-1911), anthropologist and polymath: Are families of English peers more likely to die out than the families of ordinary men? Let p 0, p 1,..., p n be the respective probabilities that a man has 0, 1, 2,... n sons, let each son have the same probability for sons of his own, and so on. What is the probability that the male line goes extinct, and what is the probability that it goes extinct after r generations? Henry William Watson (1827-1903), vicar and mathematician: The probability that the line goes extinct is the least solution of X = p 0 + p 1 X + p 2 X 2 +... + p n X n

Stochastic branching theory Stochastic branching processes (SBPs) Stochastic processes that model the behaviour of populations whose individuals die and reproduce. Models of: reproduction of biological species, evolution of gene pools, chemical and nuclear reactions.

Stochastic branching theory Stochastic branching processes (SBPs) Stochastic processes that model the behaviour of populations whose individuals die and reproduce. Models of: reproduction of biological species, evolution of gene pools, chemical and nuclear reactions. Work in progress Investigate SBPs as models of execution threads, OS tasks, computer viruses, information spread in social networks...

A classification of SBPs Two classical dimensions Single-type/Multi-type (one/several subspecies with different offspring probabilities). Untimed/Timed (no time information/stochastic lifetime).

A classification of SBPs Two classical dimensions Single-type/Multi-type (one/several subspecies with different offspring probabilities). Untimed/Timed (no time information/stochastic lifetime). A new dimension for CS systems Synchronous/Asynchronous (generation moves/individuals move).

Random variables of interest Past research has studied mostly... untimed synchronous systems: probability of extinction, population of the n-th generation. timed asynchronous systems: population at time t.

Random variables of interest Past research has studied mostly... untimed synchronous systems: probability of extinction, population of the n-th generation. timed asynchronous systems: population at time t. CS is interested in ressource consumption Time to termination (time to extinction). Maximal population size (memory or hardware consumption).

The fundamental equation (system) A multi-type, untimed system X 0.4 X Y X 0.6 ɛ Y 0.3 X Y Y 0.4 Y Z Y 0.3 ɛ Z 0.3 X Z Z 0.7 ɛ

The fundamental equation (system) A multi-type, untimed system X 0.4 X Y X 0.6 ɛ Y 0.3 X Y Y 0.4 Y Z Y 0.3 ɛ Z 0.3 X Z Z 0.7 ɛ Fundamental equation X = f (X) X = 0.4XY + 0.6 Y = 0.3XY + 0.4YZ + 0.3 Z = 0.3XZ + 0.7

Probability of extinction Observe The probability of extinction is the same, independently of whether the system is synchronous or asynchronous.

Probability of extinction Observe The probability of extinction is the same, independently of whether the system is synchronous or asynchronous. Theorem (well known) The probability of extinction of the process types is equal to the least solution of the fundamental equation X = f (X).

Solving the fundamental equation The least solution of the equation may be irrational: Example The least solution of X = 1 6 X 6 + 1 2 X 5 + 1 3 is irrational and not expressible by radicals. We have 0.3357037075 < µf < 0.3357037076

A simple approximation method Proposition: Kleene s fixed point theorem The Kleene sequence 0, f (0), f (f (0)),... converges to the least solution of X = f (X). Example For our multi-type system we get: k f k X (0) f k Y (0) f k Z (0) 0 0.000 0.000 0.000 4 0.753 0.600 0.887 8 0.834 0.738 0.926 12 0.873 0.802 0.944 16 0.897 0.839 0.955

Convergence order Definition: Convergence order Let a (0) a (1) a (2)... satisfying lim k a (k) = a <. The convergence order of a (0) a (1) a (2)... is the function β : N N where β(k) is the number of accurate digits of a (k).

Convergence order Definition: Convergence order Let a (0) a (1) a (2)... satisfying lim k a (k) = a <. The convergence order of a (0) a (1) a (2)... is the function β : N N where β(k) is the number of accurate digits of a (k). Example Let: a = 34, 7815 a (0) = 07, 013 a (1) = 34, 7804. Then β(0) = 0 and β(1) = 4.

Convergence order Definition: Convergence order Let a (0) a (1) a (2)... satisfying lim k a (k) = a <. The convergence order of a (0) a (1) a (2)... is the function β : N N where β(k) is the number of accurate digits of a (k). Example Let: a = 34, 7815 a (0) = 07, 013 a (1) = 34, 7804. Then β(0) = 0 and β(1) = 4. Extension to sequences of vectors: take for β(k) the minimum of the number of accurate digits of the vector components.

Convergence order Definition: Convergence order Let a (0) a (1) a (2)... satisfying lim k a (k) = a <. The convergence order of a (0) a (1) a (2)... is the function β : N N where β(k) is the number of accurate digits of a (k). Example Let: a = 34, 7815 a (0) = 07, 013 a (1) = 34, 7804. Then β(0) = 0 and β(1) = 4. Extension to sequences of vectors: take for β(k) the minimum of the number of accurate digits of the vector components. We speak of linear, exponential, or logarithmic convergence orders.

Kleene Iteration is slow The Kleene sequence may have logarithmic convergence order. Example The least solution of X = 0.5X 2 + 0.5 is 1 = 0.999. The Kleene sequence needs k iterations for about log k digits: k f k (0) 0 0.0000 1 0.5000 2 0.6250 3 0.6953 4 0.7417 k f k (0) 20 0.9200 200 0.9900 2000 0.9990

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 0.4 0.2 f(x) Slow Logarithmic convergence order 0 0.2 0.4 0.6 0.8 1 1.2

Kleene Iteration (univariate case) Consider f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 0.4 0.2 f(x) Slow Logarithmic convergence order try Newton s method 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 f(x) 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2

Newton s Method (univariate case) Consider X = f (X) with f (X) = 3 8 X 2 + 1 4 X + 3 8 1.2 1 µf 0.8 0.6 0.4 0.2 f(x) Fast Linear convergence order: O(k) iterations for k places 0 0.2 0.4 0.6 0.8 1 1.2

Mathematical formulation Let X = f (X) be the fundamental equation (one dimension). The Newton sequence ν (i) is given by: ν (0) = 0 ν (i+1) = ν (i) + f ( ν (i)) ν (i) 1 f ( ν (i)) In the multivariate case X = f (X): ν (0) = 0 ν (i+1) = ν (i) + ( ) 1 Id f (ν (i) ) (f (ν (i) ) ν (i)) where f is the Jacobian of f, i.e., the matrix of partial derivatives of f, and Id is the identity matrix.

Our multitype system again... X Y = Z 0.4XY + 0.6 0.3XY + 0.4YZ + 0.3 0.3XZ + 0.7 k f k X (0) f k Y (0) f k Z ν (k) X 0 0.000 0.000 0.000 0.000 0.000 0.000 4 0.753 0.600 0.887 0.933 0.899 0.972 8 0.834 0.738 0.926 0.983 0.974 0.993 12 0.873 0.802 0.944 0.983 0.974 0.993 16 0.897 0.839 0.955 0.983 0.974 0.993 ν (k) Y ν (k) Z

Synchronous case: Time to termination Proposition The probability of termination in at most k generations is the k-th Kleene approximant f k (0).

Synchronous case: Time to termination Proposition The probability of termination in at most k generations is the k-th Kleene approximant f k (0). (by example). Consider X = 1/2 XY + 1/4 X + 1/4. The probability P k X of termination of X in at most k-generations satisfies the equation P k X = 1/2 P(k 1) X P (k 1) Y + 1/4 P (k 1) X + 1/4

Synchronous case: Time to termination Proposition The expected number of generations until termination of processes of type X is given by E[T X ] = k=0 (1 f (0)k X ). It can be decided in polynomial time whether E[T X ] is finite. If E[T X ] is finite, then the partial sums converge to it with linear convergence order. Proposition Consider the class of one-type systems X p XX X q ɛ E[T X ] is finite iff p < 1/2.

Asynchronous case: Scenario Threads are executed by a microprocessor.

Asynchronous case: Scenario Threads are executed by a microprocessor. A scheduler chooses the next thread to be executed from the current pool of active threads.

Asynchronous case: Scenario Threads are executed by a microprocessor. A scheduler chooses the next thread to be executed from the current pool of active threads. The chosen thread is executed for a (logical) time unit, after which it dies and generates 0,1,2,... new threads acording to the probability distribution.

Asynchronous case: Scenario Threads are executed by a microprocessor. A scheduler chooses the next thread to be executed from the current pool of active threads. The chosen thread is executed for a (logical) time unit, after which it dies and generates 0,1,2,... new threads acording to the probability distribution. The probability of termination/generation has been determined statistically (probability as lack of information).

Standard semantics: Markov Decision Process (MDP) States Multisets of threads awaiting to be scheduled. Example: X 4 Y 2 Z. Size of a state: number of threads in the multiset. Example: the size of X 4 Y 2 Z is 7. Nondeterministic/Stochastic choices Nondeterministic choices model the options of the scheduler. Stochastic choices determine whether the thread terminates without offspring or reproduces.

Standard semantics: Markov Decision Process (MDP) Scheduler Function that maps a finite execution to the next thread to be executed. Resolves nondeterminism: only stochastic choices left. Depends in general on the complete past. Analysis fix a class of schedulers; for each scheduler in the class analyze the corresponding Markov chain; take the maximum (minimum) of the values of the analysis. (angelical/demonical scheduler)

Time to termination Proposition The time to termination is independent of the choice of scheduler. (The random variable has the same distribution for all schedulers). Corollary The expected time to termination can be computed by solving a system of linear equations. For the proof: Choose the LIFO scheduler, corresponding to a pushdown system, and apply the solution from [EKM LICS05].

Space consumption (memory, hardware) Definition: Width of an execution The width of an execution is the supremum of the sizes of the states visited along it. The random variable W assigns to every execution its width

Space consumption (memory, hardware) Definition: Width of an execution The width of an execution is the supremum of the sizes of the states visited along it. The random variable W assigns to every execution its width Observe W does not have the same distribution for every scheduler. X 0.5 XY X 0.5 ɛ Y 1 ɛ

Competitive analysis for space consumption Well-known notion for online algorithms: comparison with an optimal offline algorithm. (Offline algorithm = online algorithm that knows the future.)

Competitive analysis for space consumption Well-known notion for online algorithms: comparison with an optimal offline algorithm. (Offline algorithm = online algorithm that knows the future.) Compare the performance of a given (class of) schedulers with respect to an optimal scheduler.

Competitive analysis for space consumption Well-known notion for online algorithms: comparison with an optimal offline algorithm. (Offline algorithm = online algorithm that knows the future.) Compare the performance of a given (class of) schedulers with respect to an optimal scheduler. The optimal scheduler has perfect information about the future sochastic evolution of the thread and its descendants.

Competitive analysis for space consumption Well-known notion for online algorithms: comparison with an optimal offline algorithm. (Offline algorithm = online algorithm that knows the future.) Compare the performance of a given (class of) schedulers with respect to an optimal scheduler. The optimal scheduler has perfect information about the future sochastic evolution of the thread and its descendants. Intuitively: Comparison with optimal scheduler indicates how much space can be spared by analyzing the code of the thread.

Family trees Problem of the MDP semantics Schedulers with information about the future cannot be formalized in the MDP semantics. In the sequel we call MDP schedulers black-box schedulers (no access to the code).

Family trees Problem of the MDP semantics Schedulers with information about the future cannot be formalized in the MDP semantics. In the sequel we call MDP schedulers black-box schedulers (no access to the code). Solution: Family trees A partial-order semantics of branching systems. Trees obtained by resolving the stochastic choices, leaving nondeterminism unresolved.

A finite family tree and one of its linearizations X 0.4 X Y X 0.6 ɛ Y 0.3 X Y Y 0.4 Y Z Y 0.3 ɛ Z 0.3 X Z Z 0.7 ɛ X 0.4 0.6 X Y 0.4 X XY XYZ YZ XYZ XZ X ε 0.3 Y Z 0.7 0.6 X Y 0.3

Family tree semantics Probability space Elementary events: cilinders generated by the finite family trees. Probability of a cilinder: product of the probabilities associated to its nodes.

(White box) schedulers (White box) Scheduler Function that assigns to a family tree one of its linearizations. Optimal width of a tree Width of the linearization with smallest width.

(White box) schedulers (White box) Scheduler Function that assigns to a family tree one of its linearizations. Optimal width of a tree Width of the linearization with smallest width. Optimal scheduler At each point: Execute completely the subtree with smaller optimal width, and then execute completely the other one. (Notice: needs knowledge of the future!)

An example X 0.4 0.6 X Y 0.4 0.3 Y Z 0.7 0.6 X Y 0.3 Optimal scheduler yields width 2: X XY Y YZ Y XY Y ɛ Pessimal scheduler yields width 4: X XY XYZ XXYZ XYZ YZ Z ɛ

Main result on the optimal scheduler Theorem: prob. distribution of the optimal scheduler Let X = f (X) be the fundamental equation of a terminating system. Let W opt X be the random variable that assigns to every finite family tree starting with variable X its optimal width. Let ν (i) be the i-th Newton approximant of the fundamental equation. We have for every i 0: Pr(W opt X i) = ν (i) X. Similar result for systems with a positive probability of non-termination.

Example ν (k) Y ν (k) Z k f k X (0) f k Y (0) f k Z ν (k) X 0 0.000 0.000 0.000 0.000 0.000 0.000 4 0.753 0.600 0.887 0.933 0.899 0.972 8 0.834 0.738 0.926 0.983 0.974 0.993 12 0.873 0.802 0.944 0.983 0.974 0.993 16 0.897 0.839 0.955 0.983 0.974 0.993

Black-box schedulers No positive results yet on optimal black-box schedulers. Examples showing that the optimal scheduler requires unbounded memory. Watch this space...

A particular case: One-type systems Consider the family of systems X p XX X q ɛ where p < q. Theorem: Distribution of black-box schedulers Let σ, τ be black-box schedulers, and let W σ, W τ be their associated widths. We have: Pr(W σ k) = Pr(W τ k) for every k 0. Let W bb denote the random variable of an arbitrary black-box scheduler. Then Pr[W bb k] = ( ) ( 1 p p q q 1 ( p q ) k ) k 1

Competitive analysis: Expectation of width 8 7 6 n 5 4 3 2 1 0 0.1 0.2 0.3 0.4 0.5 p EXpess EXblack EXopt

Competitive analysis: 95% Quantiles 128 64 32 n 16 8 4 3 2 1 0.1 0.2 0.3 0.4 0.5 p QXpess QXblack QXopt

Conclusions Stochastic branching processes naturally appear in computer science.

Conclusions Stochastic branching processes naturally appear in computer science. The distinction synchronous/asynchronous has not been yet considered.

Conclusions Stochastic branching processes naturally appear in computer science. The distinction synchronous/asynchronous has not been yet considered. Random variables associated to space consumption have not yet been studied.

Conclusions Stochastic branching processes naturally appear in computer science. The distinction synchronous/asynchronous has not been yet considered. Random variables associated to space consumption have not yet been studied. There is a surprising connection between optimal schedulers and Newton approximants.

Conclusions Stochastic branching processes naturally appear in computer science. The distinction synchronous/asynchronous has not been yet considered. Random variables associated to space consumption have not yet been studied. There is a surprising connection between optimal schedulers and Newton approximants. The one-type case is almost completely solved.

Back to victorian Britain... There was concern amongst the Victorians that aristocratic families were becoming extinct. Francis Galton (1822-1911), anthropologist and polymath: Are families of English peers more likely to die out than the families of ordinary men? Let p 0, p 1,..., p n be the respective probabilities that a man has 0, 1, 2,... n sons, let each son have the same probability for sons of his own, and so on. What is the probability that the male line goes extinct? Henry William Watson (1827-1903), vicar and mathematician: The probability is the least solution of X = p 0 + p 1 X + p 2 X 2 +... + p n X n

English peers again... Due to an algebraic error, Watson concluded wrongly that all families eventually die out.

English peers again... Due to an algebraic error, Watson concluded wrongly that all families eventually die out. But Galton found a fact, that, with hindsight, provides a possible explanation for the observed data:

English peers again... Due to an algebraic error, Watson concluded wrongly that all families eventually die out. But Galton found a fact, that, with hindsight, provides a possible explanation for the observed data: English peers tended to marry heiresses (daughters without brothers)

English peers again... Due to an algebraic error, Watson concluded wrongly that all families eventually die out. But Galton found a fact, that, with hindsight, provides a possible explanation for the observed data: English peers tended to marry heiresses (daughters without brothers) Heiresses come from families with lower fertility rates (lower probabilities p 1, p 2, p 3,... ).

English peers again... Due to an algebraic error, Watson concluded wrongly that all families eventually die out. But Galton found a fact, that, with hindsight, provides a possible explanation for the observed data: English peers tended to marry heiresses (daughters without brothers) Heiresses come from families with lower fertility rates (lower probabilities p 1, p 2, p 3,... ).... which increases the probability of the family dying out.