Jump to content

User:GaseousButter/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{User sandbox}}
{{User sandbox}}
<!-- EDIT BELOW THIS LINE -->{{Unsolved|mathematics|Is there an algorithm to test whether a linear recurrence sequence has a zero?}}
<!-- EDIT BELOW THIS LINE -->In [[mathematics]], the '''Skolem problem''' is the problem of determining whether the values of a [[Constant-recursive sequence|linear recurrence sequence]] include the number zero. The problem can be formulated for [[Recurrence relation|recurrences]] over different types of numbers, including [[Integer|integers]], [[Rational number|rational numbers]], and [[Algebraic number|algebraic numbers]]. It is an open problem whether there exists an [[algorithm]] that can solve this problem, with only special cases and conditional results known.<ref name="ow">{{citation |last1=Ouaknine |first1=Joël |title=Reachability Problems: 6th International Workshop, RP 2012, Bordeaux, France, September 17–19, 2012, Proceedings |volume=7550 |pages=21–28 |year=2012 |series=Lecture Notes in Computer Science |contribution=Decision problems for linear recurrence sequences |location=Heidelberg |publisher=Springer-Verlag |doi=10.1007/978-3-642-33512-9_3 |mr=3040104 |last2=Worrell |first2=James}}.</ref> The Skolem problem is named after [[Thoralf Skolem]], due to his 1933 paper [[Mathematical proof|proving]] the [[Skolem–Mahler–Lech theorem]] for [[Rational number|rational]] sequences, which describes the structure of the set of zeroes of a linear recurrence sequence.

In [[mathematics]], the '''Skolem problem''' is the problem of determining whether the values of a [[Constant-recursive sequence|linear recurrence sequence]] include the number zero. The problem can be formulated for [[Recurrence relation|recurrences]] over different types of numbers, including [[Integer|integers]], [[Rational number|rational numbers]], and [[Algebraic number|algebraic numbers]]. It is not yet known whether there exists an [[algorithm]] that can solve this problem, with only special cases and conditional results known.<ref name="ow">{{citation |last1=Ouaknine |first1=Joël |title=Reachability Problems: 6th International Workshop, RP 2012, Bordeaux, France, September 17–19, 2012, Proceedings |volume=7550 |pages=21–28 |year=2012 |series=Lecture Notes in Computer Science |contribution=Decision problems for linear recurrence sequences |location=Heidelberg |publisher=Springer-Verlag |doi=10.1007/978-3-642-33512-9_3 |mr=3040104 |last2=Worrell |first2=James}}.</ref> The Skolem problem is named after [[Thoralf Skolem]], due to his 1933 paper [[Mathematical proof|proving]] the [[Skolem–Mahler–Lech theorem]] for [[Rational number|rational]] sequences, which describes the structure of the set of zeroes of a linear recurrence sequence.


There does exist an algorithm to test whether a linear recurrence sequence has infinitely many zeros, and if so to construct a decomposition of the positions of those zeros into periodic subsequences, based on the algebraic properties of the [[Root of a polynomial|roots]] of the characteristic polynomial of the given recurrence.<ref>{{citation |last1=Berstel |first1=Jean |title=Deux propriétés décidables des suites récurrentes linéaires |journal=[[Bulletin de la Société Mathématique de France]] |volume=104 |issue=2 |pages=175–184 |year=1976 |url=http://www.numdam.org/item?id=BSMF_1976__104__175_0 |language=French |doi=10.24033/bsmf.1823 |mr=0414475 |last2=Mignotte |first2=Maurice |doi-access=free}}.</ref> The remaining difficult part of the Skolem problem is determining whether the finite set of non-repeating zeros is [[Empty set|empty]] or not.<ref name="ow" />
There does exist an algorithm to test whether a linear recurrence sequence has infinitely many zeros, and if so to construct a decomposition of the positions of those zeros into periodic subsequences, based on the algebraic properties of the [[Root of a polynomial|roots]] of the characteristic polynomial of the given recurrence.<ref>{{citation |last1=Berstel |first1=Jean |title=Deux propriétés décidables des suites récurrentes linéaires |journal=[[Bulletin de la Société Mathématique de France]] |volume=104 |issue=2 |pages=175–184 |year=1976 |url=http://www.numdam.org/item?id=BSMF_1976__104__175_0 |language=French |doi=10.24033/bsmf.1823 |mr=0414475 |last2=Mignotte |first2=Maurice |doi-access=free}}.</ref> The remaining difficult part of the Skolem problem is determining whether the finite set of non-repeating zeros is [[Empty set|empty]] or not.<ref name="ow" />


Partial solutions to the Skolem problem are known, covering the special case of the problem for recurrences of degree at most four. However, these solutions do not apply to recurrences of degree five or more.<ref name="ow" /><ref>{{citation |last1=Mignotte |first1=M. |title=The distance between terms of an algebraic recurrence sequence |journal=[[Journal für die Reine und Angewandte Mathematik]] |volume=349 |pages=63–76 |year=1984 |mr=743965 |last2=Shorey |first2=T. N. |last3=Tijdeman |first3=R. |author2-link=Tarlok Nath Shorey |author3-link=Robert Tijdeman}}.</ref><ref>{{citation |last=Vereshchagin |first=N. K. |title=The problem of the appearance of a zero in a linear recursive sequence |journal=[[Mathematical Notes|Matematicheskie Zametki]] |volume=38 |issue=2 |pages=177–189, 347 |year=1985 |language=Russian |mr=808885}}.</ref> For integer recurrences, the Skolem problem is known to be [[NP-hard]].<ref>{{citation |last1=Blondel |first1=Vincent D. |title=The presence of a zero in an integer linear recurrent sequence is NP-hard to decide |journal=Linear Algebra and Its Applications |volume=351/352 |pages=91–98 |year=2002 |doi=10.1016/S0024-3795(01)00466-9 |mr=1917474 |last2=Portier |first2=Natacha}}.</ref>
Partial solutions to the Skolem problem are known, covering the special case of the problem for recurrences of order at most four. However, these solutions do not apply to recurrences of order five or more.<ref name="ow" /><ref name=":1">{{citation |last1=Mignotte |first1=M. |title=The distance between terms of an algebraic recurrence sequence |journal=[[Journal für die Reine und Angewandte Mathematik]] |volume=349 |pages=63–76 |year=1984 |mr=743965 |last2=Shorey |first2=T. N. |last3=Tijdeman |first3=R. |author2-link=Tarlok Nath Shorey |author3-link=Robert Tijdeman}}.</ref><ref name=":2">{{citation |last=Vereshchagin |first=N. K. |title=The problem of the appearance of a zero in a linear recursive sequence |journal=[[Mathematical Notes|Matematicheskie Zametki]] |volume=38 |issue=2 |pages=177–189, 347 |year=1985 |language=Russian |mr=808885}}.</ref>


The Skolem Problem can be seen as a linear version of the [[Halting problem]], which is known to be [[Undecidable problem|undecidable]]. It has been said by [[Terence Tao|Terrence Tao]] that it is "faintly outrageous that this problem is still open", as we do not yet know how to decide the Halting problem for even "linear" automata.<ref>{{Cite web |date=2007-05-26 |title=Open question: effective Skolem-Mahler-Lech theorem |url=https://terrytao.wordpress.com/2007/05/25/open-question-effective-skolem-mahler-lech-theorem/ |access-date=2024-07-01 |website=What's new |language=en}}</ref>
The Skolem Problem can be seen as a linear version of the [[Halting problem]], which is known to be [[Undecidable problem|undecidable]]. It has been said by [[Terence Tao|Terrence Tao]] that it is "faintly outrageous that this problem is still open", as we do not yet know how to decide the Halting problem for even "linear" automata.<ref>{{Cite web |date=2007-05-26 |title=Open question: effective Skolem-Mahler-Lech theorem |url=https://terrytao.wordpress.com/2007/05/25/open-question-effective-skolem-mahler-lech-theorem/ |access-date=2024-07-01 |website=What's new |language=en}}</ref>

For integer recurrences, the Skolem problem is known to be [[NP-hard]].<ref>{{citation |last1=Blondel |first1=Vincent D. |title=The presence of a zero in an integer linear recurrent sequence is NP-hard to decide |journal=Linear Algebra and Its Applications |volume=351/352 |pages=91–98 |year=2002 |doi=10.1016/S0024-3795(01)00466-9 |mr=1917474 |last2=Portier |first2=Natacha}}.</ref>


== Motivation ==
== Motivation ==
A linear recurrence sequence (often shortened to LRS) is a sequence <math> \mathbf{u} = \langle u_n \rangle_{n=0}^\infty </math> satisfying a [[recurrence relation]] <math display=block> u_{n+d} = a_{d-1} u_{n+d-1} + \dots + a_0 u_n </math>and defined by initial values <math> u_0 , \dots , u_{d-1} </math>. If the initial values and the coefficients <math> a_0, \dots , a_{d-1} </math> lie in a ring <math> R </math> then we call <math> \mathbf u </math> an <math> R </math>-LRS (for example, an integer-valued linear recurrence sequence is called a <math> \mathbb Z </math>-LRS). The Skolem problem asks whether a given LRS <math> \mathbf u </math> has a zero, that is, whether there is an integer <math> n </math> such that <math> u_n = 0 </math>.
A linear recurrence sequence (often shortened to LRS) is a sequence <math> \mathbf{u} = \langle u_n \rangle_{n=0}^\infty </math> satisfying a [[recurrence relation]] <math display=block> u_{n+d} = a_{d-1} u_{n+d-1} + \dots + a_0 u_n </math>and defined by initial values <math> u_0 , \dots , u_{d-1} </math>. If <math>d</math> is the smallest integer such that <math>\mathbf{u}</math> satisfies a recurrence relation of the form above then we say <math>\mathbf{u}</math> has order <math>d</math>. If the initial values and the coefficients <math> a_0, \dots , a_{d-1} </math> lie in a ring <math> R </math> then we call <math> \mathbf u </math> an <math> R </math>-LRS (for example, an integer-valued linear recurrence sequence is called a <math> \mathbb Z </math>-LRS). The Skolem problem asks whether a given LRS <math> \mathbf u </math> has a zero, that is, whether there is an integer <math> n </math> such that <math> u_n = 0 </math>.
As an example, consider the [[Fibonacci sequence]] <math>\langle F_n \rangle_{n=0}^\infty</math> defined by the the recurrence relation<math display="block">F_{n+2} = F_{n+1} + F_n</math>and the initial values <math> F_0 = F_1 = 1 </math>. This defines a <math> \mathbb{Z} </math>-LRS which starts <math> 1,1,2,3,5,8,13 \dots </math> and is order 2. In this case, the solution to the Skolem Problem is clear - the values of the sequence are increasing and so never reach 0, so there is no zero in the sequence. However, if we had different initial values, the problem could be less clear. For the general case, a helpful fact is the well known result<ref name=":3">{{Cite book |last=Everest |first=Graham |title=Recurrence sequences |last2=Van der Poorten |first2=Alf J. |last3=Shparlinski |first3=Igor E. |last4=Ward |first4=Thomas |date=2003 |publisher=American Mathematical Society |isbn=978-1-4704-2315-5 |series=Mathematical surveys and monographs |location=Providence, RI |pages=3-4}}</ref> that any sequence <math>\langle F_n \rangle_{n=0}^\infty</math> which satisfies the recurrence relation above takes the general form<math display="block">F_n = A\left( \frac{1+\sqrt{5}}{2} \right)^n + B\left(\frac{1-\sqrt{5}}{2} \right)^n</math>for some constants <math>A,B</math> depending on the initial values, and where we call <math>\frac{1+\sqrt{5}}{2} , \frac{1-\sqrt{5}}{2}</math> the characteristic roots of the characteristic polynomial <math>g(X) = X^2-X-1</math> that arises from the recurrence relation. It is relatively straightforward to see that (if <math>A,B \neq 0</math>) the first term of the general form will dominate as <math>n</math> increases, so when <math>n</math> is large enough, <math>F_n</math> is large and guaranteed to be non-zero. This provides an idea for an algorithm for the Skolem problem - check the first few values of <math>F_n</math> for zeroes until <math>n</math> is large enough that <math>F_n</math> is guaranteed to be non-zero. This idea is used in the proof of decidability for low orders.
As an example,

== Decidability for low orders ==

=== Terminology and background ===
If <math> \mathbf{u} = \langle u_n \rangle_{n=0}^\infty </math> is an algebraic LRS satisfying the recurrence relation<math display="block">u_{n+d} = a_{d-1} u_{n+d-1} + \dots + a_0 u_n</math>then we define its characteristic polynomial by <math> g(X) = X^d - a_{d-1} X^{d-1} - \dots - a_{0} </math>. We call the roots <math> \lambda_1 , \dots , \lambda_s </math> of <math> g </math> the characteristic roots of <math> \mathbf{u} </math>. The <math> n </math>th term of the sequence admits the following [[exponential polynomial]] representation<ref name=":3" />:<math display="block">u_n = \sum_{n=1}^s P_i(n) \lambda_i^n</math>where each <math>P_i</math> is a polynomial with degree one less than the [[Multiplicity (mathematics)#Multiplicity of a root of a polynomial|multiplicity]] of <math>\lambda_i</math> as a root of <math>g</math>. If <math>|\cdot|_v</math> is some [[Absolute value#Generalizations|absolute value]] (non-Archimedean or Archimedean) and (after reordering the characteristic roots) we have<math display="block"> |\lambda_1|_v = \dots = |\lambda_r|_v > |\lambda_{r+1}| \geq \dots \geq |\lambda_s| </math>then we say that <math>\lambda_1, \dots \lambda_r</math> are dominant with respect to <math>|\cdot|_v</math>. If any ratio <math>\lambda_i/\lambda_j</math> for some <math>i \neq j</math> is a root of unity then we say <math>\mathbf{u}</math> is degenerate. It is a known result<ref>{{Cite book |last=Everest |first=Graham |title=Recurrence sequences |last2=Van der Poorten |first2=Alf J. |last3=Shparlinski |first3=Igor E. |last4=Ward |first4=Thomas |date=2003 |publisher=American Mathematical Society |isbn=978-1-4704-2315-5 |series=Mathematical surveys and monographs |location=Providence, RI |pages=5}}</ref> that, given an algebraic LRS <math>\mathbf{u}</math> we may compute a constant <math>M</math> such that each subsequence <math>\langle u_{Mn+\ell} \rangle _{n=0}^\infty</math> for <math>\ell = 0, \dots , M-1</math> is either identically zero or non-degenerate. Therefore, since finding zeroes of a sequence is equivalent to finding them in its subsequences, analysis of the Skolem problem can largely be restricted to non-degenerate sequences.


=== Decidability up to order 4 ===
The Skolem problem is known to be decidable for algebraic sequences of order at most 4.<ref name=":2" /><ref name=":1" /><ref>{{Citation |last=Bacik |first=Piotr |title=Completing the picture for the Skolem Problem on order-4 linear recurrence sequences |date=2024-09-02 |url=https://arxiv.org/abs/2409.01221 |access-date=2024-09-14 |doi=10.48550/arXiv.2409.01221}}</ref>


PLACEHOLDERPLACEHOLDER
PLACEHOLDERPLACEHOLDER

Latest revision as of 17:32, 14 September 2024

Unsolved problem in mathematics:
Is there an algorithm to test whether a linear recurrence sequence has a zero?

In mathematics, the Skolem problem is the problem of determining whether the values of a linear recurrence sequence include the number zero. The problem can be formulated for recurrences over different types of numbers, including integers, rational numbers, and algebraic numbers. It is not yet known whether there exists an algorithm that can solve this problem, with only special cases and conditional results known.[1] The Skolem problem is named after Thoralf Skolem, due to his 1933 paper proving the Skolem–Mahler–Lech theorem for rational sequences, which describes the structure of the set of zeroes of a linear recurrence sequence.

There does exist an algorithm to test whether a linear recurrence sequence has infinitely many zeros, and if so to construct a decomposition of the positions of those zeros into periodic subsequences, based on the algebraic properties of the roots of the characteristic polynomial of the given recurrence.[2] The remaining difficult part of the Skolem problem is determining whether the finite set of non-repeating zeros is empty or not.[1]

Partial solutions to the Skolem problem are known, covering the special case of the problem for recurrences of order at most four. However, these solutions do not apply to recurrences of order five or more.[1][3][4]

The Skolem Problem can be seen as a linear version of the Halting problem, which is known to be undecidable. It has been said by Terrence Tao that it is "faintly outrageous that this problem is still open", as we do not yet know how to decide the Halting problem for even "linear" automata.[5]

For integer recurrences, the Skolem problem is known to be NP-hard.[6]

Motivation

[edit]

A linear recurrence sequence (often shortened to LRS) is a sequence satisfying a recurrence relation and defined by initial values . If is the smallest integer such that satisfies a recurrence relation of the form above then we say has order . If the initial values and the coefficients lie in a ring then we call an -LRS (for example, an integer-valued linear recurrence sequence is called a -LRS). The Skolem problem asks whether a given LRS has a zero, that is, whether there is an integer such that .

As an example, consider the Fibonacci sequence defined by the the recurrence relationand the initial values . This defines a -LRS which starts and is order 2. In this case, the solution to the Skolem Problem is clear - the values of the sequence are increasing and so never reach 0, so there is no zero in the sequence. However, if we had different initial values, the problem could be less clear. For the general case, a helpful fact is the well known result[7] that any sequence which satisfies the recurrence relation above takes the general formfor some constants depending on the initial values, and where we call the characteristic roots of the characteristic polynomial that arises from the recurrence relation. It is relatively straightforward to see that (if ) the first term of the general form will dominate as increases, so when is large enough, is large and guaranteed to be non-zero. This provides an idea for an algorithm for the Skolem problem - check the first few values of for zeroes until is large enough that is guaranteed to be non-zero. This idea is used in the proof of decidability for low orders.

Decidability for low orders

[edit]

Terminology and background

[edit]

If is an algebraic LRS satisfying the recurrence relationthen we define its characteristic polynomial by . We call the roots of the characteristic roots of . The th term of the sequence admits the following exponential polynomial representation[7]:where each is a polynomial with degree one less than the multiplicity of as a root of . If is some absolute value (non-Archimedean or Archimedean) and (after reordering the characteristic roots) we havethen we say that are dominant with respect to . If any ratio for some is a root of unity then we say is degenerate. It is a known result[8] that, given an algebraic LRS we may compute a constant such that each subsequence for is either identically zero or non-degenerate. Therefore, since finding zeroes of a sequence is equivalent to finding them in its subsequences, analysis of the Skolem problem can largely be restricted to non-degenerate sequences.

Decidability up to order 4

[edit]

The Skolem problem is known to be decidable for algebraic sequences of order at most 4.[4][3][9]

PLACEHOLDERPLACEHOLDER

on the zeros of a sequence satisfying a linear recurrence with constant coefficients.[10] This theorem states that, if such a sequence has zeros, then with finitely many exceptions the positions of the zeros repeat regularly. Skolem proved this for recurrences over the rational numbers[10], and Mahler[11] and Lech[12] extended it[13] to other systems of numbers. However, the proofs of the theorem do not show how to test whether there exist any zeros (i.e. if any of these finite exceptions exist).

PLACEHOLDERPLACEHOLDER

References

[edit]
  1. ^ a b c Ouaknine, Joël; Worrell, James (2012), "Decision problems for linear recurrence sequences", Reachability Problems: 6th International Workshop, RP 2012, Bordeaux, France, September 17–19, 2012, Proceedings, Lecture Notes in Computer Science, vol. 7550, Heidelberg: Springer-Verlag, pp. 21–28, doi:10.1007/978-3-642-33512-9_3, MR 3040104.
  2. ^ Berstel, Jean; Mignotte, Maurice (1976), "Deux propriétés décidables des suites récurrentes linéaires", Bulletin de la Société Mathématique de France (in French), 104 (2): 175–184, doi:10.24033/bsmf.1823, MR 0414475.
  3. ^ a b Mignotte, M.; Shorey, T. N.; Tijdeman, R. (1984), "The distance between terms of an algebraic recurrence sequence", Journal für die Reine und Angewandte Mathematik, 349: 63–76, MR 0743965.
  4. ^ a b Vereshchagin, N. K. (1985), "The problem of the appearance of a zero in a linear recursive sequence", Matematicheskie Zametki (in Russian), 38 (2): 177–189, 347, MR 0808885.
  5. ^ "Open question: effective Skolem-Mahler-Lech theorem". What's new. 2007-05-26. Retrieved 2024-07-01.
  6. ^ Blondel, Vincent D.; Portier, Natacha (2002), "The presence of a zero in an integer linear recurrent sequence is NP-hard to decide", Linear Algebra and Its Applications, 351/352: 91–98, doi:10.1016/S0024-3795(01)00466-9, MR 1917474.
  7. ^ a b Everest, Graham; Van der Poorten, Alf J.; Shparlinski, Igor E.; Ward, Thomas (2003). Recurrence sequences. Mathematical surveys and monographs. Providence, RI: American Mathematical Society. pp. 3–4. ISBN 978-1-4704-2315-5.
  8. ^ Everest, Graham; Van der Poorten, Alf J.; Shparlinski, Igor E.; Ward, Thomas (2003). Recurrence sequences. Mathematical surveys and monographs. Providence, RI: American Mathematical Society. p. 5. ISBN 978-1-4704-2315-5.
  9. ^ Bacik, Piotr (2024-09-02), Completing the picture for the Skolem Problem on order-4 linear recurrence sequences, doi:10.48550/arXiv.2409.01221, retrieved 2024-09-14
  10. ^ a b Skolem, Th. (1933), "Einige Sätze über gewisse Reihenentwicklungen und exponentiale Beziehungen mit Anwendung auf diophantische Gleichungen", Oslo Vid. Akad. Skrifter, I (6). Ouaknine & Worrell (2012) instead cite a 1934 paper of Skolem for this result.
  11. ^ Mahler, Kurt (1935). "Eine arithmetische Eigenschaft der Taylor-Koeffizienten rationaler Funktionen" (PDF). Proc. Akad. Wet. Amsterdam. 38: 50–60.
  12. ^ Lech, Christer (1953-08). "A note on recurring series". Arkiv för Matematik. 2 (5): 417–421. doi:10.1007/BF02590997. ISSN 0004-2080. {{cite journal}}: Check date values in: |date= (help)
  13. ^ Tijdeman, R. (1980). "Multiplicities of Binary Recurrences". Séminaire de Théorie des Nombres de Bordeaux: 1–11. ISSN 0989-5558.