Atheistforums.com

Science Section => Science General Discussion => Math and Computers => Topic started by: Baruch on November 01, 2017, 06:48:03 AM

Title: Arithmetic for Cavebear
Post by: Baruch on November 01, 2017, 06:48:03 AM
http://www.smbc-comics.com/comic/2010-10-24

This continues the 1+1=2 discussion.
Title: Re: Arithmetic for Cavebear
Post by: Cavebear on November 04, 2017, 01:58:32 AM
Quote from: Baruch on November 01, 2017, 06:48:03 AM
http://www.smbc-comics.com/comic/2010-10-24

This continues the 1+1=2 discussion.

My 9th grade Algebra 2 teacher offerred an automatic "A" to anyone who could prove 1+1=2.  Of course it can't; it's an axiom.

But I tried.  I offerred counting mechanisms.  1+1+2 coins.  Ordinal thinking.  Subtractive thinking (2 coins and remove one).  But he admired my efforts.  He said 10th grade plane geometry was more my style.  And it was.  I understood that from day one. 
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 04, 2017, 10:44:04 AM
Quote from: Cavebear on November 04, 2017, 01:58:32 AM
My 9th grade Algebra 2 teacher offerred an automatic "A" to anyone who could prove 1+1=2.  Of course it can't; it's an axiom.

But I tried.  I offerred counting mechanisms.  1+1+2 coins.  Ordinal thinking.  Subtractive thinking (2 coins and remove one).  But he admired my efforts.  He said 10th grade plane geometry was more my style.  And it was.  I understood that from day one.

Of course I was the opposite.  Always like algebra/equations.  Nearly flunked geometry.  Still don't know why.  Too bad you didn't have the Internet back then, you could have given a better answer ... the Peano Axioms.

https://en.wikipedia.org/wiki/Peano_axioms  ... now if you could also play the piano ...
Title: Re: Arithmetic for Cavebear
Post by: Jason78 on November 04, 2017, 10:46:05 AM
Quote from: Cavebear on November 04, 2017, 01:58:32 AM
My 9th grade Algebra 2 teacher offerred an automatic "A" to anyone who could prove 1+1=2.  Of course it can't; it's an axiom.

But I tried.  I offerred counting mechanisms.  1+1+2 coins.  Ordinal thinking.  Subtractive thinking (2 coins and remove one).  But he admired my efforts.  He said 10th grade plane geometry was more my style.  And it was.  I understood that from day one. 

Surely you can prove that with a compass and a rule.
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 04, 2017, 01:49:23 PM
Quote from: Jason78 on November 04, 2017, 10:46:05 AM
Surely you can prove that with a compass and a rule.

Yes, bisection of an angle.  Treat each section as being of unit length.  Division by 3 is impossible however, by compass and ruler (straight edge with no units).  This was like the scandal about the square root of two, but they could prove that in ancient times, but the division of an angle into thirds was not proven impossible until 1837 ...

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

Has to do with number theory.  There are numbers that are inaccessible to any algorithm, not just the restrictive compass/rule algorithms.  BTW ... this is actually why real AI is impossible ... approximating real numbers with rational numbers is good enough for engineering, but not good enough for AI.  Real AI requires those non-algorithmic numbers (which is no problem with any analog system).  Analog signals are used to approximate digital numbers in electronics ... but you can't do it the other way around with complete accuracy.  The two sets of numbers are incommensurable (different classes of infinity).
Title: Re: Arithmetic for Cavebear
Post by: pr126 on November 05, 2017, 12:59:56 AM
https://www.youtube.com/watch?v=9edtHJMaws0
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 05, 2017, 01:08:03 AM
Quote from: pr126 on November 05, 2017, 12:59:56 AM
https://www.youtube.com/watch?v=9edtHJMaws0

That is what computer science is.  You generate a string of ones and zeros, or transform such a string into a different string.  That is it, all of it.  This is why reality isn't a computer ... but people can make a computer.
Title: Re: Arithmetic for Cavebear
Post by: Unbeliever on November 06, 2017, 04:41:17 PM
Quote from: Cavebear on November 04, 2017, 01:58:32 AM
My 9th grade Algebra 2 teacher offerred an automatic "A" to anyone who could prove 1+1=2.  Of course it can't; it's an axiom.

But I tried.  I offerred counting mechanisms.  1+1+2 coins.  Ordinal thinking.  Subtractive thinking (2 coins and remove one).  But he admired my efforts.  He said 10th grade plane geometry was more my style.  And it was.  I understood that from day one. 
Hell, it took Russell and Whitehead, in Principia Mathematica (https://en.wikipedia.org/wiki/Principia_Mathematica), some 300 pages to prove that 1+1=2!

So don't feel bad if you couldn't do it so easily.
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 06, 2017, 07:34:42 PM
Quote from: Unbeliever on November 06, 2017, 04:41:17 PM
Hell, it took Russell and Whitehead, in Principia Mathematica (https://en.wikipedia.org/wiki/Principia_Mathematica), some 300 pages to prove that 1+1=2!

So don't feel bad if you couldn't do it so easily.

That was possible, because of the bisection of the angle.  Since trisection is impossible using compass and straight edge (in affine geometry), it would have taken a lot more to prove that 2+1=3 (you need affine geometry plus a metric).  I will prefer my practical approach, thanks.  In number theory, mathematical induction (successor function) is an axiom, it isn't attempted to be proven.

=====
Addition is a function that maps two natural numbers (two elements of N) to another one. It is defined recursively as:

a+0=a,   (1)
a+S(b)=S(a+b).   (2)

For example:

a+1=a+S(0)   by definition
=S(a+0)      using (2)
=S(a),      using (1)
a+2=a+S(1)   by definition
=S(a+1)      using (2)
=S(S(a))      using a+1=S(a)      
a+3=a+S(2)   by definition
=S(a+2)      using (2)
=S(S(S(a))) using a+2=S(S(a))   
etc.
=====

Basically assuming that ... "a commutative monoid with identity element 0" exists.  Most mathematicians agree that it does, but not all ... those who reject infinity for example.
Title: Re: Arithmetic for Cavebear
Post by: Cavebear on November 07, 2017, 02:31:41 AM
I surely wish I had known those arguments in 9th grade in 1965!  And I'll bet you didn't either.  LOL!
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 07, 2017, 06:58:11 AM
Quote from: Cavebear on November 07, 2017, 02:31:41 AM
I surely wish I had known those arguments in 9th grade in 1965!  And I'll bet you didn't either.  LOL!

True but I was working on the old chestnut of number theory, Fermat's Last Theorem, when I was 18.  I had an insight then, but still can't connect it to the conclusion.  Sigh.  Sometimes I have my brain working on things (multitasking) for decades, and out pops an answer (happened a year ago on a different math problem).  Some people have a lazy unconscious, apparently I put mine to work in the salt mine of math.
Title: Re: Arithmetic for Cavebear
Post by: Cavebear on November 07, 2017, 08:33:11 AM
Quote from: Baruch on November 07, 2017, 06:58:11 AM
True but I was working on the old chestnut of number theory, Fermat's Last Theorem, when I was 18.  I had an insight then, but still can't connect it to the conclusion.  Sigh.  Sometimes I have my brain working on things (multitasking) for decades, and out pops an answer (happened a year ago on a different math problem).  Some people have a lazy unconscious, apparently I put mine to work in the salt mine of math.

I tend to think in terms of successfully-built objects.  You seem to think in terms of failed maths.  At least I end up with positive items. 
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 07, 2017, 01:24:24 PM
Quote from: Cavebear on November 07, 2017, 08:33:11 AM
I tend to think in terms of successfully-built objects.  You seem to think in terms of failed maths.  At least I end up with positive items.

Excellent ... such objects are the grist of civilization.  Utopian politics, less so ... all failures.

Some maths isn't failed, it is impossible.  But the gullible are taken in by math and science charlatans.
Title: Re: Arithmetic for Cavebear
Post by: Jason78 on November 07, 2017, 01:43:37 PM
Quote from: Baruch on November 04, 2017, 01:49:23 PM
Has to do with number theory.  There are numbers that are inaccessible to any algorithm, not just the restrictive compass/rule algorithms.  BTW ... this is actually why real AI is impossible ... approximating real numbers with rational numbers is good enough for engineering, but not good enough for AI.  Real AI requires those non-algorithmic numbers (which is no problem with any analog system).  Analog signals are used to approximate digital numbers in electronics ... but you can't do it the other way around with complete accuracy.  The two sets of numbers are incommensurable (different classes of infinity).

There are numbers that are inaccessible to any algorithm?   Really?
Title: Re: Arithmetic for Cavebear
Post by: Cavebear on November 07, 2017, 01:44:58 PM
Quote from: Jason78 on November 07, 2017, 01:43:37 PM
There are numbers that are inaccessible to any algorithm?   Really?

The last digit of pi?
Title: Re: Arithmetic for Cavebear
Post by: Cavebear on November 07, 2017, 01:47:23 PM
Quote from: Baruch on November 07, 2017, 01:24:24 PM
Excellent ... such objects are the grist of civilization.  Utopian politics, less so ... all failures.

Some maths isn't failed, it is impossible.  But the gullible are taken in by math and science charlatans.

Thank you.  So may I be forgiven that at age 15 I did not provide a 600 page proof that "1+1=2"?
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 07, 2017, 08:08:49 PM
Quote from: Cavebear on November 07, 2017, 01:47:23 PM
Thank you.  So may I be forgiven that at age 15 I did not provide a 600 page proof that "1+1=2"?

Proof is over-rated.  Pythagoras went around asking girls, you want to see my equations?
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 07, 2017, 08:16:12 PM
Quote from: Jason78 on November 07, 2017, 01:43:37 PM
There are numbers that are inaccessible to any algorithm?   Really?

Yes, an algorithm just gives a name to a point in the number line etc.  it is not possible to name all the points, because the number of points is an infinity greater than the infinity of rational numbers 1432.234234 (terminates or repeats at some point).  The continuum is the next larger, incommensurable infinity.  See Georg Cantor.  A non-terminating digital number isn't a proper name (say Pi) ... you can give a name (Pi) to such a number, but there aren't an infinite number of them, and aside from the digital representation of the rational numbers ... there is no other system of naming an infinite collection.  You can't simply reuse the rational numbers you already used ... and in fact, you would need to cheat that way, not just once, but an infinite number of times.  The number of rational numbers is a really big number, but the continuum is infinitely bigger than that.

Now it doesn't matter which number system you use.  The simplest is binary .. but using decimal is simply an alternative naming scheme for the same points.
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 07, 2017, 08:23:55 PM
Quote from: Cavebear on November 07, 2017, 01:44:58 PM
The last digit of pi?

All transcendental numbers are like that.  And in a practical way, you can say that there is an algorithm for calculating the next digit of Pi ... but not the last one.  But there are transcendental numbers where you can't even calculate the first digit (the normal transcendental).  Not very practical, but still there.  Here is how that works ... in an algorithm to calculate a number, the answer either converges or diverges.

A good algorithm not only converges but does so rapidly.  Pi is poorly behaved, it converges, but slowly.  Consider if there is number, such that there is not only no converging algorithm that converges rapidly, but that there is no possible algorithm that converges at all (this is at the extreme limit).  That is a normal transcendental.  A ordinary transcendental like Pi is fortunately useful.

This also appears in computer science.  There is the halting problem ... can I tell if a given computer, set up and running, will terminate?  In general you can't say it does, just in particular cases.  So consider an algorithm that if it halts, generates the number 2 ... but it is of the type that you can't tell it will ever terminate.  In that case, the time to the generation of the first digit is indefinite.
Title: Re: Arithmetic for Cavebear
Post by: Unbeliever on November 08, 2017, 03:21:27 PM
Transcendental numbers are non-algebraic, that can't ever be the solution to an algebraic equation. But how can they be identified otherwise? Is there a method of determining whether a given irrational number is transcendental or not?
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 08, 2017, 07:04:57 PM
Quote from: Unbeliever on November 08, 2017, 03:21:27 PM
Transcendental numbers are non-algebraic, that can't ever be the solution to an algebraic equation. But how can they be identified otherwise? Is there a method of determining whether a given irrational number is transcendental or not?

No.  All algebraic numbers are either irrational or rational.  But some transcendental numbers (Pi) are not even algebraic.  Of course all transcendental numbers are irrational, because all rational numbers are algebraic.  Being algebraic is a proper subset of algorithmic derived numbers ... interestingly the cardinal number of algebraic numbers is the same as the cardinal number of rational numbers (dealing with infinity allows certain paradoxes as legitimate ... and this is why finitists reject infinity in maths).  So an algorithm can be devised to derive all rational numbers (they are all algebraic).  But no algorithm can be devised to derive all irrational numbers.  Such an algorithm can be devised for all algebraic numbers (so all irrational numbers that are also algebraic).  But there is a set of non-algebraic numbers, that are irrational ... that can be computed by an algorithm(Pi or e).  There are plenty of well defined irrational numbers, that have not been proven to be transcendental (non-algebraic).

Proof falls under the same bug-bear as any other algorithm.  There are constants, which haven't even been proven to be rational vs irrational, let alone algebraic vs transcendental.

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

Simple examples are not proven as to what class they are (Pi plus e).

One could try to escape this by allowing proofs that are not covered by an algorithm ... a proof with an infinite number of steps ... but that would be pulling a rabbit out of your hat.  These are called oracles in Turing machine theory ... a way of formalizing cheating.  Though in fact, there is no way to cheat.  Basically it amounts to the proctor (oracle) handing you the answer to the question.

The question of what is a true random number vs a pseudo-random number, is critical in cryptology.  A truly random number could be a normal transcendental for example, because by definition there would be no possible converging algorithm to calculate it.  There may be degrees of true randomness, as the normal transcendentals aren't the only non-algorithmic transcendentals, but others nearly as bad.  This comes up in computational complexity theory (which again plays into the subject of cryptology).  I studied all this 2 summers ago, when studying cryptology.
Title: Re: Arithmetic for Cavebear
Post by: Hakurei Reimu on November 09, 2017, 12:55:49 PM
All rational numbers are algebraic and therefore not transcendental, because a rational number a/b is the solution to the polynomial bx - a = 0. Ergo, all transcendental numbers are irrational as well.

"Transcendental number" is a catch-all for "any number not the root of a polynomial equation with integer coefficients." It is necessarily exclusionary. We know enough about polynomials to know that some numbers are necessarily transcendental (e is an example) and others are necessarily algebraic (square roots of rational numbers), but outside those cases there's no finite number of tests you can perform on a number to show that it is not the solution to some polynomial of some finite degree.
Title: Re: Arithmetic for Cavebear
Post by: Baruch on November 09, 2017, 01:00:57 PM
Quote from: Hakurei Reimu on November 09, 2017, 12:55:49 PM
All rational numbers are algebraic and therefore not transcendental, because a rational number a/b is the solution to the polynomial bx - a = 0. Ergo, all transcendental numbers are irrational as well.

"Transcendental number" is a catch-all for "any number not the root of a polynomial equation with integer coefficients." It is necessarily exclusionary. We know enough about polynomials to know that some numbers are necessarily transcendental (e is an example) and others are necessarily algebraic (square roots of rational numbers), but outside those cases there's no finite number of tests you can perform on a number to show that it is not the solution to some polynomial of some finite degree.

Correct and clear.
Title: Re: Arithmetic for Cavebear
Post by: Baruch on December 15, 2017, 07:24:13 AM
This is against Unbeliever's Pythagorean habit ...

http://www.smbc-comics.com/comic/pi

Physics rules, not math (non-existent abstractions)

Gong further, chemistry rules ... no biology rules ... no psychology rules.  inverse your compulsive reductionism.