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

Created Unassigned: Invalid comparison against null in generated C# code [141]

[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...

View Article


Commented Unassigned: Invalid comparison against null in generated C# code [141]

[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...

View Article


New Post: empty while loops

From the command line, you can use /noCheating:1, which will cause Dafny to complain about methods and functions that are missing a body (unless you give them the :axiom annotation). If it doesn't...

View Article

Edited Unassigned: Less aggressive Lit wrapping needed [136]

When Dafny translates this program:```method test(){ assume false;}```the `assume false` is translated into Boogie as `assume Lit(false)`. This can be problematic when debugging timeouts, since Z3 is...

View Article

Closed Unassigned: Less aggressive Lit wrapping needed [136]

When Dafny translates this program:```method test(){ assume false;}```the `assume false` is translated into Boogie as `assume Lit(false)`. This can be problematic when debugging timeouts, since Z3 is...

View Article


Edited Unassigned: Tail calls broken in C# code [140]

[Running 1.9.6.21012.]When executed, the main program in the attached file goes into an infinite loop.The generated C# for method ```Print``` suggests why:``` public void @Print(){ TAIL_CALL_START: ;...

View Article

Closed Unassigned: Tail calls broken in C# code [140]

[Running 1.9.6.21012.]When executed, the main program in the attached file goes into an infinite loop.The generated C# for method ```Print``` suggests why:``` public void @Print(){ TAIL_CALL_START: ;...

View Article

Closed Unassigned: Invalid comparison against null in generated C# code [141]

[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...

View Article


Edited Unassigned: nullary constructor in case not allowed parentheses [138]

Datatype (and co-datatype) constructors in Dafny have parentheses around their arguments, both in declarations of the constructors and in their uses. However, for nullary constructors, the parentheses...

View Article


Closed Unassigned: nullary constructor in case not allowed parentheses [138]

Datatype (and co-datatype) constructors in Dafny have parentheses around their arguments, both in declarations of the constructors and in their uses. However, for nullary constructors, the parentheses...

View Article

Commented Unassigned: Dafny-generated quantifier missing a trigger [135]

When Dafny translates the `LambdaGenerator` function below:```datatype D = D(b:bool)function LambdaGenerator(x:int) : D -> bool{(d:D) -> d.b && x > 2}```the definition axioms include a...

View Article

Closed Unassigned: Dafny-generated quantifier missing a trigger [135]

When Dafny translates the `LambdaGenerator` function below:```datatype D = D(b:bool)function LambdaGenerator(x:int) : D -> bool{(d:D) -> d.b && x > 2}```the definition axioms include a...

View Article

Edited Unassigned: Shadowing, nested variable generates duplicate parameter...

Generally, the names of `case`-bound variables are allowed to shadow variables declared outside the enclosing `match`. However, in the case of nested patterns, Dafny generates an error if a bound...

View Article


Closed Unassigned: Shadowing, nested variable generates duplicate parameter...

Generally, the names of `case`-bound variables are allowed to shadow variables declared outside the enclosing `match`. However, in the case of nested patterns, Dafny generates an error if a bound...

View Article

Source code checked in, #8a987d26cea0

Fix issue 136. Less aggressive Lit wrap for assert/assume.

View Article


Source code checked in, #180ce0703df6

Fix issue 140. Move the initializion of _this before the TAIL_CALL_START label.

View Article

Source code checked in, #707ac07b2b43

Fix test failure. Print the resulting boogie code to a file instead of console.

View Article


Source code checked in, #6889a20e0d64

Fix issue 138. Allow parenthese with the nullary constructor in "case" of a match statement and match expression.

View Article

Source code checked in, #28790db40e1f

Changes to CanCall assumptions: - various peephole optimizations of formulas, to generate fewer tautologies - removed unused bound variables in CanCall quantifications (this addresses Issue #135) -...

View Article

Source code checked in, #658885945cee

Merge

View Article
Browsing all 1106 articles
Browse latest View live


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