Recover the inside exchange of a routed exchange, per router port
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 43/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Lean
- Stelle
- 3
- Fork
- 0
- Merge medio
- 1g 7h
- PR unite (30g)
- 123
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizeForse già presa @MarcIlunga l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
trailofbits/constructive-cryptography#480 ·
I maintainer di solito rispondono entro 1 giorno
-
Add MR16 Lemma 5, indifferentiability composition, and specificationForse già presa @MarcIlunga l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
trailofbits/constructive-cryptography#473 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
trailofbits/constructive-cryptography#471 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
trailofbits/constructive-cryptography#465 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
trailofbits/constructive-cryptography#462 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di trailofbits/constructive-cryptography
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Windows data plugin feedbackApertaapp bug skills windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tstraub89/canon-ai#194 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug false-positive
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
jose-compu/lacan-scan#109 ·
I maintainer di solito rispondono entro 1 giorno