Skip to content

Instantly share code, notes, and snippets.

@cutsea110
Last active May 16, 2018 01:46
Show Gist options
  • Save cutsea110/829921dfc56ca6c882a8a340866a525a to your computer and use it in GitHub Desktop.
Save cutsea110/829921dfc56ca6c882a8a340866a525a to your computer and use it in GitHub Desktop.
Ex4.15
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