Last active
May 16, 2018 01:46
-
-
Save cutsea110/829921dfc56ca6c882a8a340866a525a to your computer and use it in GitHub Desktop.
Ex4.15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sig A{ | |
S: set A | |
} | |
fun id_A : A -> A{ | |
A -> A & iden | |
} | |
pred Simple{ | |
~S.S in id_A | |
} | |
pred Entire{ | |
id_A in S.~S | |
} | |
pred Ex415{ | |
S.~S.S = S | |
} | |
assert Ex415'{ | |
Simple[] implies Ex415[] | |
} | |
check Ex415' | |
pred show{ | |
not Simple[] and Ex415[] | |
} | |
run show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment