QouratR&D centreContact

How high does the Qourat equation set a running-score alarm?

With two possible wrong entries and a lower line at −4, +3 is the smallest alarm that meets a 5% false-alarm limit if, after any history of genuine entries, the next has at most a 1% chance of being up.

The Qourat equation gives a worst-case chance of 2.98% at +3 with two possible wrong entries and a lower line at −4 if, after any history of genuine entries, the next has at most a 1% chance of being up.

Two edits can force an alarm at +2 on every sequence, and giving those edits credit in advance requires a line at +5 to meet the same limit.

Proved, and checked by the Lean proof checker.

We searched for an earlier statement of this equation and found none; the nearest earlier results are listed below.

No independent specialist has yet confirmed that it is new. If you know an earlier statement, please tell us.

On this page

Question

A score starts at zero. Record +1 for an up-step or −1 for a down-step and stop the first time the score touches either line. The upper line sounds an alarm. Under the conditions in which that alarm would be false, how often could it sound if someone could choose the worst entries to reverse, even after seeing the future?

The genuine score falls to −2 on entry four. Reversing the first minus makes the recorded score reach +2 on entry two.
Read down, up, down, down. Change only the first entry and the score stops two entries earlier, at the other line.Open full-size figure

The two paths use the same underlying signs. Each stops at its own first exit. Download both paths (CSV).

Data

The inputs are two fixed integer distances, a whole-number error budget and a ceiling on the next genuine up-step after every possible clean history. The signs may depend on the past. The budget applies once over the entire sequence. There is no deadline.

All tables come from exact calculations on this model. There are no sampled records or estimated rates. The search examined 28 candidate questions. This result was proved and checked on 29 November 2026.

Method

Q of a, b, k and p equals one minus the expectation of S of the positive part of a minus N sub k, divided by S of a plus b.
The Qourat equationSubtract the chance of reaching the lower line after the last available change. The result is the largest possible chance of an alarm.Open full-size figure

Here a and b are positive integers and k is a non-negative integer. Check the equation against three exact evaluations (CSV).

  • Q(a, b, k; p) is the largest chance of an upper exit. When the upper line is the alarm, Q is the worst-case false-alarm probability under the stated ceiling.
  • a is the number of points from zero to the upper line.
  • b is the number of points from zero to the lower line, at −b.
  • k is the maximum number of reversed signs.
  • p is the ceiling on each conditional up-step chance, strictly between zero and one.
  • Nₖ counts trials through the kth down-step of a fresh independent coin with up chance p. Set N₀ = 0.
  • x₊ means the larger of x and zero.
  • S(j) adds the first j powers of p/(1 − p), starting with the zeroth power. Set S(0) = 0.
  • 𝔼 means the average over that fresh coin.

Why the equation holds

  1. Spend an edit on each of the first k minuses. In the first t entries with h genuine pluses, even someone who sees the future can record at most min(t, h + k) pluses. This rule reaches that maximum at every step. Whenever another replay wins, this one has already won or reaches the upper line by the same step.
  2. Choose the coin that attains the bound. Draw a fresh uniform number between zero and one per step. Mark a genuine plus when it falls below the conditional up chance. Mark a second plus whenever it falls below p. The second sequence contains every plus in the first and has independent up chance p. Giving it the same first-minus rule attains the greatest possible risk.
  3. Count where the edits run out. Until the kth genuine minus, all recorded steps go up. If Nₖ ≥ a, the alarm has sounded. Otherwise the score is n = Nₖ, with no edits left. The ordinary two-line walk then loses with probability S(a − n)/S(a + b). To see why, measure distance below the alarm. The loss chance is zero at distance zero and one at distance a + b. Conditioning on one step makes successive differences grow by the factor p/(1 − p). Summing those differences gives the ratio. Classical absorption calculation.
  4. Average over the last edit. For k ≥ 1, only n from k through a − 1 contribute to the expected loss. To have the kth minus at n, choose k − 1 minus positions among the first n − 1 and put a minus last. Each arrangement has probability (1 − p) to power k times p to power n − k. Multiply each weight by its loss chance, sum and subtract from one.
  5. Check that a replay finishes. A block of a + b + 2k genuine minuses drives every still-running replay to a line, even if all edits are spent there. Every fresh block has conditional probability at least (1 − p) raised to that block length of being all minus. The chance of avoiding such a block forever is zero.

Results

Three calculations to try

  1. No errors, fair coin. With lines at +2 and −2, S(j) = j and N₀ = 0. The alarm chance is 1 − 2/4 = 1/2.
  2. One wrong sign, same lines. A genuine plus on the first step guarantees a win because the next sign can be recorded as a plus. A first minus uses the edit and leaves the score at +1. From there a fair walk wins with chance 3/4. The combined chance is (1/2 × 1) + (1/2 × 3/4) = 7/8.
  3. Two wrong signs, rare genuine pluses. With p = 1/100 and lines at +3 and −4, the edits run out before the alarm only if the first two signs are both minus. From +2 the lower-exit probability is 1/S(7). Thus the alarm chance is 1 − (99/100)²/S(7), or 2.98% rounded. The seven terms in S(7) start at 1 and each is 1/99 of the preceding term.

At +2, reversing each of the first two genuine minuses if needed guarantees an alarm on every sequence by the second entry. Raising the line to +3 ends the guaranteed win. Reversing the first two minuses is still optimal.

Three curves show false-alarm chances for up to zero, one and two errors. At height two they reach 50%, 87.5% and 100%.
With a one-half ceiling and a lower line at −2, raising the upper line can reduce risk. With two edits it stays at 100% from +1 to +2. An extra edit can undo much of that reduction.Open full-size figure
At +2, one wrong entry raises the worst chance from 50% to 87.5%.4 columnsCSV
Upper line0 errors (%)1 error (%)2 errors (%)
166.67100.00100.00
250.0087.50100.00
340.0075.0095.00
433.3364.5887.50
528.5756.2579.46
625.0049.6171.88
722.2244.2765.10

Qourat's k + 1 rule gives the smallest safe alarm at k + 1 points if up to k entries can be wrong and after every genuine history the next up-step has chance at most α/(k + 2).

Let α be the largest false-alarm probability you accept, with 0 < α < 1. The rule holds for every positive lower distance b. Crediting every possible error in advance needs 2k + 1 points under the same ceiling.

Any line at or below k can be forced on every sequence. At k + 1, the sole route to the unedited continuation starts with k minuses. Its complement has probability at most kp. In the continuation the score is one point below the alarm and the remaining chance to win is at most p/(1 − p) ≤ 2p. The total is at most (k + 2)p ≤ α.

Changing a minus to a plus adds two points. The conservative rule credits all 2k points at the start. It therefore gives risk one through height 2k. At height 2k + 1 its remaining one-point climb has risk at most 2p, which fits the limit. Aspnes and Herlihy shift two barriers to bound the effect of pending votes in a fair consensus walk, whereas advance credit here bounds a lifetime budget of sign replacements on one sequence.

Does a finite safe height exist? If p ≤ 1/2, the risk tends to zero as the line rises, so every positive limit admits a finite height. If p > 1/2, put s = (1 − p)/p. A finite safe height exists exactly when α > 1 − s^(b + 2k). Equality is insufficient. For example, with p = 3/4, b = 1 and no edits, every finite height has risk above 2/3. A limit of 1/2 is out of reach. Test existence first. The first qualifying height is the minimum if it exists.

To see where the cutoff comes from, fix the last edit time n. The lower-exit ratio S(a − n)/S(a + b) tends to one when p ≤ 1/2 and to s raised to b + n otherwise. Every ratio lies between zero and one, so we can average these limits over the finite waiting time. For one wait T for a minus, summing its geometric probabilities gives 𝔼[s raised to T] = (1 − p)s/(1 − ps) = s². The k independent waits give limiting lower-exit chance s raised to b + 2k. Every finite alarm has strictly greater upper-exit risk than the limiting value. With positive probability the attaining coin gives a pluses followed by a + b + 2k minuses: the finite alarm has sounded, yet the same replay continued without an upper line reaches the lower line.

At budgets from zero to eight the exact minimum rises from one to nine points and the advance-credit minimum from one to seventeen.
At a 0.5% up-step ceiling, a 5% risk limit and a lower line at −4, the gap grows by one point with every extra possible error.Open full-size figure

The trigger heights (CSV) give both minima for each budget.

How many changes turn a clean win into a loss?

Now take independent signs with fixed up probability p. Among sequences that genuinely hit the upper line first (event W), let D be the fewest single sign changes that make the lower line come first. Replay the underlying sequence as far as needed, including entries beyond the original win.

A win survives k changes if it survives turning the first k pluses into minuses. Let Tₖ count trials to the kth plus, with T₀ = 0. Write A(j) for the first j powers of (1 − p)/p, starting at power zero, and A(0) = 0. The surviving-win probability is 𝔼[A((b − Tₖ)₊)] / A(a + b). The clean win probability is A(b)/A(a + b). Dividing cancels the same full-boundary factor from both:

Pr(D > k given W) = 𝔼[A((b − Tₖ)₊)] / A(b).

This explains why the winning line drops out. Its height still changes how many clean wins occur. For a fair coin, A(j) = j. The tail chance above becomes the average over t = 0, …, b − 1 of the chance of at least k heads in t tosses. Subtract adjacent tails to get the chance that exactly d edits are needed. Equivalently, it is 2/b times the chance of at least d heads in b fair tosses. These cumulative counts are tabulated in Bernoulli’s triangle.

For a fair coin and a lower line at −4, one change suffices for 15 of 32 clean wins in probability, two for 11, three for 5 and four for 1.
With the losing line four steps away, the binomial tail counts are 15, 11, 5 and 1. Divide each by 32 to get the share of wins at each edit distance.Open full-size figure
The four shares apply at every positive winning height.CSV
ChangesWins (%)Exact share
146.87515/32
234.37511/32
315.6255/32
43.1251/32

Checks

Lean 4.36.0 checked four proof modules. The final theorem counts an actual upper exit attainable with at most k mismatches by time n, then takes the supremum over n. It proves both a bound for every allowed conditional source and an attaining source. The fair-coin risk equation and the two minimum thresholds also have kernel-checked proofs. Replay reported only the standard axioms of propositional extensionality, classical choice and quotient soundness.

The explicit waiting-time weights, the common stopping argument and the conditional edit-distance distribution above are written derivations. A separate Python check keeps every live score and edit count, tries both directions of change and solves the resulting finite systems as exact fractions. All 81 discovery cases and 408 additional cases agreed. Sampling uncertainty does not enter these comparisons. 489 exact agreements (CSV) and 60 threshold checks (CSV).

What it means in plain words

Before choosing an alarm, justify two bounds: how likely the next genuine up-step could be after any history, and how many records could be wrong in the whole run. A historical average alone cannot establish the first. The 5% limit is a probability under those assumed conditions. It does not give the probability that a particular alarm is false once you have heard it.

For the 1% example, lowering the alarm from +5 to +3 can also save time. Under a different model, with independent 90%-up signs and no record errors, the mean time to either line falls from 6.24829 to 3.74867 entries, about 40%. These are model expectations. A fixed deadline, moving lines or unequal step sizes change the problem.

What changes when the alarm has a deadline?

With one possible wrong sign and a 1/5 up ceiling, a unit score hits +4 before −3 with worst-case probability 2.72% by entry four and 3.3344% by entry six. Research 109 already proved finite unit-step domination by editing the first down signs, and its earlier checks computed risks by a deadline. The extension gives a single delayed upper-line test and a finite sum for arbitrary positive real jump sizes. The earlier calculations used the same genuine-history comparison. Earlier unit-step deadline calculations and research 109’s original proof sources.

The finite equation

Write Qₙ^(δ₊,δ₋)(a,b,k;p) for the greatest chance that a reported score, starting at zero, reaches or overshoots +a before reaching or overshooting −b, by entry n. The line distances a and b and the jump magnitudes δ₊ and δ₋ are positive real numbers. A genuine up adds δ₊ and a down subtracts δ₋. The deadline n and the lifetime reversal budget k are nonnegative integers. After every genuine history the conditional up probability is at most p, with 0 ≤ p ≤ 1. An editor may reverse either sign at up to k distinct entries on the same underlying tape, even with hindsight. Each reported path stops at its own first exit. A timeout gives no alarm.

Let score(t) be the ordinary unedited score at entry t, with score(0) = 0. Add the credit k(δ₊ + δ₋) to get the comparison score Yₜ. Under independent signs with up probability p, set n_first = ⌈a/δ₊⌉, the earliest entry at which an all-up path can reach +a. Then Qₙ^(δ₊,δ₋)(a,b,k;p) is exactly the probability that some integer t from n_first through n has Yₜ ≥ a and every Yᵢ for 0 ≤ i ≤ t is strictly above −b.

The maximum equals the probability that a credited independent score reaches or exceeds the upper line on an eligible entry and stays strictly above the lower line through that entry.
The lower stop applies from time zero. Test the credited upper line at every entry from the first feasible one through the deadline, including a score already at or above the line when it opens.Open full-size figure

Late barrier monitoring predates this extension. Heynen and Kat studied monitoring over part of an interval in Partial Barrier Options (1994, pp. 253–274). Konstandatos gives the opening-side convention in equation (40) and §6.4. Open treatment of late monitoring.

Before n_first the probability is zero. To see why the opening matters, use jumps +3 and −4, lines +1.5 and −1.75, and one edit. Credit starts at 7. The upper line opens at entry one, when the credited score is either 10 or 3. Both are already above +1.5. The alarm chance is one by entry one and zero at deadline zero. Conversely, with unit jumps, lines +4 and −3, k = 1 and p = 1/5, even an edited path can rise only to +2 in two entries. Immediate credit counts a risk of 1/25 at that deadline.

On a genuine prefix of length t with h ups, any editor can report at most min(t, h + k) ups. Editing the first k down signs attains this at every prefix on the same tape. Its score is min(tδ₊, Yₜ). The all-up term always stays above −b and first permits an upper hit at n_first. Turning a genuine down into an up can only help the edited path. At each entry use a common uniform draw for the genuine conditional chance and for p. The independent p path then contains every genuine up and attains the maximum with this online editor.

A finite sum using ordinary exit probabilities. Keep Nₖ for the entry of the kth genuine down, with N₀ = 0. When Nₖ ≥ n_first the edited path reaches the alarm at opening if the deadline allows it. When Nₖ = t < n_first it is at tδ₊ with no edits left. Conditional on that time the independent tape has n − t fresh entries. For n ≥ n_first, subtract the weighted chance of failure from one. Only last-edit times t from 0 through n_first − 1 contribute.

Qₙ is one minus the sum, over t before opening, of Prₚ(Nₖ = t) times one minus Qₙ₋ₜ with upper distance a − tδ₊, lower distance b + tδ₊ and zero remaining edits.
The ordinary continuation Pₜ starts at height tδ₊. The upper line is closer, the lower line is farther away and n − t entries remain.Open full-size figure

Evaluate the zero-budget term as the clean walk’s chance of exiting at the upper line before timeout. For k ≥ 1 and t ≥ k the weight is the binomial coefficient “t − 1 choose k − 1” times (1 − p) to the power k times p to the power t − k. Earlier times have mass zero. With k = 0 all the mass lies at zero. With p = 1 and k > 0 the wait is infinite. These conventions include p = 0 using a zeroth power equal to one.

For unit jumps, positive integer a and b, and 0 < p < 1, the increasing deadline limit is Q∞^(1,1)(a,b,k;p) = 1 − 𝔼ₚ[S(max(a − Nₖ, 0))]/S(a + b) = Q(a,b,k;p). Here S(j) is the published sum of the first j powers of p/(1 − p), starting at 1, with S(0) = 0. For t < a the ordinary eventual loss from height t is S(a − t)/S(a + b). There are only a terms in the finite sum, and the clean by-deadline hit events increase to the eventual hit.

Feller treats clean first passage between two lines in volume I, XIV.4. Rajaratnam and colleagues give eventual absorption for integer jumps that can overshoot. Feller, XIV.4 and random leaps, Theorem 3.10.

Choosing an alarm for a 3% limit

With unit jumps, lower line −3, one edit and p = 1/5, the smallest upper line meeting a 3% false-alarm limit is +4 with four entries and +5 with six. Shortening observation can also miss a later genuine alarm. This calculation supplies no alternative law or detection guarantee.

The longer deadline raises the risk at +4 past 3%. Values for unlimited observation are rounded.5 columnsCSV
DeadlineRisk at +3Risk at +4Risk at +5First line at or below 3%
4 entries10.4%2.72%0%+4
6 entries11.936%3.3344%0.672%+5
Unlimited12.9788%3.8441%1.081%+5

At +4 the exact probabilities are 17/625 by entry four, 521/15,625 by six and 26,241/682,625 with unlimited time. By entry four the edited path needs four reported ups. It succeeds when at most one of the four genuine signs is down.

Immediate and delayed credit can also agree. Start a likelihood ratio at 1, multiply by 2 on an up and by 2/3 on a down, and use lower factor 1/4. These are the likelihood factors for independent up chances of 1/4 and 1/2. Under the 1/4 null, with one replacement and seven entries, credit multiplies the ratio by 3. For upper factor 8, both methods give 3,181/16,384. For upper factor 9 the delayed calculation gives 983/8,192 and immediate credit gives 2,371/16,384. All comparisons include exact ties.

A constructed audit of two Iris files

For the fixed files, +1 is the first positive alarm line meeting 5%. Its sharp false-flag probability is 4/147, about 2.72109%. A whole-file comparison of all 150 rows is also available. The observed fact is a difference between two published versions. The screen described here is a constructed audit.

R. A. Fisher’s Iris dataset at the UCI Machine Learning Repository is licensed CC BY 4.0. Comparing all five fields of every aligned row in the legacy and corrected files on 29 November 2026 found two differing row IDs, numbered from one. At row 35 the fourth measurement is 0.1 in the legacy file and 0.2 in the corrected file. At row 38 the second and third measurements change from 3.1 and 1.5 to 3.6 and 1.4. On p. 369, Bezdek and colleagues document both corrections by comparison with Fisher’s printed vectors. UCI dataset and attribution, CC BY 4.0 terms, legacy file, corrected file, Fisher’s Table I and Bezdek and colleagues.

Fix the candidate before sampling. We chose a tolerance of two rows differing from the corrected file, a uniform sample of at most 20 distinct row IDs without replacement, a lower stop of −4 and a 5% false-flag limit. A mismatch counts +1 and a match −1. With m ≤ 2 genuine mismatches and s seen in t ≤ 19 draws, the chance of another is (m − s)/(150 − t) ≤ 2/131. Comparing to the legacy file can change at most two signs, because each disputed ID can be drawn only once.

The information available to the auditor determines which upper line meets the same 5% criterion.4 columnsCSV
Information usedRisk at +3First line at or below 5%Risk there
Fixed files and fixed eligible candidate0.0007404%+12.72109%
Uniform two-discrepancy lot, any two edits3.9821029%+33.9821%
Conditional ceiling and two edits4.5335353%+34.53354%
Four points of immediate credit100%+51.55039%

With the fixed references, at most four row IDs can report a mismatch. Four is attainable if the two candidate errors lie outside rows 35 and 38 and the candidate reproduces the corrected values on both disputed rows. In a permutation with four ups, reflect the prefix through its first hit of +a. The chance of a hit for 1 ≤ a ≤ 4 is “150 choose 4 − a” divided by “150 choose 4”. A hit must occur by entry 8 − a, and a path that has already hit −4 cannot climb to +a with its four ups. This gives the fixed-file risk above. If an auditor knows only the conditional ceiling and the two-edit budget, the smallest line is +3. Giving the edits four points of immediate credit requires +5.

What was checked and what came earlier

Lean proves the attained maximum over finite genuine-history trees, the delayed-barrier identity and last-edit sum for unequal real steps, and the unit-step limit with the wait capped at a. The identification with a probability law uses written conditioning and coupling. Continuity from below identifies the infinite event, and the reflection counts for the clean walk and fixed files are written arguments. The cap leaves max(a − Nₖ, 0) unchanged.

Aspnes and Herlihy’s shifted barriers for pending votes appear in §5.1, Lemmas 15–16 and Theorem 17. Etesami and colleagues study a terminal threshold on uniformly random bits under replacements. The sources consulted yielded no earlier equivalent statement of this deadline equation. Aspnes and Herlihy and Etesami and colleagues.

The independent review reproduced 212 of 212 numerical quantities. It found no counter-example in 384 additional cases, comprising 160 new geometries and 224 specified adaptive laws. Numerical comparisons, geometry checks and adaptive-law checks.

The deadline proof and calculation sources include all seven Lean dependencies, the two independent recursions and the Iris comparison. The archive includes these programs under code/deadline/. With Python 3.12, SymPy, requests, Matplotlib and the pinned Lean 4.36.0 project, run the following. The data checker reads the original UCI files and records their hashes.

bash code/deadline/reproduce.sh

References

Nearest earlier work

The tools of the proof are textbook probability: coupling two walks, conditioning on one step, the waiting time for a fixed number of minuses and absorption between two lines. What we searched for was this exact, attainable probability with a bound on the total number of sign replacements. The linked works below show where earlier results meet that question and where they differ.

The closest predecessor for a terminal decision is Etesami, Gao, Mahloujifar and Mahmoody, TCC 2021, Theorem 2: for a fixed number of fair bits and an initial binomial-tail probability they obtain the shifted-tail benchmark for replacements online or with hindsight, while this equation evaluates an ordered first exit with a conditional ceiling and no deadline.

Read the original sources by question:

If you know an earlier statement, please tell us.

For the deadline extension, see Feller, XIV.4, Konstandatos on late monitoring and Rajaratnam and colleagues on random leaps. For the fixed-file audit, see Fisher’s printed Table I, the UCI record, the licence, the legacy file, the corrected file and the published corrections.

Download plain-text bibliography · Download linked bibliography (HTML)

  1. Grinstead and Snell, Introduction to Probability, chapter 12

    The two-boundary absorption probability gives the chance of an upper exit once the final wrong sign has been used.

    Opened 2026-11-29
  2. Karl Sigman, Gambler’s ruin problem

    The clean walk in these notes is the zero-error case of the equation.

    Opened 2026-11-29
  3. Alexey Kharin, On Robustifying of the Sequential Probability Ratio Test for a Discrete Model under “Contaminations”

    Kharin computes exact errors under distributional contamination, while a lifetime edit budget restricts every individual sequence.

    Opened 2026-11-29. DOI 10.17713/ajs.v31i4.489
  4. Cao, Zhang and Zou, Adversarially robust sequential hypothesis testing (ICSA abstract, journal DOI 10.1080/07474946.2022.2043050)

    Their adversary chooses distributions and their results concern asymptotic testing performance, whereas this calculation gives the exact risk for fixed lines and a fixed count of altered signs.

    Opened 2026-11-29
  5. Saha and Ramdas, Huber-robust likelihood ratio tests for composite nulls and alternatives

    They allow contamination in each conditional distribution, which can produce more than k wrong entries over a run.

    Opened 2026-11-29. arXiv 2408.14015
  6. Wang and Ramdas, Huber-robust confidence sequences

    Their output is a sequence of confidence sets under distributional contamination, while ours is the chance of a particular score reaching its upper line first.

    Opened 2026-11-29
  7. Bandeira, Ferber and Kwan, Resilience for the Littlewood–Offord Problem (authors’ paper, DOI 10.1016/j.aim.2017.08.031)

    They count replacements needed to hit a prescribed sum at a fixed length, while a replacement here can change which line is reached and when reading stops.

    Opened 2026-11-29
  8. James Aspnes, Lower bounds for distributed coin-flipping and randomized consensus

    The adversary hides outcomes in a distributed protocol, while a reversal here replaces a visible sign by its opposite on a common sequence.

    Opened 2026-11-29
  9. James Aspnes, Randomized Consensus

    The threshold walks can have votes pending across asynchronous views, while our replays see the same underlying sequence.

    Opened 2026-11-29
  10. Lorek and Markowski, Conditional gambler’s ruin problem

    They condition quantities such as the walk’s duration on its exit side, while our conditional variable counts changes needed to reverse that exit.

    Opened 2026-11-29. arXiv 1812.00687
  11. An identity based on the generalised negative binomial distribution with applications in ruin theory

    Its negative-binomial identities evaluate insurance ruin models, while here the waiting time counts down-steps until the edit budget runs out.

    Opened 2026-11-29
  12. OEIS A008949, Partial sums of binomial coefficients

    This record already contains the integer counts that become the fair-coin edit probabilities after reversal and normalization.

    Opened 2026-11-29
  13. Peköz, Röllin and Ross, Total variation error bounds for geometric approximation

    Their discrete equilibrium construction gives the normalized-tail form that here describes the minimum edits conditional on a clean win.

    Opened 2026-11-29. arXiv 1005.2774
  14. Walsh and colleagues, A case for a Fragility Index

    Their index counts changes needed to alter significance in a completed table, while a replay can read past the original stopping point.

    Opened 2026-11-29
  15. Fuller, Pai and Russell, The Decisive Power of Indecision

    Their audit checks ballot discrepancies under an audit sampling procedure, while this equation follows a unit score with two absorbing lines.

    Opened 2026-11-29
  16. Etesami, Gao, Mahloujifar and Mahmoody, Polynomial-time targeted attacks on coin tossing for any number of corruptions (TCC 2021, Theorem 2)

    Their shifted binomial tail describes what replacements can achieve for a terminal decision on a fixed number of fair bits. The running alarm depends on which boundary the signs reach first.

    Opened 2026-11-29
  17. Aspnes and Herlihy, Fast Randomized Consensus Using Shared Memory (Lemmas 15–16 and Theorem 17)

    Their two-barrier bound allows for pending votes in a fair shared coin. Here the discrepancies are sign replacements counted over the entire replay.

    Opened 2026-11-29
  18. R. A. Fisher, Iris (1936), UCI Machine Learning Repository

    The dataset record credits Fisher, gives DOI 10.24432/C56C76 and licenses the 150-row data files under CC BY 4.0. The screen parameters are choices made for this example.

    Opened 2026-11-29
  19. Creative Commons Attribution 4.0 International

    UCI designates these terms for the underlying Iris data. The screen reports a derived row comparison.

    Opened 2026-11-30
  20. UCI Iris, legacy file iris.data

    The legacy version has different measurements at one-based rows 35 and 38. Its separately accessible file matched its archive member byte for byte.

    Opened 2026-11-29
  21. UCI Iris, corrected file bezdekIris.data

    This file defines fidelity for the example. All five fields in each of its 150 aligned records were compared with the legacy file.

    Opened 2026-11-29
  22. Bezdek, Keller, Krishnapuram, Kuncheva and Pal, Will the Real Iris Data Please Stand Up?

    Page 369 identifies two errors in the UCI version by comparison with the printed measurements.

    Opened 2026-11-29
  23. R. A. Fisher, The Use of Multiple Measurements in Taxonomic Problems (1936), Table I

    The original printed measurement vectors are the historical comparison used by Bezdek and colleagues.

    Opened 2026-11-30
  24. Otto Konstandatos, Methods for Analytical Barrier Option Pricing with Multiple Exponential Time-Varying Boundaries

    Equation (40) and section 6.4 describe a partial-time barrier and its opening-side convention. The paper discusses the earlier partial barriers of Heynen and Kat.

    Opened 2026-11-29
  25. William Feller, An Introduction to Probability Theory and Its Applications, volume I, chapter XIV, section 4

    Generating functions for first passage to the two boundaries give the clean continuation that enters the last-edit sum.

    Opened 2026-11-29
  26. Rajaratnam, Sereewattanawoot, Sparks and Wu, From Random Walks to Random Leaps

    Theorem 3.10 gives eventual absorption probabilities for clean walks with bounded integer jumps, including overshoot.

    Opened 2026-11-29. arXiv 1708.03116

Reproduce

On 29 November 2026 the independent checker rebuilt the rational cases and Lean replayed all four modules. Read the full checker and kernel output (CSV). The generated 489-row verification file has SHA-256 e4fe48b69640d7c411e7c626c51a7dd468c0ccc3f2697012d9d46bf225321f5c. The transcript rounds its displayed decimals directly from exact fractions to 17 significant digits. The Lean files retain their original theorem identifiers, including TapeWalk.Biased.exact_trigger for the Q formula. The verification file’s last two columns give the same upper-alarm probability by two routes. The checker exchanges the two lines and reverses the signs to convert its all-replays-win calculation into the chance that any replay can trigger.

From the unpacked study directory, use the programs in code/. The same programs are in the source bundle (CSV). It contains the four Lean sources, the Python checker and calculator, figure code and the reproduction script. With Bash, GNU coreutils, Python 3.12 (SymPy 1.12, NetworkX 2.8.8 and CairoSVG 2.8.2) and Elan installed, run this single command. The script obtains the matching Lean and mathlib 4.36.0 build on first use. The regenerated tables and figures are in the results directory.

bash code/reproduce.sh

For the deadline extension, run bash code/deadline/reproduce.sh. Its label comparison obtains the original and corrected Iris records from UCI rather than redistributing them. The saved Iris comparison and replication checks give the results without a download.

To evaluate other inputs, give the calculator the upper distance, lower distance, number of errors and ceiling, in that order:

python3 code/biased.py score \
  3 4 2 1/100

Change log

3 December 2026. Source files and reproduction notes were made portable for the archived copy. No result changed.

29 November 2026. Proof, worked cases and replay files. Added the finite-height existence test and the comparisons with terminal decisions and pending votes.

What this leaves open

  • How does a fixed deadline change the number of edits needed to reverse a win?
  • What is the sharp risk when a score can move by more than one point?

Our review

Rating 9.4 out of 10

  • Question 13 of 15
  • Evidence 24 of 25
  • Verification 15 of 15
  • Sources 14 of 15
  • Usefulness 19 of 20
  • Originality 9 of 10

The proof and exact replays give an actionable alarm threshold, but applying it requires a bound on the next genuine entry after every history.

This is the centre's own review, not peer review by outside scholars; see Policies.

Cite this study

Titles are italic in Harvard, APA, MLA and Chicago.

First published .

Harvard

Qourat 2026, How high does the Qourat equation set a running-score alarm?, Research 109, Qourat Research and Development Centre, https://doi.org/10.5281/zenodo.24775514

APA (7th edition)

Qourat. (2026). How high does the Qourat equation set a running-score alarm? (Research 109). Qourat Research and Development Centre. https://doi.org/10.5281/zenodo.24775514

IEEE

[1] Qourat, “How high does the Qourat equation set a running-score alarm?” Qourat Research and Development Centre, Research 109, Nov. 29, 2026. [Online]. Available: https://doi.org/10.5281/zenodo.24775514

MLA (9th edition)

Qourat. How High Does the Qourat Equation Set a Running-Score Alarm? Research 109, Qourat Research and Development Centre, 29 Nov. 2026, https://doi.org/10.5281/zenodo.24775514.

Chicago (author-date)

Qourat. 2026. How High Does the Qourat Equation Set a Running-Score Alarm? Research 109. Qourat Research and Development Centre. https://doi.org/10.5281/zenodo.24775514.

BibTeX

@techreport{qourat-109,
  author = {Qourat},
  title = {{How high does the Qourat equation set a running-score alarm?}},
  institution = {Qourat Research and Development Centre},
  number = {Research 109},
  year = {2026},
  date = {2026-11-29},
  url = {https://doi.org/10.5281/zenodo.24775514}
}

Add the date you read the page if your style asks for one.