Compare deterministic converters by their next outputs
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
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- backend-api-design
Piste de recherche
Start in src/RandomSystems/Converter/ beside PDCBehavior.ofDDC, then read the related definitions and proofs for IsDDCFrom, TypedConverter, and tensor_ofDDC. Add the comparison and converse laws, typed forms, and parallel identity closure laws described in the issue; use the acceptance criteria to check reachable history functions and the two composite forms. The issue names no test files or commands.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Background
A deterministic converter from E to F (IsDDCFrom E F b a) is a partial function a from its input history, the outside queries and inside replies received so far, to its next output. After each of its own transcripts it answers exactly the inputs of the converter domain (IsDDCFrom.answers). Two such converters can therefore be compared one output at a time:
\big(\forall\,t\ \text{a transcript of both},\ \forall\,x\ \text{admitted after}\ t:\ \ a(t\cdot x)=c(t\cdot x)\big)
\ \Longrightarrow\ \mathrm{ofDDC}\,a=\mathrm{ofDDC}\,c .
The bounds on consecutive inside queries of a and c may differ. Today two deterministic converters are compared only below a common system (PDCBehavior.ofDDC_eq_of_le). An identity between two composites of converters, with no system attached, has no proof rule of its own.
Proposed change
Beside PDCBehavior.ofDDC in src/RandomSystems/Converter/, add
IsDDCFrom.replies_iff_of_next_eqandIsDDCFrom.eq_of_next_eq: under the hypothesis above the two converters have the same transcripts, and are the same partial function;PDCBehavior.ofDDC_eq_of_next_eq: they have the same behavior;- the converses
PDCBehavior.ofDDC_eq_iff_repliesandPDCBehavior.ofDDC_eq_iff: the behaviorsofDDC aandofDDC care equal exactly when the transcripts agree, and exactly whena = c.
Add the typed forms TypedConverter.ofDDC_eq_of_next_eq, ofDDC_eq_iff_replies and ofDDC_eq_iff in src/RandomSystems/Typed/. So that composites are again of the form ofDDC, state that two deterministic converters side by side are one:
parallel (ofDDC α hα) (ofDDC γ hγ) = ofDDC (tensorL α γ) (IsDDCFrom.tensorL hα hγ)
This is TypedConverter.parallel_ofDDC, the typed reading of PDCBehavior.tensor_ofDDC. Add the identity as the converter of the forwarding filter (id_eq_ofDDC_filter) and the two forms beside an identity (parallel_ofDDC_id, parallel_id_ofDDC). In series the closure law is the existing TypedConverter.ofDDC_eq_comp.
Acceptance criteria
Take two history functions that agree after every history both have answered so far and differ elsewhere: their reachable parts give one typed converter. Derive PDCBehavior.ofDDC_eq_of_le as an instance of the comparison law. Write (ofDDC α ⊗ ofDDC γ) ≫ ofDDC β and (ofDDC α ≫ ofDDC β) ⊗ ofDDC γ each as one ofDDC.
- 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
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizePeut-être pris @MarcIlunga l’a pris aujourd’hui. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
trailofbits/constructive-cryptography#480 ·
Les mainteneurs répondent en général sous 1 jour
-
Add MR16 Lemma 5, indifferentiability composition, and specificationPeut-être pris @MarcIlunga l’a pris aujourd’hui. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
trailofbits/constructive-cryptography#473 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-format
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
trailofbits/constructive-cryptography#471 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
trailofbits/constructive-cryptography#465 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-format
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 8/100
trailofbits/constructive-cryptography#462 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de trailofbits/constructive-cryptography
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
uxlfoundation/oneDNN#6604 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13Peut-être pris @fmu1337 l’a pris aujourd’hui. OuverteBug
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
alliedmodders/sourcemod#2627 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
marketcalls/openalgo#2502 ·
Les mainteneurs répondent en général sous 1 jour