Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- Qwen/Qwen2.5-Coder-7B-Instruct
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Introduction
|
| 10 |
+
|
| 11 |
+
We present a fine-tuned model 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:
|
| 12 |
+
|
| 13 |
+
- **Requirement Analysis**: given requirements and description of the verification or modeling goals, decomposing the goal into detailed verification steps
|
| 14 |
+
|
| 15 |
+
- **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.
|
| 16 |
+
|
| 17 |
+
- **Proof segment generation**
|
| 18 |
+
|
| 19 |
+
- **Proof Completion**: complete the given incomplete proofs or models
|
| 20 |
+
|
| 21 |
+
- **Proof Infilling**: filling in the middle of the given incomplete proofs or models
|
| 22 |
+
|
| 23 |
+
- **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
|
| 24 |
+
|
| 25 |
+
## Application Scenario
|
| 26 |
+
|
| 27 |
+
<p align="center">
|
| 28 |
+
<img width=100%" src="figures/application.png">
|
| 29 |
+
</p>
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
## Supported Formal Specification Languages
|
| 33 |
+
|
| 34 |
+
<p align="center">
|
| 35 |
+
<img width=100%" src="figures/examples.png">
|
| 36 |
+
</p>
|
| 37 |
+
|
| 38 |
+
## Data Preparation Pipeline
|
| 39 |
+
<p align="center">
|
| 40 |
+
<img width=60%" src="figures/data-prepare.png">
|
| 41 |
+
</p>
|
| 42 |
+
|