Научная статья на тему 'If manyphysicists are right and no physical theory is perfect, then by using physical observations, wecan feasibly solve almost all instances of each NP-complete problem'

If manyphysicists are right and no physical theory is perfect, then by using physical observations, wecan feasibly solve almost all instances of each NP-complete problem Текст научной статьи по специальности «Математика»

CC BY
104
31
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
гипотеза о неидеальности теорий / NP-полные задачи / вычислительно достижимые алгоритмы / использование физических наблюдений в вычислениях. / no-perfect-theory principle / NP-complete problems / feasible algorithms / using physical observations in computations

Аннотация научной статьи по математике, автор научной работы — O. Kosheleva, M. Zakharevich, V. Kreinovich

Многие практические задачи являются, в общем, NP-полными, т.е., неформально говоря, их трудно решить — по крайней мере, на компьютерах, основанных на стандартных физических принципах. Возникает естественный вопрос: можно ли использовать нестандартные физические явления для ускорения решения этих задач? Этот вопрос был проанализирован для нескольких конкретных физических теорий, например, для квантовой теории поля, для космологических решений с червоточинами и/или причинными аномалиями и т.д. Однако многие физики считают, что ни одна физическая теория не может быть совершенной, то есть, независимо от того, сколько наблюдений подтверждают некоторую физическую теорию, неизбежно появятся новые наблюдения, которые потребуют пересмотра этой теории. В этой статье мы покажем, что если гипотеза о невозможности идеальности теорий верна, то использование физических явлений может резко ускорить решение NP-полных задач, а именно: мы можем решить за разумное время почти все примеры NP-полных задач.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Many real-life problems are, in general, NP-complete, i.e., informally speaking, are difficult to solve — at least on computers based on the usual physical techniques. A natural question is: can the use of nonstandard physics speed up the solution of these problems? This question has been analyzed for several specific physical theories, e.g., for quantum field theory, for cosmological solutions with wormholes and/or casual anomalies, etc. However, many physicists believe that no physical theory is perfect, i.e., that no matter how many observations support a physical theory, inevitably, new observations will come which will require this theory to be updated. In this paper, we show that if such a no-perfect-theory principle is true, then the use of physical data can drastically speed up the solution of NP-complete problems: namely, we can feasibly solve almost all instances of each NP-complete problem.

Текст научной работы на тему «If manyphysicists are right and no physical theory is perfect, then by using physical observations, wecan feasibly solve almost all instances of each NP-complete problem»

Mathematical

Structures and Modeling 2014. N. 3(31). PP. 4-17

UDC 510.5:53.06

IF MANY PHYSICISTS ARE RIGHT AND NO PHYSICAL THEORY IS PERFECT, THEN BY USING PHYSICAL OBSERVATIONS, WE CAN FEASIBLY SOLVE ALMOST ALL INSTANCES OF EACH NP-COMPLETE PROBLEM

O. Kosheleva1

Ph.D. (Math.), Associate Professor, e-mail: olgak@utep.edu M. Zakharevich2 Ph.D. (Math.), Researcher, e-mail: ymzakharevich@yahoo.com

V. Kreinovich1 Ph.D. (Math.), Professor, e-mail: vladik@utep.edu

1 University of Texas at El Paso, El Paso, TX 79968, USA 2Aligh Technologies, Inc.

Abstract. Many real-life problems are, in general, NP-complete, i.e., informally speaking, are difficult to solve — at least on computers based on the usual physical techniques. A natural question is: can the use of nonstandard physics speed up the solution of these problems? This question has been analyzed for several specific physical theories, e.g., for quantum field theory, for cosmological solutions with wormholes and/or casual anomalies, etc. However, many physicists believe that no physical theory is perfect, i.e., that no matter how many observations support a physical theory, inevitably, new observations will come which will require this theory to be updated. In this paper, we show that if such a no-perfect-theory principle is true, then the use of physical data can drastically speed up the solution of NP-complete problems: namely, we can feasibly solve almost all instances of each NP-complete problem.

Keywords: no-perfect-theory principle, NP-complete problems, feasible algorithms, using physical observations in computations.

1. Formulation of the Problem

Solving NP-complete problems is important. In practice, we often need to find a solution that satisfies a given set of constraints — or at least check that such a solution is possible. Once we have a candidate for the solution, we can feasibly check whether this candidate indeed satisfies all the constraints. In theoretical computer science, "feasibly" is usually interpreted as computable in polynomial time, i.e., in time bounded by a polynomial of the length of the input.

A problem of checking whether a given set of constraints has a solution is called a problem of the class NP if we can check, in polynomial time, whether a given candidate is a solution; see, e.g., [11].

Examples of such problems include checking whether a given graph can be colored in 3 colors, checking whether a given propositional formula — i.e., formula of the type

(v1 V — v2 V v3) & (v4 V — v2 V — v5) & ... ,

is satisfiable, i.e., whether this formula is true by some combination of the propositional variables v,, etc.

Each problem from the class NP can be algorithmically solved by trying all possible candidates. For example, we can check whether a graph can be colored by trying all possible assignments of colors to different vertices of a graph, and we can check whether a given propositional formula is satisfiable by trying all 2n possible combinations of true-or-false values v1,...,vn. Such exhaustive search algorithms require computation time like 2n, time that grows exponentially with n. For medium-size inputs, e.g., for n & 300, the resulting time is larger than the lifetime of the Universe. So, these exhaustive search algorithms are not practically feasible.

It is not known whether problems from the class NP can be solved feasibly (i.e.,

?

in polynomial time): this is a famous open problem P=NP. It is known, however, there are problems in the class NP which are NP-complete in the sense that every problem from the class NP can be reduced to this problem. Reduction means, in particular, that if we can find a way to efficiently solve one NP-complete problem, then, by reducing other problems from the class NP to this problem, we can thus efficiently solve all the problems from the class NP.

So, it is very important to be able to efficiently solve even one NP-hard problem. (By the way, both above example of NP problems — checking whether a graph can be colored in 3 colors and whether a propositional formula is satisfiable — are NP-complete.)

Can the use of non-standard physics speed up the solution of NP-complete problems? NP-completeness of a problem means, crudely speaking, that the problem may take an unrealistically long time to solve — at least on computers based on the usual physical techniques. A natural question is: can the use of non-standard physics speed up the solution of these problems?

This question has been analyzed for several specific physical theories, e.g., for quantum field theory, for cosmological solutions with wormholes and/or causal anomalies. Several possible techniques for solving NP-complete problems are described in [1,6,8,9,12].

No physical theory is perfect: a widely spread physicists' belief. If we prove that, within a given physical theory, we can speed up the solution to NP-complete problems, will this answer be fully satisfactory?

So far, in the history of physics, no matter how good a physical theory, no matter how good its accordance with observations, eventually, new observations appear which are not fully consistent with the original theory — and thus, a theory needs to be modified. For example, for several centuries, Newtonian physics seems to explain all observable facts — until later, quantum (and then relativistic) effects were discovered which required changes in physical theories.

Because of this history, many physicists believe that every physical theory is approximate — no matter how sophisticated a theory, no matter how accurate its current predictions, inevitably new observations will surface which would require a modification of this theory; see, e.g., [2].

How does this belief affect computations? At first glance, the fact that no theory is perfect makes the question of possible speed-up rather hopeless: no matter how good results we achieve within a given physical theory, eventually, this theory will turn out to be, strictly speaking, false — and thus, our speed-up scheme will not be applicable.

In this paper, we show, however, that in spite of this seeming hopelessness, an important speed-up can be deduced simply from the fact no physical theory is perfect.

Comment. A related question — whether we can use non-standard physical schemes to compute sequences which are not computable on traditional computational devices — was considered in [4,7,13].

2. How to Describe, in Precise Terms, that No Physical Theory Is Perfect

Discussion. The statement that no physical theory is perfect means that no matter what physical theory we have, eventually there will be observations which violate this theory. To formalize this statement, we need to formalize what are observations and what is a theory.

What are observations? Each observation can be represented, in the computer, as a sequence of 0s and 1s; actually, in many cases, the sensors already produce the signal in the computer-readable form, as a sequence of 0s and 1s.

An exact description of each experiment can also be described in precise terms, and thus, it will be represented in a computer as a sequence of 0s and 1s. An experiment should specify how long we wait for the result; in this way, we are guaranteed that we get the result.

In each experiment, we can specify which bit of the result we are interested in; for convenience, we can consider producing different bits as different experiments.

Each such experiment is represented as a sequence of 0s and 1s; by appending 1 at the beginning of this sequence, we can view this sequence as a binary expansion of a natural number i. This natural number will serve as the "code" describing the experiment. For example, a sequence 001 is transformed into i = 10012 = 9i0. (We need to append 1, because otherwise two different sequences 001 and 01 will be represented by the same integer).

For natural numbers i which correspond to experiment descriptions, let ui denote the bit result of the experiment described by the code i.

Let us also define ui for natural numbers i which do not correspond to a syntactically correct description of experiments. For example, we can fix a scheme

of an experiment that uses a natural number i as a parameter (e.g., repeating a certain procedure i times), and define u, as the result of this scheme.

In these terms, all past and future observations form a (potentially) infinite sequence u = u1 u2... of 0s and 1s, u, e {0,1}.

What is a physical theory from the viewpoint of our problem: a set of

sequences. A physical theory may be very complex, but all we care about is which sequences of observations u are consistent with this theory and which are not. In other words, for our purposes, we can identify a physical theory T with the set of all sequences u which are consistent with this theory.

Not every set of sequences corresponds to a physical theory: the set T must be non-empty and definable. Not every set of sequences comes from a physical theory. First, a physical theory must have at least one possible sequence of observations, i.e., the set T must be non-empty.

Second, a theory — and thus, the corresponding set — must be described by a finite sequence of symbols in an appropriate language. Sets which are uniquely described by (finite) formulas are known as definable. Thus, the set T must be definable.

Since at any moment of time, we only have finitely many observations, the set T must be closed. Another property of a physical theory comes from the fact that at any given moment of time, we only have finitely many observations, i.e., we only observe finitely many bits. From this viewpoint, we say that observations u1... un are consistent with the theory T if there is a continuing infinite sequence which is consistent with this theory, i.e., which belongs to the set T.

The only way to check whether an infinite sequence u = u1u2... is consistent with the theory is to check that for every n, the sequences u1... un are consistent with the theory T. In other words, we require that for some every infinite sequence u = u1u2 . . .,

• if for every n, the sequence u1... un is consistent with the theory T, i.e., if for every n, there exists a sequence u(m) e T which has the same first n bits as u, i.e., for which = u for all i = 1,..., n,

• then the sequence u itself should be consistent with the theory, i.e., this infinite sequence should also belong to the set T.

From the mathematical viewpoint, we can say that the sequences u(m) converge to u: u(m) ^ u (or, equivalently, lim u(m) = u), where convergence is understood in terms of the usual metric on the set of all infinite sequences d(u,u') =f 2-N

where N(u,u') = max{k : u>1... u>fc — u>1... u>k}.

In general, if u(m) ^ u in the sense of this metric, this means that for every n, there exists an integer t such that for every m > I, we have ... = = u1 ...un. Thus, if u(m) e T for all m, this means that for every n, a finite sequence u1 ...un can be a part of an infinite sequence which is consistent with the theory T. In view of the above, this means that u e T.

In other words, if ^ u and e T for all m, then u e T. So, the set T must contain all the limits of all its sequences. In topological terms, this means that the set T must be closed.

A physical theory must be different from a fact and hence, the set T must

be nowhere dense. The assumption that we are trying to formalize is that no matter how many observations we have which confirm a theory, there eventually will be a new observation which is inconsistent with this theory. In other words, for every finite sequence u1 ...um which is consistent with the set T, there exists a continuation of this sequence which does not belong to T. The opposite would be if all the sequences which start with u1 ...um belong to T; in this case, the set T will be dense in the open set of all the sequences starting with u1 .. .um. Thus, in mathematical terms, the statement that every finite sequence which is consistent with T has a continuation which is not consistent with T means that the set T is nowhere dense.

Resulting definition of a theory. By combining the above properties of a set T which describes a physical theory, we arrive at the following definition.

Definition 1. By a physical theory, we mean a non-empty closed nowhere dense definable set T.

Mathematical comment. To properly define what is definable, we need to have a consistent formal definition of definability. In this paper, we follow a natural definition from [5-7,13] - which is reproduced in the Appendix.

Formalization of the principle that no physical theory is perfect. In terms of the above notations, the no-perfect-theory principle simply means that the infinite sequence u (describing the actual results of all observations) is not consistent with any physical theory, i.e., that the sequence u does not belong to any physical theory T. Thus, we arrive at the following definition.

Definition 2. We say that an infinite binary sequence u is consistent with the no-perfect-theory principle if the sequence u does not belong to any physical theory (in the sense of Definition 1).

Comment. Are there such sequences in the first place? Our answer is yes. Indeed, by definition, we want a sequence which does not belong to a union of all definable physical theories. Every physical theory is closed nowhere dense set. Every definable set is defined by a finite sequence of symbols, so there are no more than countably many definable theories. Thus, the union of all definable physical theories is contained in a union of countably many closed nowhere dense sets. Such sets are known as meager (or Baire first category); it is known that the set of all infinite binary sequences is not meager. Thus, there are sequences that do not belong to the above union — i.e., sequences which are consistent with the no-perfect-theory principle; see, e.g., [3,10].

3. Main Result: The Use of Physical Observations Can Help in Solving NP-Complete Problems

What we do in this section. In this section, we prove that under the no-perfect-theory principle, it is possible to drastically speed up the solution of NP-complete problems.

How to represent instances of an NP-complete problem. For each NP-complete problem P, its instances are sequences of symbols. In the computer, each such sequence is represented as a sequence of 0s and 1s. Thus, as in the previous section, we can append 1 in front of this sequence and interpret the resulting sequence as a binary code of a natural number i.

In principle, not all natural numbers i correspond to instances of a problem P; we will denote the set of all natural numbers which correspond to such instances by SP.

For each i e SP, the correct answer (true or false) to the i-th instance of the problem P will be denoted by sP.

Easier-to-solve and harder-to-solve NP-complete problems. We will show that our method works on "harder-to-solve" NP-complete problems, harder-to-solve in the following sense. By definition, for all NP-complete problems, unless P = NP, there is no feasible algorithm for solving all its instances. However, for some easier-to-solve problems, there are feasible algorithms which solve "almost all" instances, in the sense that for each n, the proportional of instance i < n for which the problem is solved by this algorithm tends to 1. In this case, while the worst-case complexity is still exponential, in practice, almost all problems can be feasibly solved.

A more challenging case are harder-to-solve NP-complete problems, for which no feasible algorithm is known that would solve almost all instances.

In this section, we show that our method works on all NP-complete problems, both easier-to-solve and harder-to-solve ones.

What we mean by using physical observations in computations. In addition to performing computations, our computational device can produce a scheme i for an experiment, and then use the result u, of this experiment in future computations. In other words, given an integer i, we can produce u,.

In precise theory-of-computation terms, the use of physical observations in computations thus means computations that use the sequence u as an oracle; see, e.g., [11].

Definition 3. By a ph-algorithm A, we mean an algorithm which uses, as an oracle, a sequence u which is consistent with the no-perfect-theory principle.

Notation. The result of applying an algorithm A using u to an input i will be denoted by A(u, i).

Definition 4. Let P be an NP-complete problem. We say that a feasible ph-algorithm A solves almost all instances of P if for every e > 0, and for every natural number n, there exists an integer N > n for which the proportion of the

instances i < N of the problem P which are correctly solved by A is greater than 1 — e:

Ve> 0 Vn 3N ( N > n &#{i < N • i e & A(u,i) = > 1 — e) .

1 - #{i < N : i e Sv} )

Comment. The restriction to sufficiently long inputs N > n makes perfect sense: for short inputs, NP-completeness is not an issue: we can perform exhaustive search of all possible bit sequences of length 10, 20, and even 30. The challenge starts when the length of the input is high.

Proposition 1. For every NP-complete problem P, there exists a feasible ph-algorithm A that solves almost all instances of P.

Comments. In other words, we show that the use of physical observations makes all NP-complete problems easier-to-solve (in the above-described sense).

It turns out that this result is the best possible, in the sense that the use of physical observations cannot solve all instances.

Proposition 2. If P=NP, then no feasible ph-algorithm A can solve all instances of P.

Comment. Another possible idea of strengthening Proposition 1 is to require that the property

#{i < N : i e Sp & A(u,i) = spi}

-:— > 1 — e

#{i < N : i e Sp}

holds not only for infinitely many N, but for all N starting with some N0. It turns out that in this formulation, the use of physical observation does not help.

Definition 5. Let P be an NP-complete problem. Let 8 > 0 be a real number. We say that a feasible ph-algorithm A 8-solves P if

3No VN |N > No ^ #{i < N# < e S! &. A(U'i)= SPi} >8

#{i < N : i e Sp}

Proposition 3. For every NP-complete problem P and for every 5 > 0, if there exists a feasible ph-algorithm A that 5-solves P, then there exists a feasible algorithm A! (not using physical observations) which also 5-solves P.

4. Proofs Proof of Proposition 1.

1°. As the desired ph-algorithm, we will, given an instance i, simply produce the result ui of the i-th experiment. Let us prove, by contradiction, that this algorithm satisfies the desired property.

2°. We want to prove that for every e > 0 and for every n, there exists an integer N > n for which

#{i < N : i e Sp & u, = sp,,} > (1 - e) ■ #{i < N : i e Sp}.

The assumption that this property is not satisfied means that for some e > 0 and for some integer n, we have

#{i < N : i e Sp & u, = sp,,} < (1 - e) ■ #{i < N : i e Sp} for all N > n. (1)

Let T denote the set of all the sequences x that satisfy the property (1), i.e., let

T = {x : #{i < N : i e Sp & x, = sp,,} <

(1 - e) ■ #{i < N : i e Sp} for all N > n}.

We will prove that this set T is a physical theory in the sense of Definition 1.

Then, due to Definition 2 and the fact that the sequence u satisfies the no-perfect-theory principle, we will be able to conclude that u e T, and thus, that the property (1) is not satisfied for the given sequence u. This will conclude the proof by contradiction.

3°. By definition of a physical theory T, it is a set which is non-empty, closed, nowhere dense, and definable. Let us prove these four properties one by one.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

3.1°. Non-emptiness comes from the fact that the sequence x, for which x, = —sp,, for i e Sp and x, = 0 otherwise clearly belongs to this set: for this sequence, for every N, we have

#{i < N : i e Sp & x, = sp,,} = 0 and thus, the desired property is satisfied.

3.2°. Let us prove that the set T is closed, i.e., that if we have a family of sequences x(m) e T for which x(m) ^ u, then x e T.

Indeed, let us take any N = n, and let us prove that

#{i < N : i e Sp & x, = sp,,} < (1 - e) ■ #{i < N : i e Sp}

for this N. Due to x(m) ^ x, there exists M for which, for all m > M, the first N bits of x(m) coincide with the first N bits of the sequence x: x(m) = u, for all i < N. Thus,

#{i < N : i e Sp & x, = sp,,} = #{i < N : i e Sp & x(m) = sp,,}. Since x(m) e T, we have

#{i < N : i e Sp & x(m) = sp,,} < (1 - e) ■ #{i < N : i e Sp},

thus

#{i < N : i e Sp & x, = sp,,} < (1 - e) ■ #{i < N : i e Sp}.

So, the set T is indeed closed.

3.3°. Let us now prove that the set T is nowhere dense, i.e., that for every finite sequence x1... xm, there exists a continuation x which does not belong to the set T.

Indeed, as such a continuation, we can simply take a sequence

x X1 ... xmxm+l xm+2 . . .

where for i > m, we take xi — Sjy i if i e Sp and xi = 0 otherwise. For this new sequence, for every N, at most m first instances may lead to results different from sp, i, so we have

#{i < N : i e Sp & xi = sp ,i} - #{i < N : i e Sp} — m.

When N —y to, then #{i < N : i e Sp} — to, so for sufficiently large N, we have

#{i < N : i e Sp} — m > (1 — e) ■ #{i < N : i e Sp},

thus,

#{i < N : i e Sp & xi = Sp,i} > (1 — e) ■ #{i < N : i e Sp}, and we cannot have

#{i < N : i e Sp & xi = sp ,i} < (1 — e) ■ #{i < N : i e Sp}.

Therefore, this continuation does not belong to the set T.

3.4°. Finally, since the formula (1) explicitly defines the set T, this set T is clearly definable.

So, T is a physical theory, hence u e T, and the proposition is proven.

Proof of Proposition 2. Let us assume that P=NP. We then need to prove that for every feasible ph-algorithm A, it is not possible to have

#{i < N : i e Sp & A(u, i) = sp ,i} = #{i < N : i e Sp}

for all natural numbers N.

To prove this impossibility, let us consider, for each feasible ph-algorithm A, the set

T(A) = {x : #{i < N : i e Sp & A(x, i) = sp ,i} =

#{i < N : i e Sp} for all N}.

Similarly to the proof of Proposition 1, we can show that this set T(A) is closed and definable.

Let us prove that the set T(A) is nowhere dense, i.e., that for every finite sequence xl ...xm, there exists a continuation x which does not belong to the set T (A). Indeed, we can simply extend the original finite sequence xl ...xm by 0s. In this case, when the oracle has only finitely many nonzero bits, we can

incorporate these bits into an algorithm and get a feasible non-oracle algorithm A' which produces the same results: A'(i) = A(x,i) for all i.

Let us prove, by contradiction, that x e T(A). Indeed, if x e T(A), this would mean that

#{i < N : i e Sp & A'(i) = sp,,} = #{i < N : i e Sp}

for all N. Thus, the feasible non-oracle algorithm A' solves all the instances of the original NP-complete problem P, which contradicts to our assumption that P=NP. This contradiction proves that x e T(A) and thus, the set T(A) is indeed nowhere dense.

We have thus proven that the set T(A) is closed, nowhere dense, and definable. The only property which is still missing from the definition of a physical theory (Definition 1) is non-emptiness. We do not know whether the set T(A) is nonempty or not, but we can prove the desired impossibility in both cases.

If the set T(A) is non-empty, then this set is a theory in the sense of Definition 1, and thus, since the sequence u satisfies the no-perfect-theory principle, we have u e T(A). This means that the ph-algorithm A is not solving all instances of the problem P.

If the set T(A) is empty, this also means that the ph-algorithm A does not solve all instances of the problem P — no matter what oracle we use. The proposition is proven.

Proof of Proposition 3. Let us assume that no non-oracle feasible algorithm 5-solves the problem P. We then need to prove that for every feasible ph-algorithm A, it is not possible to have N0 for which

#{i < N : i e Sp & A(u, i) = sp,,} >5 ■ #{i < N : i e Sp}

for all natural numbers N > N0.

To prove this impossibility, let us consider, for each feasible ph-algorithm A and for each natural number N0, the set

T(A, No) d=f {x : #{i < N : i e Sp & A(x, i) = sp,,} >

5 ■ #{i < N : i e Sp} for all N > No}.

Similarly to the proof of Proposition 1, we can show that this set T(A, N0) is closed and definable.

Let us prove that the set T(A, N0) is nowhere dense, i.e., that for every finite sequence xi ...xm, there exists a continuation x which does not belong to the set T(A, N0). Indeed, similarly to the proof of Proposition 2, we can extend the original finite sequence x1 ...xm by 0s. In this case, when the oracle has only finitely many nonzero bits, we can incorporate these bits into an algorithm and get a feasible non-oracle algorithm A' which produces the same results: A'(i) = A(x,i) for all i.

Let us prove, by contradiction, that x e T(A, N0). Indeed, if x e T(A, N0), this would mean that

#{i < N : i e Sp & A'(i) = sp ,i} > ó • #{i < N : i e Sp}

for all N > N0. Thus, the feasible non-oracle algorithm A' ó-solves the original NP-complete problem P, which contradicts to our assumption that no such feasible non-oracle algorithm is possible. This contradiction proves that x e T(A, N0) and thus, the set T(A, N0) is indeed nowhere dense.

We have thus proven that the set T(A, N0) is closed, nowhere dense, and definable. The only property which is still missing from the definition of a physical theory (Definition 1) is non-emptiness. We do not know whether the set T(A, N0) is non-empty or not, but we can prove the desired impossibility in both cases.

For each N0, if the set T(A, N0) is non-empty, then this set is a theory in the sense of Definition 1, and thus, since the sequence u satisfies the no-perfect-theory principle, we have u e T(A, N0), i.e.,

#{i < N : i e Sp & A(u, I) = sp ,i} <

ó • #{i < N : i e Sp} for some N > N0. (2)

If the set T(A, N0) corresponding to a given N0 is empty, then also u e T(A, N0), i.e., we also have the property (2).

Since the property (2) holds for all N0, this means that the ph-algorithm A does not ó-solve the problem P. The proposition is proven.

Acknowledgments

This work was supported in part by the National Science Foundation grants HRD-0734825 and HRD-1242122 (Cyber-ShARE Center of Excellence) and DUE-0926721.

References

1. Aaronson S. NP-complete problems and physical reality // SIGACT New. 2005. V. 36. P. 30-52.

2. Feynman R., Leighton R., and Sands M. The Feynman Lectures on Physics, Boston, Massachusetts: Addison Wesley, 2005.

3. Jalal-Kamali A., Nebesky O., Durcholz M.H., Kreinovich V., and Longpre L. Towards a "generic" notion of genericity: from "typical" and "random" to meager, shy, etc. // Journal of Uncertain Systems. 2012. V. 6, N. 2. P. 104-113.

4. Kosheleva O.M., and Soloviev S.V. On the logic of using observable events in decision making // Proceedings of the IX National USSR Symposium on Cybernetics, Moscow, 1981. P. 49-51 (in Russian).

5. Kreinovich V. Toward formalizing non-monotonic reasoning in physics: the use of Kol-mogorov complexity // Revista Iberoamericana de Inteligencia Artificial, 2009. V. 41. P. 4-20.

6. Kreinovich V., and Finkelstein A.M. Towards applying computational complexity to foundations of physics // Journal of Mathematical Sciences, 2006. V. 134, N. 5. P. 23582382.

7. Kreinovich V., and Kosheleva O. Logic of scientific discovery: how physical induction affects what is computable // Proceedings of the International Interdisciplinary Conference Philosophy, Mathematics, Linguistics: Aspects of Interaction 2014 PhML'2014, St. Petersburg, Russia, April 21-25, 2014. P. 116-127.

8. Kreinovich V., and Margenstern, M. In some curved spaces, one can solve NP-hard problems in polynomial time // Notes of Mathematical Seminars of St. Petersburg Department of Steklov Institute of Mathematics. 2008. V. 358. P. 224-250; reprinted in Journal of Mathematical Sciences. 2009. V. 158, N. 5. P. 727-740.

9. Morgenstein D., and Kreinovich V. Which algorithms are feasible and which are not depends on the geometry of space-time // Geombinatorics. 1995. V. 4, N. 3. P. 80-97.

10. Oxtoby J.C. Measure and Category: A Survey of the Analogies between Topological and Measure Spaces, New York, Heidelberg, Berlin: Springer Verlag, 1980.

11. Papadimitriou C. Computational Complexity, Reading, Massachusetts: Addison Welsey, 1994.

12. Srikanth R. The quantum measurement problem and physical reality: a computation theoretic perspective // Goswami D. (ed.), Quantum Computing: Back Action 2006, IIT Kanpur, India, March 2006, AIP Conference Proceedings. 2006. V. 864. P. 178-193.

13. Zakharevich M., and Kosheleva O. If many physicists are right and no physical theory is perfect, then the use of physical observations can enhance computations // Journal of Uncertain Systems. 2014. V. 8, N. 3. P. 227-232.

A Appendix: A Formal Definition of Definable Sets

Definition A1. Let L be a theory, and let P(x) be a formula from the language of the theory L, with one free variable x for which the set {x | P(x)} is defined in the theory L. We will then call the set {x | P(x)} L-definable.

Crudely speaking, a set is L-definable if we can explicitly define it in L. The set of all real numbers, the set of all solutions of a well-defined equation, every set that we can describe in mathematical terms: all these sets are L-definable.

This does not mean, however, that every set is L-definable: indeed, every L-definable set is uniquely determined by formula P(x), i.e., by a text in the language of set theory. There are only denumerably many words and therefore, there are only denumerably many L-definable sets. Since, e.g., in a standard model of set theory ZF, there are more than denumerably many sets of integers, some of them are thus not L-definable.

Our objective is to be able to make mathematical statements about L-definable sets. Therefore, in addition to the theory L, we must have a stronger theory M in which the class of all L-definable sets is a set — and it is a countable set.

Denotation. For every formula F from the theory L, we denote its Godel number by |_FJ.

Comment. A Godel number of a formula is an integer that uniquely determines this formula. For example, we can define a Godel number by describing what this formula will look like in a computer. Specifically, we write this formula in LTgX, interpret every LTgX symbol as its ASCII code (as computers do), add 1 at the beginning of the resulting sequence of 0s and 1s, and interpret the resulting binary sequence as an integer in binary code.

Definition A2. We say that a theory M is stronger than L if it contains all formulas, all axioms, and all deduction rules from L, and also contains a special predicate def(n,x) such that for every formula P(x) from L with one free variable, the formula

Vy(def(|_P(x)J,y) o P(y))

is provable in M.

The existence of a stronger theory can be easily proven: indeed, for L=ZF, there exists a stronger theory M. As an example of such a stronger theory, we can simply take the theory L plus all countably many equivalence formulas as described in Definition A2 (formulas corresponding to all possible formulas P(x) with one free variable). This theory clearly contains L and all the desired equivalence formulas, so all we need to prove is that the resulting theory M is consistent (provided that L is consistent, of course). Due to compactness principle, it is sufficient to prove that for an arbitrary finite set of formulas Pl(x),... , Pm(x), the theory L is consistent with the above reflection-principle-type formulas corresponding to these properties Pl(x),..., Pm(x).

This auxiliary consistency follows from the fact that for such a finite set, we can take

def(n, y) O (n = |_Pl(x)J & Pl(y)) V ... V (n = LPm(x)J & Pm(y)).

This formula is definable in L and satisfies all m equivalence properties. The statement is proven.

Important comments. In the main text, we will assume that a theory M that is stronger than L has been fixed; proofs will mean proofs in this selected theory M.

An important feature of a stronger theory M is that the notion of an L-definable set can be expressed within the theory M: a set S is L-definable if and only if

3n e IN Vy(def(n, y) o y e S).

In the paper, when we talk about definability, we will mean this property expressed in the theory M. So, all the statements involving definability become statements from the theory M itself, not statements from metalanguage.

Notes added in proof: 1) To make sure that the resulting ph-algorithm is feasible, we need to define experiment descriptions in which a way that the time needed to complete the i-th experiment does not exceed a polynomial of log(i). From this viewpoint, an experiment in which there is no explicit time limit should be described as a sequence of experiments with a cutoff time 1,2,..., t, ...; the allocated time can be indicated, e.g., by adding t special time symbols to the original description of the experiment.

2) The main result holds — with the same proof — not only for problems from a class NP, but also for any definable problem.

ЕСЛИ БОЛЬШИНСТВО ФИЗИКОВ ПРАВЫ И СОВЕРШЕННОЙ ФИЗИЧЕСКОЙ ТЕОРИИ НЕ СУЩЕСТВУЕТ, ТО С ПОМОЩЬЮ ФИЗИЧЕСКИХ НАБЛЮДЕНИЙ МЫ МОГЛИ БЫ НАЙТИ РЕШЕНИЕ ПОЧТИ ДЛЯ КАЖДОГО СЛУЧАЯ ЛЮБОЙ NP-ПОЛНОЙ ЗАДАЧИ

О. Кошелева1

к.ф.-м.н., доцент, e-mail: olgak@utep.edu М. Захаревич2

к.ф.-м.н., научный сотрудник, e-mail: ymzakharevich@yahoo.com

В. Крейнович1 к.ф.-м.н., профессор, e-mail: vladik@utep.edu

1 Техасский университет в Эль-Пасо, США 2Aligh Technologies, Inc., США

Аннотация. Многие практические задачи являются, в общем, NP-полными, т.е., неформально говоря, их трудно решить — по крайней мере, на компьютерах, основанных на стандартных физических принципах. Возникает естественный вопрос: можно ли использовать нестандартные физические явления для ускорения решения этих задач? Этот вопрос был проанализирован для нескольких конкретных физических теорий, например, для квантовой теории поля, для космологических решений с червоточинами и/или причинными аномалиями и т.д. Однако многие физики считают, что ни одна физическая теория не может быть совершенной, то есть, независимо от того, сколько наблюдений подтверждают некоторую физическую теорию, неизбежно появятся новые наблюдения, которые потребуют пересмотра этой теории. В этой статье мы покажем, что если гипотеза о невозможности идеальности теорий верна, то использование физических явлений может резко ускорить решение NP-полных задач, а именно: мы можем решить за разумное время почти все примеры NP-полных задач.

Ключевые слова: гипотеза о неидеальности теорий, NP-полные задачи, вычислительно достижимые алгоритмы, использование физических наблюдений в вычислениях.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.