Read a random function through an injective input map behind any stateless router

Offen
#394 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
46/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv

Rechercherichtung

Read the evaluation sharing laws in src/Commons/Definitions/ and the referenced issues #201, #205, and #229; the proposed additions are Evaluation.routingAt_comp_smul_system, Evaluation.routingAt_comp_smul_randomFunction_of_injective, its uniform-law case, and Evaluation.routingAt_comp_smul_URF_of_injective. Start by tracing how the existing laws express precomposition and random-function draws. Done means the new laws are proved and the acceptance example shows that none is never queried.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Background

#201 reads a function through an input map on the evaluation interface itself: $\mathrm{precompose}_e\bullet[f]=[f\circ e]$, and for injective $e$ a random function read through $e$ is a random function. A converter that reads the function is usually not precompose but a stateless router (#220) from another interface, whose requests end in $e$. For such a router with request $u\mapsto e(\mathrm{req},u)$ and answer map $\mathrm{ans}$:

\mathrm{route}_{e\circ\mathrm{req},\,\mathrm{ans}}\bullet[f]=\mathrm{route}_{\mathrm{req},\,\mathrm{ans}}\bullet[f\circ e],
e\ \text{injective}\ \Longrightarrow\
\mathrm{route}_{e\circ\mathrm{req},\,\mathrm{ans}}\bullet\mathrm{RF}_{D'}(\mu)=\mathrm{route}_{\mathrm{req},\,\mathrm{ans}}\bullet\mathrm{RF}_{D}(\mu\circ e).

The entry laws $\mu$ may differ from input to input. The inputs outside the image of $e$ are never read. precompose is built with routing, not routingAt, so the router laws of #229 do not apply to it directly.

#355 treats a map $e$ that is not injective, up to the event that two distinct queries reach one entry.

Proposed change

In src/Commons/Definitions/, beside the evaluation sharing laws, add Evaluation.routingAt_comp_smul_system, Evaluation.routingAt_comp_smul_randomFunction_of_injective and its case at the uniform laws, Evaluation.routingAt_comp_smul_URF_of_injective. The proof draws the table outside the router, reads it through precompose e, and moves the draw back (#201, #205).

Acceptance criteria

On a query b, a router reads the uniform random function on Option Bool at some (!b). It is the router that reads the uniform random function on Bool at !b: the input none is never read.

Vorherrschende Sprache
Lean
Sterne
3
Forks
0
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
123

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus trailofbits/constructive-cryptography

Alle Issues in trailofbits/constructive-cryptography

Ähnliche Issues

Weitere Issues zu Backend & API Design

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.