-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This answer got Dafny verification error: | ||
{error} | ||
Please try again by taking the Dafny feedback. | ||
|
||
If an error appears in one of method ending with `_valid`, that means annotations of an existing function were altered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Given a Dafny program with function signature, preconditions, postconditions, and code, but with annotations missing. | ||
Please return a complete Dafny program with the strongest possible annotations (loop invariants, assert statements, etc.) filled back in. | ||
Do not explain. | ||
Please use exactly the same function signature, preconditions, and postconditions. Do not ever modify the given lines. | ||
Below is the program: | ||
{program} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
You are an expert in Dafny. | ||
You will be given tasks dealing with Dafny programs including precise annotations. | ||
You respond only with code blocks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This answer got Dafny verification error: | ||
{error} | ||
Please try again by taking the Dafny feedback. | ||
|
||
If an error appears in one of method ending with `_valid`, that means annotations of an existing function were altered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Given a Dafny program with function signature, preconditions, postconditions, and code, but with annotations missing. | ||
Please return a complete Dafny program with the strongest possible annotations (loop invariants, assert statements, etc.) filled back in. | ||
Use extensive comments in the code, but don't explain anything outside of it. | ||
Please use exactly the same function signature, preconditions, and postconditions. Do not ever modify the given lines. | ||
Below is the program: | ||
{program} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
You are an expert in Dafny. | ||
You will be given tasks dealing with Dafny programs including precise annotations. | ||
You respond only with code blocks. | ||
You will write a comment explaining each significant point of the program on a line before. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This answer got Dafny verification error: | ||
{error} | ||
Please try again by taking the Dafny feedback. | ||
|
||
If an error appears in one of method ending with `_valid`, that means annotations of an existing function were altered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Given a Dafny program with function signature, preconditions and postconditions, but with some implementations and annotations missing. | ||
Please return a complete Dafny program with all functions implemented, and annotated using the strongest possible annotations (loop invariants, assert statements, etc.). | ||
Use extensive comments in the code, but don't explain anything outside of it. | ||
Please use exactly the same function signature, preconditions, and postconditions. Do not ever modify the given lines. | ||
Below is the program: | ||
{program} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
You are an expert in Dafny. | ||
You will be given tasks dealing with Dafny programs including precise annotations. | ||
You respond only with code blocks. | ||
You will write a comment explaining each significant point of the program on a line before. |