Updated Wiki: Dafny's /optimize Feature
Dafny's /optimize Feature As of changeset ef62044ec299, you can now specify the /optimize option to instruct Dafny.exe to produce an optimized build of your program. What does this mean? - Dafny will...
View ArticleCreated Unassigned: Bug in ResolveCasePattern [85]
In the code snippet below (excerpted from Resolver.cs line 7971), Dafny occasionally attempts to dereference a null pointer. Specifically, dtd is initialized to null, and if it's the case that...
View ArticleSource code checked in, #9d51f092898c
Postpone reads checks of function preconditions until after the entire precondition has otherwise been checked for well-formedness
View ArticleSource code checked in, #e4f6f0064b4f
Do postponsed reads checking also for the body of functions -- see Test/dafny0/Reads.dfy for benefits. (Unfortunately, this loses track of the "postcondition might not hold on this return path"...
View ArticleSource code checked in, #d74b705392b5
Changed logical order of requires and reads clauses on functions. Reads clauses can now assume the precondition (as had also been the case back in the days when reads clauses had to be self framing).
View ArticleSource code checked in, #664b6e55bf51
System.Collections.Immutable.dll is now stored in the Binaries directory and copied to the output directory when the /optimize flag is used.
View ArticleSource code checked in, #8d59dfb82e03
Fix various bugs in nested match patterns listed in issue #83
View ArticleNew Post: Dafny translation into Boogie
I received the following question, which I'm answering here.I'm a graduate studant ... doing a research about programming languages and I have some questions about the way how Dafny works. I know that...
View ArticleClosed Unassigned: Bug in ResolveCasePattern [85]
In the code snippet below (excerpted from Resolver.cs line 7971), Dafny occasionally attempts to dereference a null pointer. Specifically, dtd is initialized to null, and if it's the case that...
View ArticleCreated Unassigned: No warning about variable shadowing [86]
It would be nice if Dafny gave a warning (or even an error) about the declaration of a variable that hides another one. This is a common cause of bugs in my code, so it would be good to have an error...
View ArticleSource code checked in, #ecf2581c5759
Fix issue #85. Only try to interpret an identifier as a datatype constructor when the datetype is not null.
View ArticleSource code checked in, #e2e319825f01
Removed unneeded :heapQuantifier from test case (rendinging this attribute currently unused in the test suite)
View ArticleSource code checked in, #ab4b8be7e804
Tried to reduce frame-axiom instantiations by saying the earlier heap must be a "heap anchor". Currently, a heap is an anchor if it produced by a havoc (but not a direct update).
View ArticleNew Post: Greatest common divisor
Hi everybody. I'm starting to learn Dafny and as a beggining I'm trying to solve a bunch of common problems with integers, and I'm getting many errors in simple stuff, that I don't know how to solve....
View ArticleNew Post: Greatest common divisor
You may have some problems with the SMT solver and the '%' operator, there is a test case in the Dafny tests with a full solution to a similar problem which I have linked below. Instead of '%' it uses...
View Article