Combinatorial Circuit












1












$begingroup$


I'm trying to learn more about logical statement. I have this question:
(q --> -p) --> r. Im supposed to create a combinatorial circuit out of this statement. What i did was to convert the logical statement to something easier. So i got:
$(q rightarrow -p ) rightarrow r$ ... $(-q cup -p ) rightarrow r$...$-(-q cup -p ) cup r$ and then i got $(q cup p ) cup r
$



Im really not sure if this is correct, could anyone please check and correct if I did anything wrong? Thanks!










share|cite|improve this question









$endgroup$












  • $begingroup$
    Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
    $endgroup$
    – platty
    Dec 15 '18 at 16:10










  • $begingroup$
    Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
    $endgroup$
    – saulspatz
    Dec 15 '18 at 16:12










  • $begingroup$
    Yes it does mean that! Thanks for the tip
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:13
















1












$begingroup$


I'm trying to learn more about logical statement. I have this question:
(q --> -p) --> r. Im supposed to create a combinatorial circuit out of this statement. What i did was to convert the logical statement to something easier. So i got:
$(q rightarrow -p ) rightarrow r$ ... $(-q cup -p ) rightarrow r$...$-(-q cup -p ) cup r$ and then i got $(q cup p ) cup r
$



Im really not sure if this is correct, could anyone please check and correct if I did anything wrong? Thanks!










share|cite|improve this question









$endgroup$












  • $begingroup$
    Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
    $endgroup$
    – platty
    Dec 15 '18 at 16:10










  • $begingroup$
    Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
    $endgroup$
    – saulspatz
    Dec 15 '18 at 16:12










  • $begingroup$
    Yes it does mean that! Thanks for the tip
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:13














1












1








1





$begingroup$


I'm trying to learn more about logical statement. I have this question:
(q --> -p) --> r. Im supposed to create a combinatorial circuit out of this statement. What i did was to convert the logical statement to something easier. So i got:
$(q rightarrow -p ) rightarrow r$ ... $(-q cup -p ) rightarrow r$...$-(-q cup -p ) cup r$ and then i got $(q cup p ) cup r
$



Im really not sure if this is correct, could anyone please check and correct if I did anything wrong? Thanks!










share|cite|improve this question









$endgroup$




I'm trying to learn more about logical statement. I have this question:
(q --> -p) --> r. Im supposed to create a combinatorial circuit out of this statement. What i did was to convert the logical statement to something easier. So i got:
$(q rightarrow -p ) rightarrow r$ ... $(-q cup -p ) rightarrow r$...$-(-q cup -p ) cup r$ and then i got $(q cup p ) cup r
$



Im really not sure if this is correct, could anyone please check and correct if I did anything wrong? Thanks!







discrete-mathematics logic






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 15 '18 at 16:06









SheryaSherya

152




152












  • $begingroup$
    Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
    $endgroup$
    – platty
    Dec 15 '18 at 16:10










  • $begingroup$
    Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
    $endgroup$
    – saulspatz
    Dec 15 '18 at 16:12










  • $begingroup$
    Yes it does mean that! Thanks for the tip
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:13


















  • $begingroup$
    Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
    $endgroup$
    – platty
    Dec 15 '18 at 16:10










  • $begingroup$
    Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
    $endgroup$
    – saulspatz
    Dec 15 '18 at 16:12










  • $begingroup$
    Yes it does mean that! Thanks for the tip
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:13
















$begingroup$
Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
$endgroup$
– platty
Dec 15 '18 at 16:10




$begingroup$
Are the unions supposed to be $lor$? This doesn’t look quite right, as $q=T, p=F, r=F$ satisfies the second expression but not the first.
$endgroup$
– platty
Dec 15 '18 at 16:10












$begingroup$
Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
$endgroup$
– saulspatz
Dec 15 '18 at 16:12




$begingroup$
Does the minus sign mean $lnot?$ You can use lnot for $lnot$ vee for $vee$
$endgroup$
– saulspatz
Dec 15 '18 at 16:12












$begingroup$
Yes it does mean that! Thanks for the tip
$endgroup$
– Sherya
Dec 15 '18 at 16:13




$begingroup$
Yes it does mean that! Thanks for the tip
$endgroup$
– Sherya
Dec 15 '18 at 16:13










1 Answer
1






active

oldest

votes


















1












$begingroup$

Up until the last step, your reasoning works. However, we have to use De Morgan’s law to distribute negation over conjunction/disjunction. Instead, we would get:
$$
neg (neg q lor neg p) lor r equiv (q land p) lor r
$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Okay thanks for the help!!
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:14










  • $begingroup$
    Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:15












  • $begingroup$
    Depending on what gates you can use, it is probably the most straightforward way to handle this one.
    $endgroup$
    – platty
    Dec 15 '18 at 16:16











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3041659%2fcombinatorial-circuit%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

Up until the last step, your reasoning works. However, we have to use De Morgan’s law to distribute negation over conjunction/disjunction. Instead, we would get:
$$
neg (neg q lor neg p) lor r equiv (q land p) lor r
$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Okay thanks for the help!!
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:14










  • $begingroup$
    Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:15












  • $begingroup$
    Depending on what gates you can use, it is probably the most straightforward way to handle this one.
    $endgroup$
    – platty
    Dec 15 '18 at 16:16
















1












$begingroup$

Up until the last step, your reasoning works. However, we have to use De Morgan’s law to distribute negation over conjunction/disjunction. Instead, we would get:
$$
neg (neg q lor neg p) lor r equiv (q land p) lor r
$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Okay thanks for the help!!
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:14










  • $begingroup$
    Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:15












  • $begingroup$
    Depending on what gates you can use, it is probably the most straightforward way to handle this one.
    $endgroup$
    – platty
    Dec 15 '18 at 16:16














1












1








1





$begingroup$

Up until the last step, your reasoning works. However, we have to use De Morgan’s law to distribute negation over conjunction/disjunction. Instead, we would get:
$$
neg (neg q lor neg p) lor r equiv (q land p) lor r
$$






share|cite|improve this answer









$endgroup$



Up until the last step, your reasoning works. However, we have to use De Morgan’s law to distribute negation over conjunction/disjunction. Instead, we would get:
$$
neg (neg q lor neg p) lor r equiv (q land p) lor r
$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 15 '18 at 16:13









plattyplatty

3,370320




3,370320












  • $begingroup$
    Okay thanks for the help!!
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:14










  • $begingroup$
    Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:15












  • $begingroup$
    Depending on what gates you can use, it is probably the most straightforward way to handle this one.
    $endgroup$
    – platty
    Dec 15 '18 at 16:16


















  • $begingroup$
    Okay thanks for the help!!
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:14










  • $begingroup$
    Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
    $endgroup$
    – Sherya
    Dec 15 '18 at 16:15












  • $begingroup$
    Depending on what gates you can use, it is probably the most straightforward way to handle this one.
    $endgroup$
    – platty
    Dec 15 '18 at 16:16
















$begingroup$
Okay thanks for the help!!
$endgroup$
– Sherya
Dec 15 '18 at 16:14




$begingroup$
Okay thanks for the help!!
$endgroup$
– Sherya
Dec 15 '18 at 16:14












$begingroup$
Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
$endgroup$
– Sherya
Dec 15 '18 at 16:15






$begingroup$
Just another question, was it right for me to convert the original statement if I wanted to create a combinatorial circuit?
$endgroup$
– Sherya
Dec 15 '18 at 16:15














$begingroup$
Depending on what gates you can use, it is probably the most straightforward way to handle this one.
$endgroup$
– platty
Dec 15 '18 at 16:16




$begingroup$
Depending on what gates you can use, it is probably the most straightforward way to handle this one.
$endgroup$
– platty
Dec 15 '18 at 16:16


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3041659%2fcombinatorial-circuit%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Cabo Verde

Gyllenstierna