In the LOCAL model of distributed computing, every node of a communication graph runs the same deterministic program, rounds are synchronous, messages are unbounded, and a problem's complexity is the number of rounds after which every node can produce its output. Without failures, a node learns its whole radius- neighborhood in rounds, so any -round algorithm can be replaced by "gather the radius- ball and simulate". This is the basic tool behind the theory of locally checkable labelings (LCLs) (Linial 1992; Naor–Stockmeyer 1995).
Crash failures break this tool. A node that crashes in the middle of a round may deliver its message to some neighbors and not to others, so two adjacent surviving nodes can end with incompatible pictures of their surroundings. Ghinea, Kuhn, Liu-Zhang and Parsaeian (arXiv:2611.04898, 2026) isolate what a crash-tolerant replacement for neighborhood gathering must provide: the consistent neighborhoods problem . They show that solving it lets surviving nodes simulate fault-free algorithms for locally checkable problems (their Theorem 1), and they determine its round complexity up to the gap between their upper bounds (Theorem 3) and lower bounds (Theorem 2). This mission is the upper-bound theorem.
A graph is a finite simple graph with at most nodes and maximum degree at most ; , and the radius are known to every node. Nodes carry distinct identifiers in and input labels. Initially a node knows its star : its identifier, its label and its neighbors' identifiers.
A node program computes an initial state from its star, in each round one message per neighbor (addressed by identifier), a new state from the identifier-tagged messages it receives, and possibly an output. It never sees the graph. A standard crash adversary chooses for each node whether it crashes, and when: before the initial computation, or during some round . In that case it also chooses which neighbors receive the node's round- message, separately for each recipient. A crashed node does nothing afterwards. Surviving nodes are those that never crash.
For a labeled graph write for the ball of radius with distances measured inside . A radius- view centered at is a labeled subgraph of with . For views that both contain the edge , the comparison sets are
An algorithm solves in rounds if, in every admissible execution, every surviving node outputs by round a view such that:
There is an absolute constant such that for every and known bounds and there are deterministic node programs solving on every graph with at most nodes and maximum degree at most within
Parts (i), (ii) and (iv) hold against any number of crashes.
Lemmas 8–19 of the paper:
Theorem 3 gives the first crash-tolerant replacement for neighborhood gathering whose round count does not depend on when , or the number of crashes is small. Combined with the paper's simulation theorem, it turns any -round fault-free LOCAL algorithm for a problem with checking radius into a crash-tolerant one running in rounds, and in rounds on paths, cycles and high-girth graphs. Theorem 2 shows these bounds are close to optimal: in general, and exponential in on bounded-degree graphs.
The result is proved on paper, in a 2026 preprint. As far as we know no machine-checked formalization of crash-fault LOCAL computation exists. The mission produces:
The obvious algorithm (forward stars for rounds and output what arrived) fails consistency. A node that crashes in round 1 may hand its star to one neighbor only. Information about it then spreads through part of the graph, and two adjacent survivors can disagree on whether it belongs to their common comparison set. Waiting longer does not settle this by itself, because crashes can cut the paths along which a late message would have arrived.
The proofs control exactly who can learn a given star:
Turning these into Lean requires reasoning about an explicitly defined execution with partial deliveries, not about an idealized flooding process.
Graphs and identifiers. Graphs are SimpleGraph V on a finite type V. The standing assumptions (at most nodes, injective identifiers in the paper's range) are hypotheses, and maximum degree is MaxDegLe G Δ. Closed graph balls reuse the published LocalLLL.Main.ball, using extended distance across components. Girth is Mathlib's egirth : ℕ∞, which is for forests.
Programs and executions. Programs are NodeProgram L Out structures. They receive only their own identifier, their own label and the set of neighbor identifiers. They send per-neighbor messages and update from messages indexed by sender identifier. The known parameters are fixed by choosing the program after them. The program is chosen before the graph, the identifiers, the labels and the adversary, so it cannot read any of them. An Adversary gives each node a crash time (some 0 means before the initial computation) and a per-recipient delivery relation. config t v is the state at the end of round .
Problem and solving. Outputs are views on identifiers that must Represent a subgraph of , so a view cannot mention identifiers that are not in . "Solves within rounds" quantifies over every admissible execution, including crashes after . Each survivor must produce its first output by round , and these reported outputs must satisfy all four conditions. "Any number of crashes" means every crash set. In (iii), at most crashed nodes in total. Each is a single constant C : ℕ chosen before every parameter. The constant of the paper's choice (2) of is read as "for all ".
Algorithms. Algorithms 2–5 and the large-girth algorithm are explicit node programs in the same semantics. Phase II round of Algorithm 5 is global round .
Contributions welcome:
config;namespace CrashLocal.ConsNbhd
theorem theorem_3 : ∃ C : ℕ,
-- (i) `C·n` rounds, any number of crashes
(∀ R n Δ : ℕ, 1 ≤ R → 2 ≤ Δ → ∀ L : Type, ∃ P : NodeProgram L (View L),
∀ cID : ℕ, 1 ≤ cID → ∀ (V : Type) [Fintype V] (G : SimpleGraph V) (id : V → ℕ)
(lab : V → L), StandingGraph n cID id → MaxDegLe G Δ →
SolvesCNWithin G id lab P R (C * n) (fun _ => True)) ∧
-- (ii) `C·(Δ−1)^R` rounds when `Δ ≥ 3`, any number of crashes
(∀ R n Δ : ℕ, 1 ≤ R → 3 ≤ Δ → ∀ L : Type, ∃ P : NodeProgram L (View L),
∀ cID : ℕ, 1 ≤ cID → ∀ (V : Type) [Fintype V] (G : SimpleGraph V) (id : V → ℕ)
(lab : V → L), StandingGraph n cID id → MaxDegLe G Δ →
SolvesCNWithin G id lab P R (C * (Δ - 1) ^ R) (fun _ => True)) ∧
-- (iii) `C·Δ·R·f` rounds against at most `f` crashes, `f ≥ 1` known
(∀ R n Δ f : ℕ, 1 ≤ R → 2 ≤ Δ → 1 ≤ f → ∀ L : Type, ∃ P : NodeProgram L (View L),
∀ cID : ℕ, 1 ≤ cID → ∀ (V : Type) [Fintype V] (G : SimpleGraph V) (id : V → ℕ)
(lab : V → L), StandingGraph n cID id → MaxDegLe G Δ →
SolvesCNWithin G id lab P R (C * Δ * R * f) (fun adv => adv.crashCount ≤ f)) ∧
-- (iv) `C·R` rounds when `Δ = 2`, any number of crashes
(∀ R n Δ : ℕ, 1 ≤ R → Δ = 2 → ∀ L : Type, ∃ P : NodeProgram L (View L),
∀ cID : ℕ, 1 ≤ cID → ∀ (V : Type) [Fintype V] (G : SimpleGraph V) (id : V → ℕ)
(lab : V → L), StandingGraph n cID id → MaxDegLe G Δ →
SolvesCNWithin G id lab P R (C * R) (fun _ => True)) ∧
-- (iv) `C·R` rounds on graphs of girth greater than `2R` (forests included), any crashes
(∀ R n Δ : ℕ, 1 ≤ R → 2 ≤ Δ → ∀ L : Type, ∃ P : NodeProgram L (View L),
∀ cID : ℕ, 1 ≤ cID → ∀ (V : Type) [Fintype V] (G : SimpleGraph V) (id : V → ℕ)
(lab : V → L), StandingGraph n cID id → MaxDegLe G Δ →
((2 * R : ℕ) : ℕ∞) < G.egirth →
SolvesCNWithin G id lab P R (C * R) (fun _ => True)) := by sorry
end CrashLocal.ConsNbhd
Setting (§3): G is a finite simple graph on a finite vertex type V with at most n nodes; the nodes carry distinct identifiers id(v) ∈ {1, …, max{2, n}^{c_ID}} (StandingGraph n c_ID id) and input labels lab(v) in an arbitrary type L. Executions are those of deterministic node programs in the synchronous LOCAL model with standard crash failures (definition CrashLocal.ConsNbhd.Model): a program sees only its own identifier, its own label and its neighbors' identifiers, sends one message per neighbor per round and updates from the identifier-tagged messages it receives; an adversary chooses for every node a crash time (never, before the initial computation = round 0, or a round t ≥ 1) and, for a node crashing in round t, exactly which neighbors receive its round-t message. config t v is v's state at the end of round t (none once v has crashed); a node is alive at round t if it has not crashed by the end of round t. Π_CN(R) is the consistent neighborhoods problem of Definition 3 (termination and radius, edge validity, consistency on the comparison sets, fault-free completeness), and 'P solves Π_CN(R) on G in T rounds' means that in every admissible execution, with unrestricted crash times, every surviving node produces its first output by round T and the outputs satisfy the four properties. There is one absolute constant C such that for every R ≥ 1 and all known bounds n and Δ ≥ 2 there are deterministic node programs, chosen knowing only n, Δ, R (and f in (iii)) and the label type, such that for every c_ID ≥ 1 and every graph G with at most n nodes, maximum degree at most Δ, identifiers in {1, …, max{2,n}^{c_ID}} and input labels: (i) a program solves Π_CN(R) on G in C·n rounds against any number of crashes; (ii) if Δ ≥ 3, a program solves it in C·(Δ−1)^R rounds against any number of crashes; (iii) for every known f ≥ 1, a program solves it in C·Δ·R·f rounds against every execution with at most f crashes; (iv) if Δ = 2, a program solves it in C·R rounds against any number of crashes, and a program solves it in C·R rounds against any number of crashes on every such G of girth greater than 2R (in particular on forests).
Differences from the source:
No open leaves. Every sub-goal is proved or awaiting decomposition.