Expose the retained uniform table of a random function across finite instances

Geschlossen
#366 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 by locating the existing URF definition (the uniform random function resource) and the ofFunction/attachment machinery it wraps; the acceptance criteria point at the lemma stating that two Fintype witnesses on the same carrier induce the same uniform law, plus a proof that repeated reads at the same port and input hit the same table entry. Read the surrounding resource-algebra files for how attachments and enumerations are already rewritten. Done when the equation is exposed as a usable lemma and both rewrites (different enumeration, repeated query) compile in the project's Lean build.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Background

A uniform random function on $A$ draws one table $F$ and answers query $(i,x)$ with $F_i(x)$:

\mathrm{URF}(A)=\mathrm{sample}_{F\sim U(\prod_i Y_i^{X_i})}\mathrm{ofFunction}(F).
Proposed change

Expose this equation for the existing URF. Prove that two Fintype witnesses on the same carrier give the same uniform law, so the caller can rewrite an attachment using its own enumeration.

Acceptance criteria

Rewrite at a different enumeration with the domain fixed. Check that two reads at the same port and input consult the same table entry.

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.