News for hackers. Stuff that matters.
Re:Computing the Uncomputable by cousin_it on Wednesday April 06, 2016 @07:39AM (#11438061)
> finite is quite rigidly defined

It's a bit more subtle. Wikipedia puts it well:

Even for those mathematicians who embrace infinite sets, in certain important contexts, the formal distinction between the finite and the infinite can remain a delicate matter. The difficulty stems from Gödel's incompleteness theorems. One can interpret the theory of hereditarily finite sets within Peano arithmetic (and certainly also vice versa), so the incompleteness of the theory of Peano arithmetic implies that of the theory of hereditarily finite sets. In particular, there exists a plethora of so-called non-standard models of both theories. A seeming paradox, non-standard models of the theory of hereditarily finite sets contain infinite sets - but these infinite sets look finite from within the model. (This can happen when the model lacks the sets or functions necessary to witness the infinitude of these sets.) On account of the incompleteness theorems, no first-order predicate, nor even any recursive scheme of first-order predicates, can characterize the standard part of all such models. So, at least from the point of view of first-order logic, one can only hope to characterize finiteness approximately.

https://en.wikipedia.org/wiki/Finite_set

Re:Computing the Uncomputable by ikeboy on Wednesday April 06, 2016 @08:51AM (#11438399)
Can you have a model of ZF with natural numbers that aren't just 0,1,2,...? Or only PA?

It seemed obvious that defining the natural numbers in the way above results in only such numbers. You can give an intuitive argument that any natural number can be recursively generated from 0 by the successor operator. Is this wrong?

Edit: looks like http://www1.cuni.cz/~svejdar/papers/sv_ybk10_p.pdf says you can get such a model.

>A model M of (some) set theory is non-standard if it contains an ordinal α such that M |= “α is finite”, i.e. M |= “α is less than the first limit ordinal”, but looking from outside, the set of all ordinals β < α is infinite. The proof of the existence of non-standard models of set theory is basically the same as for PA.

Re:Computing the Uncomputable by cousin_it on Wednesday April 06, 2016 @09:57AM (#11438773)
Yes, all theories at least as strong as PA (including ZF) have models with nonstandard naturals.

Another fun fact is that ZF has a countable model, even though ZF proves that uncountable sets exist. https://en.wikipedia.org/wiki/Skolem%27s_paradox

Re:Computing the Uncomputable by ikeboy on Wednesday April 06, 2016 @10:02AM (#11438812)
Can you express the notion of nonstandardsness within the language (and so add the axiom "no natural numbers are non standard")?
Re:Computing the Uncomputable by cousin_it on Wednesday April 06, 2016 @10:31AM (#11438977)
You could try, but your internal view of "standardness" won't always coincide with the external view, just like with finiteness or countability. In fact, here's a proof that the attempt can never succeed:

Take any formal theory T that talks about natural numbers, like PA or ZF. We'll assume that T can be encoded as a computer program, printing out sentences about natural numbers in some simple language with arithmetic and quantifiers. We won't make any other assumptions about the theory's internal workings, it can use any axioms it likes.

Thanks to the miracle of Turing completeness, any facts about that computer program can also be encoded as sentences about natural numbers. So we can construct a sentence called Con(T) which says essentially "the program will never print 0=1", or equivalently "there's no natural number N encoding a proof in T that 0=1". That sentence encodes the idea that "T is a consistent theory" within T itself.

Godel's theorem says that T cannot prove Con(T). Therefore we can extend T with the negation of Con(T), and the resulting "self-hating" theory T+¬Con(T) will be as consistent as T itself. Like all consistent theories, that theory will have a model, which is also a model of the original theory T. In that model, Con(T) is axiomatically false, so the above-defined number N is asserted to exist. But if we assume that T was consistent to begin with, then there's actually no finite proof in T that 0=1, so N can't be a standard natural number. Therefore N is nonstandard, so T has a model with a nonstandard natural number. QED.

Re:Computing the Uncomputable by danharaj on Wednesday April 06, 2016 @10:09AM (#11438854)
Not in first order logic.
Re:Computing the Uncomputable by wolfgke on Wednesday April 06, 2016 @05:40PM (#11442369)
Why doesn't one simply use higher order logic to solve this problem? (serious question, I'm a mathematician, but not a set theorist).
Re:Computing the Uncomputable by John_Baez on Thursday April 07, 2016 @12:47AM (#11444794)
It turns out this only pushes back the problem. You can write down second-order axioms for arithmetic which have a unique model, but in a model of a second-order theory predicates are interpreted as sets. So, you need to choose a version of set theory, to know what a model actually is. Suppose you choose ZFC (the usual axioms of set theory). Unfortunately this itself has infinitely many models!

I explained this in a bit more detail here:

https://johncarlosbaez.wordpress.com/2016/04/02/computing-th...

Re:Computing the Uncomputable by wolfgke on Thursday April 07, 2016 @04:08AM (#11445559)
Thanks, this looks plausible.
Re:Computing the Uncomputable by danharaj on Wednesday April 06, 2016 @05:58PM (#11442500)
A lot of properties that you'd want in a logic stop holding once you hit second-order logic: https://en.wikipedia.org/wiki/Second-order_logic#Metalogical...