Compose security proofs through resource specifications

未关闭
#413 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
10/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃

调研方向

Start from the collision specification and its two implementations, following #414 (PR #436) then #423 (PR #437); this issue is an umbrella tracking many dependent PRs, so read the linked prerequisites before touching proofs. Done when a public construction over the collision specification is proven and used with two implementations at a positive query budget, with positive and separating cases verified in their owning layers.

由索引模型根据 Issue 内容生成。

描述

Background

For a construction $f$ with input specification $S$ and output specification $T$, prove $f(S) \subseteq T$ once. An implementation $R$ can use it by proving $R \in S$. Concrete interface and transcript proofs belong at that membership step.

Proposed change

Start with the collision specification and its two implementations. Each arrow below links a prerequisite to the PR that uses it.

Deliverable Issue and draft PR
Collision guarantee, then authoring and review example #414 (PR #436) → #423 (PR #437)
Transport across carriers, then honest and simulator ports #415 (PR #434) → #416 (PR #435) → #448 (PR #451)
Pull tests back, then refute construction with a failing test #417 (PR #431) → #418 (PR #438)
Average component errors, then construct from a mixture #420 (PR #433) → #421 (PR #440)
Use the same distance law in statistical calculations #420 (PR #433) → #429 (PR #441)
Count permutation restrictions, then condition the next reply #425 (PR #445) → #426 (PR #446)
Substitution through fixed parallel contexts #422 (PR #439)
Observer reductions with monotone loss #419 (PR #432)
Signed observer averages, then uniform trial reduction #352 (PR #452) → #353 (PR #453)
Approximate obstruction against all admitted ideals #449 (PR #450)
Payload-dependent call accounting #424 (PR #442)
Positive event mass from a second moment #427 (PR #444)
Normalized and filtered typed distance #428 (PR #443)
Public and internal calls to one resource (after PR #382) #430 (PR #447)

Existing reusable laws include exact construction, serial composition, singleton lifting and Mathlib’s zero-step distance chain (edist_le_range_sum_edist).

Related work already tracked:

  • Finite families and structural wiring: #293 and #294 supply the coherence for #296 (PR #304). #393 tracks the parallel unit and associativity laws.
  • Shared resources and observations: #202 covers separate caller allowances. #388–#391 cover transcript routing and repeated queries. PR #322 introduces finite cuts and PR #348 relates them to attachment.
  • Computational claims: #5 tracks feasible observers and the cost of their reductions. The concrete query bounds above count calls.
Acceptance criteria
  • Prove a public construction over the collision specification and use it with two implementations at a positive query budget.
  • In the simulator and mixture proofs, identify which witness is shared and which choices may depend on a component.
  • Verify both positive and separating cases in their owning layers. Each implementation PR has its own tests and links to the issue it closes.
主要语言
Lean
星标
3
派生
0
平均合并
1 天 7 小时
30 天内合并 PR
123

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

trailofbits/constructive-cryptography 的其他 Issue

查看 trailofbits/constructive-cryptography 的全部 Issue

相似的 Issue

更多 Cryptography Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。