Compose security proofs through resource specifications

Ouverte
#413 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
10/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Lean
Étoiles
3
Forks
0
Merge moyen
1 j 7 h
PR mergées (30 j)
123

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de trailofbits/constructive-cryptography

Toutes les issues de trailofbits/constructive-cryptography

Issues similaires

Plus d'issues Cryptography

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.