Build a certified converter for a conditional oracle call

Geschlossen
#354 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
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
cryptography

Rechercherichtung

Start from the existing callConverter definition and ofDDC_callConverter_smul_ofFunction, then read the accounting laws referenced from #39 before writing anything. The new constructor must keep the caller's outside domain, restrict the oracle branch's request sequence to the inside domain, and prove C•[H]=[g_H] for every fixed oracle H. Done looks like both branch tests pass: the B(x) input emits zero requests and the other emits exactly one, counted at send time.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

How do we define a converter that answers some inputs directly and forwards others to an oracle? Its behavior should follow from the two branches, including the number of requests each branch sends.

Add a constructor over callConverter. For each outside input $x$, the caller supplies a branch predicate $B$, a pure reply $p(x)$, an inside request $a(x)$, and a reply handler $b(x,y)$. For every fixed oracle $H$, prove $C\bullet[H]=[g_H]$, where $[f]$ denotes the system evaluating $f$:

g_H(x)=
\begin{cases}
p(x) & \text{if } B(x),\\
b(x,H(a(x))) & \text{otherwise.}
\end{cases}

Keep the caller’s outside domain. Require the sequence of requests from the oracle branch to be admitted by the inside domain. Test one input on each branch: the first emits zero requests, the second emits exactly one, counted as soon as it is sent. Reuse ofDDC_callConverter_smul_ofFunction and the accounting laws in #39.

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

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 Cryptography

Neue Issues direkt in Ihr Postfach

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