Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mudathirmahgoub committed Jul 4, 2019
1 parent aede68a commit 959de29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bin/examples/ordering.als
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
open util/ordering[A] as ordA
sig A {}
one sig A0, A1, A2 extends A{}
fact {nexts [A0] = A1 + A2}
4 changes: 2 additions & 2 deletions bin/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ A > B
run {} for 4 Int, 7 seq
```

CVC4 solver returns unsat for this model because when #A = 2, A = {x} for some x is false which makes A > B always false. However Kodkod solver returns the model
CVC4 solver returns unsat for this model because (#A = 2 and A = {x} for some integer x) is false, which makes A > B always false. However Kodkod solver returns the model
```cmd
this/A={-7, 2}
this/B={-4, -5, -7, -8, 1}
Expand Down Expand Up @@ -136,7 +136,7 @@ fact {
```
- univ, iden built-in signatures don not include integers.
- No subtyping between normal signatures and integer signatures. Set operations between normal signatures is supported. But set operations between normal signatures and integer signatures would throw typing errors.
- Quantifiers and comprehension expressions inside predicates and functions with non-singleton arguments.


# Examples

Expand Down

0 comments on commit 959de29

Please sign in to comment.