« first day (2191 days earlier)      last day (2732 days later) » 

12:00 AM
A lot of math isn't about numbers, it's about logic
 
@heather You do have something to work with - you have a formal definition of what an NP-class problem is
You also have a formal definition of what a P-class problem is
So the challenge is to apply the rules of logic to either show that the definition of an NP-class problem logically implies that the problem is a P-class problem or to exhibit an NP-class problem that's provably not in P
 
that makes a lot more sense, thank you
 
DID ANYONE SAY NP?
@DavidZ is right, Travelling salesman is the papa of all NP problems
 
(::jumps::)
 
@heather You poked my favourite subject :)
 
12:08 AM
@BernardMeurer Do you do that bit every time someone abbreviates "no problem"? ;P
 
@BernardMeurer, I find it very interesting, especially its connection to quantum computing, with BQP and such.
 
@ACuriousMind Yes :P
@heather I'll suggest you read something that helped me tremendously when thinking about P and NP
 
not that I know how to do anything with it, as evidenced by the above conversation
@BernardMeurer, all suggestions welcome
 
Since they're fundamentally about computability/complexity it's good to have a solid understanding of what that means first
 
right, makes sense =)
 
12:10 AM
Take your time, and carefully read through that
 
I will, starting now =)
@BernardMeurer, "a finite amount of internal state" - what is internal state?
 
@heather Nondeterminism is harder, so you only have to read that if you want (specially since the non-deterministic turing machine doesn't exist, so it's just a theoretical imagination)
 
@BernardMeurer *they're
::ducks::
 
@ACuriousMind Good catch
 
"finite state machine" - ?
 
12:12 AM
@heather Damn how do I define that
 
I'm starting to think there's some terminology here I need to know. Let's see, googling
 
It's like
If the turing machine was a function, and at time $k$ the value of it's function on the bit it's reading on the tape is $x$, then $x$ is the internal state of the turing machine
@heather That paper is a little hard to digest, but it get's easier
 
wait, sidebar: "state" like bits can be 0 or 1?
 
@heather Don't hold yourself to ones and zeroes just yet
when I said bit above, I meant like bit (piece) of information
Bad wording on my part
@heather I'll explain with an example
 
wikipedia says state is 'all the stored information at a given moment in time to which the circuit or program has access'.
 
12:16 AM
@heather Yes, perfect definition
So internal state is all the info the turing machine has access to, not including what's on the infinite tape
 
okay, and then an internal state, just the state of a specific program? but what does it mean for that to be finite...oh, does it just mean that the program has to have access to a finite amount of information
the machine can't be God, basically
 
@heather It may be good to not think immediately of "circuits" or "programs". The machines of computer scientists are just abstract devices that react to input, usually no assumption is made on how they would be physically realized.
 
@ACuriousMind Yes, very good
 
@ACuriousMind, okay, thank you
So, think of a black box
 
@heather on this formal definition the machine is god. I mean, the tape is infinite for one
and it also has infinite time to perform operations
We don't worry about any of that
 
12:19 AM
@BernardMeurer, but they can't have access to infinite information, right? or did I mess up there?
 
it's a theoretical model on the meaning of computability
@heather They can't access all the info in one "frame" of time. The machine needs to move around the tape to read more, it can only access what's on it's current location on the tape
 
@BernardMeurer I think for some reason you're talking about a Turing machine while heather is talking about a finite state automaton
 
oh, okay, that makes sense. So in one instant, the machine must only have access to a finite amount of information?
 
@ACuriousMind All I know is I'm talking about a turing machine :P
 
@ACuriousMind, I'm just talking about whatever is in that paper, which it says is a turing machine, I'm just probably being confusing in my language =P
 
12:21 AM
@ACuriousMind Isn't the only difference between the two though self-reference?
 
and then finite state machine...
"It is conceived as an abstract machine that can be in one of a finite number of states."
so an abstract machine, black box thing
 
@ACuriousMind Ah, no, finite automatas have universal finite state
 
and finite information in a given instant
 
@heather Yes, it's a mathematical operator basically
 
@BernardMeurer, so a finite state machine is just a black box that has access to finite information in a given instant?
Because if so, I think I understand the first 5 paragraphs. Progress!
 
12:24 AM
@heather Yes, It can read one cell of information (info is stored on an infinite tape divided into cells), and it has a finite number of internal state
 
Definition 1...
@BernardMeurer, okay
 
@BernardMeurer All (deterministic) finite automata are Turing machines, but not all Turing machines are finite automata. I'm suddenly unsure though whether "finite state machine" is the same as what I mean by "finite automaton". Maybe I should shut up and let you explain since you know what's in the paper and I'm just reacting to what's typed into chat ;)
 
oh geesh. transition function. okay, okay. so I have a function $\delta$
 
^very nice =)
 
12:25 AM
@heather I like to think about the machine moving through the tape, and not the other way around though :)
I like the image anyways
 
Set of states $K$, information in a moment of time, $\times$ the alphabet of symbols $\Sigma$
 
@ACuriousMind When I first got through this paper it was a lot due to you and @knzhou's help. So You shouldn't shut up I argue :p
 
what does that mean? I know what a set $X$ $\times$ a set $Y$ is, the ordered pairs $(x, y)$ with $x\in X$ and $y\in Y$ (thanks to 0celo7), but how does that work with a set of information and an alphabet of symbols? what does it mean intuitively? (sorry for all the questions, btw)
 
@heather No worries, it's the first time in my life I'm helping someone on the h-bar lol
No one here cares about the real science
Computer science that is
A Turing machine is specified by a finite alphabet Σ, a finite set of states
K with a special element s (the starting state), and a transition function δ : K × Σ →
(K ∪ {halt, yes, no}) × Σ × {←,→, −}. It is assumed that Σ, K, {halt,yes,no}, and {←,→, −}
are disjoint sets, and that Σ contains two special elements ., t representing the start and end
of the tape, respectively. We require that for every q ∈ K, if δ(q, .) = (p, σ, d) then σ = . and
d 6=←. In other words, the machine never tries to overwrite the leftmost symbol on its tape nor
Let's read through that together
so we have our alphabet $\Sigma$
 
and it represents various symbols that mean something to the machine
 
12:29 AM
Meaning, literally, and alphabet, a through z, or 1 through 9, or whatver you want
 
or 0, 1, or whatever, yeah
 
It contains various symbols, yeah
We have our finite set of states $K$, this will get more clear in a moment
 
so it is like a set, $\Sigma = \{a, b, ..., z\}$ or whatever
right?
or $\Sigma = \{0, 1\}$
 
Yeah, pretty much
 
okay, cool
and then $K$, another set
 
12:31 AM
So, we have an element $s$ which is our starting state
Whatever that is
 
right
so state, again, is information in a moment of time
so $s$ is the information the machine has at the very beginning
what would be an example of that?
 
$$\delta : K \times \Sigma \rightarrow (K \cup \{\text{halt, yes, no}\}) \times \Sigma \times \{\leftarrow,\rightarrow, −\}$$
 
and $K$ is the set that contains the information at each moment of time
 
@heather We will see one shortly
@heather Yes
 
so I guess moment of time would be defined by markings on the tape, right? like one symbol = one moment
and then, alright, so you get a set of ordered pairs that have the moment of time, and the information at that moment of time
 
12:34 AM
@heather sloooow there ;) Better not think of "time" here.
 
@ACuriousMind, well when talking about time, it really is just about what symbol you are on, right?
 
@heather Ignore time, this doesn't exist in this model :)
"Time" here could be better put as just which step of the process your on
 
So if you have the tape 0, 1, 1, 1, 0 then 0 is sort of like t=1 (not that it is) and so on. so $\Sigma$ is sort of like time, though again it isn't
@BernardMeurer, right, step of the process, that makes sense
so step of the process and information at that step
 
I think definition 1 should be read in conjunction with definition 2, at least the definition of the configuration of the machine. You don't really understand what the heck $\delta$ is supposed to be before you know what a configuration is, imo
 
Think about that image I sent, but with the moving turing machine, $K$ is dependent on how far into the input program we're in
 
12:36 AM
huh, okay, that makes sense
 
@ACuriousMind Ah! that's what I'm missing. @heather Go read def 2 he's right
 
I'm stuck on the first sentence =)
The set Σ∗ is the set of all finite sequences of elements of Σ. When an element of Σ∗
is denoted by a letter such as x, then the elements of the sequence x are denoted by
x0, x1, x2, . . . , xn−1, where n is the length of x. The length of x is denoted by |x|.
so okay, finite sequences of elements of $\Sigma$
 
Man this really brings me back, it took me a week to get through this thing lol
 
so what does it mean, "finite sequences"
 
$\Sigma^*$ are all possible finite sets composed of elements of $\Sigma$
 
12:39 AM
okay, maybe I should see if I get this:
 
THIS WILL BLOW YOUR MIND
 
if I have a set $\Sigma = \{0, 1\}$
 
THINK
If $\Sigma$ is the alphabet, i.e. all the letters we can use
 
then $\Sigma^* = \{(0), (1), (0, 1)\}$?
 
and $\Sigma^*$ is all the possible finite combinations of it
 
12:40 AM
or something like that? Like $\Sigma^*$ is like the permutations of $\Sigma$?
oh, beat me by a second
 
if $\Sigma$ is the English alphabet, what is $\Sigma^*$?
@heather Pretty much
 
uh, the english alphabet in every possible order?
 
@heather I think your example of $\Sigma^*$ is right
 
um, maybe, all the possible books ever?
except, wait, no, you can't repeat elements of a set
so no, never mind
@BernardMeurer, I must be missing something here
 
@heather Note that I never said the size of $\Sigma^*$ is the same as $\Sigma$
Nor did I say that you can't repeat elements
 
12:42 AM
Wait, what? I thought that was a definition in set theory, that a set doesn't repeat elements?
 
$\Sigma^\ast$ is just the set of all possible strings you can write with the "letters" in $\Sigma$.
 
$\Sigma^*$ is a sequence, not a set
 
So it is basically...oh, would it be every possible program or input?
 
@heather YES!
IS THIS NOT AMAZING?!
 
MINDBLOWN!!!!
 
12:43 AM
MUAHAHAHAHA
 
THIS IS AWESOME!
NOW WE CAN RULE THE WORLD!
 
@ACuriousMind She get's it man
 
=D
whoa, this is just amazing!
 
@heather So, back to my question, if $\Sigma$ is the English alphabet, what is $\Sigma^*$?
 
Every possible string of letters
 
12:44 AM
@BernardMeurer It's a set. E.g for a one-element alphabet $\Sigma = \{ x\}$, you have $\Sigma^\ast = \{x,xx,xxx,xxxx,xxxxx,xxxxxx,\dots\}$
 
ranging from baby gibberish to the works of Shakespeare
 
@heather Yes, everything you could ever write using english letters
 
including sentences like these
 
@ACuriousMind Ah, right, because the elements are different entities
 
@BernardMeurer, this is only the first sentence of the second definition!
This is going to get so amazing, I know it!
@ACuriousMind, hmm, I guess I didn't quite realize that, thank you for pointing that out. =)
 
12:45 AM
Man I remember when I first got this, I was so happy lol
 
Okay, second sentence:
When an element of Σ∗ is denoted by a letter such as x, then the elements of the sequence x are denoted by x0, x1, x2, . . . , xn−1, where n is the length of x.
 
@BernardMeurer Understanding is one hell of a drug ;)
 
@heather To understand that go look at ACM's last example
 
oh, that makes sense, so with an element x like x = adsadsff (going with the english alphabet)
 
Maybe x wasn't the best choice of letter :)
 
12:47 AM
Give me $x_3$ of the rightmost element
@ACuriousMind Yeah, lol
 
of ACM's example?
 
@heather yes
 
x
 
@heather Phew, that one was hard wasn't it?
 
really hard
 
12:48 AM
@heather nah, just do yours, mine was a bit silly
 
@heather Wrong, it's actually 32 though
 
whoa, what? =)
 
at least make it 42
then it's the answer to life, the universe, and everything
 
That one is easy to get though, right? You're just indexing the information string
 
12:48 AM
but then with mine, x0 = a, x1 = d, and so on
@BernardMeurer, yeah, indexing!
Okay, third sentence:
 
For the english alphabet example, give me $x_7$ of this sentence
 
okay
 
(The sentence was the one of the question)
(I like recursion)
(GNU's Not Unix)
 
@BernardMeurer What does the 'B.' in Benoit B. Mandelbrot stand for, eh?
 
well, I think it'd be t for the first one, e for the second, and t for the third
unless the apostrophe counts in the third, in which case its o, i think
wait, the parentheses don't count, right?
 
12:51 AM
@ACuriousMind Lol
@heather They're part of the alphabet, are they not?
So are spaces
and all the funky characters
 
@heather He meant that the this in "this sentence* referred to the very sentence it occurred in, so he meant to get $x_7$ of "For the english alphabet example, give me $x_7$ of this sentence" ;)
 
@heather ^ that
 
oh...
=)
 
Remember $x$ starts at $x_0$ too
 
e
oh, nevermind, then it'd be n
i can't count today =)
 
12:53 AM
@heather I counted it to be a space :P
 
i recounted and got a space
yep, definitely can't count today
=P
 
Good, got this well? Just simple indexing
 
@ACuriousMind, according to the google, it is just "B", it doesn't stand for anything
 
NEXT SENTENCE
 
The length of x is denoted by |x|.
 
12:55 AM
@heather Its recursive, the B stands for Benoit B. Mandelbrot
 
@heather The joke about recursion is that the answer is: "It stands for 'Benoit B. Mandelbrot'." ;D
 
okay. how do you take the absolute value of 'asdfadf'?
@ACuriousMind, oh...that's...lol =D
 
@heather That's not an abs! It's the length, i.e. $x=0123456789$, $|x|=10$
 
wait, wait, what?
 
I.e. by the $x_n$ indexing we just did
 
12:56 AM
so x is a member of $\Sigma^*$
and it has a length, like asdf has a length of 4
 
@heather Yes, if I define $\Sigma = \{0,1,2,3,4,5,6,7,8,9\}$
 
but the length of x is denoted by...oh, I see. It's just notation
 
@heather Yes, just notation
 
not an absolute value, so |asdf| = 4
oh, that's not so bad
next sentence:
A configuration of a Turing machine is an ordered triple (x, q, k) ∈ Σ∗ × K × N, where x denotes the string on the tape, q denotes the machine’s current state, and k denotes the position of the machine on the tape.
 
@heather It's similar to the notion of cardinality in a set, right @ACuriousMind?
THIS PART IS CRUCIAL
 
12:58 AM
@BernardMeurer the cardinality is crucial? Because, um, I don't know what that means...
 
$$(x, q, k) \in \Sigma^* \times K \times \mathbb N$$
@heather No no, the ordered triplet, screw cardinality :P
 
@BernardMeurer, oh, okay =)
So x is the string on the tape, because every program is in $\Sigma^*$
 

« first day (2191 days earlier)      last day (2732 days later) »