Question: Consider the following algorithm which purports to find the smallest equivalence relation which contains a given relation R: First form the reflexive closure of R,

 Consider the following algorithm which purports to find the smallest equivalence

Consider the following algorithm which purports to find the smallest equivalence relation which contains a given relation R: First form the reflexive closure of R, to obtain a new relation R' Next, form the transitive closure of R', to obtain a new relation R", Finally, form the symmetric closure of R" to obtain a new relation R". Output R". Use a counterexample to show that this algorithm is incorrect. That is, find a suitable relation R, determine what the output relation R" is, then argue R" is not the correct solution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!