Recover the exchange recorded by the last-share lookup

Offen
#370 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
cryptography

Rechercherichtung

Start in the HashedGuarantees development and find where lastShare and shareOf are defined, then read the existing lookup update lemmas for that state. The goal is a lemma exposing the existential witness ∃ e ∈ h, shareOf e = some (i, r, c) from lastShare h i = some (r, c), plus two preservation/replacement lemmas for a later share on another and the same handle. Done means those three statements compile against the update equations and are checked in the project's build. This is proof work inside a specialized formalization; expect to read the surrounding resource-algebra lemmas first.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Background

A successful lookup of the latest share identifies an exchange in the history.

lastShare h i = some (r, c) → ∃ e ∈ h, shareOf e = some (i, r, c)

Here i is the handle, r the role and c the recorded pair.

Proposed change

Expose the witness in HashedGuarantees using the lookup update equations.

Acceptance criteria

Check that a later share for another handle preserves the witness and a later share for the same handle replaces the recorded pair.

Vorherrschende Sprache
Lean
Sterne
3
Forks
0
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
123

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus trailofbits/constructive-cryptography

Alle Issues in trailofbits/constructive-cryptography

Ähnliche Issues

Weitere Issues zu Cryptography

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.