Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. -- every teacher is a person
  2. empty({<id> | Teaches(id, class) and not Person(id, name)})
  3.  
  4. -- id is a superkey of Teaches
  5. -- forall id, c1, c2
  6. Teaches(id, c1) and Teaches(id, c2) implies c1=c2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement