wait free solvability of equality negation tasks
play

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,


  1. Wait-free Solvability of Equality Negation Tasks Éric Goubault 1 Marijana Lazić 2 Jérémy Ledent 1 Sergio Rajsbaum 3 1 École Polytechnique, Palaiseau, France 2 TU München, Munich, Germany 3 UNAM, Mexico City, Mexico DISC 2019 Budapest, Hungary October 16th, 2019 1 / 13

  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 i P , i Q ∈ { 0 , 1 , 2 } . ◮ Binary decision values d P , d Q ∈ { 0 , 1 } . ◮ Goal: i P = i Q ⇐ ⇒ d P � = d Q . 0 1 2 0 1 Θ : I → 2 O Task specification 0 1 2 0 1 Input complex I Output complex O 2 / 13

  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 i P , i Q ∈ { 0 , 1 , 2 } . ◮ Binary decision values d P , d Q ∈ { 0 , 1 } . ◮ Goal: i P = i Q ⇐ ⇒ d P � = d Q . 0 1 2 0 1 Θ : I → 2 O Task specification 0 1 2 0 1 Input complex I Output complex O 2 / 13

  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 i P , i Q ∈ { 0 , 1 , 2 } . ◮ Binary decision values d P , d Q ∈ { 0 , 1 } . ◮ Goal: i P = i Q ⇐ ⇒ d P � = d Q . 0 1 2 0 1 Θ : I → 2 O Task specification 0 1 2 0 1 Input complex I Output complex O 2 / 13

  5. Equality Negation (2) Facts: (Lo and Hadzilacos, 2000) (1) EN is not wait-free solvable using read/write registers. Equality Negation / Read/Write 3 / 13

  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. Equality Negation / / Read/Write Consensus 3 / 13

  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). Equality Negation / / Read/Write Consensus / / Booster 3 / 13

  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! Equality Negation / / Consensus Read/Write ≃ EN + Booster / / Booster 3 / 13

  9. Why is Equality Negation interesting? Our goal: understand sub-consensus tasks better. 4 / 13

  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

  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

  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

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

  14. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n v distinct inputs [ ] | 5 / 13

  15. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n v distinct inputs [ ] | agree (all decisions are equal) 5 / 13

  16. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n v distinct inputs [ ] | agree disagree (all decisions are equal) (not all decisions are equal) 5 / 13

  17. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n v distinct inputs [ ] | ? agree disagree (all decisions are equal) (not all decisions are equal) 5 / 13

  18. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n k ℓ distinct inputs [ ] | | 5 / 13

  19. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n k ℓ distinct inputs [ ] | | agree disagree if ℓ ≤ v ≤ n if 1 ≤ v ≤ k 5 / 13

  20. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint if ℓ ≤ v ≤ n if k < v < ℓ if 1 ≤ v ≤ k 5 / 13

  21. Equality Negation for n processes ◮ A fixed number n of processes P 0 , . . . , P n − 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 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint if ℓ ≤ v ≤ n if k < v < ℓ if 1 ≤ v ≤ k − → We get a family of tasks EN( k , ℓ ). 5 / 13

  22. Solvable cases Reminder: parameters 1 ≤ k < ℓ ≤ n . number of 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint 6 / 13

  23. Solvable cases Reminder: parameters 1 ≤ k < ℓ ≤ n . number of 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint � = ∅ Theorem If k +2 ≤ ℓ , the task EN( k , ℓ ) is wait-free solvable using read/write. 6 / 13

  24. Solvable cases Reminder: parameters 1 ≤ k < ℓ ≤ n . number of 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint � = ∅ 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

  25. Solvable cases Reminder: parameters 1 ≤ k < ℓ ≤ n . number of 1 n k ℓ distinct inputs [ ] | | agree disagree no constraint � = ∅ 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

  26. Unsolvable cases Parameter 1 ≤ k < n . number of 1 n k distinct inputs [ | ] agree disagree 7 / 13

  27. Unsolvable cases Parameter 1 ≤ k < n . number of 1 n k distinct inputs [ | ] agree disagree Theorem If k ≤ n/ 2 , the task EN( k , k + 1 ) is not solvable using registers. ◮ Uses Sperner’s Lemma 7 / 13

  28. Unsolvable cases Parameter 1 ≤ k < n . number of 1 n k distinct inputs [ | ] agree disagree 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

  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): 2 2 2 2 0 1 2 1 1 2 2 1 1 0 1 0 0 1 1 2 0 0 2 2 0 1 2 2 0 0 8 / 13

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend