Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 601 Bytes

Assignment8.md

File metadata and controls

17 lines (11 loc) · 601 Bytes

Assignment 8 Counterexample

Question: Is there a difference between the symmetric closure of the transitive closure of a relation R and the transitive closure of the symmetric closure of R?

Answer: Yes, (R+)s ≠ (Rs)+ where Rs is the symmetric closure of R.

(R+)s

  • Take R = {(0,1)}
  • R+ = {(0,1)}
  • (R+)s = {(0,1),(1,0)}

(Rs)+

  • Take R = {(0,1)}
  • Rs = {(0,1),(1,0)}
  • (Rs)+ = {(0,1),(1,0),(1,1),(0,0)}