Skip to main content

Questions tagged [computational-complexity]

Use for questions about the efficiency of a specific algorithm (the amount of resources, such as running time or memory, that it requires) or for questions about the efficiency of any algorithm solving a given problem.

Filter by
Sorted by
Tagged with
0 votes
1 answer
108 views

Definition (earth mover's distance). The integral probability metric between two distributions $P$ and $Q$ is defined as \begin{align} d_{F}(P,Q) =\sup_{f\in F}\Big|\mathbb{E}_{X\sim P}[f(X)]-...
Resu's user avatar
  • 860
0 votes
1 answer
56 views

I'm reading a slice of Preparata and Shamos's book on Computational Geometry. I'm enjoying it so far, and I feel it's pretty well-written. However, some of the language is unusual and can't be found ...
Nate's user avatar
  • 1,881
0 votes
1 answer
59 views

All formal verifier-based definitions of NP that I can find online ask for a polynomial bound on the certificate. For example, the Wikipedia page for NP defines: "A language $L$ is in NP if and ...
KingOfThePlayground's user avatar
2 votes
0 answers
55 views

Let $f: \mathbb N \to \mathbb N$ computable. Can it be the case that given any Turing machine that computes $f$ in $O(g(n))$ steps there is another Turing machine that computes $f$ in $O(h(n))$ steps ...
Carla_'s user avatar
  • 2,206
0 votes
0 answers
32 views

Problem Let $v_1, v_2, \dots , v_n$ be processes such that $v_i$ must wake up at time $i$ and take a decision. When $v_i$ wakes up to take a decision, it must take in account the decisions made by the ...
Qise's user avatar
  • 619
2 votes
0 answers
52 views

A boolean circuit C has n inputs and m outputs, and is constructed with AND, OR, and NOT gates. Each gate has fan-in 2 except the NOT gate which has fan-in 1. The out-degree can be any number. A ...
Monte_carlo's user avatar
0 votes
1 answer
86 views

Let $A_i,\ B_i$ be $M \times M$ real matrices. Define polynomial function $f:\mathbb{R} \to \mathbb{R}$ such that $$f(x)=\text{tr}[(A_1+B_1x)(A_2+B_2x)\cdots(A_n+B_nx)]$$ And I want to calculate ...
maar hybrid's user avatar
1 vote
0 answers
64 views

I am studying a certain set of graphs using algorithms, and one of my goals is to solve the following problem efficiently. If $H$ is a (labelled) graph, let $\mathscr{S}:=\mathscr{S}(H)$ be a list of ...
koifish's user avatar
  • 3,302
0 votes
2 answers
229 views

This post is about finding the algorithm, in which the given expression for time-complexity is applicable, as time-complexity serves to directly represent the code(block) at hand. It is given in the ...
jiten's user avatar
  • 4,972
1 vote
0 answers
69 views

Some research paper define $\Sigma_i SAT$ in this way, $$\Sigma_i \text{QBF}=\{\exists x_1\forall x_2\exists x_3\cdots Q_ix_i\varphi(x_1\cdots x_i) \text{ where } \varphi(x_1\cdots x_i) \text{is an ...
Monte_carlo's user avatar
0 votes
0 answers
74 views

Let $M = \mathbb{Q}(\sqrt{m_1},\sqrt{m_2},\dots,\sqrt{m_n})$ be a multiquadratic number field of degree $2^n$ over $\mathbb{Q}$. Suppose $\alpha$ is a primitive element of $M$. Is it possible to ...
Oisin Robinson's user avatar
1 vote
1 answer
55 views

Problem Consider a linear recurrence of order $k$ with known initial values $\{a_i\}_{i=1..k}$ and constant coefficients $\{b_i\}_{i=1..k}$ in a (perhaps not algebraically closed) field: $$ a_n = \...
David Fink's user avatar
1 vote
1 answer
145 views

Was searching for an algorithm that has the worst-case time complexity as $O(\lg(n)).$ Have read that binary-search algorithm, has both the worst-case and best-case time-complexity as $\theta (\lg(n)),...
jiten's user avatar
  • 4,972
-1 votes
1 answer
108 views

We consider a representation of directed graphs that assumes layers in the graph. That is, we denote by $G = \{V_1, V_2, \cdots , V_k; E\}$ the graph whose vertex set is $V =\cup_{i=1}^kV_i$ and $E$ ...
Adam Finch's user avatar
2 votes
0 answers
76 views

I am studying about permanent of the matrix and I stumbled upon some equations that describe the permanent or bound its value using the row sums of the matrix. For example, Ryser formula states that: ...
spectralmath's user avatar
0 votes
1 answer
130 views

The book Primes of the form $x^2+ny^2$ by Cox discusses in detail the problem of when a prime $p$ can be written as $x^2+ny^2$, and along the way introduces more and more sophisticated number theory ...
new account's user avatar
3 votes
0 answers
123 views

Let us consider some $\boldsymbol{X}\in\mathbb{R}^{n\times r}$, where $r\ll n$. When $r=1$, i.e., $\boldsymbol{X}$ is essentially a vector $\boldsymbol{x}\in\mathbb{R}^n$, then we have $$ \|\...
jwguan's user avatar
  • 142
-1 votes
1 answer
64 views

I have couple of confusions regarding reduction: (1) If A is NPC and B is NPC then reduction from A to B and B to A possible. (2) And if A is NPC and B is not known to be NPC, then reduction from A ...
Redbull's user avatar
0 votes
1 answer
135 views

this question is from my computational complexity HW. I'm not sure if my solution is correct: If $DSPACE(O(2^n)) = EXP$, than we can take language $ L \in DTIME(2^{2^n})$ which not in $EXP$ (from the ...
Maxim Golubkov's user avatar
0 votes
0 answers
45 views

Given the recurrence $$T(n) = (2k - 1)T(\frac{n}{k})+2^kn$$ I need to show (or disprove) that for every $\epsilon>0$ there exists a $k$ such that $T(n)=o(n^{1+\epsilon})$. So far, I've been able to ...
natitati's user avatar
  • 459
0 votes
0 answers
27 views

I have a linear program (LP) with $n$ variables and $2^m$ constraints: $$ \min \sum_{i \in [n]} x_i \quad \text{subject to} \quad x_i \geq y_j \quad \forall j \in 2^m, \, i \in [n]. $$ I can compute ...
Tal Alon's user avatar
0 votes
0 answers
71 views

I Followed from Barak and Arora book: For a language $L$, we define $x\in L \Leftrightarrow L(x) =1$. $\textbf{RP}$- is the collection of all languages ​​$L$ for which there exists a polynomial coin-...
Redbull's user avatar
0 votes
0 answers
77 views

I’m working on a sieve algorithm to generate primes, and I’m having a hard time evaluating its time complexity. The idea: Fact 1: Any positive integer $>1$, except $2,3$ and their multiples, are of ...
François Huppé's user avatar
1 vote
1 answer
80 views

I am reading the paper In this paper, they proved theorem 7 which stated in the following way Theorem 7: Let $p, q, X, Y$ be defined as in Problem 1, and assume $0 \leq k(x, y) \leq K$. Then: $$ \Pr_{...
Pipnap's user avatar
  • 549
0 votes
0 answers
45 views

Consider the following two problems on undirected graphs: A: Given G(V,E), does G have an independent set of size |V|-4 ? B: Given G(V,E), does have an independent set of size 5? I think both ...
shaad's user avatar
  • 1

1
2
3 4 5
72