metadata
license: cc-by-nc-sa-4.0
task_categories:
- text-generation
language:
- en
tags:
- code
size_categories:
- n<1K
Code with Proofs Benchmark
Main essay: A Proposal for Safe and Hallucination-free Coding AI
This dataset contains an initial benchmark set of code-with-proof problems with solutions. There are 24 problems, mostly simple non-recursive functions and simple recursion on natural numbers and lists. Each problem statement consists of a natural language description, a function signature, and the formal specification consisting of up to two theorem statements. Currently in Lean only; translation to other languages is welcome.
Files
easy.jsonl
: the problem statements in JSONL format. Fields include "description", "function_signature", "theorem_signature", "theorem2_signature"EasyBenchmark.lean
: the solutions including function implementations and proofs. Requires Mathlib.