Renaming and Oriented Manifolds

Slides:



Advertisements
Similar presentations
Parikshit Gopalan Georgia Institute of Technology Atlanta, Georgia, USA.
Advertisements

Lecture 19. Reduction: More Undecidable problems
Bigamy Eli Gafni UCLA GETCO Outline Models, tasks, and solvability What is SM? r/w w.f. asynch computability Sperner Lemma as a consequence of the.
C&O 355 Mathematical Programming Fall 2010 Lecture 22 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
Outline. Theorem For the two processor network, Bit C(Leader) = Bit C(MaxF) = 2[log 2 ((M + 2)/3.5)] and Bit C t (Leader) = Bit C t (MaxF) = 2[log 2 ((M.
Having Proofs for Incorrectness
From Topological Methods to Combinatorial Proofs of Kneser Graphs Daphne Der-Fen Liu 劉 德 芬 Department of Mathematics California State University, Los Angeles.
1 Nir Shavit Tel-Aviv University and Sun Microsystems Labs (Joint work with Maurice Herlihy of Brown University) © Herlihy and Shavit 2004 The Topological.
R/W Reductions Eli Gafni UCLA ICDCN06 12/30. Outline Tasks and r/w impossible task: –2 cons –3 cons NP-completeness R/W reduction “Weakest Unsolvable.
The number of edge-disjoint transitive triples in a tournament.
Topological nonexistence results in complexity theory and combinatorics László Lovász Microsoft Research One Microsoft Way, Redmond, WA 98052
Asymmetric Ramsey Properties of Random Graphs involving Cliques Reto Spöhel Joint work with Martin Marciniszyn, Jozef Skokan, and Angelika Steger TexPoint.
Deriving an Algorithm for the Weak Symmetry Breaking Task Armando Castañeda Sergio Rajsbaum Universidad Nacional Autónoma de México.
1 Separator Theorems for Planar Graphs Presented by Shira Zucker.
Two-Process Systems TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA Companion slides for Distributed Computing.
Ch. 8 & 9 – Linear Sorting and Order Statistics What do you trade for speed?
Manifold Protocols TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA Companion slides for Distributed Computing.
C&O 355 Mathematical Programming Fall 2010 Lecture 4 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Binomial Coefficients, Inclusion-exclusion principle
Uri Zwick Tel Aviv University Simple Stochastic Games Mean Payoff Games Parity Games TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
C&O 355 Mathematical Programming Fall 2010 Lecture 5 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
CS Lecture 26 Monochrome Despite Himself. Pigeonhole Principle: If we put n+1 pigeons into n holes, some hole must receive at least 2 pigeons.
Sorting by placement and Shift Sergi Elizalde Peter Winkler By 資工四 B 周于荃.
Theory of Computational Complexity Yusuke FURUKAWA Iwama Ito lab M1.
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
The Foundations: Logic and Proofs
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Monochrome Despite Himself
On the Size of Pairing-based Non-interactive Arguments
Computability and Complexity
Gray Code Can you find an ordering of all the n-bit strings in such a way that two consecutive n-bit strings differed by only one bit? This is called the.
Colorless Wait-Free Computation
Algebraic Topology and Distributed Computing part two
Byzantine-Resilient Colorless Computaton
Elements of Combinatorial Topology
Algebraic Topology and Distributed Computing
Branching Programs Part 3
CSCE 411 Design and Analysis of Algorithms
Elements of Combinatorial Topology
Solvability of Colorless Tasks in Different Models
Wait-Free Computability for General Tasks
CS 154, Lecture 6: Communication Complexity
CSCE 411 Design and Analysis of Algorithms
Alternating Bit Protocol
Distributed Consensus
Enumerating Distances Using Spanners of Bounded Degree
Complexity 6-1 The Class P Complexity Andrei Bulatov.
The Foundations: Logic and Proofs
RS – Reed Solomon List Decoding.
Simulations and Reductions
Combinatorial Topology and Distributed Computing
Alternating tree Automata and Parity games
Algebraic Topology and Decidability in Distributed Computing
Combinatorial Topology and Distributed Computing
Rodolfo Conde Joint work with Sergio Rajsbaum Instituto de Matemáticas
Task Solvability in Different Models
CSE 321 Discrete Structures
NP-Complete Problems.
Algebraic Topology and Distributed Computing part three
CSE 6408 Advanced Algorithms.
Computational Geometry
The Theory of NP-Completeness
Combinatorial Topology and Distributed Computing
Combinatorial Topology and Distributed Computing
Hashing.
Locality In Distributed Graph Algorithms
Lecture 23 NP-Hard Problems
Presentation transcript:

Renaming and Oriented Manifolds Companion slides for Distributed Computing Through Combinatorial Topology Maurice Herlihy & Dmitry Kozlov & Sergio Rajsbaum Distributed Computing though Combinatorial Topology TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA 1

Autonomous Air Traffic Control DL227 AA082 36,000 ft 35,000 ft 34,000 ft AL991 33,000 ft Pick your own altitude! How many choices do you need? 1-Jan-19

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for 2n-Renaming

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for 2n-Renaming

Index Independence Avoid trivial solutions … Pi chooses output name i? Pi knows its name, but not i Can test names for order & equality only Output depends on input and interleavings only 1-Jan-19

chromatic subdivision Protocol for 2n+1 Names ¾n = {P0, …, Pn} ¢2n = {0, …,2n} Let … We will construct chromatic subdivision rigid simplicial map ½: Rename(¾n)  ¢2n 1-Jan-19

Protocol for 2n Names ½: Rename(¾n)  ¢2n means that a wait-free immediate snapshot protocol exists we will also display the protocol … 1-Jan-19

easy to check that map is rigid, 2 processes, 3 names 1 2 easy to check that map is rigid, and depends only on order of process names rename2.pdf

shared Boolean flag[2] = {false, false} // code for P_1 flag[1] := true if (flag[0]) decide 1 else decide 0 // code for P_0 flag[0] := true if (flag[1]) decide 2

Index-independent ) symmetric on boundary 3 processes, 5 names 2 2 1 1 rename2.pdf 1 2 Index-independent ) symmetric on boundary

Index-independent ) symmetric on boundary 3 processes, 5 names 2 2 1 1 rename2.pdf 1 2 Index-independent ) symmetric on boundary

add “central” n-simplex 3 processes, 5 names 2 2 1 1 rename3.eps 1 2 add “central” n-simplex

union each boundary simplex with complementary central face 3 processes, 5 names union each boundary simplex with complementary central face 2 2 1 1 rename3.eps 1 2

Central vertex for 3 processes, P0 gets 2n 5 names 2 2 4 1 1 1 2 2 2 4 1 1 rename3.eps 1 2

3 processes, 5 names that’s too many! add new names? 2 2 3 4 1 1 5 1 2 2 2 3 4 1 1 that’s too many! add new names? rename3.eps 5 1 2

3 processes, 5 names use 2-process subdivision here 2 2 1 1 1 2 use 2-process subdivision here 2 2 1 1 rename3.eps 1 2

3 processes, 5 names except go “down” from 2n-1 2 2 3 4 1 1 1 2 3 1 2 except go “down” from 2n-1 2 2 3 4 1 1 1 2 rename4.eps 3 1 2

take relative subdivision 3 processes, 5 names 2 2 3 4 1 1 1 2 rename4.eps 3 take relative subdivision 1 2

rename(tag, first, direction, r) peers := {P | same tag, round} up dn direction? first := first + 2|peers| first - 2|peers| no yes Am I max peer? return rename( tag+peers, first, !direction, r+1) return first

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for 2n-Renaming

Weak Symmetry-Breaking If all processes participate … Weak symmetry-breaking requires breaking processes into two groups. At least one chooses 0, at least one chooses 1 chooses 0 choses 1 1-Jan-19

Weak Symmetry-Breaking If fewer participate … Weak symmetry-breaking requires breaking processes into two groups. we don’t care. chooses 0 choses 1 1-Jan-19

Weak symmetry-breaking is equivalent to 2n-renaming Claim: Weak symmetry-breaking is equivalent to 2n-renaming Lower bound for WSB is lower bound for 2n-renaming … Upper bound too … 1-Jan-19

WSB ) 2n-Renaming WSB suppose q and n+1-q choose 0 choose 1 1-Jan-19 Weak symmetry-breaking requires breaking processes into two groups. suppose q choose 0 and n+1-q choose 1 1-Jan-19

WSB ) 2n-Renaming WSB renaming renaming 0…2q 2n-1, …, 2q+1 1-Jan-19 Weak symmetry-breaking requires breaking processes into two groups. renaming 0…2q renaming 2n-1, …, 2q+1 1-Jan-19

WSB ) 2n-Renaming WSB Ranges do not overlap renaming renaming 0…2q Weak symmetry-breaking requires breaking processes into two groups. renaming 0…2q renaming 2n-1, …, 2q+1 Ranges do not overlap 1-Jan-19

2n-Renaming ) WSB 2n-renaming 3 1 1-Jan-19 Weak symmetry-breaking requires breaking processes into two groups. 3 1 1-Jan-19

2n-Renaming ) WSB 2n-renaming Cannot all be 0 or all 1 parity parity Weak symmetry-breaking requires breaking processes into two groups. Cannot all be 0 or all 1 parity parity 3 (mod2) = 1 parity 0 (mod 2) = 1 1-Jan-19 1 (mod 2) = 1

There is no 3-process weak symmetry-breaking protocol Theorem There is no 3-process weak symmetry-breaking protocol Hence no renaming for 3 processes and 4 names 1-Jan-19

Reminder: Cannot Map Boundary Around a Hole Hole is an obstruction ? 1-Jan-19

WSB Output Complex 1 1 1 1-Jan-19

Protocol Complex (schematic) 1-Jan-19

Boundary = 2-Process Executions 1-Jan-19

Protocol Complex for One Process Execution ¥( ) decides 1 WLOG ¥( ) decides 1 by symmetry ¥( ) decides 1 by symmetry 1-Jan-19

2-Process execution might be mapped this way … boundary protocol Wraps around -1 times output 1-Jan-19

2-Process execution might be mapped that way … boundary protocol Wraps around +2 times output 1-Jan-19

In General … boundary Wraps around hole 3k-1 ≠ 0 times QED! protocol output 1-Jan-19

Conjecture For n+1 processes … the boundary wraps around the hole … (n+1) ¢ k  0 times … so 2n-renaming is impossible! 1-Jan-19

Only holds if n+1 is a prime power! Wrong! Conjecture For n+1 processes … Only holds if n+1 is a prime power! Wrong! the boundary wraps around the hole … (n+1) ¢ k  0 times … so 2n-renaming is impossible! 1-Jan-19

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for $2n$-Renaming

Simplex 1-Jan-19

Oriented Simplex Sequence: and even permutations: 1-Jan-19

Oriented Simplex Clockwise … Counter-clockwise … 1-Jan-19

Induced orientation on faces 1-Jan-19

Oriented n-manifold with boundary Adjacent n-simplexes induce opposite orientations on common face 1-Jan-19

Oriented n-manifold with boundary 1-Jan-19

Oriented n-manifold with boundary Arbitrary (n+1)-coloring 1-Jan-19

Content: number of properly-colored n-simplexes … 1-Jan-19

Content: number of properly-colored n-simplexes … +1 +1 -1 Counted by orientation. C = 1-1+1=1 1-Jan-19

Content: number of properly-colored n-simplexes … +1 +1 If content is non-zero, there are properly-colored simplexes. If zero, there may or may not be properly-colored simplexes. -1 Counted by orientation. C = 1-1+1=1 1-Jan-19

Content: number of properly-colored n-simplexes … If content is non-zero, there are properly-colored simplexes. -1 +1 C = 1-1+1=1 If zero, there may or may not be properly-colored simplexes. +1 Counted by orientation. 1-Jan-19

Counted by orientation. Indexi: number of boundary (n-1)-simplexes properly colored by colors other than i … Counted by orientation. +1 Let i = +1 -1 I0 = 1-1+1=1 1-Jan-19

Index Lemma +1 +1 +1 +1 -1 -1 C = (-1)i Ii 1-Jan-19

Proof for Dim 2 Let S be the number of 01 edges counted by orientation boundary edges contribute to Ii Internal edges contribute 0 -1 +1 So S = Ii 1-Jan-19

Proof for Dim 2 For properly colored triangle, 01 edge adds same value to both C and Ii -1 +1 1-Jan-19

For non-properly colored triangle, either no 01-edges … Proof for Dim 2 For non-properly colored triangle, either no 01-edges … -1 1-Jan-19

For non-properly colored triangle, either or two 01-edges that cancel Proof for Dim 2 For non-properly colored triangle, either or two 01-edges that cancel -1 -1 +1 So S = C 1-Jan-19

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n 1 2 1 1 1

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n

Think of the index as the number of times the boundary of K is wrapped around the boundary of ¢2n -1

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for 2n-Renaming

ChN(¾) = WF immediate snapshot protocol complex Strategy ChN(¾) = WF immediate snapshot protocol complex

Every simplex properly colored by process name Protocol Complex Every simplex properly colored by process name 1-Jan-19

Every vertex colored by binary decision value = 0 = 1 Every vertex colored by binary decision value 1-Jan-19

Every vertex colored by (name + value) mod n+1 = + = + = + = + 1-Jan-19

Every vertex colored by (name + value) mod n+1 Properly colored , monochrome 1-Jan-19

? Number of monochromatic n-simplexes … Determined by coloring on boundary! 1-Jan-19

If number of monochromatic simplexes is determined by boundary … We can color interior vertexes any way we want! 1-Jan-19

If number of monochromatic simplexes is determined by boundary … All 0 We can color interior vertexes any way we want! 1-Jan-19

Only 0-monochromatic simplexes … Easier to count! All 0 1-Jan-19

Road Map An Upper Bound: 2n+1 Names Weak Symmetry-Breaking The Index Lemma Binary Colorings A Lower Bound for 2n-Renaming

Anonymity & Symmetry ¦ = { } permutation ¼ ¦ = { } simplicial map ¼ ¦ = { } permutation ¼ ¦ = { } simplicial map ¼ 1-Jan-19

Orientations of symmetric simplexes? Oriented +1 1-Jan-19

“Flip” reverses orientation 1-Jan-19

k flips to “center” Orientation (-1)k 1-Jan-19

Anonymity ) complex is symmetric … k flips to “center” Anonymity ) complex is symmetric … Orientation (-1)k 1-Jan-19

Anonymity ) complex is symmetric … k flips to “center” Anonymity ) complex is symmetric … Orientation (-1)2k = +1 k flips to symmetric edge 1-Jan-19

Symmetric boundary simplexes have same orientation 1-Jan-19

How many monochromatic simplexes? 1-Jan-19

How many monochromatic n-simplexes? No 1-monochromatic n-simplexes 1-Jan-19

How many 0-monochromatic n-simplexes? +1 How many 0-monochromatic n-simplexes? 1-Jan-19

How many 0-monochromatic n-simplexes? WLOG “corner” color is 0 +k0 How many 0-monochromatic n-simplexes? 1-Jan-19

There are n+1 symmetric simplexes … same orientation. +(n+1)k0 How many 0-monochromatic n-simplexes? 1-Jan-19

q-face has kq 0-monochromatic simplexes … How many 0-monochromatic n-simplexes? 1-Jan-19

There are symmetric faces… + How many 0-monochromatic n-simplexes? 1-Jan-19

Total number of monochromatic simplexes … Counted by orientation … Integers ki … WSB requires this number to be zero … 1-Jan-19

This sum cannot be zero if … Binomial coefficients have a common factor! 1-Jan-19

Fact Binomial coefficients have a common factor if and only if n+1 is a prime power 1-Jan-19

2n-Renaming is impossible if … Lower Bound 2n-Renaming is impossible if … n+1 is not a prime power 1-Jan-19

n=5 smallest n for which impossibility fails … Possible to prove that an algorithm exists … But no explicit constriction known … Yet. 1-Jan-19

          This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.