Concurrent multi-message authentication with final key recycling
OpenQAlgorithms.Papers.Independent.Intake100.P41.authentication_many_recyclingLet , let be a finite nonempty key set, let contain at least two messages, and put for . Suppose is -AXU, where . The input key resource supplies one uniform hash key and independent uniform pads . Alice tags her th input by ; Bob verifies his th submitted pair with . Sends and submissions are ordered separately, and later sends may precede earlier verifications. Bob exports the retained hash key after all verifications, or at the common final timeout with a rejection for each missing delivery. Alice exports it at that timeout.
Let be this real system, and let be the matching multiple authentic-channel resource with a fresh uniform key. Use the fixed one-message simulators, with independent uniform tags. With honest forwarding filters, the real and ideal systems agree exactly; under arbitrary joint adaptive interaction,
The reserve contains one hash-index key and exactly pads, corresponding to the source's key consumption . This result supports concurrent authentication followed by arbitrary reuse of the retained key, without requiring synchronization between individual messages.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P41
noncomputable section
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intake100.P41
open QAlgorithms.Papers.Independent.Bridge50.P44 (xorWord verifyTag)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.13--15, Theorem 6: one hash key and n fresh pads, concurrent sends,
ordered submissions, final synchronized arbitrary recycling, and n epsilon
resource security. Figure 10 and Section 5.1 fix Bob's earlier release, despite
the proof's inconsistent phrase about both releases occurring at timeout. -/
theorem authentication_many_recycling {K X : Type*} [Fintype K] [Nonempty K]
[Nontrivial X] {m n : ℕ} (hn : 1 ≤ n) (h : K → X → Tag m) (epsilon : ℝ)
(hepsilon : 0 ≤ epsilon) (hh : IsAXU2 h epsilon) :
PaddedConstructionSecure (n := n) h true ((n : ℝ) * epsilon) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P41
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite and nonempty, let contain at least two distinct elements, let be natural numbers with , and let and satisfy: for every distinct and every , the fraction of keys with is at most . Choose uniformly a key and a list of independent uniform -bit pads , keeping this seed fixed throughout execution. Consider real and ideal machines initially having no sent pairs, zero received submissions, no first submitted pair, and a false closed flag. While open, a send is allowed when the sent-list length is ; it appends and outputs in the real machine and in the ideal machine. A submission is allowed when the received count is , independently of how many sends occurred. It increments that count, records the pair if it is the first submission, and emits one delivery, namely on acceptance and failure otherwise. Real acceptance means ; ideal acceptance means that the pair is exactly the sent-list entry at index , so a missing entry causes rejection. Submission number releases to Bob regardless of acceptance. A timeout closes the machine, sets its received count to , outputs failure deliveries when the previous received count was , releases to Alice, and releases to Bob exactly when . Closed machines and requests exceeding their respective allowances are silent, meaning no tag, no deliveries, and no key outputs. For every inductively generated terminating Boolean test issuing only sends and timeouts, with each emitted pair automatically submitted and its tag hidden from the test, the uniform averages of the final Boolean in the two machines are equal. For every such test issuing arbitrary sends, submissions, and timeouts and branching on the complete outputs, the absolute difference of those averages is at most . The definition allows and places no upper bound on or .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.