Authentication with retained hash key kept internal in an asynchronous network
OpenQAlgorithms.Papers.Independent.Intake100.P41.authentication_asynchronousLet , let be finite and nonempty, let contain at least two messages, and let , where . Let be -AXU, with . Authenticate messages with the same uniform hash key and independent uniform pads, matching the th Alice input and th adversarial submission by their respective arrival orders. The hash key is used internally only for authentication and is destroyed rather than exported after the protocol. There is no timeout: withholding a submitted message produces no Bob response.
For the real resource and the multiple authentic-channel resource with the fixed independent-tag simulators ,
The distance concerns the full interactive resources, including arbitrary joint adaptive attacks and absent outputs. This provides composable authentication without an external synchronization assumption.
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.15--16, Corollary 7: full n epsilon security in a completely
asynchronous network. The key is never exported for arbitrary use; there is
no timeout rejection or synchronization observable. -/
theorem authentication_asynchronous {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 false ((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 independent uniform -bit pads , retaining this seed during the execution. Real and ideal machines start with an empty sent list, zero received submissions, no first submitted pair, and a false closed flag. A send , when the sent-list length is , appends and outputs in the real machine and in the ideal machine. A submission , when the received count is , increments that count, stores the pair if it is the first submission, and emits on acceptance or failure otherwise. The real machine accepts exactly when ; the ideal machine accepts exactly when the pair equals sent-list entry , with a missing entry causing rejection. Sends and submissions have separate allowances, so submissions may precede sends. Requests exceeding an allowance are silent. Every timeout leaves the state unchanged and is silent; no keys are released by any transition. Silent outputs contain no tag, no deliveries, and no keys. For every inductively generated terminating Boolean test issuing sends and timeouts, with each emitted pair automatically submitted and its tag hidden, the real and ideal uniform averages of the final Boolean coincide. For every such test allowed arbitrary sends, submissions, and timeouts and access to the complete outputs, the absolute difference of those averages is at most . Here is permitted, and neither nor is required to be at most one.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.