Top
Best
New

Posted by Hbruz0 7 hours ago

The case against geometric algebra (2024)(alexkritchevsky.com)
108 points | 93 comments
cherryteastain 5 hours ago|
Not a fan of the article. It resorts to ad hominem attacks like

> GA had gotten a bad reputation because of its tendency to attract bad mathematicians and full-on crackpots. Hestenes honestly sounds like one a lot of the time, and I’m not really sure whether he is or isn’t. It makes sense, really.

> GA ended up appealing to a lot of fringes: people who only had undergraduate degrees, people who had dropped out of PhDs, people with PhDs from unrigorous programs, people who had been good at math but were perhaps going a bit senile, random passerbies from engineering or computer programming, run-of-the-mill circle-squarers, people who had a bone to pick with establishment mathematics and felt like all dissenting views were being unfairly suppressed

> It didn’t help that a lot of the texts by the actually-competent GA people, like the Cambridge group, tended to say things that sounded and still sound kind of crackpotty as well.

After reading the article, the main "case against geometric algebra" I could find in there was that the author does not like the people using/doing research in geometric algebra, such as the ostensibly failed academics from a Cambridge research group [1] which the article links to.

I was expecting in the "An Actual Case Against GA" section that the author would demonstrate something like "Geometric Product actually does not work if you apply it to xyz domain". Rather, the section just ended up being mostly about the type of bikeshedding you see about naming of variables in programming.

There is I guess merit to the core "there is no good general interpretation or usage for the geometric product or mixed-grade multivectors" thesis of the article but calling other academics crackpots really subtracts from that message.

[1] https://corde.phy.cam.ac.uk/

SonOfLilit 2 hours ago||
I think this is unfair to the article.

Those paragraphs are in the background section, clearly labeled as "this is what other people think", and are followed with a high effort explanation of (presumably) the substance of the theory and why the author considers some of their ideas to be good and others to just increase the confusion.

The technical arguments are less like variable naming discussions and more like arguments against teaching logic circuit design with only nand (without naming the and/or/not operators) or using untyped lamba calculus (with Church numerals, e.g. `3 := λf.λx.f (f (f x))`) to do calculations on numbers.

At the least, the five bolded statements summarizing 5 of the 7 highly technical arguments should count as substantial claims.

Of course, having learned of the subject only from the author, it's hard to know whether it's a good representation of GA or a strawman, but the theory that he teaches as GA indeed seems quite flawed as a tool for thought.

blauditore 3 hours ago|||
Only tangenially relevant, but the exagerrated differentiation of universities, and levels of education (e.g. PhD vs. not) has always been bothering me. I only have experience in a different field (CS), and yes, those things can be indicators, but I've experienced so many outliers in both directions to know that degrees need to be taken with more than just a grain of salt.
pphysch 1 hour ago||
This differentiation is amplified in (pure) mathematics, where two different subfields can have essentially zero overlap*, making peer review and general QA difficult to scale.

* Physical sciences also have a lot of diversity, but at least you can go to their labs and see their equipment, reagents, data, etc cetera.

blauditore 4 minutes ago||
Yes, this is essentially because mathematics is such an old science and goes very deep into branches. That's btw also why getting a certain degree is much harder there than in any other fields I've seen (did a bunch of courses at university in various fields, and the diff between e.g. pure math and psychology is almost comical).
ajkjk 4 hours ago|||
I meant it more as an assessment of the state of affairs, not as an ad hominem (I have no opinion about the people at all). IMO the crackpottery is impossible to ignore, and if you don't talk about it everyone feels like they're going crazy. It's a very widely-noticed thing that is distinct and bizarre compared to other parts of math.
cherryteastain 4 hours ago||
Crackpot really has connotations like "flat earther" and "aliens built the pyramids". It's one thing to say "I believe GA proponents' claims regarding the usefulness of the geometric product are overstated". It's another to say "GA proponents are crackpots".
ajkjk 3 hours ago||
Well, I said "sound kind of crackpotty", not "are crackpots", about the reputable writers. My point (ish) is that I would really like it if the non-crackpot GA writers would try a lot harder not to sound like crackpots! It is a real issue. I've never seen writing in any other field of math which so frequently strays into sounding unhinged. (Referring mostly to Hestenes + the Cambridge group here.)
anuramat 4 hours ago|||
you might want to read this post by a GA researcher: https://terathon.com/blog/poor-foundations-ga.html

especially the part about duals -- made me feel like I was going crazy when I was trying to figure out degenerate metrics: every source deals with it in a slightly different (often sloppy) way; you're sure it all must be possible to resolve and get something beautiful and consistent, but not while you're trying to apply it to a specific problem you need to solve

leoc 4 hours ago|||
It does starts to sound a bit like chortling about what a weird asshole Semmelweis is. ISTR to recall that US students of linguistics were slow to adopt the International Phonetic Alphabet because it North America it had become associated with elocutionists, and no proper academic linguist wanted to look like an elocutionist grubby.
thomasahle 4 hours ago|||
> After reading the article, the main "case against geometric algebra" I could find in there was that the author does not like the people using/doing research in geometric algebra

Mathematics is a social activity. The research cultures of different branches matter.

blurbleblurble 4 hours ago||
Which is why articles like this are obnoxious
groundzeros2015 4 hours ago|||
> I could find in there was that the author does not like the people using/doing research in geometric algebra

The start of the article makes a specific technical claims:

> Hestenes’ Geometric Product is not a very good operation and we should not be rewriting all of geometry in terms of it

Later he explains why:

> there is no good general interpretation or usage for the geometric product or mixed-grade multivectors

zarzavat 4 hours ago||
How is the geometric product any less motivated than any other notation? Ultimately the value of a notation is how easy it makes it to work and think. I'm not sure if GA achieves that or not, but what's the harm in trying a new approach?

AFAIK nobody is proposing to replace all of geometry with GA, only 3+1 spacetime.

SonOfLilit 3 hours ago|||
Author doesn't argue against the idea of choosing a new notation, he makes very detailed arguments about why this specific new notation is clumsy to work with.
zarzavat 1 hour ago||
Yes but my point is that their argument is undermined by the extreme clumsiness of standard mathematical physics notation. I don't believe GA is the best possible notation for physics but it could be a stepping stone. We need more people who explore such things rather than more people who call each other crackpots.
groundzeros2015 3 hours ago|||
I’m just refuting the claim that the article only focuses on ad hominem arguments.
ColinHayhurst 1 minute ago|||
[dead]
ColinHayhurst 7 minutes ago||
[flagged]
jsLavaGoat 6 hours ago||
From a mathematician's point of view, yes, you should write the Maxwell field equations, at least to see it once, that way because you're showing a very low-level symmetry that even the differential forms approach doesn't get all the way to. Differential forms is a standard approach for general relativity, e.g. MTW.

I guess the people pushing this are a little pushy, but this reminds me of the whole pie fight over the Rust community. OK, so they're pushy. Nothing to do with the merits or demerits of the language (or of C for that matter).

If you're a baby duck about linear algebra and geometry, there's no need to care about different formalisms. Do whatever works. But it's interesting to see how all of this stuff comes together at different levels, whether it's the geometric product, differential forms, or just linear algebra.

eigenspace 5 hours ago||
> From a mathematician's point of view, yes, you should write the Maxwell field equations, at least to see it once, that way because you're showing a very low-level symmetry that even the differential forms approach doesn't get all the way to. Differential forms is a standard approach for general relativity, e.g. MTW.

While it's neat to write them all as one equation, I disagree that it's an enlightening perspective to learn. While it seems like writing Maxwell's equations in one equation instead of two is a step forward with even more symmetry, what is actually going on is that you are obscuring the most important part of Maxwell's equations: the gauge structure. Without this, it actually becomes much more hidden just how geometric electromagnetism is.

When you write Maxwell's equations as the pair `dF = 0`, `d*F = J`, the first of those two equations is exactly what tells you that this is a gauge theory, and thus may write `F = dA` where `A` is a vector potential. This vector potential then becomes the connection which defines a covariant derivative in a fibre bundle, and one then sees that charged particles follow geodesics now in spacetime, but in an enclosing fibre bundle. This is foundationally important to modern physics, and IMO obscured by writing Maxwell's equations as `∇F = J`

____

n.b. I'm not a particularly big fan of differential forms either, I think it leaves a lot to be desired, and it's super awkward to constantly have to pull out Hodge Duals every time you want to do something that involves the metric, but I'm also unconvinced that geometric algebra is the answer here.

jsLavaGoat 5 hours ago|||
What interests a mathematician isn't 100% the same as what interests the physicist. All I'm saying is there is some math there that's interesting and people should see it once for the math.
lrasinen 4 hours ago|||
And then there are us engineers. I don't care much either way whether Maxwell's equations are ∇F = J or some other form, as long as it makes the problem easier to solve.

If I were in the GA Marketing Committee I'd publish a paper with suitably hand-picked worked examples where the vector approach is long and tedious, and GA version is short and sweet.

simpaticoder 2 hours ago|||
I like this idea but I get the sinking feeling GA proponents don't really solve problems with GA. Like how Haskell advocates don't write programs and modular synth enthusiasts don't write music.
radialstub 2 hours ago|||
Application of the Method of Moments to solve full wave formulation of Maxwell's equations. To derive the EFIE using maxwell's equations is a massive pain. With geometric algebra, all you need is ∇F = J and the MoM becomes a mechanical process.
eigenspace 5 hours ago|||
I guess I'd say my point though is that the gauge structure is the mathematically interesting part of Maxwell's equations. (i.e. the fact that `F` is a closed differential form).

Without it, I think it'd be of significantly less mathematical interest because it'd lose almost all of its geometric properties.

jsLavaGoat 5 hours ago||
There isn't just ONE interesting facet of this. There isn't just ONE mathematical formalism of a lot of these things. GA is just one of those approaches and you should see it just once, just like you should see the group structure and all of that as well. For most applications, the standard vector calculus approach is fine. But the math underlying all of this is full of richness and no one approach is the skeleton key.

Same with programming languages. Some people are like RUST RUST RUST and some are like C C C! I'm like, you guys only use one language?

chombier 1 hour ago||||
> pull out Hodge Duals every time you want to do something that involves the metric, but I'm also unconvinced that geometric algebra is the answer here.

I don't know, I recently tried to work out how the metric on vectors/1-forms induces a metric on higher-degree forms, and if the geometric product magically gives this for free I'd say it's a win (same for the Hodge star).

eigenspace 54 minutes ago||
Both differential forms and geometric algebra are awkward for that sort of thing. I'd just stick with abstract index notation most of the time.
immmmmm 3 hours ago|||
agreed, when you start needing the the hodge star, diff form loose quite a lot of their interest.

i'd add it's quite nice in string theories for RR fields and coupling to D-branes, where writing 10 anti-symmetrized indices quickly gets annoying.. and topological field theories..

cygx 4 hours ago|||
Note that by introducing the co-differential δ, you can write the Maxwell equations as a single expression (δ + d)F = J in the differential forms approach.

However, from the perspective of Yang-Mills theory, that's rather questionable as you're stitching together the Bianchi identity and the Yang-Mills equation for no particular reason.

NooneAtAll3 2 hours ago|||
what is MTW?
bmacho 1 hour ago||
https://en.wikipedia.org/wiki/Gravitation_(book)
Certhas 5 hours ago||
The space time approach with E as t wedge x and B as x wedge y is purely linear algebra, not differential forms.

As opposed to the weird GA form it actually makes the physically most meaningful symmetry (Lorentz transformations) explicit. That's why it's actually used in Physics.

Anti symmetric space time tensors are the absolute standard. Further formulations that reveal other aspects, dualities, symmetries are much more niche and specialized subjects and not how the subject should be taught when first encountering it.

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

Loquebantur 3 hours ago|||
One should teach the next generation the best way possible, and not turn them into conformists.

"Standards" are things to be overcome when they've outlived their prime.

Disparaging new ideas as "niche" and "specialised" when their explicit aspiration is to be better foundations is motivated reasoning.

jsLavaGoat 5 hours ago|||
OK, well, MTW is a pretty standard GR textbook and it is often cited as a useful text on differential forms for math.
jampekka 2 hours ago||
I tried to solve some engineering problems with PGA few years ago. Seemed to work OK up to a point, and at least for me was easier to approach than say Lie algebra or differential geometry.

TFA denigrates papers and websites that are "non-theoretical" or "trivial". As a user of the formalisms, these kinds of materials are exactly what I need. I don't care about proofs or theoretically problematic corner cases that "real mathematics" seems to be almost exclusively interested in.

I did hit a wall quite soon with GA, and got a feel that it may indeed be overhyped, but at least the scene seems to be interested about applied use.

There seems to be similar debate about nonstandard calculus. For my modest use it has provided some tools that can give me results that I don't know how to get with epsilon-delta etc. I don't really care if I don't "really understand" it because the underlying proofs need some heavy machinery. I don't understand those for standard calculus either, and in applied use you either manipulate infinitesimals without any proper algebra, or just hope what you need is in some table.

I can't comment on deeper theoretical or philosophical questions about these, and I don't really care about them. But to me maths communication often seems analogous to making people learn turing machines and lambda calculus before they are allowed to program in Javascript.

I don't think the author necessarily disagrees with me much, but this is maybe a kinda mini rant from a perspective of someone who is just an "end user" of mathematics.

NooneAtAll3 2 hours ago||
> I did hit a wall quite soon with GA

can you give an example of what's impossible/hard to do?

jampekka 2 hours ago||
I don't recall the details anymore, and the work never amounted to anything, but generally it was about finding expressions for some properties of the visual flow field under curvilinear motion.

I can't really say if the problem was with me or GA. Probably more like GA didn't end up providing tools for my level of math skills to solve the problem. But neither did the the traditional branches.

srean 2 hours ago||
> I don't care about proofs or theoretically problematic corner cases that "real mathematics" seems to be almost exclusively interested in.

That is a rather strange take for a software engineer.

When implementing something I do need to know what the corner cases are, whether the runtime can enter such a state. I need to think how to put in checks so that they cannot be reached, or alternatively, how to recover gracefully. That's my job after all, why would anyone pay me if I didn't.

Perhaps a topical example is a gimbal lock. I need to be aware that it can happen and I need to know how to prevent it.

jampekka 1 hour ago||
I didn't mean corner cases like that. I mean stuff that has no practical consequences, at least for most practical use.

E.g. whether or not Navier-Stokes can form singularities doesn't really change how you analyze fluid dynamics in engineering. This doesn't mean it is not a mathematically important question worth extensive study, but it's not relevant for practitioners.

srean 29 minutes ago||
Got you.
jmount 54 minutes ago||
My feeling on geometric algebra is that you should look too much into it until you exhaust the exterior algebra. That is (in my opinion): it isn't a good use of it to replace the cross product or specialized representations of 3-d geometric rotations. It is good for when you get a bit sick of the bookkeeping of the exterior algebra. From a computer scientist point of view it is sort of adding a bit of type information beyond just vector dimension and depth of product.
Certhas 5 hours ago||
100 percent agree with the article. Wedge products are fundamental, GA is weird ideology.

I had the bad fortune of reviewing some GA research articles once upon a time. It was almost embarrassing. Everything of substance had been published in a conceptually cleaner bivector language previously. The only "contribution" was writing everything in terms of weirder, more convoluted concepts that contributed neither technical clarity nor conceptual parsimony.,

dang 32 minutes ago||
Discussed at the time:

The Case Against Geometric Algebra - https://news.ycombinator.com/item?id=39576214 - March 2024 (15 comments)

srean 4 hours ago||
META: Pulling this out of its original context because I think more readers would find the code amusing. I am breaking the rules, but hopefully for a good/pardonable reason.

> Most of the time we think of complex numbers as vectors in R2 or as rotation+scaling operators, but rarely do we actually we want them in both roles at the same time.

I can give one counterexample.

I was asked to comment on a piece of code that did 2D geometry in Python. There was one piece that was a tangle of trigonometry to find the angular bisector of an angle subtended at the origin by two points.

Using the fact that points can be represented by complex numbers and that rotation is just multiplication one can make that function into a one liner.

      √(z1 * z2)
The geometric mean of the two points as represented by complex numbers gives you the bisector. Python has native support for complex numbers so all the computation is handled by the runtime.
Chinjut 4 hours ago|
This is like how one often wants to distinguish the points of an affine space from the vectors representing displacements in that space (there is no distinguished origin for the physical world, but there is a distinguished concept of zero displacement). One can add a vector to a point to get a point, or a vector to a vector to get a vector, but cannot add a point to a point to get another point. Yet, it is meaningful to treat a linear combination of points in an affine space as yielding another point in the same space when the weights of the linear combination sum to 1.

The exact same thing is happening here, only multiplicatively, where z1^(1/2) * z2^(1/2) is a combination with two weights of 1/2 (thus, summing to 1). It is geometrically meaningful to treat 2d vectors (displacements in a plane) as complex numbers, raise them to exponents summing to 1, and then multiply these together to get another vector in the same plane. But it is not generally geometrically meaningful to just multiply one vector by another vector to get a third vector in the same space (because this would require distinguishing some particular direction and magnitude as "1").

srean 3 hours ago||
I agree with you on three dimensional vector products. It's too special, too cute and doesn't generalize to all dimensions, and as you said, you have to keep track of the two types of vectors.

On complex multiplications though, I disagree. It's a great way to do Euclidean manipulations on the 2d plane. Rotations, translations and reflections (via conjugates) are simple. You rarely need calls to trigonometric functions.

If you have runtime support, it's sorta criminal not to use complex multiplication when applicable.

BTW there is another, equivalent, way of deriving the solution which to me seems more intuitive (and not limited to sum of powers to 1):

The angular travel from z1 to z2 is

   z2 / z1. 
I want to travel half of that, so

   √(z2/z1). 
This half travel I apply to z1 like so

    √(z2/z1) * z1
done.

If the need was to continue to travel angularly (rotate) beyond z2, say double the subtended angle, that's easy too. No need for the constraint the sum of powers be 1.

srean 32 minutes ago|||
@chinjut yes you are exactly right about sum to 1 bit.

For a moment I had got distracted by the exponential between Lie group and algebra.

ajkjk 3 hours ago|||
What magnitude are you expecting your angle bisector to have afterwards?
srean 3 hours ago||
There was only the need for the point on the bisector (on the unit circle). There was no need for the magnitude of the angle.

The only thing that needed care was which sign of the sqrt bisects the internal angle as opposed to the external angle.

In general I prefer not to deal with angles when dealing with 2D rotation. Get inputs in angles if need be and from then onwards use the (cos,sin) tuple or, equivalently, use complex numbers. One can get rid of calls to trascendentals as long as you are happy to call sqrt.

In other words angle is a tuple.

ajkjk 3 hours ago||
if they're unit vectors then yes that makes a lot of sense.

The same calculation works in R^n, incidentally, using the geometric product. This is pretty much the ideal usecase for it, for constructing operators between vectors.

srean 3 hours ago||
Maybe that's my missing link for

https://news.ycombinator.com/item?id=48619191

You probably know this, but this is one way to generalize beyond 2D

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

jordigh 3 hours ago||
> That part is fine. But why, then, does multiplying zzˉ give a “magnitude” that works in a reasonable way?

Because the product of all Galois conjugates is a norm and the determinant of the linear operator defined by general field multiplication of a primitive element when viewing the field extension as a vector space of the extension field over the base field.

Although the geometric interpretation of norms in Galois theory really only works for the complex numbers because only the complex numbers are a field. Quaternions are not a field.

jdw64 6 hours ago||
With my limited knowledge, I read through it stumbling along, and from what I gather, this GA is not Clifford Algebra, and the argument is that the GA movement itself is misguided, and that combining operators and geometric objects without distinguishing between them is problematic.

From a programmer's perspective, it seems like they're saying it's a flawed abstraction, while the GA stance is different. I'd like to hear the other side of the argument too. I'm sure HN will get a long GA comment thread, so from their standpoint, what would it feel like? I agree that merging objects and operators is problematic, but I'm curious what the GA camp would say

jdw64 5 hours ago||
Reading this article, I think there are quite a few interesting points to consider further. C started as a DSL for the Unix kernel. JavaScript is also a DSL, and successful languages are often described as DSLs in certain respects. Then, as they grow and gain broader adoption, they evolve into general purpose languages.

But if you think about it the other way around, since all programs are ultimately about data transformation, you could argue that UIs should essentially be drawn in SQL, but that would sound strange. That's because the tools we use have moved away from that mental model. (Though React's FRP premise does lean in that direction.)

And when I think about why languages split apart, it seems to me that it's because the word 'programming' covers so many different things at once. Languages end up diverging because they serve different purposes. In fact, as a programmer, I see programming languages as a collection of tools that essentially decide what to give up. C gives you safety and low-level hardware access through its ABI. Python gives you expressiveness. They exist because their target goals are fundamentally different.

In that sense, though I'm not an expert in this field, from my limited perspective this debate feels like it's just the noise that arises when Algebra tries to encompass too much and inevitably splits apart. I imagine these kinds of cases will only increase in the future. As things become more specialized, there will be more situations where existing frameworks don't fit, and new systems will be needed. Is there a term for this phenomenon? At that point, we might say we need to change the old system to fit the new one.

Personally, I wonder if there isn't a general purpose language at the bottom that models the entire world, with other languages layered on top of it.

eigenspace 5 hours ago|||
> this GA is not Clifford Algebra

What makes you say that?

jdw64 5 hours ago||
[dead]
QuesnayJr 5 hours ago|||
GA is Clifford algebra plus a bunch of new terminology plus advocacy that it should replace linear algebra.
TimorousBestie 5 hours ago|||
Mathematician here.

> As I see it, GA is not so much a subject as an ideological position, consisting of basically two ideological claims about the world:

> Claim 1: That the concepts of EA (so, wedge products, multivectors, duality, contraction) are incredibly powerful and ought to be used everywhere, starting at a much lower level of math pedagogy—basically rewriting classical linear algebra and vector calculus.

I support this claim, so I suppose I’m a proponent of geometric algebra.

I think it’s more or less been carried out for vector calculus by Spivak’s “classical” Calculus on Manifolds, which is somewhat widely taught.

> Claim 2: That the Geometric Product (henceforth: GP) should be added to that list as the most fundamental operation, where by “fundamental” I mean that other operations should be constructed in terms of it, and theorems should be stated using it.

Like the author, I also believe this claim is nonsense.

“Rewriting classical linear algebra” is a honored pastime but it’s very difficult to make any headway doing it—the classical texts are classical for a reason, we more or less know how to teach them as an “80% solution” and it’s unclear that the investment in a new pedagogy would get us to an “81% solution.”

Especially with today’s undergrads. If you’re not churning arithmetic, they’re not into it.

srean 4 hours ago|||
I get why it is interesting and useful to write complex numbers in '+' notation rather than the conventional way to denote a 2d vector, like a tuple of components.

The benefit is that multiplication and distributive property is a beauty in the '+' notation, no special rules need to be memorized for multiplying 2d vectors, i*i = -1 takes care of it.

On the other hand I never understood what the benefit, of writing the tuple of wedge and dot products in '+'notation, is.

Perhaps I am not being fair, that it is the same idea and I have not used it as much as I have used complex numbers.

eigenspace 5 hours ago||||
More or less agreed. I think though that one reason the geometric product is so tempting is that if you take matrix representations of all of these objects, then the geometric product is literally just straightforward matrix multiplication.

Because of that, it just becomes so tempting to try and phrase everything you can in terms of this geometric product. I'm very sympathetic to the temptation, and I even think the geometric product has some great uses (it shows up a lot in some physics I do), and using it makes writing rotations a treat, but I think it's still vastly overemphasized by GA people.

I still don't really know what my favoured notation for differential geometry is, I find myself switching around so much.

TimorousBestie 5 hours ago||
> I still don't really know what my favoured notation for differential geometry is, I find myself switching around so much.

Yep, me too. Maybe someday the HoTT folks will get around to formalizing it and standardizing the notation. /j

jdw64 5 hours ago|||
Interesting. To summarize your argument: the current state of Algebra is like an 80 point solution, but to push it a few points higher requires an enormous cognitive load, and the question is whether that's really worth it, even from an educational perspective. As mentioned in another comment, this is exactly the kind of issue that comes up in Rust discussions. It seems the argument from the GA camp is that top tier mathematicians are already using these tools just fine without needing to talk about it in that way, so there's no reason for it to become general purpose. Thank you for explaining it in a way that's easy to understand. But on the other hand, maybe anomalies like these could actually become generally useful concepts. Thanks for the comment. upvoted!
jiggawatts 5 hours ago||
As someone who studies physics and then went into a long IT career (but kept reading papers casually), my view is that this whole GA saga is very reminiscent of how after decades of experience, I still can't convince juniors of the benefits of what I now consider obvious best practices. No amount of demonstrations of the blindingly obvious improvement of some better technique seems to work on someone who "finally got the thing to work".[1]

Certain kinds of perfect correctness are like pure and shining crystallised bits of refined knowledge created by the greatest wizards. "Parse, don't validate" or "Make invalid states unrepresentable." ought to be familiar to the better programmers here, the ones with decades of experience built on iterative, collaborative foundations with real consequences for error.

Theoretical physics doesn't have those same consequences, because there is no real punishment for their equivalent of "spaghetti code". Perversely, there's cachet to be gained for gaining understanding of its unnecessarily esoteric knowledge, much like how biologists and lawyers spend half a decade or more studying... Latin.[2]

Introducing Geometric Algebra to physics is like that wizard coder who sweeps away reams of spaghetti code and replaces it all with a call to a single standard library function. It's that "cheff's kiss" of cleanup. Meanwhile the juniors are screaming about how the senior "deleted all their hard work!"

Meanwhile, I never understood where Pauli and Dirac matrices came from! It's like they were pulled from fat air.

You've seen this in code, I bet. Some junior worked really hard on solving a problem and wrote a solid screen-filling wall of "a && b || c || !d && e && (f || g)..." continuing up to "ba, bc, bd", etc.. as they ran out single letters until they're well into the alphabet in double-character symbols.[3]

That's what those matrices are. Someone's hacky attempt at "making things work".

The problem is that we gave those people Nobel prizes and told everyone they're geniuses.

They are, but they were like that brilliant junior. Brilliant.. but junior.

Geometric Algebra sweeps all of that into one beautiful, consistent, crystal clear abstraction that is widely applicable. The magic matrix constants vanish. Bugs in 100-year-old textbook formulas suddenly come to light. Dozens of formulas, one set for each of the 1D, 2D, 3D, and 4D cases collapse into a single formula valid for any number of dimensions.

It's like watching someone struggle with "catching every possible instance of JavaScript injection".

No son, no. Just no. Stop enumerating badness. Stop. Just stop. Escape everything at the boundary instead, enforced by the type system. You'll thank me later.

I know it might be obvious to you, and you always use properly parameterised SQL queries or whatever. This is not the norm everywhere! I still get arguments, long drawn out arguments from people convinced that this is unnecessary and just one more search & replace is all they need to be safe from the bad hackers.

Physicists (and mathematicians) are still making that argument against GA.

"It's isomorphic!"

"That isn't the point!"

[1] You can't convince someone to climb Everest if they struggled to hike up to the top of one of its foothills.

[2] Let me be crystal clear: They're spending their precious time on this Earth learning a dead language instead of learning about the law or bugs. No amount of arguments will sway me. The bugs don't care what you call them. Criminals are guilty or innocent whether or not you speak funny in court. You've just made a simple thing harder for no good reason, that is all. Please stop.

[3] Yes, I've seen this. Twice, from two different people whom have never met. Aliens are amongst us.

BigTTYGothGF 1 hour ago|||
> biologists and lawyers spend half a decade or more studying... Latin.[2]

> [2] Let me be crystal clear: They're spending their precious time on this Earth learning a dead language instead of learning about the law or bugs. No amount of arguments will sway me. The bugs don't care what you call them. Criminals are guilty or innocent whether or not you speak funny in court. You've just made a simple thing harder for no good reason, that is all. Please stop.

The absurdity of this claim is enough to call into question everything else in your post.

jdw64 5 hours ago||||
We run into these kinds of issues quite often. I also majored in physics, but unlike you, I dropped out of my master's program (I just didn't have the talent. Given my generally limited intelligence, it was probably an inevitable outcome). From what I've read, the article seems to be arguing against the claim that because so many anomalies have accumulated in the field of GA, it's now ready to become a general purpose tool. Your argument appears to be that GA has been nicely organized as a standard library, essentially defining invalid states. So it's a high level abstraction perspective, but on the other hand, I think it could also be framed as a case against excessive abstraction. Interesting
skybrian 3 hours ago||||
As a programmer I’m wondering how you get a decent graphics library out of it. If it’s conceptually better, shouldn’t it make writing code to do calculations easier?
itishappy 3 hours ago|||
It can write some fascinating stuff, but you have to learn to think in it:

https://enkimute.github.io/ganja.js/examples/coffeeshop.html

A major problem is that its a very general theory. Most calculations turn into very large but very sparse matrix multiplications. To make them work fast requires code generation and an optimization pass.

These types of optimization problems show up all over graphics programming though:

* Representing rotations with matrices takes more space than quaternions.

* Sacrificing a dimension to projective geometry actually makes representing things like projections (duh) but also translations more efficient.

srean 3 hours ago|||
> shouldn’t it make writing code to do calculations easier?

You need an optimizing compiler that would take the high level description (in GA) and compile it to add subtract multiply divide of reals (the assembly language). I don't think we have that yet.

Till we have such a compiler it will be tempting to drop down to assembly. Assembly being a metaphor.

SonOfLilit 3 hours ago||||
(This is a nitpick and does not argue against your main claim that GA is a better abstraction to represent and solve physics problems with, that I have no way to evaluate because I don't speak GA, though now I'm curious and will maybe spend an afternoon trying to figure out)

I mean, come on, lawyers and biologists don't really spend half a decade studying Latin. You can tell because smart people that spend a year or two studying Latin are conversationally fluent in it, and lawyers aren't.

They spend a month or two memorizing some latin words that could have been in English, and then (for biologists, lawyers just stop there) years memorizing lots of names of things that they'd have to memorize no matter what language they were in, and it's not really any slower in Latin than it would be in English once you spent that O(1) effort to get used to it.

Like us (systems) programmers don't spend decades studying the C language, we spend a year or two getting comfortable in C and then the rest of our careers learning all sorts of interesting ideas like generational GC that come phrased in pseudo-C but might as well have been phrased in English pseudocode with a similar cognitive load to grokking them.

That wonderful popcnt() algorithm that uses 0x33333333 and 0x55555555 constants would be just as hard to decipher if it was written in plain English.

immmmmm 3 hours ago|
from a theoretical physicist point of view, i find GA don't add much to the standard tooling ppl use, i.e. Lie algebras, Clifford and (sometimes) differential forms. while it's always nice to have a formalism that "hides indices", in most cases (for (super-)gravitation at least) just writing tensor/clifford/lie indices is just much faster and less error prone.

i used to use differential form for gauge theories, einstein-cartan gravitation and ramond-ramond fields.

also, in a paper, we used O(D,D) clifford algebras/spinors to represent differential forms, which worked quite well in our very specific case (appendix A)

https://arxiv.org/pdf/1304.1472

ps: i had colleagues that worked on GA for ML in robotics but wasn't really impressed by what it accomplished

More comments...