New Post: VS extension crashes
I have not heard of this bug before. Can you please file it on https://github.com/Microsoft/dafny? You asked if there's a better way to create a .dfy file from within VS. I don't know of a simple way...
View ArticleNew Post: filter_distributes_over_append
Dafny beginner here, and I'm struggling with what I assume is a simple proof. If I define a sequence filtering function as follows: function method filter<T>(xs: seq<T>, pred: T ->...
View ArticleNew Post: filter_distributes_over_append
Had a flash of insight and came up with the following, but to be honest, it feels a bit like write-only code. Any suggestions for making this proof clearer? lemma append_associative<T>(xs:...
View ArticleNew Post: inductive predicates
I guess that Dafny syntax doesn't allow to declare auxiliary variables in the body of inductive predicates, does it? why?
View ArticleNew Post: Comparing strings by (in)equality doesn't work
Fixed (GitHub Issue #76). Thanks for the bug report. Rustan
View Article