8000 GitHub - dconnolly/ProofFrog: A tool for verifying game-hopping proofs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dconnolly/ProofFrog

 
 

Repository files navigation

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.

About

A tool for verifying game-hopping proofs

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.6%
  • ANTLR 2.9%
  • Shell 1.5%
0