SQL, Homomorphisms and Constraint Satisfaction Problems
Database queries are a pretty surprisingly powerful tool that can solve seemingly intractable problems.
A blog about life, programming, math, logic, and physics.
Visit philipzucker.com → RSS feedOn Hacker News Jun 2019 – Nov 2024
Software Engineering 6Math & Algorithms 5Security & Privacy 1Programming Languages 1Databases & Data 1
Database queries are a pretty surprisingly powerful tool that can solve seemingly intractable problems.
There are lots of interesting little subproblems in compilation like instruction selection, register allocation and instruction scheduling. These can be expressed in declarative interlinked way to constraint solvers.
Parts 1 and 2 are found here and here
It gives my brain a pleasant thrum to learn new mathematics which mimics the algebra I learned in middle school. Basically this means that the new system has operations with properties that match those of regular numbers as much as possible. Two pretty important operations are addition and multiplication with the…
A blog about life, programming, math, logic, and physics.