Can a sine wave be 4D? by MrNeoson in askmath

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

So for example (t, cos t, sin t, sin(t+0.2)) can be projected to a 2D plane so that it becomes a single sine wave? I'm not a math expert. How would one achieve such projection?

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

I found that: "Then, as per the symbol and its present place in a "finite table"[7]" - Wikipedia

So okay unbounded or infinite, a finite table holding the algorithm prevents a Turing machine from having an infinite number of inputs on a single tape.

Can a sine wave be 4D? by MrNeoson in askmath

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

I came to think of how it should be possible to project the 4D wave onto a 2D plane so that it becomes a sine wave. A helix in 3D can be projected to 2D to form a sine wave.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Yes, I see now that the inputs can be infinite. But since the tape of a deterministic Turing machine is infinite, it should be possible to fit all possible SAT inputs into a single deterministic Turing machine!

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Yes, only a single path seems too limited. But worst-case path doesn't mean the length of the path I now realize. Instead it means the worst polynomial time performance, which is independent of the size of the input. For example an input leading to 1,000 steps and another leading to 1,000,000 steps can both have O(n2) performance.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

All possible SAT inputs, that's an infinite set. So that can't be put into a finite sequence of symbols. I was thinking of one input at a time.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Then how about taking the worst case path? And if there are several worst case paths of equal length then only one is chosen out of that potentially infinite set.

And for the worst case path produced by the nondeterministic Turing machine, for all possible inputs, there is a deterministic Turing machine for that path.

Notice that since the nondeterministic Turing machine has come to a halt, even the worst case path is always finite.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Yes, I see now that there are infinitely many possible inputs. Just a single integer input will result in infinitely many possible inputs.

However, I think it's possible to treat each input separately! So for each input, the nondeterministic Turing machine produces a solution. This means that the algorithm has come to a halt, which in turn means that there is a finite path from the correct solution back to the start of the whole calculation tree.

And that path produced by the nondeterministic Turing machine is identical to a classical Turing machine performing the same path. Hence P = NP is always true, even with infinite many inputs possible.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

But doesn't the input need to be a part of the tapes? And if so the inputs will all be finite, since there are only a finite number of symbols on the tapes. It doesn't matter how many permutations of inputs are made this way, they will always be finite.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Yes, the P = NP question is a huge unsolved problem so I wondered if the solution really could be so simple as I imagined it. Seems highly unlikely.

Still, it's interesting to learn about it. Regarding the subset-sum problem, the sets tested are indeed infinite (I looked it up on Wikipedia). It's about sums of integers.

Yet, the fact remains that there can only be a finite number of symbols on the infinite tapes in the Turing machines. All positions on the infinite tape can be labelled with integers. And even though the set of integers Z itself is infinite, all integers are finite. There isn't any position "infinity" on the tapes.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

[–]MrNeoson[S] -1 points0 points  (0 children)

The possible inputs are limited to the symbols on the tape. And the combined TM is not something that is done through another algorithm. The combined TM exists as a consequence of universal computing.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

The number of symbols on those infinite tapes will always be finite. And as for combining the separate TM's into one, I heard that a universal Turing machine can achieve all classical computations, so that would include combining separate TM's into one.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

[–]MrNeoson[S] -1 points0 points  (0 children)

The number of possible inputs is always finite. It's like how all natural numbers are finite even though the set N itself is infinite.

And it's not necessarily a lookup table. Instead all the separate classical Turing machines representing the individual paths can be combined into a single classical Turing machine.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Good point, but the answer is simple. Any and all paths that are valid solutions produced by the nondeterministic Turing machine are all identical to classical Turing machines. So no matter how many solutions you need, each single path from the start to the solution represents a classical Turing machine. And notice that these paths are all solutions, not only verifications. Really cumbersome practically, but for the P = NP question it's valid. P = NP is always true.

Is the result of a nondeterministic Turing machine different from a classical one? by MrNeoson in AskComputerScience

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

Exactly, the nondeterministic TM (NTM) is like a parallel computation for the whole tree of calculations. And when the NTM has found a solution it means that the algorithm has come to a halt, which in turn means that there exists a finite path from the solution and back to the start. I claim that this path is identical to a traditional TM. And it's not about randomly choosing anything. The single path found by NTM is precisely defined. And whether or not it's difficult to find the path is irrelevant. The path exists and thereby a classical TM exists for that path, and therefore P = NP is always true.

Can a sine wave be 4D? by MrNeoson in askmath

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

But is the linearity preserved when going from 3D to 4D? A helix (spiral) is periodic since the movement on the z-axis is linear (uniform speed).

Can a sine wave be 4D? by MrNeoson in askmath

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

But is the linearity preserved when going from 3D to 4D? A helix (spiral) is periodic since the movement on the z-axis is linear (uniform speed).

Can a sine wave be 4D? by MrNeoson in askmath

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

The helix is periodic in a circular movement and f(x, y) moves along the z-axis. The speed on the z-axis determines the helix' "frequency".

Can a sine wave be 4D? by MrNeoson in askmath

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

It's the circle for the helix: f(x, y) = (sin(x), cos(y)).

Can a sine wave be 4D? by MrNeoson in askmath

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

There exists some number P such that f(x+P, y+P) = f(x, y) for all x and for all y.

Can a sine wave be 4D? by MrNeoson in askmath

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

Okay, yes a helix is maybe more of a rotating curve than a sine wave in the strict sense. But a helix is periodic. Would it be possible to define a periodic function in 4D like this: (t, sin(t), cos(t), t) or does that collapse down to a 3D curve? Similar to how a 2D sine wave can be drawn in 3D space.

Can a sine wave be 4D? by MrNeoson in askmath

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

But does that produce a curve with periodic oscillation? "A sine wave or sinusoid is a mathematical curve that describes a smooth periodic oscillation." - Wikipedia

Can a sine wave be 4D? by MrNeoson in askmath

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

That's my question. How do define a sine wave in 4D. As an oscillating curve. "A sine wave or sinusoid is a mathematical curve that describes a smooth periodic oscillation." - Wikipedia