Get the latest tech news

SK Logic in Egglog


egglog: part 1, encoding and reduction Update: I’ve now published part 2 I’ve been really excited to try out egglog, since it seems like a great complement and application for the theory exploration systems I spent a few years playing with. Egglog can be thought of as a powerful database, combining Datalog (a restricted form of Prolog, which is essentially first-order logic) and equality-saturation.

Egglog can be thought of as a powerful database, combining Datalog (a restricted form of Prolog, which is essentially first-order logic) and equality-saturation. SK logic is a universal programming language, although it can be a bit unwieldy to read and write due to the complete absence of any naming mechanism. There are other forms of equivalence we might want to implement, although the α-equivalence and η-equivalence of λ-calculus aren’t directly applicable to SK logic (since it lacks names and abstractions).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of SK Logic

SK Logic

Photo of Egglog

Egglog