Distributed2Coloring: Definitions #
This file exposes the key definitions intended for downstream use.
Most internal development lives under Distributed2Coloring.LowerBound and
Distributed2Coloring.UpperBound; users should not need to import those files directly unless
they want to follow the detailed proofs.
One-round classical algorithms #
Rand is the unit interval [0,1] (as a measurable space). A ClassicalAlgorithm is a measurable
local rule f : Rand × Rand × Rand → Fin 2 applied to i.i.d. labels on the directed cycle.
The quantity ClassicalAlgorithm.p alg is the probability that an oriented edge is monochromatic:
alg.f agrees on consecutive windows (x₀,x₁,x₂) and (x₁,x₂,x₃) under i.i.d. labels.
The source of local randomness for one-round algorithms: the unit interval [0,1].
Equations
Instances For
The two output colors.
Equations
Instances For
A seed assignment of i.i.d. labels to n vertices.
Equations
Instances For
A one-round classical distributed algorithm for 2-coloring the directed cycle.
It is a measurable local rule f that reads the three labels on a directed length-2 neighborhood
and outputs one of two colors.
Imported auxiliary declaration for the 2-coloring one-round formalization.
- measurable_f : Measurable self.f
Instances For
The monochromatic-edge probability of a one-round algorithm on the directed cycle.
Equations
- alg.p = MeasureTheory.volume alg.pEvent
Instances For
The finite digraph model for the lower bound #
The lower bound reduces to a purely finite problem on a digraph G_n: