You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder holds the random systems and converters of RandomSystems, typed by
interfaces [3, Definitions 3.8, 3.9, 3.17], [6, §3], [7, Definitions 2.2.1–2.2.2]: interfaces and
their budgets, typed systems and typed converters, attachment, parallel composition and renaming
with their coherence laws, filters, contexts, sources, automata, memoryless and functional
systems, typed games and the typed games presented by discrete games. Its DSL folder holds the
part of the DSL below the front end: the surface syntax, the laws that components sample from,
program bodies and their typed converters, and the tactics for the generated obligations
(GRAMMAR).
Every object here is a systems-level object; the instances of the classes in
ConstructiveCryptography use them as their fields.
Citations refer to the numbered references of THEORY.md.
Interfaces, typed systems and typed converters
An interface$A = (I, X, Y, D)$ has finitely many labels, finite alphabets
$X_i, Y_i$, and a domain $D$ of input histories, prefix-closed, without the empty history, of
bounded length. Two domains recur: the query budget$D = \lbrace h \ne \varepsilon \mid \lvert h \rvert \le q \rbrace$ and the
per-port budget$D = \lbrace h \ne \varepsilon \mid \forall i.\ \lvert h \restriction i \rvert \le q_i \rbrace$,
where $h \restriction i$keeps the inputs at the label$i$.
The filter admitting $D$ forwards the queries of admitted histories;
it is a typed converter $(A \restriction D) \to A$ from the restricted interface.
Attached to a typed system, it is the
restriction of the system's random system to the restricted domain, and
two filters in series act as the filter of both
conditions. A constant converter ignores its inside system and
exposes a fixed one, and the fixed right and
leftcontexts run a typed system beside:
attaching$\mathrm{rightContext}\ A\ S$ to $R$
gives $R \parallel S$, and so does attaching$\mathrm{leftContext}\ R\ B$ to $S$.