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

Source code checked in, #8b8e89735a4c

Fix issue 116. Add the missing @ for the generated c# code.

View Article


Closed Unassigned: C# keywords cause C# errors in some places [116]

The following Dafny code produces illegal C# code:```datatype struct = S // this is okmethod Main(){ var s := S; // this line generates illegal C# code print s;}```

View Article


Source code checked in, #7413be727db9

Fix some VS IDE performance issues. - cache scan results so it can be shared between different instances of DafnyTokenTagger - Instead of rescanning the whole text buffer upon a text change, only...

View Article

Created Unassigned: Module refinement induces crash [117]

When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...

View Article

Source code checked in, #a6819de471a6

Added flying robots example to test suite

View Article


Source code checked in, #b0f063221c0e

Removed Contract.Requires from method overrides (preconditions of overrides are inherited from the overridden method and Code Contracts will copy those preconditions to make sure the right run-time...

View Article

Created Unassigned: Set comprehension heuristics for function definitions [118]

Here's a small Dafny example where the set comprehensions fail:```class Foo { ghost var Repr: set<object>}function SeqRepr(s:seq<Foo>) : set<object> reads set b | b in s { set o,b | b...

View Article

Source code checked in, #dc6370f198f5

Fix issue 118. When iteratively computing bounds, treat RefBoundedPool typed bound as undetermined so that iteration will continue.

View Article


Closed Unassigned: Set comprehension heuristics for function definitions [118]

Here's a small Dafny example where the set comprehensions fail:```class Foo { ghost var Repr: set<object>}function SeqRepr(s:seq<Foo>) : set<object> reads set b | b in s { set o,b | b...

View Article


Source code checked in, #19c7978e40c2

Fix issue 117. Generate an error when the "opened" of an import doesn't match between a module and its refinement base.

View Article

Edited Unassigned: Module refinement induces crash [117]

When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...

View Article

Closed Unassigned: Module refinement induces crash [117]

When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...

View Article

Commented Unassigned: Module refinement induces crash [117]

When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...

View Article


Created Unassigned: Two ensures in an empty forall crashes Dafny due to...

The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...

View Article

Created Unassigned: Auto-triggers tries to find trigger for empty forall [122]

The following code causes Dafny to issue a spurious warning:method Try (a:int){ forall ensures a == a;{}}The warning is:Warning: /!\ No terms found to trigger on.This warning is spurious because an...

View Article


Commented Unassigned: Two ensures in an empty forall crashes Dafny due to...

The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...

View Article

Commented Unassigned: Two ensures in an empty forall crashes Dafny due to...

The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...

View Article


Created Unassigned: forall statement without bound variables causes trigger...

A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...

View Article

Commented Unassigned: forall statement without bound variables causes trigger...

A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...

View Article

Closed Unassigned: forall statement without bound variables causes trigger...

A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...

View Article
Browsing all 1106 articles
Browse latest View live


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