Add MR16 Lemma 5, indifferentiability composition, and specification

オープン
#473 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@MarcIlunga がすでに取り組んでいます。

2026年11月24日 から。

  • #474 @MarcIlunga による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
123

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

trailofbits/constructive-cryptography のほかの issue

trailofbits/constructive-cryptography の issue をすべて見る

似ている issue

Cryptography の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。