Read a random function through an injective input map behind any stateless router

Đang mở
#394 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
46/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read the evaluation sharing laws in src/Commons/Definitions/ and the referenced issues #201, #205, and #229; the proposed additions are Evaluation.routingAt_comp_smul_system, Evaluation.routingAt_comp_smul_randomFunction_of_injective, its uniform-law case, and Evaluation.routingAt_comp_smul_URF_of_injective. Start by tracing how the existing laws express precomposition and random-function draws. Done means the new laws are proved and the acceptance example shows that none is never queried.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Background

#201 reads a function through an input map on the evaluation interface itself: $\mathrm{precompose}_e\bullet[f]=[f\circ e]$, and for injective $e$ a random function read through $e$ is a random function. A converter that reads the function is usually not precompose but a stateless router (#220) from another interface, whose requests end in $e$. For such a router with request $u\mapsto e(\mathrm{req},u)$ and answer map $\mathrm{ans}$:

\mathrm{route}_{e\circ\mathrm{req},\,\mathrm{ans}}\bullet[f]=\mathrm{route}_{\mathrm{req},\,\mathrm{ans}}\bullet[f\circ e],
e\ \text{injective}\ \Longrightarrow\
\mathrm{route}_{e\circ\mathrm{req},\,\mathrm{ans}}\bullet\mathrm{RF}_{D'}(\mu)=\mathrm{route}_{\mathrm{req},\,\mathrm{ans}}\bullet\mathrm{RF}_{D}(\mu\circ e).

The entry laws $\mu$ may differ from input to input. The inputs outside the image of $e$ are never read. precompose is built with routing, not routingAt, so the router laws of #229 do not apply to it directly.

#355 treats a map $e$ that is not injective, up to the event that two distinct queries reach one entry.

Proposed change

In src/Commons/Definitions/, beside the evaluation sharing laws, add Evaluation.routingAt_comp_smul_system, Evaluation.routingAt_comp_smul_randomFunction_of_injective and its case at the uniform laws, Evaluation.routingAt_comp_smul_URF_of_injective. The proof draws the table outside the router, reads it through precompose e, and moves the draw back (#201, #205).

Acceptance criteria

On a query b, a router reads the uniform random function on Option Bool at some (!b). It is the router that reads the uniform random function on Bool at !b: the input none is never read.

Ngôn ngữ chính
Lean
Star
3
Fork
0
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
123

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của trailofbits/constructive-cryptography

Tất cả issue của trailofbits/constructive-cryptography

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.