News for hackers. Stuff that matters.
Re:When rational thinking is correlated with intelligence th... by yodsanklai on Saturday December 27, 2014 @07:03PM (#8804495)
"Jack is looking at Anne, but Anne is looking at George. Jack is married, but George is not. Is a married person looking at an unmarried person?"

On a side note, in constructive propositional logic, the answer is indeed C (http://en.wikipedia.org/wiki/Intuitionistic_logic). In this type of formalism, you have to provide a witness for every existential, or choice for every disjunction. In particular the law of excluded middle isn't an axiom. In order to prove the above proposition, you would need to be able to prove whether Anne is married, or unmarried.

Re:When rational thinking is correlated with intelligence th... by cscurmudgeon on Saturday December 27, 2014 @10:40PM (#8805076)
Yes. But "background logic" (which classical first-order logic strives to model) is needed to prove meta theorems about any of the constructive logics.

While the object-level proofs in some constructive/intuitionistic logic might do away with the law of excluded middle, the meta-theoretics proofs (proofs of theorems about the formalism) usually use them quite freely.

My point is that there is no formalism that can ignore LEM at all levels (informal --> meta-theoretical--> object).

The constructive logics are quite useful for things like program generation but I am not sure if we should use them as a model for human reasoning.

Re:When rational thinking is correlated with intelligence th... by enord on Saturday December 27, 2014 @07:54PM (#8804649)
Was going to point this out as well. For a moment I almost resigned myself to be among the 80%, luckily I found a way to smug myself out of self-perceived mediocrity.
Re:When rational thinking is correlated with intelligence th... by darkmighty on Saturday December 27, 2014 @07:59PM (#8804658)
I find baring the law of the excluded middle an unnecessarily restrictive basis for logic; but regardless, isn't this a simple (A \/ ~A) case? I mean, you may not be able to prove that Anne is married or prove that Anne is unmarried, but can't you prove by that Anne is either married or unmarried, by the definition of marriege?

Moreover, I had the idea that Intuitionistic logic is advocated to curb with non-constructive proofs over non-finite sets rather than the simple case you mentioned.

Re:When rational thinking is correlated with intelligence th... by btilly on Saturday December 27, 2014 @09:52PM (#8804970)
I find baring the law of the excluded middle an unnecessarily restrictive basis for logic...

And that attitude combined with a long chain of reasoning will wind up with you accepting that the following are entirely sensible statements.

"I accept that there exist real numbers which cannot ever be specified."

"I accept that there exists a reasonable computer science problem for which there exists a polynomial time algorithm but for which I cannot ever prove any algorithm correct."

If you do accept them as reasonable, it is worth carefully considering what the word "exists" actually means to you, and how someone else might think it should mean something different. IF you come to the conclusion that it should mean something different than what is implied by those statements, then you should take another look at constructivism. :-)

Re:When rational thinking is correlated with intelligence th... by maaku on Sunday December 28, 2014 @05:44AM (#8805962)
There does exist real numbers that cannot be specified in (finite) space or time...
Re:When rational thinking is correlated with intelligence th... by btilly on Sunday December 28, 2014 @12:44PM (#8806805)
According to classical mathematics, this is true. I can make the statement even stronger. There are real numbers which not only cannot be specified, but are strongly not compressible. That is, for the first n digits, there is no significantly more efficient way to specify what they are than to just list them.

But we are now talking about the existence of something that cannot be specified or written down in any useful way, shape, or form. What does it actually mean to say that this exists? We've demonstrated that no direct evidence of existence can ever be found. This is pretty much the opposite of what a lot of people would actually want "existence" to mean.

From a classical point of view what is wrong is your notion of existence. But it is perfectly reasonable to instead conclude that it is classical mathematics which has gone off the rails and they are now using words like "existence" in a nonsensical way.

Both points of view are perfectly defensible. In fact it was proven by Goedel that any inconsistency in one leads to an inconsistency in the other. Therefore neither is actually able to claim to have a better grounding in logical consistency than the other. Historically the debate was that classical mathematics is more convenient to work with, while constructivism actually means something more reasonable.

But once the set paradoxes faded, and with no difference in consistency, the simplicity of classical mathematics won.

Re:When rational thinking is correlated with intelligence th... by maaku on Sunday December 28, 2014 @10:49PM (#8808472)
I favor constructivism, btw. I just don't find this particular example to be very convincing for the cause. Take the square root of 2 -- it's a real number that can never be written down with any finite pencil and paper. Except for tricks that define the problem away like using a sqrt-2 base, I will only be able to manipulate approximations of that number. But I can still hold in my hand a square object and know that the diagonal is sqrt-2 times the length of a side. If you want to make objections about the square not really being square due to physical tolerances, then you could look to quantum and atomic physics, where such numbers show up and are measurable to whatever accuracy our experimental apparatus provides.
Re:When rational thinking is correlated with intelligence th... by btilly on Monday December 29, 2014 @07:22AM (#8809469)
You are talking about something very different than I was.

To a constructivist, sqrt(2) is a perfectly reasonable number. I can write down an algorithm to approximate it to any desired degree. I can describe its properties. I can find ways in which it arises naturally. I can compare it to rational numbers. It is quite reasonable to talk about its existence.

What constructivists object to are pure existence proofs. Take the numbers that I was describing. A classical proof of their existence would be to demonstrate that the set of such numbers has measure greater than 0. Therefore they both exist, and there are lots of them. But now we're stuck. What can we say that is sensible about them?

There are lots of them! There are some over here. There are some over there. How about some that start off with 1.2345678910111213...? Nope, we can compress the start of that one too easily. How about some that start off with 3.14159265359...? Nope, we can compress the start of that one too easily. How about ones that start off with 0.45399480855940464218372115598800974602442341777409214271555307732203389646276632569332825355032120233072728272048609801012859425779656167823065863748297...? Hrm, kind of hard to tell, we'd need to enumerate the output of a ton of programs and we might not be able to figure out whether some of them halt so if there are, we can't find out. But there are lots of them! Promise!

This is a fairly strong example demonstrating how existence to a classical mathematician does not agree with what a constructivist means.

Re:When rational thinking is correlated with intelligence th... by darkmighty on Sunday December 28, 2014 @01:04PM (#8806859)
So what's constructivism useful for anyway? Why change the basis of logic instead of proving non-constructability within the reasonable existing logics? (E.g. prove a real number isn't constructable instead of foregoing it's existence)

There are also cases of interest beyond constructivism: what if a number is non-constructible but can be approximated? Saying it doesn't exist doesn't sound particularly useful.

Re:When rational thinking is correlated with intelligence th... by btilly on Monday December 29, 2014 @08:04AM (#8809574)
So what's constructivism useful for anyway?

Not much. The philosophy of math is not noted for being particularly useful. :-)

That said, historically constructivism arose during a period when math was having trouble creating solid foundations. Today we can talk about "the reasonable existing logics". But a century ago you couldn't. Attempts to create such a thing had repeatedly resulted in paradoxes, and an inability to find solid foundations had caused repeated mathematical crises for a century.

In that light, it was reasonable to doubt lines of reasoning that proved the existence of things in infinite sets but provided no way to actually find them. This smelled too much of the kinds of things that had lead to paradox.

Hence the appeal of a philosophy that insisted that things are only known to exist when we have constructions for them. Proofs are only valid when they follow lines of reasoning that can, at least in principle, actually be followed in finite time.

These days this is mostly a historical footnote. But an important one.

There are also cases of interest beyond constructivism: what if a number is non-constructible but can be approximated?

Um, actually a constructivist would say that that number exists.

To understand, you have to ask what a real number is. One definition of a real number is a Cauchy sequence of rational numbers. Which is to say an infinite series of rational numbers that converges. Constructivists make this more precise. Rather than talking about an infinite series of rational numbers, they talk about a algorithm that generates a series of rational numbers. Rather than saying "for every epsilon greater than 0 there exists an N..." they insist that there is an algorithm which can take in epsilon and spit out N. Combining these two, from a valid specification of a real number, you can generate an algorithm that given an epsilon > 0 can generate a rational number within epsilon of the real number. And an algorithm that does that can easily be turned into a Cauchy sequence.

Thus to a constructivist, being able to approximate a number arbitrarily well is perfectly fine as a definition of said number. Things get odd in that you can have two different constructions of real numbers but you don't always know whether they are specifying the same number. But you quickly get used to this.

Saying it doesn't exist doesn't sound particularly useful.

Let me turn that around.

What is the use of asserting the existence of things that you cannot construct? What are you going to do with something that you cannot find in an infinite haystack? A thing that may be impossible to find, even in principle?

Re:When rational thinking is correlated with intelligence th... by darkmighty on Saturday January 03, 2015 @12:13AM (#8829990)
Thanks for the reply, really enjoying the discussion. What I had in mind is a particular case I heard of, Chaitin's Omega, which can't even be approximated arbitrarily by a fixed algorithm. But still that number seems useful to study it's properties as a number.

Expanding further, that's an issue I've had with definitions of computability also. Certain problems like the halting problem are extremely interesting but their non-computability sort of turns them dead. Approximating them even to a finite degree and studying them profoundly seems very worthwhile, from a practical and theoretical standpoint.

Re:When rational thinking is correlated with intelligence th... by sukilot on Sunday December 28, 2014 @10:52AM (#8806476)
This is what btilly is talking about. To parahrase: "there exist entities that cannot ever be constructed or named in any Universe like ours"
Re:When rational thinking is correlated with intelligence th... by yodsanklai on Saturday December 27, 2014 @09:25PM (#8804908)
"I find baring the law of the excluded middle an unnecessarily restrictive basis for logic"

I agree that it doesn't seem to make sense in that case. However, there are practical use for constructive proofs, for instance, program extraction. Consider a proposition such that "for all list L, there is a list L' such that L' is sorted and L' is a permutation of L". From a constructive proof of that proposition, you can extract a sorting algorithm. This works basically because the constructive proof has to exhibit a witness. That's the kind of things you can do with the Coq proof assistant.

"you may not be able to prove that Anne is married or prove that Anne is unmarried, but can't you prove by that Anne is either married or unmarried, by the definition of marriege?"

You can't prove it in constructive logic. You can always add an axiom of the form "for all x, x is married or x is not married". However, if you do that, your proof won't be constructive anymore (unless you provide a decision procedure together with your axiom).

Re:When rational thinking is correlated with intelligence th... by Rapzid on Sunday December 28, 2014 @02:39AM (#8805661)
What if Anne is a dog and can't be married? It was never established that three PEOPLE were looking at each other.
Re:When rational thinking is correlated with intelligence th... by sukilot on Sunday December 28, 2014 @10:55AM (#8806483)
That's mincing words, considering the whole prpblem a trick because maybe no one is a person. That resoning also shows that the "next item in a finite sequence" questions can have any equally correct answer. It doesn't hold up to Occam's Razor.
Re:When rational thinking is correlated with intelligence th... by phaemon on Sunday December 28, 2014 @05:47AM (#8805969)
You posted this same comment twice, and four hours after I originally suggested Anne might be a dog. Could you not at least have gone for a cat?
Re:When rational thinking is correlated with intelligence th... by Rapzid on Sunday December 28, 2014 @06:43AM (#8806052)
I accidentally replied under the OP when I meant to reply under this thread, so I stripped out the part most relevant and put it here.

Dog was the first thing that came to my head that would have a proper noun(Name) that wasn't a person. Didn't see a reason to change it? Interestingly though, I do prefer cats.

Re:When rational thinking is correlated with intelligence th... by dmitrig01 on Sunday December 28, 2014 @03:25AM (#8805747)
In that case, Anne is unmarried
Re:When rational thinking is correlated with intelligence th... by reader_1000 on Sunday December 28, 2014 @03:56AM (#8805793)
However, it is not a person.
Re:When rational thinking is correlated with intelligence th... by raverbashing on Sunday December 28, 2014 @06:43AM (#8806051)
Yes, it all depends on the dichotomy of Married/Not Married. If other states are allowed, then it's not possible to determine
Re:When rational thinking is correlated with intelligence th... by tunesmith on Sunday December 28, 2014 @12:12AM (#8805347)
Can someone explain this further to me? For instance, I thought that constructive logic merely says that not-not-A is not necessarily equal to A. In other words, truth is more about whether A is "provable" while not-A means "not provable", while it's perfectly possible for it to be unknowable whether something is provable.

However, in constructive logic isn't it still fine to restrict a value to one of only two values? For instance, it's still valid to say that (for the sake of argument) someone can only be married or unmarried, in constructive logic, right? So therefore, of someone isn't married, they are unmarried by definition - because we're not talking about values of truth/provability. Right?

So in other words, if we agree that someone can only be married or unmarried (which I take as an assumed premise in this problem), wouldn't the answer still be A in constructive/intuitionist logic?

Re:When rational thinking is correlated with intelligence th... by htns on Sunday December 28, 2014 @07:54AM (#8806164)
I'm no expert, but as I understand induction is also a form of this kind of "case reasoning", so to get anything much done you will have to introduce some extra axioms, even if you omit the excluded middle.
Re:When rational thinking is correlated with intelligence th... by sukilot on Sunday December 28, 2014 @10:47AM (#8806463)
Deduction not induction, but yes.
Re:When rational thinking is correlated with intelligence th... by sukilot on Sunday December 28, 2014 @10:49AM (#8806469)
Yes, if you assume (M1(p) or not M1(p)) for a specific M1.