The Universe in 4 Lines of Code?
serendigital writes "Stephen Wolfram, founder of Wolfram Research and creator of Mathematica has, after 10 years+ finished his book, "A New Kind of Science." In a "Wired" article entitled: The Man Who Cracked The Code to Everything ...," Steven Levy talks about how and why the book was written and more importantly, what it is about. The best part of the article is in this exchange: 'I've got to ask you,' I say. 'How long do you envision this rule of the universe to be?' ... 'I don't know. In Mathematica, for example, perhaps three, four lines of code.'" This book seems a little... nutty. But it's been submitted a bunch of times. If anyone wants to review it, go right ahead.
I managed to get it a week ago because I work at a bookstore. I'm about halfway through, and so far it's overrated. The demonsrated cellular automata are very cool, but Wolfram constantly confuses similar behavior for causation. After the first 300 pages describing various kinds of CAs, he slips into pure "I suspect" and "Probably" and "Very likely" mode without really explaining why he suspects the things he does. The wildest thing he's stated so far (without any real evidence, just lots of "It is my strong belief") is that space and time are discrete on a very small scale, and are stuctured as a network of nodes. He doesn't (yet) go so far as saying that the universe is actually a simulation running in a computer. Maybe he will later in the book. Most of the rest of it seems to be concerned with the limits of computation.
In his credit, he does make a good argument that much of nature is based on processes analogous to CAs, particularly the growth of plants and pigmentation patterns on animals. But again there's lots of "I believe" and practically no "I've observed."
Looks like he's rediscovered chaos theory - simple input intp simple equations give complex outputs; he thinks he can find the simple input which generates the universe from a chaos producing equation.
As PERL is the swiss army chainsaw of computer programming, Mathematica is the swiss army chainsaw of mathematics. The syntax isn't as forgiving as PERL, but it's not bad. Here's a snippit I use for singular value decomposition:
{u, md, v} = svout;
Print["u is ", u//MatrixForm];
I've done the same thing with LAPACK and CLAPACK (scientific programming libraries) and in 3 lines of FORTRAN, C or C++ you haven't even started to define your data. In Mathematica, you're already done.
Then there's visualization. Running on a PC or via XWindows, Mathematica can do stunning graphics -- including interactive graphics -- with almost no coding. It's not entirely flexible (sort of like using SAS or SPSS' graphics routines), but again you can do astoundingly great things with almost no code.
In short, Mathematica is very close, for mathematics, to what PERL is for programming (or insert your favorite programming language or toolkit - but I think PERL fits best). While in the olden days of CGI everyone would have their own copy of cgi-lib.pl, now PERL has this functionality built in -- we just do stuff like do stuff like "my $query = new CGI;". In Mathematica, the language has evolved similarly so that stuff you needed to write lots of code for previously is now abstracted to a few functions. Like PERL's ability to use modules, you can write your own add-ons for Mathematica. Like PERL's POD, Mathematica can be used for documentation (and *was* used to write the Mathematica Book, and presumably Wolfram's new book).
Just a few words about Mathematica. Give it a try, if you're remotely interested in how this stuff works. You'll probably like it!
is that the observable universe is defined by calculus and differential equations in very small areas: planetery motion, for example, or atomic physics.
Phenomena like life, geology and the like are very badly behaved with respect to our standard mathematical tools and we all know this.
Wolfram is suggesting that cellular automata provide a simple framework for examining the phenomena outside of the "magic circle" of the calculus: i.e. most of life and the universe.
Of course, for a long time we've confused hard science with the application of calculus, which has effected what we consider "science" to be: if it is not an equation, we don't think it's scientific.
Well,
1> go talk to some biologists
2> get used to it: equations got us this far, but after this it may be increasingly about computation.
Consider, for example, the Four Color Theorem - the only existing proof of which requires a lot of computer power to grind through cases. Is it a valid proof? Probably - but not to the standards of mathematicians who grew up in the pre-computer age, to whom an exhaustively checked list of cases does not look like mathematics at all.
We'll see how Wolfram's work fares over time, but my bet is that it will fare Quite Well.
Hexayurt - open source refugee shelter,
This sounds a lot like Ed Fredkin's Digital Mechanics theories. Which isn't surpising, considering that Wolfram and Fredkin used to work together.
surely you need relativistic mechanics to describe the orbits themselves
As I vaguely recall from a physics course long long ago, Newton's equations are not wrong. There is a derivative term that everyone assumes is a constant, but written as a derivative, which is not constant under relativistic effects. Written properly, Maxwell's equations would be still be valid with relativistic effects. Classical mechanics is just a simplification of relativistic mechanics.
People interested in the concept of the universe
as a digital computer should look at
http://www.digitalphilosophy.org.
Fredkin was thinking about this stuff long before Wolfram was born.
read this book:
Shadows of Forgotten Ancestors by Carl Sagan and Ann Druyan...
Love, relationships and most defintely peace is explained by math. Why? Because of DNA, Natural Selection and simply who we are.
Get your Unix fortune now!