Shrinking quorum
A redundancy policy for unattended missions with no repair path: vote on three replicas, compare on two, self-check on one. It keeps running on the last replica, where fixed TMR stops.
Kani proves that, with two or more replicas alive, decide() gives the same outcome under both policies, for every set of three replies. The shrinking quorum also sets diagnose at two replicas, so it can retire a stuck replica and continue where fixed TMR stays in disagreement. Over a whole run, never less than fixed TMR is tested, not proved.
The trouble with a fixed threshold
Classic triple modular redundancy (TMR) runs three processors on the same work and takes the majority. Two can still detect a disagreement. One cannot outvote anything, so the system stops.
Most fault tolerance assumes someone can step in eventually. With a ground team in reach, stopping is safe: the team finds the fault and commands a fallback. With no one in reach, stopping throws away the last processor's whole remaining life.
Fixed TMR is the baseline on these pages because both policies give the same outcome while two or more replicas live. It is not what most spacecraft fly. Most fly dual-string radiation-hardened processors with EDAC, watchdogs and autonomous fault protection. Stepping down from three to two to one is not new either: the Space Shuttle's redundant set of general-purpose computers did it, and Meyer gave degradable systems a measure, performability, in 1980. See Prior art.
What Mru adds: the step-down runs with no ground team, the decision core is small and checked with Kani, and the trade data is published (Dusk, bench).
Three modes
The policy picks a mode from the number of live replicas. This is the whole rule, from quorum::mode:
| Live replicas | Fixed TMR | Shrinking quorum |
|---|---|---|
| 3 | Vote · masks one bad result | Vote · masks one bad result |
| 2 | Compare · loses the tick on a mismatch | Compare · runs a known-answer test to find the bad one |
| 1 | Halted, for good | Self-check · computes twice, delivers on a match, half speed |
| 0 | Halted | Halted |
pub fn mode(policy: Policy, alive: usize) -> Mode { match (policy, alive) { (_, 0) => Mode::Halted, (Policy::Shrink, 1) => Mode::SelfCheck, (Policy::Tmr, 1) => Mode::Halted, (_, 2) => Mode::Compare, _ => Mode::Vote, } }
Degradation-first
The shrinking quorum applies the whitepaper's design principle:
W. Binns, Mru whitepaper, version 1.1.1, section 5, doi:10.5281/zenodo.23305299.
For the shrinking quorum, the figure of merit is useful work over the whole decline, not correct operation at full strength. Dusk measures it, along with the wrong results it costs.
What is proved and what is tested
Proved (per tick)
Four Kani proofs on decide(). Each reply is any of Absent, Single or Pair, with any u64 values, so each proof covers every set of three replies to decide().
identical_while_tmr_can_run: with two or more replies present, both policies give the same outcome. It compares the outcome only, not the mode ordiagnose.tmr_stops_below_two: with fewer than two replies present, the fixed TMR outcome isHalted.shrink_halts_only_with_nothing_left: the shrinking quorum's outcome isHaltedif and only if no reply is present.delivers_only_agreed_values: if either policy delivers a value, at least two replies agree on it, or exactly one replica is alive and it returnedPair(v, v).
CI runs cargo kani -p quorum -p quorum-ffi on every change, 16 proofs in all. Five more cover sensor selection, and seven show that the C interface gives the core's answer. The proofs do not cover the health record, the diagnosis, the known-answer test, timing, or the system over a run. See Kani proofs.
Tested (per run)
Never less useful work than fixed TMR over a whole run is a test result, with these scopes:
- Scenario tests.
scripts/scenarios.shin CI: ten seeds, two kill faults per run, 20,000 ticks. Kill faults only. - Bench. 150 pairs of runs per host, five fault schedules, on three hosts with general-purpose processors. The three replicas are processes on one host, not separate processors. No pair below fixed TMR. See Bench.
- OPS-SAT. Four runs in orbit on the SEPP. Run 1, 5,250 ticks: 2,745 correct, 0 wrong, every fault on its tick. Run 2: from three replicas to one, then a safe halt at tick 1,281 with 698 correct and 0 wrong. Run 3, in F´ with each replica a process of its own: down to the last replica after a real process kill, 342 correct and 0 wrong over 449 cycles. Run 4: resets, sensors and a cFS application under simulated faults, and 173 real bit flips made by software, 0 wrong in every segment. One seed, scheduled faults. See On OPS-SAT.
- Dusk. 10,000 simulated missions. The two policies are identical until fixed TMR stops, by construction of the model, and a unit test checks it over 200 seeds. See Dusk.
Two replicas
With two replicas left, decide() compares them. Equal values are delivered. Unequal values give Detected, and nothing goes out that tick. Under the shrinking quorum it also sets diagnose. Fixed TMR does not.
The demo then runs a known-answer test (KAT) on both replicas: a fixed input whose result is known. There are three cases.
- Both pass. Nothing is retired. The tick is lost, and nothing escalates. A persistent fault that the KAT cannot see keeps every tick
Detected. - Both fail or time out. Both are retired, and the run halts. Fixed TMR would keep comparing.
- One fails. It is retired. The survivor goes on in self-check.
This is the current behavior. The first two cases are gaps: no escalation for a fault the KAT cannot see, and a halt where fixed TMR would go on.
What it costs
On one replica, a stuck fault is caught only by the periodic known-answer test, and only if it changes the test's answer. Until then, wrong results get out. Fixed TMR never produces those, because it never lives that long. The bench measures how many faults the test catches: known-answer test coverage.
Command path
Self-check on one replica can deliver a few wrong results before the KAT catches a stuck fault. The KAT runs every --kat-period ticks, 64 by default. An upset that hits both self-check runs alike can also get through.
This mode is for data products, not spacecraft commands, unless the mission adds its own command safety layer. Integrators can gate commands on Verdict.mode: issue a command only when the mode is Vote or Compare and the outcome is Deliver. See the example.
Health and diagnosis
A replica outvoted STRIKES = 3 times within STRIKE_WINDOW = 200 ticks is diagnosed with a known-answer test. Pass, and its strikes are cleared, on the assumption that the upsets were transient. Fail, and it is retired. The strike record has unit tests, not proofs.
Graceful Degradation Index
The whitepaper scores a degrading system by the ratio of capability delivered to hardware surviving. 1.0 means every surviving part is doing useful work. Dusk measures the simpler cousin, total useful work across the whole decline.
Open questions
- Common-mode faults, such as shared power, clock or thermal. Dusk models correlated deaths with
--p-corr. The demo models an upset that hits both self-check runs alike with--common-mode. Neither models shared power, clock or thermal faults. - Input agreement between replicas. In the demo, all replicas get the same input because it is a function of the tick. Mru Field reads each input once and hands every replica the same bytes. For up to three readings of one quantity, sensor selection chooses one value within a tolerance. A step that makes inputs read by each replica equal before it computes is not built.
- Replica determinism under interrupts and scheduling. The replicas must compute the same bits. In the demo this holds only because the task is a pure function of the tick. Neither Dusk nor the bench tests it.
- KAT coverage on real hardware. Dusk sets self-check coverage as a parameter,
--coverage. The bench's stuck fault returns the same wrong value for every input, so the KAT always sees it. Neither measures the share of real hardware faults a KAT catches.
Related
- The
quorumcrate: the decision core, in Rust - Dusk: 10,000 missions, 1.34× the useful work of fixed TMR. This assumes no ground support after launch. The gain falls to 1.00× when support never ends (ground support). Against three-string cold standby it is 0.92× to 1.60×, depending on how fast an unpowered spare ages (baselines).
- Prior art: TMR, degradable systems, the Space Shuttle and deep-space fault protection
- Research log № 002: the results, written up
Updated November 18, 2026 · Edit on GitHub · Questions? Get in touch
