File size: 982 Bytes
feef162
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f07b52d
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
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](https://gasstationmanager.github.io/ai/2024/11/04/a-proposal.html)

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.