Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011....

93
Two stories about love for Luis Montejano’s 60th birthday (A topological perspective on distributed computing) Sergio Rajsbaum Instituto de Matemáticas UNAM From the book coauthored with Maurice Herlihy and Dmitry Kozlov to be published by Elsevier

Transcript of Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011....

Page 1: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two stories about love for Luis Montejano’s 60th

birthday(A topological perspective on distributed computing)

Sergio RajsbaumInstituto de Matemáticas

UNAM

From the book coauthored with Maurice Herlihyand Dmitry Kozlov to be published by Elsevier

Page 2: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

The setting

• Characters: men and woman

• Communication maybe limited or unreliable

• Each one has partial information about reality

Yet, the characters need to solve some task

Page 3: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Concurrency is confusing

It may be easy to follow sequential procedures, such as preparing an omelette from a recipe

It is much harder to pursue concurrent activities, such as preparing a ten-course meal with limited pots and pans, all while speaking to a friend on the telephone.

Page 4: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Concurrency is everywhere

Nearly every activity in our society depends on the Internet

Page 5: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Concurrency is everywhere

At a smaller scale:

• as processor feature sizes shrink, they become harder to cool, manufacturers have given up trying to make processors faster.

• Instead, they have focused on making processors more parallel.

Page 6: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Concurrency is everywhere

At the other extreme:

• Internet, cloud computing and peer-to-peer systems may encompass thousands of machines that span every continent.

Page 7: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

The stories

• Cheating wives

(A.k.a. muddy children, from knowledge theory)

• Two insecure lovers

(A.k.a. Coordinated attack, from databases and networking)

Page 8: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Theory of concurrency

This talk is about

Page 9: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Theory of concurrency

This talk is about

Using topology

Page 10: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Distributed systems...

• Individual sequential processes (men and women)

• Cooperate to solve some task

• By message passing, shared memory, or any other mechanism

Page 11: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

... and topology

Combinatorial topology provides a common framework that unifies these models.

Many models, appear to have little in common besides the common concern with complexity, failures and timing.

Page 12: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

How topology

Appeal of the approach:

reduces the problem of reasoning about computations that unfold in time to the more familiar problem of reasoning about static combinatorial structures.

“freeze” all possible interleavings and failure scenarios into a single, static, simplicial complex

Page 13: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Why topologyDistributed algorithms are more challenging than their sequential counterparts because each process, has only a limited view of the world (overall state of the computation)

Placing together all these views yields a simplicial complex

Page 14: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wives

Page 15: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wives

Page 16: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wivesThere were one million married couples.

Page 17: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wivesThere were one million married couples.

40 wives were unfaithful

Page 18: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wivesThere were one million married couples.

40 wives were unfaithful

Each husband knew whether other men's wives were unfaithful but he did now know whether his wife was unfaithful.

Page 19: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wivesThere were one million married couples.

40 wives were unfaithful

Each husband knew whether other men's wives were unfaithful but he did now know whether his wife was unfaithful.

The King of the country announced “There is at least one unfaithful wife” and publicized the following decree

Page 20: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wives decree

He asks the following question over and over:

can you tell for sure whether or not you are a cuckold?

Page 21: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Cheating wives decree

He asks the following question over and over:

can you tell for sure whether or not you are a cuckold?

Assuming that all of the men are intelligent, honest, and answer simultaneously, what will happen?

Page 22: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Analysis of the puzzle

First operational, then combinatorial

Page 23: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)First, suppose that exactly one is cuckold

Page 24: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)First, suppose that exactly one is cuckold

He sees nobody else, can conclude that he is the one

Page 25: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)First, suppose that exactly one is cuckold

He sees nobody else, can conclude that he is the one

The others cannot tell whether or not they are cuckolds

Page 26: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)First, suppose that exactly one is cuckold

He sees nobody else, can conclude that he is the one

The others cannot tell whether or not they are cuckolds

At the first question, exactly one says “yes”

Page 27: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)First, suppose that exactly one is cuckold

He sees nobody else, can conclude that he is the one

The others cannot tell whether or not they are cuckolds

At the first question, exactly one says “yes”

At the second, all others say “no”

Page 28: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)Now, suppose that exactly two are cuckolds

Page 29: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)Now, suppose that exactly two are cuckolds

They know at least two are cuckolds, because nobody spoke in first round

Page 30: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)Now, suppose that exactly two are cuckolds

They know at least two are cuckolds, because nobody spoke in first round

They see only one cuckold

Page 31: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)Now, suppose that exactly two are cuckolds

They know at least two are cuckolds, because nobody spoke in first round

They see only one cuckold

At the second question, exactly two says “yes”

Page 32: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)Now, suppose that exactly two are cuckolds

They know at least two are cuckolds, because nobody spoke in first round

They see only one cuckold

At the second question, exactly two says “yes”

At the third, all others say “no”

Page 33: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (3)

Suppose that exactly k are cuckolds, by induction...

Page 34: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (3)

Suppose that exactly k are cuckolds, by induction...

At the k-th question, exactly k say “yes”

Page 35: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (3)

Suppose that exactly k are cuckolds, by induction...

At the k-th question, exactly k say “yes”

At the (k+1)-th, all others say “no”

Page 36: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

Local states

Page 37: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

A local state is a man’s state of knowledge

Local states

Page 38: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

A local state is a man’s state of knowledge

It is represented by a vector: in position i has 0 if man i is known to be clean, and 1 if cuckold

Local states

Page 39: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

A local state is a man’s state of knowledge

It is represented by a vector: in position i has 0 if man i is known to be clean, and 1 if cuckold

Because man i does not know its own status, its input vector has ⊥ in position i

Local states

Page 40: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Global inputs

12 3

Each possible input configuration is represented as a simplex, linking compatible states for the men

meaning that the men can be in these states together

Page 41: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

12 3 Initial Complex!"" #"$!%!"" #"$!%

&& &&& &

' & '&

& &

&' & '

''

'&&'

!"" ()*+,

''' ' ''

!"" ()*+,

man 3 cuckold

men 1,3 cuckold

all cuckolds

no cuckolds

Page 42: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

!"" #"$!%!"" #"$!%

&& &&& &

' & '&

& &

&' & '

''

'&&'

!"" ()*+,

''' ' ''

!"" ()*+,

Man 1 knows that man 2 is clean and man 3

is cuckold

12 3 Initial Complexno cuckolds

all cuckolds

Page 43: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

!"" #"$!%!"" #"$!%

&& &&& &

' & '&

& &

&' & '

''

'&&'

!"" ()*+,

''' ' ''

!"" ()*+,

he may be clean...

12 3 Initial Complexno cuckolds

all cuckolds

Page 44: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

!"" #"$!%!"" #"$!%

&& &&& &

' & '&

& &

&' & '

''

'&&'

!"" ()*+,

''' ' ''

!"" ()*+,

...or he may be cuckold

12 3 Initial Complexno cuckolds

all cuckolds

Page 45: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

12 3 Initial Complex!"" #"$!%!"" #"$!%

&& &&& &

' & '&

& &

&' & '

''

'&&'

!"" ()*+,

''' ' ''

!"" ()*+,

disappears when announced

“at least one cuckold”

that is, men know that each 2-simplex is a possible initial state, except for the one where all are clean

no cuckolds

all cuckolds

Page 46: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

Page 47: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

EvolutionBefore mother’s announcement

12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

Page 48: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

3 vertexes exposed, where someone knows its status

Page 49: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

Nobody spoke previous round, 6 vertexes exposed

Page 50: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

All 3 announce “cuckolds”

Page 51: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution12 3

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

Page 52: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

12 3

Page 53: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

12 3

No decisions

Page 54: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

3 vertexes labeled, “cuckold”

12 3

Page 55: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

Nobody spoke previous round, 6 vertexes labeled “cuckold”

12 3

Page 56: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

3 vertexes labeled “cuckold”

12 3

Page 57: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Decisions

!"#$!%&'!!#()%*'

!#$!%&' "#$!%&'

12 3

Page 58: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Output complex

Each man should say “yes” or “no” All combinations are possible...

Decisions induce a map to this complex

Page 59: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Output complex

Each man should say “yes” or “no” All combinations are possible...

... except all “no” after King’s announcement

Decisions induce a map to this complex

Page 60: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Solving the cheating wives task

Decisions define a simplicial map from input complex to output complex that respects the task’s specification

Each man decides an output value, on one of its local states

In this task communication is very limited. More generally, for any task...

Page 61: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Solving any task

A task is solvable if and only if there exists a subdivision of the input complex and a simplicial map to the output complex that respects the task’s specification

Herlihy, Shavit 1993

In the basic, wait-free model

Wait-free: asynchronous model where any number of processes can crash

Page 62: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

Page 63: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Coordination

We often need to ensure that two things happen together or not at all.

For example, a banking system needs to ensure that if an automatic teller dispenses cash, then the corresponding account balance is debited, and vice-versa.

Page 64: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

Page 65: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

• Alice and Bob want to schedule a meeting.

Page 66: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

• Alice and Bob want to schedule a meeting.

• If both attend, they win, but if only one attends, defeat and humiliation is felt.

Page 67: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

• Alice and Bob want to schedule a meeting.

• If both attend, they win, but if only one attends, defeat and humiliation is felt.

• As a result, neither will show up without a guarantee that the other will show up at the same time.

Page 68: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Two insecure lovers

• Alice and Bob want to schedule a meeting.

• If both attend, they win, but if only one attends, defeat and humiliation is felt.

• As a result, neither will show up without a guarantee that the other will show up at the same time.

• Communication is be SMS only.

Page 69: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Communication problems

• Normally, it takes a message one hour to arrive.

• However, it is possible that it is gets lost.

Page 70: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

The puzzle

How long will it take Alice and Bob to coordinate their meeting?

Fortunately, on this particular night, all the messages arrive safely.

Page 71: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Analysis of the puzzle

First operational, then combinatorial

Page 72: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Suppose Alice initiates the communication

Page 73: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Page 74: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Suppose Bob receives a message at 1:00 from Alice saying “meet at midnight”. Should Bob show up?

Page 75: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Suppose Bob receives a message at 1:00 from Alice saying “meet at midnight”. Should Bob show up?

Although her message was in fact delivered, Alice does not know. She therefore considers it possible that Bob did not receive the message.

Page 76: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Suppose Bob receives a message at 1:00 from Alice saying “meet at midnight”. Should Bob show up?

Although her message was in fact delivered, Alice does not know. She therefore considers it possible that Bob did not receive the message.

Hence Alice cannot decide to show up, given her current state of knowledge.

Page 77: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (1)

Suppose Bob receives a message at 1:00 from Alice saying “meet at midnight”. Should Bob show up?

Although her message was in fact delivered, Alice does not know. She therefore considers it possible that Bob did not receive the message.

Hence Alice cannot decide to show up, given her current state of knowledge.

Knowing this, Bob will not show up based solely on Alice’s message.

Page 78: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)

Page 79: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)

Naturally, Bob reacts by sending an acknowledgment back to Alice, which arrives at 2:00

Page 80: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)

Naturally, Bob reacts by sending an acknowledgment back to Alice, which arrives at 2:00

Will Alice plan to show up?

Page 81: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Operational analysis (2)

Naturally, Bob reacts by sending an acknowledgment back to Alice, which arrives at 2:00

Will Alice plan to show up?

Unfortunately, Alice’s predicament is similar to Bob’s predicament at 1:00, she cannot yet decide to show up

Page 82: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

The key insight is that the difficulty is not caused by what actually happens (all messages actually arrive) but by the uncertainty regarding what might have happened.

No number of successfully delivered acknowledgments will be enough to ensure that show up safely!

Page 83: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

Page 84: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

Initially Alice has two possible decisions: meet at dawn, or meet at noon the next day.

Page 85: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

Initially Alice has two possible decisions: meet at dawn, or meet at noon the next day.

Bob has only one initial state, the white vertex in the middle, waiting to hear Alice’s preference.

Page 86: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Combinatorial analysis

Initially Alice has two possible decisions: meet at dawn, or meet at noon the next day.

Bob has only one initial state, the white vertex in the middle, waiting to hear Alice’s preference.

This vertex belongs to two edges (simplexes)

Page 87: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Evolution

!""#$%&#"&'#()* !""#$%&#"&)++)*

)++)

',-./,0,' ',-./,0,'-+1"2344&56

',-./,0,' ',-./,0,'-+1"

',-./,0,' ',-./,0,'-+1" -+1"7344&56

meet at noonmeet at dawn

Page 88: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Topology implies impossibility

No number of successfully delivered acknowledgments will be enough to ensure that show up safely, because the complex is subdivided, and remains connected!

Page 89: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

No number of successfully delivered acknowledgments will be enough to ensure that show up safely!

Page 90: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Because not possible to map a connected input complex into a disconnected output complex

Page 91: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

To conclude

Page 92: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological
Page 93: Two stories about love for Luis Montejano’s 60th birthdayrajsbaum/talks/talk-luis60.pdf · 2011. 10. 17. · Two stories about love for Luis Montejano’s 60th birthday (A topological

Happy birthday Luis !