C.2.2: generic parallel composition
OpenQAlgorithms.Papers.Independent.Bridge50.P44.parallel_compositionIn an abstract three-interface AC model with the source's converter wiring and contractive pseudometric axioms, suppose honest protocols construct from within nonnegative errors , respectively, in both clauses of Definition 2.1. Then
The parallel filtered resource contains both honest filters, and the conclusion retains both availability and existence of a simulator. Resource distance permits joint attacks and distinguishers; independence is not imposed. This is the generic abstract parallel construction theorem.
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 p.47, Appendix C.2.2: generic parallel AC composition. The resource
metric permits joint distinguishers; independence of attacks is not assumed. -/
theorem parallel_composition (M : ACModel) (p q : M.Converter × M.Converter)
(r s rprime sprime : Filtered M) (epsilon eta : ℝ)
(hepsilon : 0 ≤ epsilon) (heta : 0 ≤ eta)
(hp : Constructs M p r s epsilon) (hq : Constructs M q rprime sprime eta) :
Constructs M (parallelProtocol M p q) (parallelFiltered M r rprime)
(parallelFiltered M s sprime) (epsilon + eta) := 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 consist of types of resources and converters, resource parallel composition , converter serial composition , converter tensor composition , an identity converter, attachment operations for Alice, Bob, and Eve, and a real-valued distance . Assume that serial attachment obeys , identity attachment fixes every resource, attachments at distinct interfaces commute, tensor attachment distributes as , and is nonnegative, symmetric, zero on equal arguments, satisfies the triangle inequality, and is contractive under common attachments and under parallel composition with a common resource on either side. Write for any converter pair . Let be converter pairs, let , , , and be filtered resources, and let . Assume
and
Then, for ,
and there exists a converter such that
The statement includes either or both error bounds being zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.