News for hackers. Stuff that matters.
Re:The dirty secret of mathematics: We make it up as we go a... by le-mark on Thursday September 15, 2022 @08:47PM (#32860539)
My mind goes to various, unfortunate notational conventions.
Re:The dirty secret of mathematics: We make it up as we go a... by WoahNoun on Thursday September 15, 2022 @09:12PM (#32860740)
Such as? Many branches of mathematics have their own mutually unintelligible dialects of notation. Many longer papers or Ph.D thesis will just create notation just for the context of the paper.
Re:The dirty secret of mathematics: We make it up as we go a... by User23 on Thursday September 15, 2022 @10:10PM (#32861226)
An obvious one is that traditional mathematical convention requires single glyph variable names due to the unfortunate decision to save paper by denoting the product by juxtaposition. That’s an admittedly trivial example though, even though the higher order consequences are considerable.

Computing science is when notation came into its own. Younger mathematicians have taken those lessons to heart, but as the old saying goes, progress comes one funeral at a time.

Being forced to mechanically parse and interpret a syntax has a way of really bringing out any ambiguity.

Re:The dirty secret of mathematics: We make it up as we go a... by ithinkso on Thursday September 15, 2022 @10:25PM (#32861328)
> that traditional mathematical convention requires single glyph variable names due to the unfortunate decision to save paper by denoting the product by juxtaposition.

It's not to save paper or because of the product. You don't know the solution to the problem you are working on from the beginning and most of the time is spent writing and writing and writing in a scratchpad trying to solve what you need. Anything longer than a single glyph for variables would be too tedious so everyone evolved to use single letters. And then the papers are written with the same convention since it's natural. You have variable names though with the use of subscripts with the added benefits that it can be (and is) used to elegantly group relevant variables together giving you some sort of abstraction

I once wrote a comment about it here on HN - language in maths is not a programming language used to tell a computer how to go from A to B, but a natural language used to talk about maths between peers. Every natural language have idioms, inconsistences and other quirks. Polish will not change for you so it's easier for you to learn it, it will change in the way that let's polish people communicate better with each other which also include a lot of historical and cultural happenstances. Same with maths

There are attempts like Esperanto and other artificial languages like that and I think any attempts at 'codification' of maths to use some programming language has the same chance of success of wide adoption

Re:The dirty secret of mathematics: We make it up as we go a... by darepublic on Thursday September 15, 2022 @10:55PM (#32861529)
> They are attempts like Esperanto and other artificial languages like that and I think any attempts at 'codification' of maths to use some programming language has the same chance of success of wide adoption

Aren't existing programming languages already types of codified artificial math dialects which have seen wide adoption

Re:The dirty secret of mathematics: We make it up as we go a... by nequo on Thursday September 15, 2022 @11:39PM (#32861784)
That’s a good point.

Programming languages are more for humans than for computers. Otherwise we’d be writing our programs in 1s and 0s, and extending our editors in Emacs Binary and VSCode BinaryScript.

Re:The dirty secret of mathematics: We make it up as we go a... by User23 on Monday September 19, 2022 @05:40PM (#32904396)
> language in maths is not a programming language used to tell a computer how to go from A to B, but a natural language

Right, we're on the same page, I just think this is a bad thing and you evidently think it's a good thing. I'm well aware many mathematicians don't, because it's how they were trained and unlearning is the hardest kind of learning. The ambiguity[1] of natural language is observably ill-suited for formal reasoning, and the experience of computing science has shown this conclusively.

Do bear in mind that the pioneers in our field were virtually all trained mathematicians. They were well aware of the historic faults of the field because having to make programs actually work forced them to be.

The legacy fuzzy pencil and paper approach of traditional mathematics is going to end up being to proper formal mathematics just as what's now called philosophy is to formal logic.

[1] Let's not confuse ambiguity with generality.

Re:The dirty secret of mathematics: We make it up as we go a... by ndriscoll on Thursday September 15, 2022 @11:17PM (#32861662)
> single glyph variable names due to the unfortunate decision to save paper by denoting the product by juxtaposition.

Programmers tend to have this lack of fluency with written math that they completely miss: the concise names are not to save paper or make writing easier or anything like that. They're because they make the structure of expressions easier to visually identify and parse. The shapes of expressions are an incredibly important feature of the language and often contain implicit structural analogies. You need to be able to see those analogies to correctly read mathematics, and long variable names would obscure that part of the language.

I suppose it's similar to having enough fluency in a natural language to mechanically translate the words of a poem, but you can't properly read things like the metre, so you've unknowingly missed half of what the author originally wrote and lost it all in translation.

Re:The dirty secret of mathematics: We make it up as we go a... by bee_rider on Thursday September 15, 2022 @10:40PM (#32861433)
I haven't encountered much resistance to n_{arbitrarily complex subscripts}
Re:The dirty secret of mathematics: We make it up as we go a... by zozbot234 on Friday September 16, 2022 @08:06AM (#32864995)
> An obvious one is that traditional mathematical convention requires single glyph variable names due to the unfortunate decision to save paper by denoting the product by juxtaposition.

Generally you'd use upright text in square brackets to denote longer variable names, the notation is often seen in applied fields. But this quickly becomes clunky with longer expressions.

Re:The dirty secret of mathematics: We make it up as we go a... by worthless-trash on Thursday September 15, 2022 @10:46PM (#32861469)
> Being forced to mechanically parse and interpret a syntax has a way of really bringing out any ambiguity.

This is absolutely beautifully said user23. I as a programmer often struggle with understanding notations used in some papers.

Re:The dirty secret of mathematics: We make it up as we go a... by agumonkey on Friday September 16, 2022 @03:26AM (#32863165)
There's a value in compact / structural notation though, to an extent of course. But o come from the world of verbose application programming :)
Re:The dirty secret of mathematics: We make it up as we go a... by goatlover on Friday September 16, 2022 @06:24AM (#32864318)
Like APL notation being a tool of thought.
Re:The dirty secret of mathematics: We make it up as we go a... by agumonkey on Friday September 16, 2022 @11:22AM (#32867317)
A bit of that even though apl arguably push things too far (maybe that's what you implied). Parametric types also help making point, abstract combinators, recursive schemes.. All very helpful to define and manipulate ideas.
Re:The dirty secret of mathematics: We make it up as we go a... by xnyan on Thursday September 15, 2022 @09:04PM (#32860678)
Is there something you could say about these unfortunate notations or an article you you could point me to so that I can understand what they are?
Re:The dirty secret of mathematics: We make it up as we go a... by nextos on Thursday September 15, 2022 @10:35PM (#32861398)
For example, calculus uses notation and terminology that predates the modern limit-based field Weierstraß and others built. It's really confusing [1].

Statistics is even worse. A mix of old tricks developed to avoid computations when these were expensive. See [2].

[1] A Radical Approach to Real Analysis https://www.davidbressoud.org/aratra/

[2] The Introductory Statistics Course: A Ptolemaic Curriculum? https://escholarship.org/uc/item/6hb3k0nz

Re:The dirty secret of mathematics: We make it up as we go a... by aeneasmackenzie on Thursday September 15, 2022 @11:38PM (#32861774)
Limits are not an inherent part of calculus. You can do all calculus relevant for the physical world just fine with nilpotent infinitesimals if you but give up excluded middle.
Re:The dirty secret of mathematics: We make it up as we go a... by jqgatsby on Friday September 16, 2022 @12:27AM (#32862068)
I've heard of this constructivist approach to calculus, but hadn't made the connection with nilpotents. that's really interesting, could you explain why nilpotenxy and forgoing the law of the excluded middle relate to each other?
Re:The dirty secret of mathematics: We make it up as we go a... by enriquto on Friday September 16, 2022 @05:33AM (#32864050)
You can use nilpotents with classical logic and the excluded middle. This is called dual numbers and it's already a good model for "calculus without limits". They are like complex numbers, but instead of x^2=-1 you set x^2=0.

However, if you want to get really serious about that, you'll need that zero plus an infinitessimal be equal to zero. This is impossible in classical logic due to the excluded middle (which forces each number to be either equal to zero or non-zero).

Re:The dirty secret of mathematics: We make it up as we go a... by Qem on Friday September 16, 2022 @07:52AM (#32864860)
Can you recommend a introductory calculus book that builds it up from dual numbers?
Re:The dirty secret of mathematics: We make it up as we go a... by enriquto on Friday September 16, 2022 @08:15AM (#32865079)
The Silvanus P. Thompson book suggested by the sibling comment is lovely and very clear.

For a more algebraic treatment, and its important applications to automatic differentiation, I'd suggest starting with the relevant wikipedia articles:

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

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

Re:The dirty secret of mathematics: We make it up as we go a... by zozbot234 on Friday September 16, 2022 @08:01AM (#32864936)
You could try Calculus made easy by S. P. Thompson.
Re:The dirty secret of mathematics: We make it up as we go a... by nextos on Friday September 16, 2022 @01:41PM (#32869506)
My point is not that limits are an inherent part of calculus. My point is that calculus as currently taught mixes infinitesimal-like notation that predates limits with limit-based calculus.
Re:The dirty secret of mathematics: We make it up as we go a... by kazinator on Thursday September 15, 2022 @11:19PM (#32861682)
So, like, inequality against people with visual disabilities and dyslexics?