The first accepted candidate is retained. Later words cannot replace it.
Equations
- MindFormal.A695LogicPaper.SecurityProgram.firstAccepted Q x_2 = none
- MindFormal.A695LogicPaper.SecurityProgram.firstAccepted Q w = if ↑(w 0) < Q then some ↑(w 0) else MindFormal.A695LogicPaper.SecurityProgram.firstAccepted Q fun (i : Fin r) => w i.succ
Instances For
theorem
MindFormal.A695LogicPaper.SecurityProgram.firstAccepted_bound
{Q D r : ℕ}
(w : Fin r → Fin D)
{x : ℕ}
(h : firstAccepted Q w = some x)
:
Equations
- MindFormal.A695LogicPaper.SecurityProgram.rejectionCount Q D r = ∑ w : Fin r → Fin D, if MindFormal.A695LogicPaper.SecurityProgram.firstAccepted Q w = none then 1 else 0
Instances For
Equations
- MindFormal.A695LogicPaper.SecurityProgram.acceptedCount Q D r x = ∑ w : Fin r → Fin D, if MindFormal.A695LogicPaper.SecurityProgram.firstAccepted Q w = some x then 1 else 0
Instances For
theorem
MindFormal.A695LogicPaper.SecurityProgram.acceptedCount_succ
(Q D r x : ℕ)
(hx : x < Q)
(h : Q ≤ D)
:
theorem
MindFormal.A695LogicPaper.SecurityProgram.firstAccepted_count
(Q D r : ℕ)
(hQD : Q ≤ D)
(x : ℕ)
(hx : x < Q)
:
Exact counting on the complete finite word space. Uniformity is a conclusion about the retained first candidate, including exhausted attempts.