Home Edition
Presenter: David Butler
Authors:
To be presented on 2020-04-30.
Resources:
_Note taker: Daira.
Others are welcome to augment/annotate using notes. Add your name. –-Eran Tromer
–-Markulf Kohlweiss
Bio: David Butler worked on verification of ZK and aircrafts/spacecrafts
Problem statement: Formalizing ZK (and commitments, though not in this talk). Investigate how formal verification can help with the standardization process.
Motivation:
Example: Isabelle/HOL proof of Schnorr Sigma-protocol
Machine-checked proofs give:
Tools: CertiCrypt (Coq), CryptHOL (Isabelle/HOL), FCF (Coq), EasyCrypt, ProVerif (pi-calculus)
How can we integrate formal methods with the standardization process?
Summary of Sigma protocols
A "conversation" is the tuple of messages sent by prover and verifier.
In Sigma protocols we aim for honest-verifier ZK.
Problem with formalizing OR construction for Sigma protocols.
To prove completenes of the composition one needs that the simulator works for 'all' x, not just for x in the language.
Q: how is 'all' defined? valid_pub? –Markulf Kohlweiss
Solution: simulator should always output a valid conversation. This fix was in Cramer's PhD but didn't filter down into modern textbook definitions.
Formal methods can capture these subtleties.
Introduction to Isabelle theorem prover. Well-established, used for proof of Kepler conjecture.
CryptHOL is a framework for crypto that provides a probabilistic programming framework.
Modularization comes naturally in Isabelle. E.g. we can prove correctness of generic constructions such as
Sigma protocol => commitment scheme.
CryptHOL uses Isabelle's module systems (locales) to define generic protocols and defines concrete protocols using a probabiltiy monad.
This also allows to define generic compilers such as the OR compiler that takes two Sigma-protocols and generates a Sigma-protocol for the OR-relation.
Some problems with definitions will only be found by considering more complicated constructions/compositions.
Formal proof could focus on parts where intuition breaks down.
Can be used as a prototyping tool for protocols.
Feedback from formal methods to standardization, e.g. TLS 1.3.
Questions:
Justin Thaler: "The more complicated the protocol, the more man-hours. Do you have a sense of whether it's feasible to attempt to formalize complete modern protocols?"
Yael Kalai: "Going back to the goal of formal verification, is the goal to convince myself, or to convince the community?"
Michele Orrù: [didn't catch the question]
Justin Thaler: "In the TLS example, community settled on one protocol and there was great effort to make it secure. Not the same situation in the zk community."
Thomas Kerber: "Field is moving so quickly, and it takes a long time to apply formal methods. Even if you had a proof of, say, Groth16, no guarantee anyone is using it a year later."
Yael: "Not sure what you mean by a formal machine-checkable definition. I agree that we sometimes define the 'same' things in different ways. But I want to understand more clearly what you mean by 'formal'."
AntoineR: "I don't see the community reaching consensus on which proof system should rule them all; it's a matter of trade-offs. So we should formally verify Groth16. To anyone who has written R1CS, it is very complicated to do right; missing a single gate results in failing to capture the intent."
Daira: "What is the scope of what formal methods can currently do? Give an example of a nontrivial optimization that is proven correct."
Poll: should we focus on providing definitions (and testing them) or proofs for a protocol that we care about?
Results: 76% definitions; 54% generate proofs
Sponsors pitch: Evan Cheng, Calibra research group (subsidiary of Facebook).
1.1m people underbanked; Calibra/Facebook wants to help with that. Cannot trust a single company to have control of infrastructure for money. Libra trying to work in the open, public protocols etc. Recognized that they need to drive cutting-edge research, with the scientific community.
Lightning talk: Youssef El Housni, EY blockchain team
"Optimized and secure pairing-friendly elliptic curves suitable for one layer proof composition"
https://eprint.iacr.org/2020/351
Summary of recursive verification. For efficiency, use cycle/chain of pairing-friendly elliptic curves [BCTV14, BCG+20].
Field size of one curve is equal to subgroup size of the other, and vice-versa.
Examples: MNT4/6 (e.g. MNT4/6-753 used originally in Coda), BLS12-377/SW6 used in Zexe.
This work: curve like SW6 but more efficient.
For SNARKs, we want:
Use variant of Brezing–Weng to find a 761-bit curve (as opposed to 782 for SW6). Has embedding degree 6 and sextic twist, efficient optimal ate pairing, CM discriminant -3 (hence endomorphisms for efficient scalar mul).
Lightning talk: Abilash Soundararajan, TruthShare
"Clean Social Media Technology - using ZKP, MPC and Game Theory"
Proving the identity of the originator of a cybercrime and preventing spread of cybercrime content in social media platforms, including end to end encrypted platforms, is not possible without privacy violation.
Most of the social media platforms are anonymous either by user identity or by content, hence AI based systems have limited utility in establishing culpability.
Clean Social Media technology, which can help achieve the objectives with
The solution is designed to ensure compliance with GDPR requirements for data subjects, at the same time built on proofs which are binding, hiding and compressive time commitments.
The designed MPC protocol has the attributes of:
Thus, the technology framework disincentivizes cybercrime on social media platforms, making them a cleaner and safer place for humanity to interact.
"Criminal content is not being penalized." Use ZK to help with social media moderation. Protect E2E encryption by allowing moderation compatible with E2E.
email: abilash@truthshare.tech
LinkedIn: https://www.linkedin.com/in/abilashsss/
Charter Ideas
Goals:
Milestones:
Suggestions welcome! Please append at the end, and the moderators will incorporate into the schedule.
~15 minutes each, by default.