Here you can ask questions and find or give answers to organizational, academic and other questions about studying computer science.

1.1k questions

1.2k answers

1.6k comments

532 users

0 votes

Hi,

I have a doubt regarding the leaf node cases of exists and forall quantification:

forall(leaf, phi)= phi

forall(e, leaf)= leaf 

exists(leaf, phi)= phi

exists(e, leaf)= leaf 

Can the leaf be 0 and 1 here? Or it's applicable only for if leaf is 1? 

Because it's mentioned in the slide number 112 , 

  1. 3  Exists(L, φ) = φ (L must be true here),  

  2. What will happen if L if false? 

  3.  

in # Study-Organisation (Master) by (2.7k points)

1 Answer

+1 vote
 
Best answer
For the algorithms, forall(e, phi) and exists(e, phi), phi can be an arbitrary BDD, but e is a conjunction of the variables. The recursive calls will either be done with the same BDD e or with its positive cofactor. Hence, it may finally end up with leaf node True, but never with leaf node False.

Moreover, if phi is a leaf node, then the result is phi since the definition of the quantification is the conjunction or disjunction of the cofactors which are however for constants just the constant itself. As we have x&x=x and x|x=x, this is just phi.
by (166k points)
selected by
Yeah..I understood...I couldn't also find any case false as well . Just want to clarify..thanks for the clarification

Related questions

0 votes
1 answer
0 votes
1 answer
asked Aug 25, 2023 in # Study-Organisation (Master) by yk (2.7k points)
0 votes
1 answer
asked Aug 22, 2023 in # Study-Organisation (Master) by yk (2.7k points)
0 votes
1 answer
asked Aug 21, 2023 in # Study-Organisation (Master) by yk (2.7k points)
0 votes
1 answer
Imprint | Privacy Policy
...