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

Closed Unassigned: Internal translation error using /autoTriggers:1 [99]

$
0
0
The following code gives an internal translation error when using /autoTriggers:1

```
predicate P(e:int, p:int) { true }
predicate Q(i:int, t:int)

lemma Tester(x:int)
{
assert forall i :: Q(i, x) ==> (forall p {:trigger P(i, p)} :: P(i, p));
}
```

Dafny program verifier version 1.9.6.21012, Copyright (c) 2003-2015, Microsoft.
t3.dfy(6,60): Error: undeclared identifier: p#1
t3.dfy(6,60): Error: undeclared identifier: p#1
2 name resolution errors detected in t3.bpl

*** Encountered internal translation error - re-running Boogie to get better debug information

t3.bpl(2195,36): Error: undeclared identifier: p#1
t3.bpl(2204,36): Error: undeclared identifier: p#1
2 name resolution errors detected in t3.bpl



Viewing all articles
Browse latest Browse all 1106

Trending Articles



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