how to convert SAT to 3SAt
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
My teacher showed these steps when converting SAT to 3SAT (he was working with an example).
He said to construct a formula F1
F1 = y1 and (y1 bidirectional arrow (y2 and not x2))
and (y2 bidirectional arrow (x1 or y3))
and (y3 bidirectional arrow not y4)
etc.
He got F1 by converting a SAT formula to a parse tree (e.g., the formula x1 and x2 would is converted into a tree where and is the root (labelled y1) and the left child is x1, right child is x2).
After getting F1, he said to convert each case into a CNF formula. He then said the first case (y1 bidirectional arrow (y2 and not x2))
equals the following CNF formula:
(not y1 or not y2 or not x2)
and (not y1 or y2 or not x2)
and (not y1 or y2 or x2)
and (y1 or not y2 or x2)
Can someone explain how my teacher went from the first case (y1 bidirectional arrow (y2 and not x2))
to the CNF formula above?
computational-complexity np-complete satisfiability
add a comment |Â
up vote
0
down vote
favorite
My teacher showed these steps when converting SAT to 3SAT (he was working with an example).
He said to construct a formula F1
F1 = y1 and (y1 bidirectional arrow (y2 and not x2))
and (y2 bidirectional arrow (x1 or y3))
and (y3 bidirectional arrow not y4)
etc.
He got F1 by converting a SAT formula to a parse tree (e.g., the formula x1 and x2 would is converted into a tree where and is the root (labelled y1) and the left child is x1, right child is x2).
After getting F1, he said to convert each case into a CNF formula. He then said the first case (y1 bidirectional arrow (y2 and not x2))
equals the following CNF formula:
(not y1 or not y2 or not x2)
and (not y1 or y2 or not x2)
and (not y1 or y2 or x2)
and (y1 or not y2 or x2)
Can someone explain how my teacher went from the first case (y1 bidirectional arrow (y2 and not x2))
to the CNF formula above?
computational-complexity np-complete satisfiability
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My teacher showed these steps when converting SAT to 3SAT (he was working with an example).
He said to construct a formula F1
F1 = y1 and (y1 bidirectional arrow (y2 and not x2))
and (y2 bidirectional arrow (x1 or y3))
and (y3 bidirectional arrow not y4)
etc.
He got F1 by converting a SAT formula to a parse tree (e.g., the formula x1 and x2 would is converted into a tree where and is the root (labelled y1) and the left child is x1, right child is x2).
After getting F1, he said to convert each case into a CNF formula. He then said the first case (y1 bidirectional arrow (y2 and not x2))
equals the following CNF formula:
(not y1 or not y2 or not x2)
and (not y1 or y2 or not x2)
and (not y1 or y2 or x2)
and (y1 or not y2 or x2)
Can someone explain how my teacher went from the first case (y1 bidirectional arrow (y2 and not x2))
to the CNF formula above?
computational-complexity np-complete satisfiability
My teacher showed these steps when converting SAT to 3SAT (he was working with an example).
He said to construct a formula F1
F1 = y1 and (y1 bidirectional arrow (y2 and not x2))
and (y2 bidirectional arrow (x1 or y3))
and (y3 bidirectional arrow not y4)
etc.
He got F1 by converting a SAT formula to a parse tree (e.g., the formula x1 and x2 would is converted into a tree where and is the root (labelled y1) and the left child is x1, right child is x2).
After getting F1, he said to convert each case into a CNF formula. He then said the first case (y1 bidirectional arrow (y2 and not x2))
equals the following CNF formula:
(not y1 or not y2 or not x2)
and (not y1 or y2 or not x2)
and (not y1 or y2 or x2)
and (y1 or not y2 or x2)
Can someone explain how my teacher went from the first case (y1 bidirectional arrow (y2 and not x2))
to the CNF formula above?
computational-complexity np-complete satisfiability
asked Aug 8 at 20:09
user2719875
1517
1517
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2876535%2fhow-to-convert-sat-to-3sat%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password