Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80269 > unrolled thread

Re: Understanding "help" command description syntax - explanation needed

Started byChris Angelico <rosuav@gmail.com>
First post2014-11-05 23:41 +1100
Last post2014-11-07 17:25 +1100
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Understanding "help" command description syntax - explanation needed Chris Angelico <rosuav@gmail.com> - 2014-11-05 23:41 +1100
    Re: Understanding "help" command description syntax - explanation needed Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-07 16:47 +1100
      Re: Understanding "help" command description syntax - explanation needed Chris Angelico <rosuav@gmail.com> - 2014-11-07 17:25 +1100

#80269 — Re: Understanding "help" command description syntax - explanation needed

FromChris Angelico <rosuav@gmail.com>
Date2014-11-05 23:41 +1100
SubjectRe: Understanding "help" command description syntax - explanation needed
Message-ID<mailman.15498.1415191271.18130.python-list@python.org>
On Wed, Nov 5, 2014 at 11:31 PM, Ivan Evstegneev
<webmailgroups@gmail.com> wrote:
>>> That's what I'm talking about (asking actually), where do you know it from?
>
>>>I know it because I've been a programmer for 39 years.
>
> I didn't intend to offence anyone here. Just asked a questions ^_^

Don't worry about offending people. Even if you do annoy one or two,
there'll be plenty of us who know to be patient :) And I don't think
Larry was actually offended; it's just that some questions don't
really have easy answers - imagine someone asking a great
mathematician "But how do you KNOW that 2 + 2 is 4? Where's it written
down?"... all he can say is "It is".

ChrisA

[toc] | [next] | [standalone]


#80349

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2014-11-07 16:47 +1100
Message-ID<545c5d01$0$12989$c3e8da3$5496439d@news.astraweb.com>
In reply to#80269
Chris Angelico wrote:

> On Wed, Nov 5, 2014 at 11:31 PM, Ivan Evstegneev
> <webmailgroups@gmail.com> wrote:
>>>> That's what I'm talking about (asking actually), where do you know it
>>>> from?
>>
>>>>I know it because I've been a programmer for 39 years.
>>
>> I didn't intend to offence anyone here. Just asked a questions ^_^
> 
> Don't worry about offending people. Even if you do annoy one or two,
> there'll be plenty of us who know to be patient :) And I don't think
> Larry was actually offended; it's just that some questions don't
> really have easy answers - imagine someone asking a great
> mathematician "But how do you KNOW that 2 + 2 is 4? Where's it written
> down?"... all he can say is "It is".

An ordinary mathematician will say: "Hold up two fingers. Count them, and
you get one, two. Now hold up another two fingers. Count them, and you will
get two again. Hold them together, count the lot, and you get one, two,
three, four. Therefore, 2+2 = 4."

A good mathematician might start with the empty set, ∅ = {}. [Aside: if the
symbol looks like a small box, try changing your font -- it is supposed to
be a circle with a slash through it. Lucinda Typewriter has the glyph
for '\N{EMPTY SET}'.] That empty set represents zero. Take the set of all
empty sets, {∅} = {{}}, which represents one. Now we know how to count:
after any number, represented by some set, the *next* number is represented
by the simplest set containing the previous set.

Having defined counting, the good mathematician can define addition, and go
on to prove that 2+2 = 4. This is, essentially, a proof of Peano Arithmetic
(PA), which one can take as effectively the basic arithmetic of counting
fingers, sheep or sticks.

But a *great* mathematician will say, "Hmmm, actually, we don't *know* that
2+2 equals 4, because we cannot prove that arithmetic is absolutely
consistent. If arithmetic is not consistent, then we might simultaneously
prove that 2+2 = 4 and 2+2 ≠ 4, which is unlikely but not inconceivable."

Fields medallist Vladimir Voevodsky is a great mathematician, and he
apparently believes that the consistency of Peano Arithmetic is still an
open question.

http://m-phi.blogspot.com.au/2011/05/voevodsky-consistency-of-pa-is-open.html

Another way to look at this, not necessarily Voevodsky's approach, is to
note that the existing proofs of PA's consistency are *relative* proofs of
PA. E.g. they rely on the consistency of some other formal system, such as
the  Zermelo-Frankel axioms (ZF). If ZF is consistent, so is PA, but we
don't know that ZF is consistent...



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#80350

FromChris Angelico <rosuav@gmail.com>
Date2014-11-07 17:25 +1100
Message-ID<mailman.15554.1415341554.18130.python-list@python.org>
In reply to#80349
On Fri, Nov 7, 2014 at 4:47 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> But a *great* mathematician will say, "Hmmm, actually, we don't *know* that
> 2+2 equals 4, because we cannot prove that arithmetic is absolutely
> consistent. If arithmetic is not consistent, then we might simultaneously
> prove that 2+2 = 4 and 2+2 ≠ 4, which is unlikely but not inconceivable."
>

And the mother of a young child will say "It just is. Now eat your greens."

ChrisA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web