summaryrefslogtreecommitdiff
path: root/Test/dafny1/TerminationDemos.dfy
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2011-02-03 18:17:08 +0000
committerGravatar rustanleino <unknown>2011-02-03 18:17:08 +0000
commitb8b0627fcb22c5637829e564ea2f42f44d4b8097 (patch)
treea4679069d1bda862d9f737740d9eb0aaa8eacdde /Test/dafny1/TerminationDemos.dfy
parentb80c92bd5549e6c789764758dd90f0f74928d39a (diff)
Dafny: implemented a more precise scheme for allowing use of a function's rep axiom
Diffstat (limited to 'Test/dafny1/TerminationDemos.dfy')
-rw-r--r--Test/dafny1/TerminationDemos.dfy3
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/dafny1/TerminationDemos.dfy b/Test/dafny1/TerminationDemos.dfy
index 76925e8e..01a7c7bd 100644
--- a/Test/dafny1/TerminationDemos.dfy
+++ b/Test/dafny1/TerminationDemos.dfy
@@ -30,7 +30,7 @@ class Ackermann {
else
F(m - 1, F(m, n - 1))
}
-/*
+
function G(m: int, n: int): int
requires 0 <= m && 0 <= n;
ensures 0 <= G(m, n);
@@ -42,7 +42,6 @@ class Ackermann {
else
G(m - 1, G(m, n - 1))
}
-*/
}
// -----------------------------------