Hacker News new | ask | show | jobs
by semajian 959 days ago
I think Wolfram came up with some new theory of everything based on hypergraphs a couple of years ago, not sure what the current status is though. I would be surprised if it ever becomes a useful theory but hypergraphs are certainly interesting and worth studying.
1 comments

No, Wolfram's theory is based on rewriting directed graphs.

Start with some seed graph. A rewriting rule is a transformation (swap) of a small-ish input graph to small-ish output. If you have rules that consume small simple inputs, and produce slightly larger outputs, then your seed can be small, and in the end, probably arbitrary. You always get a Big Bang.

Test for a (directed) subgraph isomorphism match of the input, then replace the matched subgraph with the output of the rule, which has the same directed boundary (interface) as the input. Graph Rewriting is an old subject that has a big literature developing in the 1990s [also see the Structure Mapping idea for analogy].

So which rewriting rules do we choose to build our universe? Well, that's a difficult decision that only a god could answer, so Wolfram on Olympus trumps them all and says let all rules apply. The number of directed graphs gets very big, very quickly, for any number of nodes.

https://oeis.org/A000273

For n=10, there are 341,260,431,952,972,580,352 graphs. The number of rules is roughly quadratic in that. Perhaps Wolfram expects the probability (rate) of application of a rule to depend inversely on its size and complexity (i.e. computational complexity of isomorphism, not quite the same thing, but related) - almost as if the world really is a simulation, and someone has to pay the AWS bill. So maybe n-2,3,4,5..6 are the practical limit, with a little unexpected tunneling from n>7.

You might notice that such graph rewriting depends on the order in which you make replacements when the input matches overlap, which is quite often, in any slightly dense graph. Wolfram handles this indeterminism by letting all matches happen, and branching the output, into what he calls a multi-way graph. This leads to a mind-boggling explosion in the size of the mind-bogglingly large graph.

Later, he allows paths that converge to the same outcome to recombine. So, if you weren't mind-boggled enough by (A000273)^2 explosion of digraph rules, NP-complete subgraph-isomorphism, followed by combinatorial branching, you now have to add always-and-everywhere subgraph isomorphism to match and collapse common outcomes in the multi-way graph, such that it becomes a DAGgy multiway graph.

That is all assumed, without any explanation, or any worries about NP-completeness, or computational resources. Then he starts his physics project ...

You may have noticed that indeterminism in graph rewriting has a relationship to indeterminism in QM. Branching the multiway graph is a bit like (no really exactly like) the Many Worlds Interpretation of QM.

If you consider rewriting computational steps as clicks of your compute-clock, then time is just distance down the multiway graph. Light cones are just the incoming here-reachable-from relation (past) and reachable-from-here relation (future) regions of your space-time graph. If you slice the graph by local time distance, then you get spacelike separation and physical distance [similar to Causal Graphs and Causal Dynamical Triangulation putative QG theories].

If you look at different converging paths, you get something like the Feynman path-integral formulation of QM. You might think the path integral depends on combining complex numbers, but we haven't mentioned complex numbers yet. In Wolfram's World (TM), the magnitude comes from the number of converging paths, and the phase comes from the different time steps along those paths.

Understanding that fascinating fact was the trigger for me to get Wolfram-curious - it is very interesting that the magnitude and phase of what we think of as complex numbers, can some from the number and length of converging paths in a DAG.

Then energy and momentum (all relativistic 4-vectors?) can be generated by fluxes of various paths through time-like and space-like surfaces cutting the graph. Commuting variables of quantum measurement also come from knowledge within the graph. Then you are off the the races for generating all of physics ... (according to SW) ...