Rumus Monotone-2CNF adalah formula CNF di mana setiap klausa tersusun oleh tepat 2 literal positif.
Sekarang, saya memiliki Monoton-2CNF rumus . Misalkan S adalah himpunan tugas F yang memuaskan. Saya juga memiliki oracle O yang dapat memberikan informasi berikut:
- Kardinalitas himpunan (yaitu jumlah solusi F ).
-
Diberikan variabel :
- Jumlah solusi dalam mengandung literal positif x .
- Jumlah solusi dalam mengandung literal negatif ¬ x .
-
Diberikan 2 variabel dan x 2 :
- Jumlah solusi dalam mengandung x 1 ∧ x 2 .
- Jumlah solusi dalam mengandung x 1 ∧ ¬ x 2 .
- Jumlah solusi dalam mengandung ¬ x 1 ∧ x 2 .
- Jumlah solusi dalam mengandung ¬ x 1 ∧ ¬ x 2 .
Perhatikan bahwa oracle adalah "terbatas": ia bekerja hanya pada F , tidak dapat digunakan pada formula F ' ≠ F .
Pertanyaan:
Diberikan 3 variabel , x 2 , x 3 apakah mungkin untuk menentukan jumlah solusi dalam S yang mengandung ¬ x 1 ∧ ¬ x 2 ∧ ¬ x 3 dalam waktu polinomial, menggunakan F dan informasi yang diberikan oleh O ?
catatan:
You can replace in the question with whatever else of the 8 possible combinations of , , . The problem would remain the same.
Empirical fact:
I came across the following empirical fact one week ago. Let be the set of those solutions containing , and let be the set of those solutions containing . Now, it seems to be the case that, if condition
where is the golden ratio. Condition seems to be the following: ", , are mentioned in almost the same number of times".
sumber
Jawaban:
To use that empirical fact you really want to know whether approximate numbers can give others approximate numbers. But for the exact case, I think there may be a straightforward way to show this is hard. Here's a sketch.
First note that satisfying assignments correspond to independent sets in a graph. I'll use the phrase "S-projections of I(G)" to describe the function mappingT⊂S to the number of independent sets I with I∩S=T . The "k-projections" are the S-projections for all subsets S of V with |S|=k .
Proof outline:
(1) Letk≥3 such that (k-1)-projections give k-projections. Given a graph, its k-projections, and x1,...,xk,v∈G , we will compute the projections onto x1,...,xk,v .
Define the graphG′ by attaching a fresh vertex to v. This can be seen as weighting v. The (k-1)-projections of G′ can be computed because we know the k-projections of G. So then we have the k-projections of G′ . And this gives x1,...,xk,v -projections of G.
(2) Given a graph, order the edgese1,...,em and define Gk to have edges e1,...,ek . The 2-projections of Gk+1 can be computed from the 4-projections of Gk . The number of independent sets in G0 is 2|G| . Iteratively the 4-projections of G can be computed in polynomial time.
sumber
Some observations, not an answer.
Further to the note to the question, any combination of 3 literals can be expressed in terms of any other combination of literals on the same variables, together with a small number of terms that the oracle can provide. This follows from looking at the Venn diagram of 3 intersecting sets, and expressing each of the 8 regions in terms of the other regions. Note that this does not require the formula to be either monotone or 2CNF.
It is also clear that the number of solutions satisfying any 3-literal conjunct can be expressed as the sum of2n−3 terms, each of which is either 0 or 1, expressing a particular assignment to all variables. Each of these can be evaluated in linear time, but there are exponentially many terms to evaluate, so this doesn't satisfy the requirements.
Hence the question is really about whether it is possible to exploit the property of being monotone 2CNF to compress this exponential-size expression to polynomial size.
I tried to look at a simpler question, restricting the oracle to just an advice string with the number of solutions, when the counts for single or pairwise literal combinations are not available. I cannot see any way to exploit knowledge of the number of solutions to obtain a quick calculation of the number of solutions with respect to any single literal.
Is there something about monotone 2CNF that would allow the number of solutions inS containing x1 to be obtained quickly, if one knew |S| ?
sumber