Share the coin relabeling law of the two hashed-DH simulations

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

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
領域
cryptography

調査の方向性

Start at the definition of coinLaw and its two map lemmas, coinLaw_map_shift and coinLaw_map_shiftI, to see how each currently derives the pushforward equality from its own hypotheses. Factor the shared statement Law(N, c+Z) = U(Nonce) ⊗ U(Z/pZ) into one lemma beside coinLaw, then re-derive both maps from it. Done means C_smul_stDH_real_eq and C_smul_stDH_ideal_eq still check under their existing assumptions via lake build.

索引モデルが issue の本文から書いたものです。

説明

Background

Let $N$ and $Z$ be the nonce and exponent drawn by coinLaw. Both hashed-DH simulations use the same equality for each fixed $c\in\mathbb Z/p\mathbb Z$:

\mathrm{Law}(N,c+Z)=U(\mathrm{Nonce})\otimes U(\mathbb Z/p\mathbb Z).
Proposed change

Prove the pushforward once beside coinLaw. Use it for coinLaw_map_shift and coinLaw_map_shiftI; each simulation keeps its own invariant hypotheses.

Acceptance criteria

Check both attachment equalities, C_smul_stDH_real_eq and C_smul_stDH_ideal_eq, with their existing assumptions.

主要言語
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 を短くまとめたダイジェスト。