by scarygliders · 4y ago · 0 comments
I'd have to look up what the "/" in "M/L" means in the 5th reply (I didn't)
There are so many _symbols_ used in mathematics. It's all as if they're spells written by wizened greybeard wizards and passed down to apprentices throughout the centuries.
Think of it as jumping into a new codebase you have never worked with before. It is full of strange functions calling each other for unknown reasons. It takes a while to get a good intuition for why.
M/L could be written Field-extension(M, L). That might make it easier to Google what's going on, rather than having to pick up a group theory book. And indeed in this case it would be extra helpful, because M/L could also mean "quotient group" or even "division" depending on the type of the objects M and L. I personally prefer M:L for field extensions.
But Googling individual concepts is hardly a good way to learn group theory. So I don't think it matters too much. For anyone that spends enough time working in the given field, the notation is by far the easiest thing to figure out.
In general it is nice that mathematics - still being largely a handwritten endeavor - has the freedom to introduce new notation where it makes sense. See https://mathoverflow.net/questions/42929/suggestions-for-goo... for cool examples of new notation improving the lives of everyone.
I want to emphasize this because the weirdness of math notation comes up often. The difficulty of grasping mathematical concepts far outweighs notational concerns. Getting used to notation in a specific field is an absolute drop in the bucket compared to understanding the theorems and proofs, and often the reason notation is so idiosyncratic and inconsistent is because it's meant to try to reflect human intuition, which is idiosyncratic and inconsistent in comparison to the mathematics from which it is derived.
Once you really get into mathematics, notation is so far down the list of things that make learning mathematics hard that I don't think it's worth the associated cost of trying to change it on a large scale.
The immediate example for me would be lambda calculus which makes a lot of sense to me when expressed in code (be it lisp, python or Rust) but just looks like vomit in theoretical papers, for instance:
(λy.M)[x := N] = λy.(M[x := N]), if x ≠ y and y ∉ FV(N)
This looks like a perl one liner from an obfuscation contest.Why is it that software engineers in a few decades have come to the conclusion that proper variable naming is important and abuse of sigils a bad idea but mathematics don't feel the same way?
On the other hand, notation in mathematics is used to represent only a limited set of common concepts for the field, you don't have autocomplete and a single line can contain a lot of concepts. For example, compare two expressions of Stokes' theorem (given HN typesetting limitations):
∫_A dω = ∫_∂A ω
versus integral(A, differential(ω)) = integral(boundary(A), ω)
While the second one is easier to understand at a first glance, the problem of that equation is not the symbols but the concepts behind them. And to understand the concepts you're going to go over similar equations time and time again, and at that point the extra letters and extra space used is going to complicate both writing and reading the equations. Of course, there is always people who overuse and underuse notation, but if mathematics relies heavily on notation it's for a reason: it's useful.Edit: Also, the second one is only "easy" if you're familiarized with function calling in programming. One could argue that to go full notation-less you should only write in proper sentences, and that would make it even more complex.
As someone who spent a lot of time in mathy subjects, this is very readable to me - even though I don't know lambda calculus. I'd posit that if you have trouble with this, it is merely due to not spending much time in math.
Imagine someone who spent all his time in BASIC and he suddenly reads a Java codebase, and complains about the syntax.
> Why is it that software engineers in a few decades have come to the conclusion that proper variable naming is important and abuse of sigils a bad idea but mathematics don't feel the same way?
Because they've been doing it for a few hundred years longer than SW engineers have. I hear this refrain often here on HN. I would love to see someone write a textbook on electromagnetics or quantum mechanics using this verbose notation. The derivation of a harmonic oscillator (without ladder operators) takes a few pages of this concise notation. I shudder how lengthy it would be when more verbose.
1. Since you seem to someone who reads papers sometimes, I would encourage you define your "programming notation" and start proving theorems in that notation. Do it for sufficiently complex proofs: the ones that require a few different lemmas, span several pages, and use some non-trivial algebra. Then, attempt to present your proof to someone in your notation. Judge for understanding.
2. You might very well succeed. But if you don't, wonder why out of many many software engineers (or profs at software engineering oriented degrees) over the past few decades who read math/cs papers, no one attempted to use "programming notation" to write a book or notes to communicate mathematics to others?
The common way you learn mathematics, the notation comes automatically, and new mathematics is often understood as a variation on the examples you learn.
Some of these conventions you probably know, like having i for the varying number in a sum or product (or loop in programming) which goes up to an integer n.
If you called an integer f or a complex number n it would make it much harder to read.
If yo read code in standard libraries, you'll see a lot of either single-letter variables or extremely generic variable names.
Most mathematics is dealing with things at least one level of abstraction higher than a standard library.
In most programs outside of things like standard libraries, a variable usually stands for something concrete and specific. A customer. An order. A specific type of element in a UI. Etc.
In theory papers, a variable usually stands in for something generic and general. An arbitrary program. An arbitrary finite set. Etc. Sometimes even an arbitrary program in a programming language that is not defined in particular but only in general (e.g., "any language with parametric polymorphism", "any language with a specific sort of binding structure between things in these two syntactic categories", etc.).
Again, standard libraries already start using more generic variable names, and most theory papers are dealing with an abstraction level higher than standard libraries.
For other people, the function of math in the school system seems to be mainly to sort them by math ability -- and for that, artificial barriers aren't a problem. So there's little demand for better UX design for nonspecialists. Sucks if you think society would be better off if more people appreciated/understood/applied more math.
As a mathematician, notation exists because it's easier to read things with good notation than without. I have some advanced mathematics books in my table and in most of the pages you'll find far more text than notation. Notation is usually explained when it starts being used, usually in the definition. For example, the problem with understanding the notation "Aut(L|k)" is not the notation, because if the author wrote "group of field automorphisms of L fixing k elementwise" I'd be equally lost if I don't understand those words. And once I understand those words, the notation makes it easier to read and understand things whenever the author is talking about that group, because your brain automatically identifies the concept associated with the notation instead of having to read the words and linking them with the concept.
Having done consulting, I frankly disagree. Except pathological cases most of the codebases I've been involved in it's possible to open a file at random at quickly make sense of what happens even without prior exposure. With math papers my experience is that you have to go 3/4 references deep before startit to understand where the notation comes from which wastes hours and hours. They should provide normalized names that could be searched for in e.g. a coq-based database of math concepts or something like that.
Most of the time you'd need even more hours to understand not the notation but the concept themselves. In this list there isn't that much weird notation compared to weird words. For example, 'The Krull dimension of a noetherian integral domain is finite'. Even without notation, I'd expect a non-math major to have to go read 8-10 wikipedia pages just to understand "Krull dimension".
In math it is a strange symbol in a PDF and you cannot search for at all
I think about this analogy from time to time, when I get frustrated by maths. Myself not being mathematician but on occasion needing to read a research paper, my frustration is typically begins with the raw syntax of maths. It’s so obviously optimized for the combined limitations of the human brain’s limited short term memory and the human hand’s speed of writing/typing. Which probably is the correct optimization for high level practitioners.
For communication with non experts, it’s dreadful, but I think fixable post-facto with a auto-notation tool. Think black.py for maths.
A terse equation or statement in mathematics represents what you will understand, the rest of the paper is to get you there.
Wanting to read the main equations and understand them, so as to use that knowledge reading the paper, is backward. If the main equation was ax^2+bx+c=0, you wouldn't need to read the paper, right? It's about the quadratic equation, it's aimed at primary students.
But that's how it works, we keep pounding away at the paper: taking notes, following references, thinking a lot about each of the definitions, then eventually, you look at the main equation and say "oh. ok. I know what this says now".
I've basically abandoned all languages/ecosystems that aren't, at the very least, extremely grep-friendly. Static types preferred so I can get that sweet, sweet auto-refactoring, jump-to-references/definition, docs-on-hover, et c.
If we expected people to read code like they're expected to read math, I'd have taken the huge pay hit and left the profession by now. It'd be a choice between that or a spiral into depression ending in tragedy. I don't know how math-loving folks can stand it.
Variables, as opposed to notation, tend to be local in scope, so 1) it isn't vital to have a memorable name and 2) it wouldn't really help to have a 'proper' name, either. As an example, if we're talking about two elements from a group, we usually talk about two elements, a and b, in a group, G. Could you call them elements 1 and 2 from an ExampleGroup? Maybe, but there's no clarity provided since these variables are only scoped for a given section. Additionally, longer equations means that it takes longer to read through and check steps like algebraic manipulation in a proof, or application of a lemma or theorem.
What is globally scoped are things like theorems, lemmas, definitions, etc., and those are easy to track down since they are by convention numbered after chapter and section.
Software engineers have built careers off of making code more readable, both in terms of the language itself and the codebase it applies to. Mathematicians seem to go out of their way to make their work as obtuse as possible.
Can you imagine if software engineers had stopped at C? If we were all still trying to apply the spiral rule [0] to read everything? That's what reading math papers feels like. It feels like you stopped at C and are unwilling to even consider that there could be a better way to express things.
Mathematicians go out of their way to make their work as understandable as possible. If they wanted to make it as obtuse as possible, you'd just see a picture of chaotic scribbles on a blackboard.
> That's what reading math papers feels like. It feels like you stopped at C and are unwilling to even consider that there could be a better way to express things.
Do you have any suggestions?
Mathematics is a hard subject because it deals with concepts in several levels deep of abstraction. That's a complexity that you can't escape. You can't expect to read a math paper (aimed at researchers in the same field) and understand everything, the same way it would be unreasonable to ask you to write your code in a way that someone who isn't familiar with either programming or the concepts your code works with to understand it if they went to read it.
Even something as simple as the set of integers being the letter Z requires you to understand German to know why we chose Z (and not I) in the first place. Or d/dx being totally unintuitive for anyone not well-versed in differential calc. I'm quite certain that every student learning calc thinks "Well the d's just cancel out there". Granted, I've heard the intuition behind the notation and I understand why it's tolerated. Still, it seems less helpful than it could be if mathematicians weren't married to tradition.
It's a misconception commonly held by non-mathematicians that the symbols are somehow the key to mathematics. I often see complaints, particularly on HN, of it being "impossible to read" research mathematics due to "all the dense symbols".
This isn't how it works. You learn the mathematics. That's hard. As you go along, you realize that some things that require a lot of words can be condensed. So you make up symbols, or, more likely, the source that you're using teaches you some commonly-agreed-upon symbols. Now, once you've learned the math at hand, the symbol isn't the issue anymore.
(Sure, it's a bit of a pain when people disagree about symbols for concepts that everyone agrees should be abbreviated, but in the big picture it's minor)
In contrast, the language of mathematical notation is used for expressing concepts that are utterly unfamiliar and unintuitive. As a language, mathematical notation is nowhere near the complexity of a full human language, or even a programming language. It's much simpler than that. But the concepts behind it don't come naturally and have to be studied carefully.
Understanding what an algebraic group "really is" (with variations and extensions e.g. Lie groups) is more than one lifetime's work, but if you know what "group" means in English, well, you won't be disappointed. "Ring", even "field" kind of work this way.
If I ever really develop an intuition for what a magma is, and I doubt it, this will not resemble the molten core of the earth. Or will it?
On the other hand, you cannot use non-standard symbols to represent a sound in English. For example, nobody reading an English text will pronounce the letter "k" as "d" whereas mathematicians might do something like that, but they'll let you know in the opening pages of their book.
And stuff that used to be simple algebra is now explained as something like 'Abelian group linear transformations'.
I haven't heard of "smash products on pointed spaces" for example, and idk why I would think them to be associative. Fun language though.
> And stuff that used to be simple algebra is now explained as something like 'Abelian group linear transformations'.
"Simple algebra" means different things in different professions? For example, Dummit&Foote's Abstract Algebra[0] would be considered "elementary algebra" by most mathematicians. For another example, Principles of Mathematical Analysis by Walter Rudin[1] is "elementary analysis".
[0] https://www.amazon.com/Abstract-Algebra-3rd-David-Dummit/dp/...
[1] https://www.amazon.com/Principles-Mathematical-Analysis-Inte...
I've done mathematics in secondary school (coordinate systems, Pythagorean wotsit), but I can still visualize those and put them into practical use. Later on I had statistics and linear algebra - that last one I had to redo and really work on, it was only after I did a minor in game design that I could finally map that math to a practical application.
But I just don't have the background - or interest! - in anything else related to math. And I don't miss it either, else I would force myself to learn about it.
There's a couple of professions/qualities I have a lot of respect for, mathematicians is one of them. I appreciate them for three reasons: their ability to deal with the sheer complexity correctly and calmly, the fact it is unbiased, like science used to be (or rather: a couple of sciences aren't). The third reason is the one outlined above, generally: its a quality I've been unable to possess.
> “When you see a for, while, or do, all you know is that some kind of loop is coming up. To acquire even the faintest idea of what that loop does, you have to examine it. Not so with algorithms. Once you see a call to an algorithm, the name alone sketches the outline of what it does.”[0]
It's why in my last C++ job, I spent a lot of time convincing colleagues to use more of the functions in the algorithms library - so that it's easier to see what they're trying to do, and less likely to insert a bug.
Consider languages that have the ~sum~ function. Would you recommend they instead write a for loop? If not, just replace ~sum~ with the Sigma symbol and you have the mathematical notation.
[0] http://www.drdobbs.com/stl-algorithms-vs-hand-written-loops/...
M/L means that M is a field-extension over L. A concrete example would be C/R (the complex numbers over the reals).
Algebraic number theory, in particular Galois theory, studies field extensions by looking at the group of symmetries: the field automorphisms of the larger field that fix the smaller field. For the concrete example above, the Galois group is a group with two elements: the identity function and the function that maps i to -i and keeps real numbers fixed. It's not a coincidence that the dimension of C as an R-vector space is the same as the size of this group (or that the degree of the polynomial that has i (and -i) as roots has degree 2).
On the note of notation, mathematics repurposes notation all the time, hopefully in a way that helps the person reading to understand by analogy or at least not be mislead by the ananlogy.
You said M/L and the / I think of then is quotient group, but that's apparently not what it means (I wouldn't know without reading it in context).
If X and Y are vector spaces (e.g., a line or a plane through the origin), then X+Y is the sum of all elements of each.
If you think about this example (dim(X)=1 and dim(Y)=2) you can easily recover the first formula intutively. There are two cases for the formula
dim(X+Y) = dim(X) + dim(Y) - dim(X ∩ Y)
Case 1: X is a line inside the plane Y. In that case X+Y=Y and X∩Y=X, and the formula of the dimensions becomes 2=1+2-1Case 2: X intersects Y at the origin. In that case X+Y is a three-dimensional space and X∩Y is 0, thus the formula says 3=1+2-0.
I think I must understand when you say "X + Y" is the sum of elements that you're not using a formal sum {x} + {y} of each element x, and y but you mean sort of like the union of elements in X and Y?
To add to the confusion, in some contexts the sum is the same as ("isomorphic to") the product!
That's exactly what they are!