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

Ouverte
#394 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
46/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Lean
Étoiles
3
Forks
0
Merge moyen
1 j 7 h
PR mergées (30 j)
123

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de trailofbits/constructive-cryptography

Toutes les issues de trailofbits/constructive-cryptography

Issues similaires

Plus d'issues Backend & API Design

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.