{
  "id": "2021/651",
  "url": "https://opencryptology.org/2021/651",
  "original_url": "https://eprint.iacr.org/2021/651",
  "title": "Leo: A Programming Language for Formally Verified, Zero-Knowledge Applications",
  "authors": [
    "Collin Chin",
    "Howard Wu",
    "Raymond Chu",
    "Alessandro Coglio",
    "Eric McCarthy",
    "Eric Smith"
  ],
  "affiliations": null,
  "abstract": "Decentralized ledgers that support rich applications suffer from three limitations. First, applications are provisioned tiny execution environments with limited running time, minimal stack size, and restrictive instruction sets. Second, applications must reveal their state transition, enabling miner frontrunning attacks and consensus instability. Third, applications offer weak guarantees of correctness and safety.\n\nWe design, implement, and evaluate Leo, a new programming language designed for formally verified, zero-knowledge applications. Leo provisions a powerful execution environment that is not restricted in running time, stack size, or instruction sets. Besides offering application privacy and mitigating miner-extractable value (MEV), Leo achieves two fundamental properties. First, applications are formally verified with respect to their high-level specification. Second, applications can be succinctly verified by anyone, regardless of the size of application.\n\nLeo is the first known programming language to introduce a testing framework, package registry, import resolver, remote compiler, formally defined language, and theorem prover for general-purpose, zero-knowledge applications.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Leo: A Programming Language for Formally Verified, Zero-Knowledge Applications” by Collin Chin, Howard Wu, Raymond Chu, Alessandro Coglio, Eric McCarthy, Eric Smith, Cryptology ePrint Archive, Paper 2021/651, https://eprint.iacr.org/2021/651. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-05-20T20:29:22Z",
    "updated": "2021-05-20T20:29:22Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/651.pdf",
    "sha256": "2cf986730f1e4016b1143c199097f7ca8e46c47b49087a32679075f415208da0",
    "size": 535425,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/651/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/651.pdf",
      "size": 535425,
      "sha256": "2cf986730f1e4016b1143c199097f7ca8e46c47b49087a32679075f415208da0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260915230728id_/https://eprint.iacr.org/2021/651.pdf",
      "captured_at": "2026-09-15T23:07:28Z",
      "size": 521366
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/651.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 535425
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/651,\n      author = {Collin Chin and Howard Wu and Raymond Chu and Alessandro Coglio and Eric McCarthy and Eric Smith},\n      title = {Leo: A Programming Language for Formally Verified, Zero-Knowledge Applications},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/651},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/651}\n}"
}
