Skip to main content

ProofFrog logo

ProofFrog

Tests PyPI Python License: MIT

A tool for checking transitions in cryptographic game-hopping proofs.

ProofFrog checks the validity of game hops for cryptographic game-hopping proofs in the reduction-based security paradigm: it checks that the starting and ending games match the security definition, and that each adjacent pair of games is either interchangeable (by code equivalence) or justified by a stated assumption. Proofs are written in FrogLang, a small C/Java-style domain-specific language designed to look like a pen-and-paper proof. ProofFrog can be used from the command line, a browser-based editor, or an MCP server for integration with AI coding assistants. ProofFrog is suitable for introductory-level proofs, but is not as expressive for advanced concepts as other verification tools like EasyCrypt and lacks comparable levels of assurance.

ProofFrog web interface

Installation

Requires Python 3.11+.

From PyPI

python3 -m venv .venv
source .venv/bin/activate
pip install proof_frog

After installing, download the examples repository:

proof_frog download-examples

From source

git clone https://github.com/ProofFrog/ProofFrog
cd ProofFrog
git submodule update --init
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Documentation

Full documentation is available at prooffrog.github.io, including:

Emacs. An Emacs major mode providing syntax highlighting, indentation, Imenu navigation, and LSP integration (via eglot or lsp-mode) is available in the emacs folder. See its README for installation instructions.

License

ProofFrog is released under the MIT License.

Acknowledgements

ProofFrog was created by Ross Evans and Douglas Stebila, building on the pygamehop tool created by Douglas Stebila and Matthew McKague. For more information about ProofFrog's design, see Ross Evans' master's thesis and eprint 2025/418.

ProofFrog's syntax and approach to modelling is heavily inspired by Mike Rosulek's excellent book The Joy of Cryptography.

We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).

NSERC logo

Includes icons from the vscode-codicons project.

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.6.0.tar.gz (2.0 MB 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.6.0-py3-none-any.whl (789.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proof_frog-0.6.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.33.1

File hashes

Hashes for proof_frog-0.6.0.tar.gz
Algorithm Hash digest
SHA256 e46fdf46df50ebdd999664d04a8229cbf02a9abf8fbe857556efd6c49b6f22cf
MD5 c6be49c15abfb917d3a71cd9d0872cc1
BLAKE2b-256 cc7d6f632f3ae045c3da361cd5fd11d275742be6f54c9f40c9cec7bd4ef4e32c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for proof_frog-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f99f71facd1a516ad30e65598f7ff58e448744f2eb8af4ae33c8db1019920a7
MD5 55077db2a01285f0af15f7f94439154b
BLAKE2b-256 efcbd919eaf80bc971450cace0479c90169c29d04b50402e1bcf9b6d926693d8

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