Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -19,13 +19,55 @@ language:
|
|
19 |
# Proof Oriented Programming with AI (PoPAI) - FStarDataSet
|
20 |
|
21 |
This dataset contains programs and proofs in [F* proof-oriented programming language](https://fstar-lang.org/).
|
22 |
-
The data
|
|
|
|
|
23 |
|
24 |
## Data Source
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
## Primary-Objective
|
27 |
|
28 |
## Data Format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
# Usage
|
31 |
|
|
|
19 |
# Proof Oriented Programming with AI (PoPAI) - FStarDataSet
|
20 |
|
21 |
This dataset contains programs and proofs in [F* proof-oriented programming language](https://fstar-lang.org/).
|
22 |
+
The data, proposed in [Towards Neural Synthesis for SMT-Assisted Proof-Oriented Programming](https://arxiv.org/pdf/2405.01787).
|
23 |
+
is an archive of source code, build artifacts, and metadata assembled from eight different F⋆-based open source projects on GitHub.
|
24 |
+
|
25 |
|
26 |
## Data Source
|
27 |
+
The raw data in this project are collected from eight open-source F* reposiroties in GitHib
|
28 |
+
1. [FStar](https://github.com/FStarLang/FStar): The F⋆ compiler itself, including its standard libraries and examples.
|
29 |
+
2. [Karamel](https://github.com/FStarLang/karamel): A transpiler from a subset of F⋆ called Low* to C, including libraries to work with a model of C types and control structures, e.g., for- and while-loops.
|
30 |
+
3. [EverParse](https://github.com/project-everest/everparse): A parser generator for binary formats, used in various large scale systems, e.g., the Windows kernel.
|
31 |
+
4. [HACL*](https://github.com/hacl-star/hacl-star): A library of verified cryptographic algorithms, including ValeCrypt, a library of verified assembly code, as well as EverCrypt, a cryptographic provider, including code deployed in Linux, Firefox, and Python.
|
32 |
+
5. [Merkle-tree](https://github.com/hacl-star/merkle-tree): A verified, incremental Merkle tree, designed for use in Azure CCF, a confidential computing system.
|
33 |
+
6. [Steel](https://github.com/FStarLang/steel): A concurrent separation logic library, with proofs of data structures and concurrency primitives.
|
34 |
+
7. [miTLS-F*](https://github.com/project-everest/mitls-fstar): A partially verified reference implementation of the TLS protocol.
|
35 |
+
8. [EverQuic-Crypto](https://github.com/project-everest/everquic-crypto): A verified implementation of header and packet protection for the QUIC protocol.
|
36 |
|
37 |
## Primary-Objective
|
38 |
|
39 |
## Data Format
|
40 |
+
Each of the examples in this dataset are organized as dictionaries with the following schema
|
41 |
+
```json
|
42 |
+
{
|
43 |
+
"file_name": <str: Name of the file>,
|
44 |
+
"name": <str: name of the example, can be used to uniquely identify the example>,
|
45 |
+
"original_source_type": <str: actual source type, to be used for type checking>,
|
46 |
+
"source_type": <str: modified source type, to be used to formulate prompt>,
|
47 |
+
"source_definition": <str: target definition>,
|
48 |
+
"source": <dict: contains metadata acout the source of this example, including project_name, git url, git sha, etc.>,
|
49 |
+
"source_range": <dict: metadata containing start and end lines and columns of this definition in the source file>,
|
50 |
+
"file_context": <str: extracted file context upto the point of current definition>,
|
51 |
+
"dependencies": <dict: build dependencies for this file>,
|
52 |
+
"opens_and_abbrevs": <list[dict]: List of opened modules and abbreviated modules in the file, necessry for evaluating.>,
|
53 |
+
"vconfig": <dict: variour buils configuration for this definition>,
|
54 |
+
"interleaved": <bool: whether this definition is interleaved with another>,
|
55 |
+
"verbose_type": <str: the verbose type of this definition as resolved by the type checker>,
|
56 |
+
"effect": <str: effect>,
|
57 |
+
"effect_flags": <list[str]: any effect flags>,
|
58 |
+
"mutual_with": <list: if this definition is mutually recursive with other, list of those names>,
|
59 |
+
"ideal_premises": <list[str]: Other definitions that are used in the ground truth definition>,
|
60 |
+
"proof_features": <list[str]>,
|
61 |
+
"is_simple_lemma": <bool/null>,
|
62 |
+
"is_div": <bool: if this definition is divergent>,
|
63 |
+
"is_proof": <bool>,
|
64 |
+
"is_simply_typed": <bool>,
|
65 |
+
"is_type": <bool/null>,
|
66 |
+
"partial_definition": <str>,
|
67 |
+
"completed_definiton": <str>,
|
68 |
+
"isa_cross_project_example": <bool: if this example belongs to cross-project evaluation set>
|
69 |
+
}
|
70 |
+
```
|
71 |
|
72 |
# Usage
|
73 |
|