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

Edited Unassigned: Triggers in DafnyPrelude.bpl axiom [102]

$
0
0
For these two axioms in DafnyPrelude.bpl:

```
axiom (forall<U, V> u: U ::
{ Map#Domain(Map#Empty(): Map U V)[u] }
!Map#Domain(Map#Empty(): Map U V)[u]);

axiom (forall<U, V> u: U ::
{ IMap#Domain(IMap#Empty(): IMap U V)[u] }
!IMap#Domain(IMap#Empty(): IMap U V)[u]);
```

Z3 with /z3opt:pi.warnings=true /proverWarnings:1 gives a prover warning:

```
Prover warning: pattern does not contain all quantified variables.
```



Viewing all articles
Browse latest Browse all 1106

Trending Articles



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