Source code checked in, #de6989227c14
Fix build break. Part of the change was not checked in last check-in somehow.
View ArticleNew Post: abandoned verification bug
It seems to me that there is a bug with respect to verification of code that uses specified, but not-yet-implemented classes. In particular, function methods in such classes appear to cause problems....
View ArticleClosed Unassigned: No 'Length' method for |set| or |map| [66]
The Length function is not defined or is missing a reference for the type set<int> or map. Thus the use of "|myset|" causes the following error. The same syntax works for seq<int>...
View ArticleNew Post: abandoned verification bug
The problem goes away when I add "reads this" to the nonEmpty method. It would have been good to get the warning that this is necessary!
View ArticleNew Post: Opening DafnyExtension in VS
Dear Dafny experts, I downloaded the Dafny 1.4.2 sources some time ago, and could happily compile the Dafny project in VisualStudio 2013 (playing around with verification conditions in a different...
View ArticleSource code checked in, #65e187fd54fd
Changes to ComputeFreeVariables--bug fix as well as beautification
View ArticleCreated Unassigned: Internal translation error when using an opaque function...
The following code produces an internal translation error:```function {:opaque} Reverse(id:int) : intfunction RefineToMap(ReverseKey:int->int) : boolfunction RefineToMapOfSeqNums() : bool{...
View ArticleEdited Unassigned: LitInt appears in triggers, causes verification failures [76]
LitInt sometimes interferes with natural uses of forall, such as "forall i :: P(i, 3)", making programs harder to verify.```predicate P(x:int, y:int)lemma L1(x:int, y:int) requires y == 2; requires...
View ArticleCreated Unassigned: Bugs in nested match patterns [83]
The enclosed file shows several bugs in the handling of nested match patterns. Rustan
View ArticleEdited Unassigned: Bugs in nested match patterns [83]
The enclosed file shows several bugs in the handling of nested match patterns. Rustan
View ArticleClosed Unassigned: Internal translation error when using an opaque function...
The following code produces an internal translation error:```function {:opaque} Reverse(id:int) : intfunction RefineToMap(ReverseKey:int->int) : boolfunction RefineToMapOfSeqNums() : bool{...
View ArticleSource code checked in, #82afe3502fd0
Added {:auto_generated} trigger, which indicates that a declaration was not explicitly mentioned in the input. This lets the Dafny IDE know not to add hovertext for these declarations.
View ArticleUpdated Wiki: Documentation
Dafny is a verification-aware programming language that supports modern programming language features such as: imperative methodsmathematical functionsintegers, sets, and sequencesmutable classes and...
View ArticleCreated Unassigned: Problems with function.requires [84]
There appear to be some issues with the auto-generated requires function. In the first example below, in test1, Dafny complains about failing to satisfy the precondition for ref1, even though the...
View ArticleSource code checked in, #af396835f667
Update the hash code for datatypes to use the djb2 hash algorithm, rather than xor. The latter produces pessimal performance if the datatype contains duplicate data.
View ArticleSource code checked in, #b3a7a931d6cc
Add the beginning of a new testing infrastructure runTests.py reads lit-style annotations, so we will be able to retain lit compatibility. This new framework adds: * Precise timings * Proper support...
View Article