New Post: Reads for Function Composition and Map
Indeed the different clauses seems to be oblivious to each other. I thought only objects required entries in the reads clause but the reads() function seems to need to be mentioned also, or rather,...
View ArticleSource code checked in, #edb6da2be8dd
This changeset changes the default visibility of a function/predicate body outside the module that declares it. The body is now visible across the module boundary. To contain the knowledge of the body...
View ArticleSource code checked in, #63c8d15da66c
Fixed bug in resolution of illegal programs. Fixed comments in some test cases.
View ArticleNew Post: working with abstract functions
I'm trying to use Dafny for proving correctness of program transformations of general schemas. The first problem is that a function f liketype T type T' predicate a (x:T) function h (x:T): T' function...
View ArticleSource code checked in, #92c5b89ac888
Beefed up collection axioms (in particular, for maps) to improve the chance of proving the existence check of let-such-that and assign-such-that
View ArticleClosed Unassigned: Internal translation error with generics and higher-order...
The following code:```predicate G<X>(f:X->bool) reads f.reads; requires forall x :: f.requires(x) && f(x);{ true}predicate H(){ G((x:int) => true)}```gives an internal translation...
View ArticleClosed Unassigned: Internal translation error with generics and maps [57]
The following code:```predicate P1<X>(m:map<X,bool>) requires forall x :: x in m ==> m[x];{ true}predicate P2(m:map<int,bool>) requires forall x :: x in m ==> m[x];{ P1(map...
View ArticleSource code checked in, #1d2c1fd140c3
Fix issue #54 and #57. Resolve a formal's type before creating a substitute.
View ArticleSource code checked in, #7554bddbed6e
Add DafnyOptions.txt, and have the Dafny Visual Studio extension read command-line options from DafnyOptions.txt during initialization. DafnyOptions.txt gets built into the VSIX file and is installed...
View ArticleSource code checked in, #85e5948ef4ac
Remove unneeded reference from DafnyExtension.csproj (accidentally added by my previous checkin)
View ArticleSource code checked in, #63752375fc5f
Allow trigger annotations in more statements and expressions
View ArticleSource code checked in, #7bf074a6d404
Allow let-such-that expression to be compiled, provided that they provably have a unique value
View ArticleCreated Unassigned: Internal Dafny exception with opaque and generics [64]
The following program causes Dafny to throw an exception:```predicate A<T>(s:set<T>)predicate{:opaque} B(s:set<int>) requires A(s);```The exception is:Unhandled Exception:...
View ArticleNew Post: Dafny on windows 7
Hello! I try to run the lates Dafny release on Windows 7 VM, that I downloaded from https://www.modern.ie/en-us/virtualization-tools It comes pretty empty, so I've installed .Net 4.5 there, also from...
View ArticleSource code checked in, #8e03d511018e
Fix issue #55 and #64. When performing type argument substitution for function F's corresponding F_FULL, make sure the function is indeed the FullVesion before the substitution. Also keep the...
View ArticleClosed Unassigned: Internal Dafny exception with opaque and generics [64]
The following program causes Dafny to throw an exception:```predicate A<T>(s:set<T>)predicate{:opaque} B(s:set<int>) requires A(s);```The exception is:Unhandled Exception:...
View Article