Code Monkey home page Code Monkey logo

pil2-compiler's People

Contributors

jbaylina avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pil2-compiler's Issues

Write easy examples to compare PIL1 and PIL2 resources

We have to study and understand better how to compare programs made in PIL1 vs their equivalents in PIL2. For this, we're going to go through a series of "small" examples that are intended to cover most frequent scenarios.

Examples

  • Basic arithmetic

Parameters to compare

  • Area, i.e., the number of columns times the number of rows.
  • Number of intended program's operations with such area. For example, for the binary program, this would be the number of binary operations it can perform with particular area.
  • Number of constraints.
  • Constraint degree
  • Constraint "window" (some people refer to this as the number of openings).

Consequences to consider

  • Proving time.
  • Proof size.
  • Verification time.

Note 1: The main objective should be achieving the least proving time, without incurring in a prohibitive proof size and/or verification time.
Note 2: Verification time is, at least, linearly dependent on the proof size. Therefore, proof size is the parameter to worry about between these two. Anyways, these can always be reduced using proof composition.


Started to work on this in this note.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.