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

Aberta
#394 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
46/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Lean
Estrelas
3
Forks
0
Merge médio
1d 2h
PRs com merge (30d)
159

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de trailofbits/constructive-cryptography

Todas as issues de trailofbits/constructive-cryptography

Issues semelhantes

Mais issues de Backend & API Design

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.