Recover the inside exchange of a routed exchange, per router port
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
- 43/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Domínio
- tooling
Direção de pesquisa
The issue refers to the generated C.request_p and C.answer_p equations and routing relation from issues #361 and #368, but names no source files or tests. Read those issues and locate the router equation generator first. Done when each port has a C.routed_p equation, including numbered suffixes for duplicate port names, and the acceptance example works across different reply types without casts.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Background
For a port $p$ of a DSL router with $\mathrm{request}(p,x)=(j,f,x)$, the generated request equation (#361) cannot be rewritten at a routed exchange: the type of the inside reply depends on the requested port, so the rewrite has no well-typed motive. What is used at such an exchange is the inversion of the routing relation (#368):
\mathrm{Routed}\big((p,x),v\big)\,e'\ \Longrightarrow\ \exists\,z:Y_j,\quad e'=\big((j,f\,x),(j,z)\big)\ \land\ v=\big(p,\ \mathrm{answer}_p(x,z)\big).
Proposed change
Generate C.routed_p for each port of a router, beside C.request_p and C.answer_p, with the inside port written out. It holds by definition, since the request at the outside query reduces to that port. Ports that share a name get the same numbered suffixes as the other two equations. Extends #361.
Acceptance criteria
At a router with two ports of different reply types, obtain the inside reply and the outside answer from a routed exchange by obtain ⟨z, rfl, rfl⟩ := C.routed_p … h, with no heterogeneous equality and no cast.
- Linguagem predominante
- Lean
- Estrelas
- 3
- Forks
- 0
- Merge médio
- 1d 7h
- PRs com merge (30d)
- 123
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
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizeTalvez já em andamento @MarcIlunga assumiu hoje. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
trailofbits/constructive-cryptography#480 ·
Mantenedores costumam responder em até 1 dia
-
Add MR16 Lemma 5, indifferentiability composition, and specificationTalvez já em andamento @MarcIlunga assumiu hoje. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
trailofbits/constructive-cryptography#473 ·
Mantenedores costumam responder em até 1 dia
-
needs-format
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
trailofbits/constructive-cryptography#471 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
trailofbits/constructive-cryptography#465 ·
Mantenedores costumam responder em até 1 dia
-
needs-format
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
trailofbits/constructive-cryptography#462 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de trailofbits/constructive-cryptography
Issues semelhantes
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
docling-project/docling-core#1067 ·
Mantenedores costumam responder em até 3 dias
-
[BUG] BraveSearchTool ignores the documented api_key argumentTalvez já em andamento @Kiko0301 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
cloudflare/workers-sdk#17159 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
Mantenedores costumam responder em até 1 dia
-
area-Tools-ILLink untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
dotnet/runtime#138255 · 1 comentário ·
Mantenedores costumam responder em até 1 dia