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

Source code checked in, #0f92a2e82273

Italicize attributes and highlight recognized attributes in the VS IDE.

View Article


Source code checked in, #df65d63c7e4f

Merge

View Article


Source code checked in, #613f8997f759

In the VS IDE, highlight specification clauses differently (also, look for built-in types and character literals, although these are currently not different in color by default).

View Article

Source code checked in, #7046dd093793

Use unix-style line endings in runTests.py

View Article

Source code checked in, #59572d193057

Fixed unicode character literal highlighting. Changed color of character literals to StringLiteral, since CharacterLiteral seems not to be set to anything special by default in VS.

View Article


New Post: Express relations and their properties

Thanks! The use of higher-order functions is what I was looking for and it seems to work ok. For the sake of completeness, I will briefly write what I have tried following parno's suggestions. The...

View Article

Source code checked in, #073fb30dc814

Rename IsFuelBottom to AsFuelBottom as suggested.

View Article

Source code checked in, #e8d9a120aa51

"beta reduce" membership tests into set comprehensions. For example, translate "k in set x | R(x)" essentially as "R(k)". This can make a difference when frames are given as set comprehensions.

View Article


Created Unassigned: User-defined generic types [160]

The Dafny program below doesn’t verify but should. It seems to be something to do with the translation of user-defined generic types, since if I change the type of MakePtr's return value (ptr) it goes...

View Article


Edited Unassigned: User-defined generic types [160]

The Dafny program below doesn’t verify but should. It seems to be something to do with the translation of user-defined generic types, since if I change the type of MakePtr's return value (ptr) it goes...

View Article

New Post: Function type attributes

Hello. I don't know why the following code produces an error. Dafny cannot prove that Property holds for the func attribute at the end of the constructor, whose body is a mere assignment to it from a...

View Article

Created Unassigned: Var such-that for non-primitive types [161]

The following should verify, but fails. If t is changed to "int", it does verify. This seems to have something to do with the treatment of :| for non-primitive types like seq<int>.```type t =...

View Article

Commented Unassigned: Matrix initialization with forall statement fails [159]

One primary use of the `forall` statement is to initialize arrays. This works for single-dimensional arrays, but no longer works for multi-dimensional arrays. There must have been some recent change...

View Article


Source code checked in, #08dae0e9314a

Updated test case to use built-in map's. (Proof is ugly, though.)

View Article

Source code checked in, #9def1a96588f

Optimize Box(Unbox(bx)) to just bx.

View Article


Source code checked in, #cd2bd5b263eb

For set comprehensions with a simple term, translate to Boogie without an exists.

View Article

Source code checked in, #2afc89a3c24e

Fix issue 160. In trTypeParam, instead of cancat the name of the types together for opaqueType, generate a call to create the type.

View Article


Edited Unassigned: User-defined generic types [160]

The Dafny program below doesn’t verify but should. It seems to be something to do with the translation of user-defined generic types, since if I change the type of MakePtr's return value (ptr) it goes...

View Article

Closed Unassigned: User-defined generic types [160]

The Dafny program below doesn’t verify but should. It seems to be something to do with the translation of user-defined generic types, since if I change the type of MakePtr's return value (ptr) it goes...

View Article

Source code checked in, #290a3bd67bf2

Fix issue 145. For a multi-dimensional array, check that every size is non-negative

View Article
Browsing all 1106 articles
Browse latest View live


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