English

Cosine and Computation

Logic 2021-07-27 v1 Discrete Mathematics Logic in Computer Science Number Theory

Abstract

We are interested in solving decision problem ?tN,costθ=c\exists? t \in \mathbb{N}, \cos t \theta = c where cosθ\cos \theta and cc are algebraic numbers. We call this the costθ\cos t \theta problem. This is an exploration of Diophantine equations with analytic functions. Polynomial, exponential with real base and cosine function are closely related to this decision problem: ?tN,uTMtv=0 \exists ? t \in \mathbb{N}, u^T M^t v = 0 where u,vQn,MQn×nu, v \in \mathbb{Q}^n, M \in \mathbb{Q}^{n\times n}. This problem is also known as "Skolem problem" and is useful in verification of linear systems. Its decidability remains unknown. Single variable Diophantine equations with exponential function with real algebraic base and costθ\cos t \theta function with θ\theta a rational multiple of π\pi is decidable. This idea is central in proving the decidability of Skolem problem when the eigenvalues of MM are roots of real numbers. The main difficulty with the cases when eigenvalues are not roots of reals is that even for small order cases decidability requires application of trancendental number theory which does not scale for higher order cases. We provide a first attempt to overcome that by providing a PTIMEPTIME algorithm for costθ\cos t \theta when θ\theta is not a rational multiple of π\pi. We do so without using techniques from transcendental number theory. \par One of the main difficulty in Diophantine equations is being unable to use tools from calculus to solve this equation as the domain of variable is N\mathbb{N}. We also provide an attempt to overcome that by providing reduction of Skolem problem to solving a one variable equation (which involves polynomials, exponentials with real bases and costθ\cos t \theta function with tt ranging over reals and θ[0,π]\theta \in [0, \pi]) over reals.

Keywords

Cite

@article{arxiv.2107.12150,
  title  = {Cosine and Computation},
  author = {Prabhat Kumar Jha},
  journal= {arXiv preprint arXiv:2107.12150},
  year   = {2021}
}

Comments

Submitted to FSTTCS 2021

R2 v1 2026-06-24T04:31:30.901Z