arabelatso
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
base_model:
|
6 |
+
- meta-llama/Llama-3.1-8B
|
7 |
+
---
|
8 |
+
|
9 |
+
<p align="center">
|
10 |
+
<img width=20%" src="figures/logo.png">
|
11 |
+
</p>
|
12 |
+
|
13 |
+
## Introduction
|
14 |
+
|
15 |
+
We present a fine-tuned model based on llama-3.1-8B for formal verification tasks. It is fine-tuned in five formal specification languages (Cog, Dafny, Lean4, ACSL, and TLA) on six formal-verification-related tasks:
|
16 |
+
|
17 |
+
The fm-alpaca (the fine-tuning dataset) will be released soon.
|
18 |
+
|
19 |
+
- **Requirement Analysis**: given requirements and description of the verification or modeling goals, decomposing the goal into detailed verification steps
|
20 |
+
|
21 |
+
- **Proof/Model Generation**: given requirements and description of the verification or modeling goals, writing formal proofs or models that can be verified by verifier/model checker.
|
22 |
+
|
23 |
+
- **Proof segment generation**
|
24 |
+
|
25 |
+
- **Proof Completion**: complete the given incomplete proofs or models
|
26 |
+
|
27 |
+
- **Proof Infilling**: filling in the middle of the given incomplete proofs or models
|
28 |
+
|
29 |
+
- **Code 2 Proof**: (Currently only support for ACSL whose specification is in form of code annotations) given the code under verification, generate the proof with the specifications
|
30 |
+
|
31 |
+
## Application Scenario
|
32 |
+
|
33 |
+
<p align="center">
|
34 |
+
<img width=100%" src="figures/application.png">
|
35 |
+
</p>
|
36 |
+
|
37 |
+
|
38 |
+
## Supported Formal Specification Languages
|
39 |
+
|
40 |
+
<p align="center">
|
41 |
+
<img width=100%" src="figures/examples.png">
|
42 |
+
</p>
|
43 |
+
|
44 |
+
## Data Preparation Pipeline
|
45 |
+
<p align="center">
|
46 |
+
<img width=60%" src="figures/data-prepare.png">
|
47 |
+
</p>
|
48 |
+
|