summaryrefslogtreecommitdiff
path: root/Test/dafny0
Commit message (Collapse)AuthorAge
* Dafny: added let expressions (syntax: "var x := E0; E1")Gravatar Rustan Leino2011-11-14
| | | | | Dafny: firmed up semantics of assert/assume expressions (the condition is now good for all program control paths that pass through the expression) Dafny: various implementation clean-ups
* Dafny: implemented the wellformedness check that datatype destructors are ↵Gravatar Rustan Leino2011-11-11
| | | | | | only applied to values created by the corresponding constructor Dafny: implement ghost destructors properly
* Dafny: allow assert/assume expressions in more placesGravatar Rustan Leino2011-11-09
|
* Dafny: added assert/assume expressionsGravatar Rustan Leino2011-11-09
|
* Dafny: fixed part of a type-inference issue with datatypes and the < ↵Gravatar Rustan Leino2011-11-09
| | | | | | operator on datatypes Dafny: allow the well-formedness check of a function's specification to know that the function, on the current arguments, returns a value of the declared result type
* Dafny: fixed bug in reads checking of array-to-sequence conversionsGravatar Rustan Leino2011-11-08
|
* Dafny induction:Gravatar Rustan Leino2011-10-29
| | | | | | | * implemented induction tactic for result-less, non-mutating ghost methods * refine heuristics for determining if a variables is usefully passed to a recursive function * disallow certain "ensures" to use two-state features (needed for soundness of the parallel-statement translation, see comments in Resolver.cs and ParallelResolveErrors.dfy) * added command-line flags /induction and /inductionHeuristic (everything is on by default)
* Dafny: removed Dafny's "foreach" statements (replaced by the new "parallel" ↵Gravatar Rustan Leino2011-10-26
| | | | statement)
* Dafny: removed support for assigning to an array-range (that is, an ↵Gravatar Rustan Leino2011-10-26
| | | | assignment statement where the LHS has the form a[lo..hi])
* Dafny: implemented compilation of parallel statementsGravatar Rustan Leino2011-10-25
| | | | Dafny: beefed up resolution of parallel statements
* Dafny: check subrange restriction in parallel Assign statementGravatar Rustan Leino2011-10-24
| | | | | Dafny: verify parallel Call statement Dafny: fixed some bugs: handle all cases of comprehension expressions in resolver's UsesSpecFeatures, check target of method calls to be non-null (duh!)
* Dafny: continued translation of "parallel" statements (Assign and Proof ↵Gravatar Rustan Leino2011-10-24
| | | | | | | forms are mostly there, Call is missing and so is compilation) Dafny: included some test cases for the "parallel" statement Dafny: starting changing old "foreach" statements to the new "parallel" statement
* Dafny: changed triggers (which are never really used, anyhow) from having a ↵Gravatar Rustan Leino2011-10-21
| | | | | | | special syntactic form to being just an attribute Dafny: added "parallel" statement (so far, only parsing and resolving) Dafny: allow types on bound variables in "match" expressions/statements (there's never any incentive to list them explicitly in the program text, but it nevertheless seemed silly to forbid them)
* Dafny: fixed bug in translator when LHS of a call was an array element or a natGravatar Rustan Leino2011-09-30
|
* Dafny: Added support for attributes on methods and constructors.Gravatar wuestholz2011-09-16
|
* Dafny: fixed parsing bug with "!in"Gravatar Rustan Leino2011-09-08
| | | | | Dafny: fixed translation bug with missing match cases (where the constructor has some parameters) Dafny: fixed translation bug where the program had forward references to members of a datatype
* MergeGravatar Rustan Leino2011-08-18
|\
* | Dafny: fixed bug in looking at the arguments of the :induction attributeGravatar Rustan Leino2011-08-18
| |
| * Dafny: Fixed a bug in the printer that led to a stack overflow.Gravatar wuestholz2011-08-11
|/
* Dafny: fix resolution crash (using multi-dimensional arrays in loop alternative)Gravatar Rustan Leino2011-08-03
|
* Fixed regression test failures due to removal of bodiless methods and functions.Gravatar Jason Koenig2011-07-15
|
* Fixed failing regression tests.Gravatar Jason Koenig2011-07-14
|
* MergeGravatar Jason Koenig2011-07-14
|\
* | Added multiset from sequence axioms, removed array range RHSs. Fixed issue ↵Gravatar Jason Koenig2011-07-13
| | | | | | | | with duplicate array.Length functions in generated Boogie file.
| * MergeGravatar Rustan Leino2011-07-11
| |\
| * | Dafny: allow constructors only inside classes, removed semi-colons at end of ↵Gravatar Rustan Leino2011-07-11
| | | | | | | | | | | | body-less functions/methods
* | | Added s[..] syntax in anticipation of sequence forming operation. (also ↵Gravatar Jason Koenig2011-07-11
| |/ |/| | | | | updated regression tests.)
* | Dafny: Added Euclidean regression test (Verifier only).Gravatar Jason Koenig2011-07-08
|/
* Dafny: Fixed bug in call statements where mutability of out parameters was ↵Gravatar Jason Koenig2011-07-06
| | | | | | not checked. Added regression test.
* Dafny: Updated regression tests to include chaining disjoint operators.Gravatar Jason Koenig2011-07-05
|
* Added additional test case to modifies on loops tests.Gravatar Jason Koenig2011-06-29
|
* Removed tab characters.Gravatar Jason Koenig2011-06-29
|
* MergeGravatar Jason Koenig2011-06-29
|\
* | Added regression tests for new return statements with parameters.Gravatar Jason Koenig2011-06-29
| |
| * MergeGravatar Rustan Leino2011-06-29
| |\ | |/ |/|
| * Dafny: Fixed axioms for Seq#Contains vs. the sequence building functionsGravatar Rustan Leino2011-06-29
| |
* | Added regression test file LoopModifies.dfy.Gravatar Jason Koenig2011-06-29
| |
* | Added regression test for loop modifies clauses.Gravatar Jason Koenig2011-06-28
| |
* | Changed regression test answer for dafny0 to reflect new error messages.Gravatar Jason Koenig2011-06-28
|/
* Dafny: added implicit datatype query fields and datatype destructor fieldsGravatar Rustan Leino2011-06-05
|
* Dafny: translate call statements with fancy LHSsGravatar Rustan Leino2011-05-31
|
* Dafny: Translate general LHSs for var and := (not yet for call, no ↵Gravatar Rustan Leino2011-05-30
| | | | compilation yet)
* Dafny: changed syntax of havoc statements from "havoc X;" to "X := *;"Gravatar Rustan Leino2011-05-28
|
* Dafny: added constructorsGravatar Rustan Leino2011-05-28
|
* MergeGravatar Rustan Leino2011-05-27
|\
* | Dafny:Gravatar Rustan Leino2011-05-27
| | | | | | | | | | * fixed bug in allowing ghost out-parameters of ghost methods * added test case for verifying calls of the form MyClass.M(...)
| * MergeGravatar Rustan Leino2011-05-27
| |\ | |/ |/|
* | Dafny: permanently changed the syntax of "datatype" declarations to what ↵Gravatar Rustan Leino2011-05-27
| | | | | | | | previously was an alternative syntax
* | Dafny: retired "use" statementsGravatar Rustan Leino2011-05-27
| |
* | Dafny: added chaining operatorsGravatar Rustan Leino2011-05-27
| |