Recover the inside exchange of a routed exchange, per router port
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 43/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- tooling
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Lean
- 星标
- 3
- 派生
- 0
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 123
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
trailofbits/constructive-cryptography 的其他 Issue
-
Automate monoidal whiskering and unitor normalization in cc_normalize可能已有人在做 @MarcIlunga 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
trailofbits/constructive-cryptography#480 ·
维护者通常 1 天内回复
-
Add MR16 Lemma 5, indifferentiability composition, and specification可能已有人在做 @MarcIlunga 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 12/100
trailofbits/constructive-cryptography#473 ·
维护者通常 1 天内回复
-
needs-format
难度 5/5 一周以上 新手友好度 12/100
trailofbits/constructive-cryptography#471 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
trailofbits/constructive-cryptography#465 ·
维护者通常 1 天内回复
-
needs-format
难度 5/5 一周以上 新手友好度 8/100
trailofbits/constructive-cryptography#462 ·
维护者通常 1 天内回复
查看 trailofbits/constructive-cryptography 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
app bug skills windows-os
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
tstraub89/canon-ai#194 · 1 条评论 ·
维护者通常 1 天内回复
-
bug false-positive
难度 2/5 1-3 小时 新手友好度 74/100
jose-compu/lacan-scan#109 ·
维护者通常 1 天内回复