Add MR16 Lemma 5, indifferentiability composition, and specification

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

维护者通常 1 天内回复

@MarcIlunga 已经在做这个了。

开始于 2026年11月24日。

  • #474 来自 @MarcIlunga —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
领域
cryptography

调研方向

The work targets src/ConstructiveCryptography/CryptographicAlgebra/Indifferentiability.lean and src/Commons/Definitions/Indifferentiability.lean, with instantiations in src/Tests/IndifferentiabilityComposition.lean. Start by reading the existing simulatorImage definitions and PRs #435/#451, then locate the Interface test file and lake build --wfail checks. Done means the named lemmas and Commons.Indifferentiability.specification compile with the axiom and source checks passing; a linked PR #474 already exists, so coordinate before starting.

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

描述

Background

PR #435 (#416) introduces simulatorImage at the right port and honest-port transport (Constructs.simulatorImage, ConstructsWithin.simulatorImage), and PR #451 (#448) proves serial composition of right-port simulator images (simulatorImage_comp, simulatorImage_comp_subset). To consume indifferentiability end to end in modular proofs, callers still need MR16 Lemma 5 for right-port simulators, serial composition with an ideal-world application, a keyed/mixed application corollary, and a named Commons.Indifferentiability.specification.

Proposed change

Build on #435 and #451 with zero duplication:

  • src/ConstructiveCryptography/CryptographicAlgebra/Indifferentiability.lean (re-exported from src/ConstructiveCryptography.lean): constructs_of_simulatorImage (MR16 Lemma 5), Constructs.serial_simulatorImage, Constructs.serial_simulatorImage_whiskerRight, and mixed_application_of_indifferentiability.
  • src/Commons/Definitions/Indifferentiability.lean (re-exported from src/Commons.lean): Commons.Indifferentiability.specification, Commons.Indifferentiability.constructs_of_simulator, and Commons.Indifferentiability.compose.

Depends on #416 (PR #435) and #448 (PR #451). Advances #413.

Acceptance criteria
  • Instantiate constructs_of_simulatorImage, Constructs.serial_simulatorImage_whiskerRight, Commons.Indifferentiability.{constructs_of_simulator, compose}, and mixed_application_of_indifferentiability (with TypedSystem.sample and TypedSystem.transcriptDistance_sample_le) on Interface in src/Tests/IndifferentiabilityComposition.lean, with #print axioms checks.
  • Pass lake build --wfail, scripts/check-sources.sh, scripts/check-axioms.sh, and Mathlib standard linters with zero warnings.
主要语言
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 摘要。