D.1: honest authentication is identity
OpenQAlgorithms.Papers.Independent.Bridge50.P44.authentication_availabilityLet be any hash family with a finite nonempty key alphabet . Alice and Bob share an ideal uniform key, Alice sends , and the honest forwarding filter delivers exactly that pair to Bob. Bob accepts the message if and only if the received tag equals of the received message. The complete filtered output law is
and the probability of an error output is zero. Thus the honest real and ideal channels are both the identity. No universality assumption or malicious authentication security is asserted.
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P44
noncomputable section
open scoped BigOperators Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Bridge50.P44
open QAlgorithms
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (State traceSize)
open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)
open QAlgorithms.Papers.Independent.Frontier18.P08 (partialTraceFirst)
open QAlgorithms.Papers.Independent.Information100.P76 (maximallyMixed)
open QAlgorithms.Papers.Independent.Frontier18.P08 (conditionalEntropyNats)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF pp.49--50, Appendix D.1: with honest forwarding filters, authentication
is the identity channel for every hash family. The ideal shared key is uniform
and nonempty; no malicious-channel security conclusion is included. -/
theorem authentication_availability {K X T : Type*} [Fintype K] [Nonempty K]
[DecidableEq X] [DecidableEq T] (h : K → X → T) (x : X) :
honestAuthentication h x = (fun out => if out = some x then 1 else 0) := by sorry
end QAlgorithms.Papers.Independent.Bridge50.P44
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite nonempty type, let be types with decidable equality, let be any function, and let . Verification with key returns the message when a received pair satisfies , and otherwise returns no message. Define the honest-output weight at by summing over all keys for which verification of returns . Then this entire function equals the point mass at :
In particular, the weight of no message is ; no additional property of is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.