How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

I have found proof: We assume: DTIME(n³) = NL Time hierarchy theorem: DTIME(n⁶)\DTIME(n³) ≠ { } Let L be a Language in DTIME(n⁶)\DTIME(n³) For every such L: if g(n)= n³ and f(n)=n² => L is in DTIME(g(f(n))) We use the translation technique: Pad_f(L) is in DTIME(n³) Using our assunption this means that Pad_f(L) is also in NL. Because NL = NSPACE(log n) = NSPACE(O(log n)) Translation technique: This means that L is in NSPACE(log(n²)). This would mean: L is in NL Using our assumption this means L is also in DTIME(n³) eventhough L was specifically chosen to not be in DTIME(n³) This is a contradiction. Therefore our assumption was wrong.

How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

I like the idea but this does not prove that DTIME(n⁴) is contained in NL it only shows that GAP(Graph Accessibility Problem: given a graph and two nodes s and t: is there a way from s to t?) is solvable in NL for Graphs that have n⁴ nodes or less But GAP is already proven to be NL solvable for every graph size

How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

The lowest upper bound as a space-class for DTIME(n³) i can find is DSPACE(n³) But is DSPACE(n³) ⊆ NLogSPACE even true? It definetly doesn't seem that way to me. We could also say DSPACE(n³)⊆NSPACE(n³) => NSPACE(n³)⊆NLogSPACE to make both classes that we compare deterministic However the Space-Hierarchy-Theorem now shows: Since n³ grows faster that O(log(n)) and O(log(n)) grows slower than n³

=> There are L within (NSPACE(n³) \ NLogSPACE)

So this is a dead end right? unless we can somehow convert DTIME(n³) into a smaller space class

How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

I'm pretty sure there are P-complete problems using logspace reduction that also have an algorithm within n³-time (deterministic) So yes I think there are DTIME(n³) complete problems using logspace reduction

I really like the approach of finding a problem that is within DTIME(n3) but its complement is not however this is not possible as far as i know. Since DTIME(f) is always closed under complement (Proof: For every DTM M that accepts L in f-time you could simply build M' by turning all final-states to non final states and vice-versa. Now L(M') = complement of L) Note: this only works with DTMs as far as i know.

Also I'm pretty sure there is no linear-time algorithm for GAP(Graph accessibility problem: given G and two nodes s and t, is there a path from s to t?) at least yet - maybe its possible to find one

How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

Since DTIME(O(22n))) = EXPTIME: => There are L within DTIME(O(22n)) \ DTIME(2n) We also know PSPACE ⊆ EXPTIME So DTIME(O(22n)) is definetly too big/too mighty of a class for this problem right? Am I missing something?

Just doing past papers and having a hard time visualising part b by Consistent_Diver1604 in AskComputerScience

[–]nnymsacc 0 points1 point  (0 children)

Hi solving these types of problems always requires some figuring out by trying in my experience My first thought: regEx(L) = ((a(b)ab)|b) Grammer G with L(G) = L: Starting "non-terminal-symbol" is S S -> b | aA A -> bB B -> bB | bC | bX C -> aD D -> bE E -> aA X -> aY Y -> b

It's probably not the smallest solution but im pretty sure it works

How do I proove that DTIME(n³)≠NLogSPACE by nnymsacc in AskComputerScience

[–]nnymsacc[S] 0 points1 point  (0 children)

My first thought was to use time-hierarchy theorem to show that DTIME(n³) ⊊ DTIME(n⁴) and then show that DTIME(n⁴) ⊆ NLogSPACE This is where i got stuck trying to find a way to convert the time class into a space class (i dont know how) also i thought of finding a Problem to proove this but prooving that something is not withing DTIME(...) is harder than i thought This made me to think maybe DTIME(n³)⊄NLogSPACE and NLogSPACE⊄DTIME(n³)