The Difference between a Calculus and an Algebra

I was reading a book on Database foundations, recently. There were three foundational notions presented: a Relational Algebra, a Tuple Calculus, and a Domain Calculus. Each of these could be viewed as a formal language for expressing items in the database and for doing calculations on them like queries, joins, intersections, and what not. A sketch was given of a proof that all three are “equal” in power. I'd like to do some riffs on that theme in the near future, but today's topic, really, is “why call one of them an algebra and the others calculi?”

I don't know whether there is a consensus “diagnostic” that can unambiguously tell whether a thing is a calculus or an algebra. It could just be up to “inventor's discretion:“ if you invent something, you can call it anything you like. But I do know some examples of each thing. Things like lambda calculus, pi calculus, predicate calculus, and even college calculus are called “calculi.” Things like groups, rings, fields, vector spaces, and Clifford algebras are called “algebras.” Both of them consist of axioms and rules for transforming expressions. Both of them insist on “closure,” so that if you do some calculations (transformations) with items “in” the calculus or algebra, you end up with items “in” the calculus or algebra.

I can sense, possibly, a little difference in focus. Seems like the focus of a calculus is on the expressions. You have rules for making them longer (composition, for instance) and rules for making them shorter (reduction, for instance). The things that expressions represent (like procedures) are of secondary interest. In an algebra, the focus might be on “theorems” rather than on “expressions.” Now, really, there is little difference between a “theorem” and an “expression,” at least formally. A theorem is something you get when you apply the transformation rules to an expression correctly. But in an algebra, you're really looking for theorems, often using intuition, which is more like magic or spiritual inspiration than it is like calculation.

Well, I guess all I've done here is either confuse myself more or ramble on something that doesn't amount to a hill of beans. I do think that if there IS anything interesting to say about the difference, it will be found in Category Theory, an branch of metamathematics that reasons about things like sets and algebras and calculi from a higher perch in heaven. I have a nice book by Benjamin Pierce on Category Theory. I'll be reading some of it if time allows while I'm at the race track this weekend testing out my old restored Corvette race car.

Cheers till Tuesday.

Published Friday, July 30, 2004 9:49 AM by brianbec

Comments

# re: The Difference between a Calculus and an Algebra@ Sunday, August 22, 2004 7:11 PM

Might it be that an algebra *is* about constructing expressions? By providing a set of functions, constants, and variables it defines all the legal expressions which you can construct (in that algebra). In fact the equations of the algebra are somewhat incidental - their only effect is to force a partition into equivalence classes of the terms of the algebra, ie the quotient algebra. A calculus on the other hand is about what properties hold of expressions in that language, ie how can I reason about this system. Sound reasonable?

Srinivas Nedunuri

# re: The Difference between a Calculus and an Algebra@ Wednesday, August 25, 2004 9:12 PM

Brian,

i think that an algebra does not have formal variables in its specification, i.e. in the 'object language', while a calculus does.

Thus, lambda, pi and others are calculi because there are variables as a part of the theory. Clifford algebras do not have variables as part of the theory.

--greg

L.G. Meredith

# re: The Difference between a Calculus and an Algebra@ Thursday, August 26, 2004 1:42 AM

Thanks Srinivas and Greg. I thnk Greg nailed this one, at least by Occam. My sets of examples (algebras = {groups, rings, fields, vector-spaces, Clifford thingies}, calculi = {lambda, pi, predicates, forget-about-college-calculus :)} satisfy Greg's criteria.

Another bit of evidence in favor of Greg, here, is that each of the calculi have to do quite a bit of sweaty-palmed hand-wringing about "free variables" and "bound variables," and that sort of concern is completely absent from algebras. Lordy, I wish I could remember where I saw this, but I stumbled across something really crisp about free and bound variables... Grrrr. Most things I read give the issue a sidebar, a footnote, or other short shrift, but you really have to have a solid, crystal-clear definition of free and bound, don't you?

brianbec

# re: The Difference between a Calculus and an Algebra@ Tuesday, October 13, 2009 8:01 AM

My friend doesn't have an email address. I used to send photos to their cell phone from mine as an MMS message. I just got the iphone 3G and can not figure out how to send photos to a phone#. I only see options for sending either an email or a text message (this option is text only & doesn't have an option for adding images). Is my days of sending photos from my phone to another over?

________________

<a href="www.youtube.com/watch iphone 3gs</a>

poori

# re: The Difference between a Calculus and an Algebra@ Tuesday, October 20, 2009 10:22 AM

What's the difference between an iphone and an ipod touch? Which one do you prefer and why?

________________

<a href="http://unlockiphone3g.webs.com">how to unlock iphone 3g</a>

poori

# re: The Difference between a Calculus and an Algebra@ Thursday, November 12, 2009 4:10 AM

i was thinking about gettin the <a href="unlockiphone22.com/.../a>  for christmas, but i heard some bad things about it :S can any one tell me a few things about it? x

poori

# re: The Difference between a Calculus and an Algebra@ Tuesday, March 16, 2010 7:48 PM

I know this is a really old post but...

The SKI calculus does not have variables.  I have no good answer though, I found this post while trying to find an answer myself.

Brandon

# re: The Difference between a Calculus and an Algebra@ Thursday, April 15, 2010 5:01 AM

Ok so I have a bunch if key loggers and Trojans as of 1 hour ago and I need to know weather I should system restore or something help  

_____________

<a href="www.youtube.com/watch xbox 360 games</a>

Gemsa

Leave a Comment

(required) 
(required) 
(optional)
(required)