Skip to main content

A tool for verifying game-hopping proofs

Project description

ProofFrog

A work in progress

Installation:

pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt

Commands:

To use the proof engine: python3 proof_frog prove [proof_file]. As of right now, the only proofs working are 'examples/Proofs/SymEnc/OTUC=>OTS.proof' and 'examples/Proofs/SymEnc/CPA$=>CPA.proof'.

You can also parse any type of file (scheme, proof, game, or primitive) using python3 proof_frog parse [file]. It will read the file, transform it into an internal AST representation, stringify the representation, and print it back out to the screen.

The bash files testParsing.sh ensures that the ANTLR grammar can parse each file in the examples folder. testAST.sh parses each file with proof_frog, strips the whitespace, and diffs it with the original file to ensure that the AST output matches the file input.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proof_frog-0.1.1.tar.gz (166.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proof_frog-0.1.1-py3-none-any.whl (163.8 kB view details)

Uploaded Python 3

File details

Details for the file proof_frog-0.1.1.tar.gz.

File metadata

  • Download URL: proof_frog-0.1.1.tar.gz
  • Upload date:
  • Size: 166.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for proof_frog-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd422cffca57b43332e8f8310cc8729d9d94c2815332f88618b81a85773017b7
MD5 c3f6a2185187e348efc6a983f1ca46fe
BLAKE2b-256 fcbb55120d83253669076fc390ead058da3f9edcfafbb6ca8c3bf5679637970f

See more details on using hashes here.

File details

Details for the file proof_frog-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: proof_frog-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 163.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for proof_frog-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e39d9532ba33206aef4990d78c03bfd5c75da407467345bbbc5635654f9509a
MD5 52d729fe26dcfc791405f2983f4ffaca
BLAKE2b-256 1faf5d775029bac2cfad4d54df781012d9b7b7e20cd6d9f0108c8b9cffdff460

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page