Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I, unfortunately, cannot find an online copy currently.

Knuth's TAOCP's latest published part, Volume 4 Fascicle 6, on Satisfiability contains a number of visualizations that really are amazing and worth just buying a copy of the book for, just to ponder over these images.

The satisfiability problem of whether there exists an assignment of boolean values that makes a given boolean formula evaluate to TRUE is, IMO, truly a fundamental problem in computer science.

Any piece of code with some inputs and outputs can be transformed into a boolean formula (albeit a huge one). This process feels akin to expressing molecules, from simple ones like H2O, to the highly complex proteins that make up much of our Cells, in their constituent atoms and more importantly the atom interactions.

Knuth (EDIT: Actually, Carsten Sinz) takes this concept one step further and produces visualizations of non-trivial boolean formulas that clearly show the regular, both symmetrical and asymmetrical, sometimes fractal-like nature of these formulas.

In my mind, these visualizations are quite powerful and strikingly show the fundamental building blocks of (digital) computation.



> Knuth takes this concept one step further and produces visualizations of non-trivial boolean formulas that clearly show the regular, both symmetrical and asymmetrical, sometimes fractal-like nature of these formulas.

The visualizations were done by Carsten Sinz.

This is his paper describing the technique:

Carsten Sinz. Visualizing SAT Instances and Runs of the DPLL Algorithm. J. Automated Reasoning, 39(2):219-243, 2007.

https://www.carstensinz.de/papers/JAR-2007-Visualization.pdf

https://doi.org/10.1007/s10817-007-9074-1


Aha! I have edited my post. Thanks for the correction! Beautiful work, looks like something I'd like to play around with as well :)


And that's why I love HN! (sorry for a non-contributing post).




These seem to have structural parallels to Wolfram’s classification of cellular automata.


PDF: https://kolegite.com/EE_library/books_and_lectures/%D0%9F%D1...

Physical pages 116-117; PDF pages 126-127.


Also 4B (1st ed) pp. 300-301.

ProTip: Order the 5 vol set directly from Addison-Wesley, it's much cheaper than anywhere else.


I am lucky to be paid to work on SAT. I wouldn't yet say I am an expert, yet, but it is really a pleasure to do so. Trying to improve on algorithms to solve these problems is truly humbling.

Edit: Fixed a typo.


Im jealous! To me, from the sidelines, people working on SAT are like the experimentally-focused particle physicists of computer science.


The spread on page 300 (iirc) is really stunning.


Page 116/117, to be precise ;-)



Huh, that is odd! Which version of the book do you have?



Wow, you weren't kidding about those images.

What I found particularly striking about them was how much they reminded me of both neurons and larger brain structures, as well as some of those newer, ML-assisted FMRI imagery.

Probably just coincidence and wishful thinking, but it instills a sense of daydream-like wonder all the same.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: