Is a “local” version of 3-SAT NP-hard?Is a “stacked”, “local” version of 3-SAT NP-hard?Is retrospective inference NP-hard?Supporting data structures for SAT local searchA tentative satisfiability algorithmReduce the following problem to SATEncoding 1-out-of-n constraint for SAT solversWhat is wrong with this seeming contradiction with a paper about AND-compression of SAT?Why is it NP-hard to learn a disjunction of k variables as a disjunction of fewer than k log n variables?Upper bound for #Monotone k-SATIs my logic correct and is this a new reduction and algorithm from 3 SAT to clique?General Understanding of SMT Solving Across Multiple TheoriesMaximum-minimum-satisfiability

How many chess players are over 2500 Elo?

Leading and Suffering Numbers

Black-and-white film where monster/alien gets fried

Can a Beholder use rays in melee range?

File globbing pattern, !(*example), behaves differently in bash script than it does in bash shell

Smart people send dumb people to a new planet on a space craft that crashes into a body of water

Is floating in space similar to falling under gravity?

Terminology about G- simplicial complexes

What problems does SciDraw still solve?

The Passive Wisdom (Perception) score of my character on D&D Beyond seems too high

Is it possible to change original filename of an exe?

Why colon to denote that a value belongs to a type?

Is there an explanation for Austria's Freedom Party virtually retaining its vote share despite recent scandal?

Restoring order in a deck of playing cards

How do I remove these transparent pixels?

Canon 70D often overexposing or underexposing shots

Where did the “Vikings wear helmets with horn” stereotype come from and why?

How does apt-get works (in details)?

What is the difference between nullifying your vote and not going to vote at all?

How does an ARM MCU run faster than the external crystal?

Yandex Programming Contest: Alarms

What's the connection between "kicking a pigeon" and "how a bill becomes a law"?

Different PCB color ( is it different material? )

What are these (utility?) boxes at the side of the house?



Is a “local” version of 3-SAT NP-hard?


Is a “stacked”, “local” version of 3-SAT NP-hard?Is retrospective inference NP-hard?Supporting data structures for SAT local searchA tentative satisfiability algorithmReduce the following problem to SATEncoding 1-out-of-n constraint for SAT solversWhat is wrong with this seeming contradiction with a paper about AND-compression of SAT?Why is it NP-hard to learn a disjunction of k variables as a disjunction of fewer than k log n variables?Upper bound for #Monotone k-SATIs my logic correct and is this a new reduction and algorithm from 3 SAT to clique?General Understanding of SMT Solving Across Multiple TheoriesMaximum-minimum-satisfiability













7












$begingroup$


Below is my simplification of part of a larger research project on spatial Bayesian networks:



Say a variable is "$k$-local" in a string $C in 3text-CNF$ if there are fewer than $k$ clauses between the first and last clause in which it appears (where $k$ is a natural number).



Now consider the subset $(3,k)text-LSAT subseteq 3text-SAT$ defined by the criterion that for any $C in (3,k)text-LSAT$, every variable in $C$ is $k$-local. For what $k$ (if any) is $(3,k)text-LSAT$ NP-hard?




Here is what I have considered so far:



(1) Variations on the method of showing that $2text-SAT$ is in P by rewriting each disjunction as an implication and examining directed paths on the directed graph of these implications (noted here and presented in detail on pp. 184-185 of Papadimitriou's Computational Complexity). Unlike in $2text-SAT$, there is branching of the directed paths in $(3,k)text-LSAT$, but perhaps the number of directed paths is limited by the spatial constraints on the variables. No success with this so far though.



(2) A polynomial-time reduction of $3text-SAT$ (or other known NP-complete problem) to $(3,k)text-LSAT$. For example, I've tried various schemes of introducing new variables. However, bringing together the clauses that contain the original variable $x_k$ generally requires that I drag around "chains" of additional clauses containing the new variables and these interfere with the spatial constraints on the other variables.



Surely I'm not in new territory here. Is there a known NP-hard problem that can be reduced to $(3,k)text-LSAT$ or do the spatial constraints prevent the problem from being that difficult?










share|cite|improve this question











$endgroup$
















    7












    $begingroup$


    Below is my simplification of part of a larger research project on spatial Bayesian networks:



    Say a variable is "$k$-local" in a string $C in 3text-CNF$ if there are fewer than $k$ clauses between the first and last clause in which it appears (where $k$ is a natural number).



    Now consider the subset $(3,k)text-LSAT subseteq 3text-SAT$ defined by the criterion that for any $C in (3,k)text-LSAT$, every variable in $C$ is $k$-local. For what $k$ (if any) is $(3,k)text-LSAT$ NP-hard?




    Here is what I have considered so far:



    (1) Variations on the method of showing that $2text-SAT$ is in P by rewriting each disjunction as an implication and examining directed paths on the directed graph of these implications (noted here and presented in detail on pp. 184-185 of Papadimitriou's Computational Complexity). Unlike in $2text-SAT$, there is branching of the directed paths in $(3,k)text-LSAT$, but perhaps the number of directed paths is limited by the spatial constraints on the variables. No success with this so far though.



    (2) A polynomial-time reduction of $3text-SAT$ (or other known NP-complete problem) to $(3,k)text-LSAT$. For example, I've tried various schemes of introducing new variables. However, bringing together the clauses that contain the original variable $x_k$ generally requires that I drag around "chains" of additional clauses containing the new variables and these interfere with the spatial constraints on the other variables.



    Surely I'm not in new territory here. Is there a known NP-hard problem that can be reduced to $(3,k)text-LSAT$ or do the spatial constraints prevent the problem from being that difficult?










    share|cite|improve this question











    $endgroup$














      7












      7








      7





      $begingroup$


      Below is my simplification of part of a larger research project on spatial Bayesian networks:



      Say a variable is "$k$-local" in a string $C in 3text-CNF$ if there are fewer than $k$ clauses between the first and last clause in which it appears (where $k$ is a natural number).



      Now consider the subset $(3,k)text-LSAT subseteq 3text-SAT$ defined by the criterion that for any $C in (3,k)text-LSAT$, every variable in $C$ is $k$-local. For what $k$ (if any) is $(3,k)text-LSAT$ NP-hard?




      Here is what I have considered so far:



      (1) Variations on the method of showing that $2text-SAT$ is in P by rewriting each disjunction as an implication and examining directed paths on the directed graph of these implications (noted here and presented in detail on pp. 184-185 of Papadimitriou's Computational Complexity). Unlike in $2text-SAT$, there is branching of the directed paths in $(3,k)text-LSAT$, but perhaps the number of directed paths is limited by the spatial constraints on the variables. No success with this so far though.



      (2) A polynomial-time reduction of $3text-SAT$ (or other known NP-complete problem) to $(3,k)text-LSAT$. For example, I've tried various schemes of introducing new variables. However, bringing together the clauses that contain the original variable $x_k$ generally requires that I drag around "chains" of additional clauses containing the new variables and these interfere with the spatial constraints on the other variables.



      Surely I'm not in new territory here. Is there a known NP-hard problem that can be reduced to $(3,k)text-LSAT$ or do the spatial constraints prevent the problem from being that difficult?










      share|cite|improve this question











      $endgroup$




      Below is my simplification of part of a larger research project on spatial Bayesian networks:



      Say a variable is "$k$-local" in a string $C in 3text-CNF$ if there are fewer than $k$ clauses between the first and last clause in which it appears (where $k$ is a natural number).



      Now consider the subset $(3,k)text-LSAT subseteq 3text-SAT$ defined by the criterion that for any $C in (3,k)text-LSAT$, every variable in $C$ is $k$-local. For what $k$ (if any) is $(3,k)text-LSAT$ NP-hard?




      Here is what I have considered so far:



      (1) Variations on the method of showing that $2text-SAT$ is in P by rewriting each disjunction as an implication and examining directed paths on the directed graph of these implications (noted here and presented in detail on pp. 184-185 of Papadimitriou's Computational Complexity). Unlike in $2text-SAT$, there is branching of the directed paths in $(3,k)text-LSAT$, but perhaps the number of directed paths is limited by the spatial constraints on the variables. No success with this so far though.



      (2) A polynomial-time reduction of $3text-SAT$ (or other known NP-complete problem) to $(3,k)text-LSAT$. For example, I've tried various schemes of introducing new variables. However, bringing together the clauses that contain the original variable $x_k$ generally requires that I drag around "chains" of additional clauses containing the new variables and these interfere with the spatial constraints on the other variables.



      Surely I'm not in new territory here. Is there a known NP-hard problem that can be reduced to $(3,k)text-LSAT$ or do the spatial constraints prevent the problem from being that difficult?







      np-hard satisfiability polynomial-time 3-sat 2-sat






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited May 15 at 10:19







      SapereAude

















      asked May 15 at 0:02









      SapereAudeSapereAude

      1227




      1227




















          1 Answer
          1






          active

          oldest

          votes


















          13












          $begingroup$

          $(3,k)text-LSAT$ is in P for all $k$. As you have indicated, locality is a big obstruction to NP-completeness.




          Here is a polynomial algorithm.



          Input: $phiin (3,k)text-LSAT$, $phi=c_1wedge c_2cdots wedge c_m$, where $c_i$ is the $i$-th clause.

          Output: true if $phi$ becomes 1 under some assignment of all variables.

          Procedure:



          1. Construct set $B_i$, the variables that appear in at least one of $c_i, c_i+1, cdots, c_i+k$, $1le ile m-k$.

          2. Construct set $A_i=f: B_ito0,1 mid c_i, c_i+1, cdots, c_i+k text become 1 under f$.

          3. Construct set $E=cup_i(f, g)mid fin A_i, gin A_i+1, f(x)=g(x)text for all xin B_icap B_i+1 $

          4. Let $V=A_1cup A_2cdotscup A_m-k$. Consider directed graph $G(V,E)$. For each vertex in $A_1$, start a depth-first search on $G$ to see if we can reach a vertex in $A_m-k$. If found, return true.

          5. If we have reached here, return false.


          The correctness of the algorithm above comes from the following claim.



          Claim. $phi$ is satisfiable $Longleftrightarrow$ there is a path in $G$ from a vertex in $A_1$ to a vertex in $A_m-k$.
          Proof.

          "$Longrightarrow$": Suppose $phi$ becomes 1 under assignment $f$. Let $f_i$ be the restriction of $f$ to $B_i$. Then we have a path $f_1, cdots, f_m-k$.

          "$Longleftarrow$": Suppose there is a path $f_1, cdots, f_m-k$, where $f_1in A_1$ and $f_m-kin A_m-k$. Define assignment $f$ such that $f$ agrees with all $f_i$, i.e., $f(x)=f_i(x)$ if $xin B_i$. We can verify that $f$ is well-defined. Since $c_ell$ becomes 1 for some $f_j$ for all $ell$, $phi$ becomes 1 under $f$.




          The number of vertices $|V|le 2^3(k+1)(m-k)$. Hence the algorithm runs in polynomial time in term of $m$, the number of clauses and $n$, the number of total variables.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
            $endgroup$
            – Apass.Jack
            May 19 at 2:18











          • $begingroup$
            This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
            $endgroup$
            – SapereAude
            May 20 at 14:49






          • 1




            $begingroup$
            I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
            $endgroup$
            – Apass.Jack
            May 20 at 15:04











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "419"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f109357%2fis-a-local-version-of-3-sat-np-hard%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









          13












          $begingroup$

          $(3,k)text-LSAT$ is in P for all $k$. As you have indicated, locality is a big obstruction to NP-completeness.




          Here is a polynomial algorithm.



          Input: $phiin (3,k)text-LSAT$, $phi=c_1wedge c_2cdots wedge c_m$, where $c_i$ is the $i$-th clause.

          Output: true if $phi$ becomes 1 under some assignment of all variables.

          Procedure:



          1. Construct set $B_i$, the variables that appear in at least one of $c_i, c_i+1, cdots, c_i+k$, $1le ile m-k$.

          2. Construct set $A_i=f: B_ito0,1 mid c_i, c_i+1, cdots, c_i+k text become 1 under f$.

          3. Construct set $E=cup_i(f, g)mid fin A_i, gin A_i+1, f(x)=g(x)text for all xin B_icap B_i+1 $

          4. Let $V=A_1cup A_2cdotscup A_m-k$. Consider directed graph $G(V,E)$. For each vertex in $A_1$, start a depth-first search on $G$ to see if we can reach a vertex in $A_m-k$. If found, return true.

          5. If we have reached here, return false.


          The correctness of the algorithm above comes from the following claim.



          Claim. $phi$ is satisfiable $Longleftrightarrow$ there is a path in $G$ from a vertex in $A_1$ to a vertex in $A_m-k$.
          Proof.

          "$Longrightarrow$": Suppose $phi$ becomes 1 under assignment $f$. Let $f_i$ be the restriction of $f$ to $B_i$. Then we have a path $f_1, cdots, f_m-k$.

          "$Longleftarrow$": Suppose there is a path $f_1, cdots, f_m-k$, where $f_1in A_1$ and $f_m-kin A_m-k$. Define assignment $f$ such that $f$ agrees with all $f_i$, i.e., $f(x)=f_i(x)$ if $xin B_i$. We can verify that $f$ is well-defined. Since $c_ell$ becomes 1 for some $f_j$ for all $ell$, $phi$ becomes 1 under $f$.




          The number of vertices $|V|le 2^3(k+1)(m-k)$. Hence the algorithm runs in polynomial time in term of $m$, the number of clauses and $n$, the number of total variables.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
            $endgroup$
            – Apass.Jack
            May 19 at 2:18











          • $begingroup$
            This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
            $endgroup$
            – SapereAude
            May 20 at 14:49






          • 1




            $begingroup$
            I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
            $endgroup$
            – Apass.Jack
            May 20 at 15:04















          13












          $begingroup$

          $(3,k)text-LSAT$ is in P for all $k$. As you have indicated, locality is a big obstruction to NP-completeness.




          Here is a polynomial algorithm.



          Input: $phiin (3,k)text-LSAT$, $phi=c_1wedge c_2cdots wedge c_m$, where $c_i$ is the $i$-th clause.

          Output: true if $phi$ becomes 1 under some assignment of all variables.

          Procedure:



          1. Construct set $B_i$, the variables that appear in at least one of $c_i, c_i+1, cdots, c_i+k$, $1le ile m-k$.

          2. Construct set $A_i=f: B_ito0,1 mid c_i, c_i+1, cdots, c_i+k text become 1 under f$.

          3. Construct set $E=cup_i(f, g)mid fin A_i, gin A_i+1, f(x)=g(x)text for all xin B_icap B_i+1 $

          4. Let $V=A_1cup A_2cdotscup A_m-k$. Consider directed graph $G(V,E)$. For each vertex in $A_1$, start a depth-first search on $G$ to see if we can reach a vertex in $A_m-k$. If found, return true.

          5. If we have reached here, return false.


          The correctness of the algorithm above comes from the following claim.



          Claim. $phi$ is satisfiable $Longleftrightarrow$ there is a path in $G$ from a vertex in $A_1$ to a vertex in $A_m-k$.
          Proof.

          "$Longrightarrow$": Suppose $phi$ becomes 1 under assignment $f$. Let $f_i$ be the restriction of $f$ to $B_i$. Then we have a path $f_1, cdots, f_m-k$.

          "$Longleftarrow$": Suppose there is a path $f_1, cdots, f_m-k$, where $f_1in A_1$ and $f_m-kin A_m-k$. Define assignment $f$ such that $f$ agrees with all $f_i$, i.e., $f(x)=f_i(x)$ if $xin B_i$. We can verify that $f$ is well-defined. Since $c_ell$ becomes 1 for some $f_j$ for all $ell$, $phi$ becomes 1 under $f$.




          The number of vertices $|V|le 2^3(k+1)(m-k)$. Hence the algorithm runs in polynomial time in term of $m$, the number of clauses and $n$, the number of total variables.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
            $endgroup$
            – Apass.Jack
            May 19 at 2:18











          • $begingroup$
            This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
            $endgroup$
            – SapereAude
            May 20 at 14:49






          • 1




            $begingroup$
            I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
            $endgroup$
            – Apass.Jack
            May 20 at 15:04













          13












          13








          13





          $begingroup$

          $(3,k)text-LSAT$ is in P for all $k$. As you have indicated, locality is a big obstruction to NP-completeness.




          Here is a polynomial algorithm.



          Input: $phiin (3,k)text-LSAT$, $phi=c_1wedge c_2cdots wedge c_m$, where $c_i$ is the $i$-th clause.

          Output: true if $phi$ becomes 1 under some assignment of all variables.

          Procedure:



          1. Construct set $B_i$, the variables that appear in at least one of $c_i, c_i+1, cdots, c_i+k$, $1le ile m-k$.

          2. Construct set $A_i=f: B_ito0,1 mid c_i, c_i+1, cdots, c_i+k text become 1 under f$.

          3. Construct set $E=cup_i(f, g)mid fin A_i, gin A_i+1, f(x)=g(x)text for all xin B_icap B_i+1 $

          4. Let $V=A_1cup A_2cdotscup A_m-k$. Consider directed graph $G(V,E)$. For each vertex in $A_1$, start a depth-first search on $G$ to see if we can reach a vertex in $A_m-k$. If found, return true.

          5. If we have reached here, return false.


          The correctness of the algorithm above comes from the following claim.



          Claim. $phi$ is satisfiable $Longleftrightarrow$ there is a path in $G$ from a vertex in $A_1$ to a vertex in $A_m-k$.
          Proof.

          "$Longrightarrow$": Suppose $phi$ becomes 1 under assignment $f$. Let $f_i$ be the restriction of $f$ to $B_i$. Then we have a path $f_1, cdots, f_m-k$.

          "$Longleftarrow$": Suppose there is a path $f_1, cdots, f_m-k$, where $f_1in A_1$ and $f_m-kin A_m-k$. Define assignment $f$ such that $f$ agrees with all $f_i$, i.e., $f(x)=f_i(x)$ if $xin B_i$. We can verify that $f$ is well-defined. Since $c_ell$ becomes 1 for some $f_j$ for all $ell$, $phi$ becomes 1 under $f$.




          The number of vertices $|V|le 2^3(k+1)(m-k)$. Hence the algorithm runs in polynomial time in term of $m$, the number of clauses and $n$, the number of total variables.






          share|cite|improve this answer









          $endgroup$



          $(3,k)text-LSAT$ is in P for all $k$. As you have indicated, locality is a big obstruction to NP-completeness.




          Here is a polynomial algorithm.



          Input: $phiin (3,k)text-LSAT$, $phi=c_1wedge c_2cdots wedge c_m$, where $c_i$ is the $i$-th clause.

          Output: true if $phi$ becomes 1 under some assignment of all variables.

          Procedure:



          1. Construct set $B_i$, the variables that appear in at least one of $c_i, c_i+1, cdots, c_i+k$, $1le ile m-k$.

          2. Construct set $A_i=f: B_ito0,1 mid c_i, c_i+1, cdots, c_i+k text become 1 under f$.

          3. Construct set $E=cup_i(f, g)mid fin A_i, gin A_i+1, f(x)=g(x)text for all xin B_icap B_i+1 $

          4. Let $V=A_1cup A_2cdotscup A_m-k$. Consider directed graph $G(V,E)$. For each vertex in $A_1$, start a depth-first search on $G$ to see if we can reach a vertex in $A_m-k$. If found, return true.

          5. If we have reached here, return false.


          The correctness of the algorithm above comes from the following claim.



          Claim. $phi$ is satisfiable $Longleftrightarrow$ there is a path in $G$ from a vertex in $A_1$ to a vertex in $A_m-k$.
          Proof.

          "$Longrightarrow$": Suppose $phi$ becomes 1 under assignment $f$. Let $f_i$ be the restriction of $f$ to $B_i$. Then we have a path $f_1, cdots, f_m-k$.

          "$Longleftarrow$": Suppose there is a path $f_1, cdots, f_m-k$, where $f_1in A_1$ and $f_m-kin A_m-k$. Define assignment $f$ such that $f$ agrees with all $f_i$, i.e., $f(x)=f_i(x)$ if $xin B_i$. We can verify that $f$ is well-defined. Since $c_ell$ becomes 1 for some $f_j$ for all $ell$, $phi$ becomes 1 under $f$.




          The number of vertices $|V|le 2^3(k+1)(m-k)$. Hence the algorithm runs in polynomial time in term of $m$, the number of clauses and $n$, the number of total variables.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered May 15 at 4:07









          Apass.JackApass.Jack

          16.3k11246




          16.3k11246











          • $begingroup$
            In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
            $endgroup$
            – Apass.Jack
            May 19 at 2:18











          • $begingroup$
            This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
            $endgroup$
            – SapereAude
            May 20 at 14:49






          • 1




            $begingroup$
            I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
            $endgroup$
            – Apass.Jack
            May 20 at 15:04
















          • $begingroup$
            In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
            $endgroup$
            – Apass.Jack
            May 19 at 2:18











          • $begingroup$
            This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
            $endgroup$
            – SapereAude
            May 20 at 14:49






          • 1




            $begingroup$
            I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
            $endgroup$
            – Apass.Jack
            May 20 at 15:04















          $begingroup$
          In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
          $endgroup$
          – Apass.Jack
          May 19 at 2:18





          $begingroup$
          In step 4, "for each vertex in $A1$" should better be "from each vertex in $A1$".
          $endgroup$
          – Apass.Jack
          May 19 at 2:18













          $begingroup$
          This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
          $endgroup$
          – SapereAude
          May 20 at 14:49




          $begingroup$
          This method is really helpful. I'm embarrassed I didn't see it before your post. Do you happen to know of a reference (textbook, article, etc.) where it appears?
          $endgroup$
          – SapereAude
          May 20 at 14:49




          1




          1




          $begingroup$
          I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
          $endgroup$
          – Apass.Jack
          May 20 at 15:04




          $begingroup$
          I am afraid that I cannot recall any direct reference. However, it is a major theme in mathematics that a global solution can be pieced together from local solutions sometimes.
          $endgroup$
          – Apass.Jack
          May 20 at 15:04

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Computer Science 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%2fcs.stackexchange.com%2fquestions%2f109357%2fis-a-local-version-of-3-sat-np-hard%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

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

          Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?