Wait-free Solvability of Equality Negation Tasks ric Goubault 1 - - PowerPoint PPT Presentation

wait free solvability of equality negation tasks
SMART_READER_LITE
LIVE PREVIEW

Wait-free Solvability of Equality Negation Tasks ric Goubault 1 - - PowerPoint PPT Presentation

Wait-free Solvability of Equality Negation Tasks ric Goubault 1 Marijana Lazi 2 Jrmy Ledent 1 Sergio Rajsbaum 3 1 cole Polytechnique, Palaiseau, France 2 TU Mnchen, Munich, Germany 3 UNAM, Mexico City, Mexico DISC 2019 Budapest,


slide-1
SLIDE 1

Wait-free Solvability of Equality Negation Tasks

Éric Goubault1 Marijana Lazić2 Jérémy Ledent1 Sergio Rajsbaum3

1École Polytechnique, Palaiseau, France 2TU München, Munich, Germany 3UNAM, Mexico City, Mexico

DISC 2019

Budapest, Hungary October 16th, 2019

1 / 13

slide-2
SLIDE 2

Equality Negation

(Lo and Hadzilacos, Nondeterministic wait-free hierarchies are not robust, 2000)

◮ Two processes P, Q (represented in black and white). ◮ Three possible inputs values iP , iQ ∈ {0, 1, 2}. ◮ Binary decision values dP , dQ ∈ {0, 1}. ◮ Goal: iP = iQ ⇐

⇒ dP = dQ. 1 1 2 2

Input complex I

1 1

Output complex O Task specification

Θ : I → 2O

2 / 13

slide-3
SLIDE 3

Equality Negation

(Lo and Hadzilacos, Nondeterministic wait-free hierarchies are not robust, 2000)

◮ Two processes P, Q (represented in black and white). ◮ Three possible inputs values iP , iQ ∈ {0, 1, 2}. ◮ Binary decision values dP , dQ ∈ {0, 1}. ◮ Goal: iP = iQ ⇐

⇒ dP = dQ. 1 1 2 2

Input complex I

1 1

Output complex O Task specification

Θ : I → 2O

2 / 13

slide-4
SLIDE 4

Equality Negation

(Lo and Hadzilacos, Nondeterministic wait-free hierarchies are not robust, 2000)

◮ Two processes P, Q (represented in black and white). ◮ Three possible inputs values iP , iQ ∈ {0, 1, 2}. ◮ Binary decision values dP , dQ ∈ {0, 1}. ◮ Goal: iP = iQ ⇐

⇒ dP = dQ. 1 1 2 2

Input complex I

1 1

Output complex O Task specification

Θ : I → 2O

2 / 13

slide-5
SLIDE 5

Equality Negation (2)

Facts: (Lo and Hadzilacos, 2000) (1) EN is not wait-free solvable using read/write registers.

Read/Write Equality Negation

/ 3 / 13

slide-6
SLIDE 6

Equality Negation (2)

Facts: (Lo and Hadzilacos, 2000) (1) EN is not wait-free solvable using read/write registers. (2) Consensus is not wait-free solvable using EN objects.

Read/Write Equality Negation Consensus

/ / 3 / 13

slide-7
SLIDE 7

Equality Negation (2)

Facts: (Lo and Hadzilacos, 2000) (1) EN is not wait-free solvable using read/write registers. (2) Consensus is not wait-free solvable using EN objects. (3) The “Booster” object also has properties (1) and (2).

Read/Write Equality Negation Booster Consensus

/ / / / 3 / 13

slide-8
SLIDE 8

Equality Negation (2)

Facts: (Lo and Hadzilacos, 2000) (1) EN is not wait-free solvable using read/write registers. (2) Consensus is not wait-free solvable using EN objects. (3) The “Booster” object also has properties (1) and (2). (4) But EN + Booster can implement consensus!

Read/Write Equality Negation Booster Consensus ≃ EN + Booster

/ / / / 3 / 13

slide-9
SLIDE 9

Why is Equality Negation interesting?

Our goal: understand sub-consensus tasks better.

4 / 13

slide-10
SLIDE 10

Why is Equality Negation interesting?

Our goal: understand sub-consensus tasks better. Equality negation shares characteristics with two important tasks:

◮ Consensus: if inputs are different, the processes must agree. ◮ Symmetry breaking: if inputs are equal, they must disagree. 4 / 13

slide-11
SLIDE 11

Why is Equality Negation interesting?

Our goal: understand sub-consensus tasks better. Equality negation shares characteristics with two important tasks:

◮ Consensus: if inputs are different, the processes must agree. ◮ Symmetry breaking: if inputs are equal, they must disagree.

We have two papers about this task: (1) A Dynamic Epistemic Logic Analysis of the Equality Negation Task, DaLi’19. − → The reason why EN is not solvable cannot be expressed in the language of epistemic logic.

4 / 13

slide-12
SLIDE 12

Why is Equality Negation interesting?

Our goal: understand sub-consensus tasks better. Equality negation shares characteristics with two important tasks:

◮ Consensus: if inputs are different, the processes must agree. ◮ Symmetry breaking: if inputs are equal, they must disagree.

We have two papers about this task: (1) A Dynamic Epistemic Logic Analysis of the Equality Negation Task, DaLi’19. − → The reason why EN is not solvable cannot be expressed in the language of epistemic logic. (2) This talk: − → Extend the task to n processes and study its solvability.

4 / 13

slide-13
SLIDE 13

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}. 5 / 13

slide-14
SLIDE 14

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values.

number of distinct inputs

[ 1 ] n

|

v

5 / 13

slide-15
SLIDE 15

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values.

number of distinct inputs

[ 1 ] n

|

v agree

(all decisions are equal)

5 / 13

slide-16
SLIDE 16

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values.

number of distinct inputs

[ 1 ] n

|

v disagree

(not all decisions are equal)

agree

(all decisions are equal)

5 / 13

slide-17
SLIDE 17

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values.

number of distinct inputs

[ 1 ] n

|

v disagree

(not all decisions are equal)

agree

(all decisions are equal)

?

5 / 13

slide-18
SLIDE 18

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values. Fix two parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

5 / 13

slide-19
SLIDE 19

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values. Fix two parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree if 1 ≤ v ≤ k agree if ℓ ≤ v ≤ n

5 / 13

slide-20
SLIDE 20

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values. Fix two parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree if 1 ≤ v ≤ k no constraint if k < v < ℓ agree if ℓ ≤ v ≤ n

5 / 13

slide-21
SLIDE 21

Equality Negation for n processes

◮ A fixed number n of processes P0, . . . , Pn−1. ◮ At least n possible input values {0, 1, . . . , n − 1}. ◮ Binary decision values {0, 1}.

Let 1 ≤ v ≤ n denote the number of distinct input values. Fix two parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree if 1 ≤ v ≤ k no constraint if k < v < ℓ agree if ℓ ≤ v ≤ n

− → We get a family of tasks EN(k, ℓ).

5 / 13

slide-22
SLIDE 22

Solvable cases

Reminder: parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree no constraint agree

6 / 13

slide-23
SLIDE 23

Solvable cases

Reminder: parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree no constraint

= ∅

agree

Theorem

If k +2 ≤ ℓ, the task EN(k,ℓ) is wait-free solvable using read/write.

6 / 13

slide-24
SLIDE 24

Solvable cases

Reminder: parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree no constraint

= ∅

agree

Theorem

If k +2 ≤ ℓ, the task EN(k,ℓ) is wait-free solvable using read/write.

◮ Very simple algorithm (one round of immediate-snapshot). 6 / 13

slide-25
SLIDE 25

Solvable cases

Reminder: parameters 1 ≤ k < ℓ ≤ n.

number of distinct inputs

[ 1 ] n

|

k

|

disagree no constraint

= ∅

agree

Theorem

If k +2 ≤ ℓ, the task EN(k,ℓ) is wait-free solvable using read/write.

◮ Very simple algorithm (one round of immediate-snapshot). ◮ Not anonymous! 6 / 13

slide-26
SLIDE 26

Unsolvable cases

Parameter 1 ≤ k < n.

number of distinct inputs

[ 1 ] n

|

k

disagree agree

7 / 13

slide-27
SLIDE 27

Unsolvable cases

Parameter 1 ≤ k < n.

number of distinct inputs

[ 1 ] n

|

k

disagree agree

Theorem

If k ≤ n/2, the task EN(k,k + 1) is not solvable using registers.

◮ Uses Sperner’s Lemma 7 / 13

slide-28
SLIDE 28

Unsolvable cases

Parameter 1 ≤ k < n.

number of distinct inputs

[ 1 ] n

|

k

disagree agree

Theorem

If k ≤ n/2, the task EN(k,k + 1) is not solvable using registers.

◮ Uses Sperner’s Lemma

Theorem

If n − k is odd, the task EN(k,k + 1) is not solvable using registers.

◮ Uses the Index Lemma 7 / 13

slide-29
SLIDE 29

Proof sketch for n = 3, k = 2

◮ Three processes: Black, Gray, White. ◮ Three inputs: 0, 1, 2.

The input complex I looks like this (exploded view):

1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 2 2 2 2 2 2 8 / 13

slide-30
SLIDE 30

Proof sketch for n = 3, k = 2

◮ Three processes: Black, Gray, White. ◮ Three inputs: 0, 1, 2.

The input complex I looks like this (exploded view):

1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 2 2 2 2 2 2

> 2 distinct inputs → agree ≤ 2 distinct inputs → disagree

8 / 13

slide-31
SLIDE 31

Proof sketch for n = 3, k = 2

We focus on a subcomplex S ⊆ I of the input complex:

1 1 1 S ⊆ I Disagree

9 / 13

slide-32
SLIDE 32

Proof sketch for n = 3, k = 2

We focus on a subcomplex S ⊆ I of the input complex:

1 1 1 S ⊆ I Disagree

9 / 13

slide-33
SLIDE 33

Proof sketch for n = 3, k = 2

We focus on a subcomplex S ⊆ I of the input complex:

1 1 1 2 S ⊆ I Disagree Agree

9 / 13

slide-34
SLIDE 34

Proof sketch for n = 3, k = 2

We focus on a subcomplex S ⊆ I of the input complex:

1 1 1 S ⊆ I Disagree

9 / 13

slide-35
SLIDE 35

Proof sketch for n = 3, k = 2

We focus on a subcomplex S ⊆ I of the input complex:

1 1 1 S ⊆ I Disagree 1 1 1 H ⊆ S Cut one half

9 / 13

slide-36
SLIDE 36

Proof sketch for n = 3, k = 2

After immediate-snapshot communication (here, one round):

SubDiv(H) ⊆ Protocol Complex

10 / 13

slide-37
SLIDE 37

Proof sketch for n = 3, k = 2

After immediate-snapshot communication (here, one round):

SubDiv(H) ⊆ Protocol Complex

1 1 1

T ⊆ Output Complex decision map δ

10 / 13

slide-38
SLIDE 38

Proof sketch for n = 3, k = 2

After immediate-snapshot communication (here, one round):

SubDiv(H) ⊆ Protocol Complex

1 1 1

T ⊆ Output Complex decision map δ

10 / 13

slide-39
SLIDE 39

Proof sketch for n = 3, k = 2

After immediate-snapshot communication (here, one round):

SubDiv(H) ⊆ Protocol Complex

1 1 1

T ⊆ Output Complex decision map δ

10 / 13

slide-40
SLIDE 40

Proof sketch for n = 3, k = 2

After immediate-snapshot communication (here, one round):

SubDiv(H) ⊆ Protocol Complex

1 1 1

T ⊆ Output Complex decision map δ The boundary of SubDiv(H) is winding twice around the boundary of T.

10 / 13

slide-41
SLIDE 41

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

11 / 13

slide-42
SLIDE 42

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1). Simplicial map

11 / 13

slide-43
SLIDE 43

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1). Simplicial map

11 / 13

slide-44
SLIDE 44

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1). Simplicial map

11 / 13

slide-45
SLIDE 45

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

11 / 13

slide-46
SLIDE 46

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

  • 11 / 13
slide-47
SLIDE 47

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

  • 11 / 13
slide-48
SLIDE 48

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

  • +

+ −

Content = 1

11 / 13

slide-49
SLIDE 49

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1). + Content = 1 Index = 1

11 / 13

slide-50
SLIDE 50

The Index Lemma

A combinatorial version of the notion of degree of a continuous map (or winding number, in dimension 1).

  • +

+ −

+ Content = 1 Index = 1

Index Lemma

In a pseudomanifold with boundary, Index = (−1)i Content.

11 / 13

slide-51
SLIDE 51

Proof sketch for n = 3, k = 2

Back to the subcomplex H of the input complex. We color the vertices with the value: process number + decision value mod n

12 / 13

slide-52
SLIDE 52

Proof sketch for n = 3, k = 2

Back to the subcomplex H of the input complex. We color the vertices with the value: process number + decision value mod n The index of H is 2.

12 / 13

slide-53
SLIDE 53

Proof sketch for n = 3, k = 2

Back to the subcomplex H of the input complex. We color the vertices with the value: process number + decision value mod n The index of H is 2. Moreover, chromatic subdividions preserve the index, so the index of SubDiv(H) is also 2.

12 / 13

slide-54
SLIDE 54

Proof sketch for n = 3, k = 2

Back to the subcomplex H of the input complex. We color the vertices with the value: process number + decision value mod n The index of H is 2. Moreover, chromatic subdividions preserve the index, so the index of SubDiv(H) is also 2. By the Index lemma, the content of SubDiv(H) is ± 2. This implies that there are monochromatic triangles w.r.t. decision values.

12 / 13

slide-55
SLIDE 55

Conclusion

We have studied a family of tasks EN(k,ℓ), for 1 ≤ k < ℓ ≤ n.

◮ Solvable if k + 2 ≤ ℓ, ◮ Unsolvable if k ≤ n/2 and ℓ = k + 1, ◮ Unsolvable if (n − k) is odd and ℓ = k + 1, 13 / 13

slide-56
SLIDE 56

Conclusion

We have studied a family of tasks EN(k,ℓ), for 1 ≤ k < ℓ ≤ n.

◮ Solvable if k + 2 ≤ ℓ, ◮ Unsolvable if k ≤ n/2 and ℓ = k + 1, ◮ Unsolvable if (n − k) is odd and ℓ = k + 1, ◮ Open question if k > n/2 and (n − k) is even and ℓ = k + 1. 13 / 13

slide-57
SLIDE 57

Conclusion

We have studied a family of tasks EN(k,ℓ), for 1 ≤ k < ℓ ≤ n.

◮ Solvable if k + 2 ≤ ℓ, ◮ Unsolvable if k ≤ n/2 and ℓ = k + 1, ◮ Unsolvable if (n − k) is odd and ℓ = k + 1, ◮ Open question if k > n/2 and (n − k) is even and ℓ = k + 1.

Two key ingredients for impossibility:

◮ The Index lemma, also used for Weak Symmetry Breaking. ◮ Connectedness of some subcomplex of the input.

1 1 2 2

13 / 13

slide-58
SLIDE 58

Conclusion

We have studied a family of tasks EN(k,ℓ), for 1 ≤ k < ℓ ≤ n.

◮ Solvable if k + 2 ≤ ℓ, ◮ Unsolvable if k ≤ n/2 and ℓ = k + 1, ◮ Unsolvable if (n − k) is odd and ℓ = k + 1, ◮ Open question if k > n/2 and (n − k) is even and ℓ = k + 1.

Two key ingredients for impossibility:

◮ The Index lemma, also used for Weak Symmetry Breaking. ◮ Connectedness of some subcomplex of the input.

Thank you! Thank you!

1 1 2 2

13 / 13