Quantcast
Channel: Dafny: An Automatic Program Verifier for Functional Correctness
Browsing all 1106 articles
Browse latest View live
↧

Commented Unassigned: A timed out [157]

Please, have a look to the lemma proof:http://rise4fun.com/Dafny/jeadI cannot think what is the problem there!!!Some help, please?Comments: Your example involves two thorny issues. One issue is that a...

View Article


Created Unassigned: Something wrong in release notes [163]

In the release notes for version 1.9.7 we can read *"/autoTriggers:1 is default in Visual Studio IDE (soon to become the default also in the Emacs IDE and from the command line)"*. However,...

View Article


Edited Unassigned: Something wrong in release notes [163]

In the release notes for version 1.9.7 we can read *"/autoTriggers:1 is default in Visual Studio IDE (soon to become the default also in the Emacs IDE and from the command line)"*. However,...

View Article

Created Unassigned: Feature request: Command-line option to specify output...

When using the /compile and /spillTargetCode commands, it would be nice to have an option named, say, /out:<file> that would tell Dafny to use a particular file name and location for the...

View Article

Source code checked in, #b42a1aeebfec

Fix issue 151. Auto-triggers on set, iset, map, and imap comprehension.

View Article


Source code checked in, #648f88134b10

Merge

View Article

Edited Unassigned: Auto-triggers on set, iset, map, and imap [151]

Currently, when one uses a set comprehension, Dafny doesn't automatically put a trigger on the corresponding existential. You can override this behavior with {:trigger}, but it would be nice if Dafny...

View Article

Closed Unassigned: Auto-triggers on set, iset, map, and imap [151]

Currently, when one uses a set comprehension, Dafny doesn't automatically put a trigger on the corresponding existential. You can override this behavior with {:trigger}, but it would be nice if Dafny...

View Article


Source code checked in, #9705e71b64ea

Fix issue 164. Add command-line option /out:<file> to specify output filename for the generated .cs, .dll or .exe files.

View Article


Edited Unassigned: Feature request: Command-line option to specify output...

When using the /compile and /spillTargetCode commands, it would be nice to have an option named, say, /out:<file> that would tell Dafny to use a particular file name and location for the...

View Article

Closed Unassigned: Feature request: Command-line option to specify output...

When using the /compile and /spillTargetCode commands, it would be nice to have an option named, say, /out:<file> that would tell Dafny to use a particular file name and location for the...

View Article

New Post: Function type attributes

My guess is that because the Property has the same read set as g then when you write to the field func Dafny no longer knows that Property still holds. In the second program we know that the function...

View Article

New Post: Some issues with Dafny

I am new to Dafny. I have two questions to begin with. Where is the output of a compiled program in Dafny in Visual Studio? I have "print" statement and a return statement but can see no output. Why do...

View Article


New Post: Some issues with Dafny

For the second question, Dafny usually doesn't prove existential assertion automatically. You have to assist it by providing a concrete witness or an inductive proof. In your example, inserting assert...

View Article

New Post: Some issues with Dafny

Thanks. Yes I knew that works. But the funny thing is with the existing code if I change the "assert" so as to assert about the last element of the array it works! Moreover it is not even able to...

View Article


New Post: Some issues with Dafny

As I said, Dafny needs hints to prove even the simplest assertion when it comes to existential quantifiers. It can not even show assert exists i: int :: i == 0 without a hint. Besides, assertions like...

View Article

New Post: Some issues with Dafny

Thanks again. But I am curious about the fact it does not complain if one asserts about the last assignment in the array. I think I tried the predicate wrapping method too. How does Dafny or rather the...

View Article


New Post: Function type attributes

Hello and thanks. It works but when we try to add new methods to the class using the predicate attribute, we come back to obtain similar errors on those. The reason behind is most probably the same...

View Article

New Post: Some issues with Dafny

Here is (part of) the boogie that is generated for the heap updates: $Heap := update($Heap, $obj0, $index0, $Box($rhs#0)); $Heap := update($Heap, $obj1, $index1, $Box($rhs#1)); $Heap := update($Heap,...

View Article

New Post: Function type attributes

I think this is a problem with triggering the forall quantifer in the postcondition. If you find yourself repeating a formula that contains a quantifer it is often productive to extract it into its own...

View Article
Browsing all 1106 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>