Dev tools · September 15, 2025
State Algebra, new algebraic framework for logic, an alternative to BDD
Hey HN, My co-author and I just published a paper on arXiv that formalises a framework we've been using successfully in probabilistic logic for many years. We decided it was time to properly lay out its foundations for classical propositional logic. We cast propositional logic into a formal algebra where logical formulas are represented by sparse matrices. State Algebra isn't an algorithm in itself, but rather a language for manipulating Boolean functions. It provides a new set of tools that lets you express and reformulate existing optimization heuristics (like those from modern SAT…
What it does
In the maker’s words, at launch
Hey HN, My co-author and I just published a paper on arXiv that formalises a framework we've been using successfully in probabilistic logic for many years. We decided it was time to properly lay out its foundations for classical propositional logic. We cast propositional logic into a formal algebra where logical formulas are represented by sparse matrices. State Algebra isn't an algorithm in itself, but rather a language for manipulating Boolean functions. It provides a new set of tools that lets you express and reformulate existing optimization heuristics (like those from modern SAT solvers) and design completely new ones. State Algebra is trading the strict canonicity of ROBDDs for greater representational flexibility. For those interested in abstract-algebraic logic, we build a self-contained formalism from the ground up. The core building block is an object we call a "t-object," which forms the basis of the algebra. It provides a different way to look at the structure of logical problems. The algebra naturally extends to handle real-valued coefficients, which turns it into a tool for probabilistic logic and Weighted Model Counting. The paper is a bit of a deep dive into the maths, but we'd love to hear your thoughts. We'll be in the comments to answer any questions. Critiques are very welcome! Link: https://arxiv.org/abs/2509.10326
Does the same job
all alternatives →- DTDependently typed language for proofs that you can implement in one day2021 · github.com · ▲138
- AIAn Interpreter for Extended Relational Algebra (Scheme Based)2016 · github.com · ▲52
- CACaramel – a modern syntax for the lambda calculus2015 · github.com · ▲130
- TATt – a Python library/cli for Boolean expressions2017 · github.com · ▲23
- AEAn encoding of the UK's self-isolation rules in Prolog2021 · github.com · ▲108
- DAData algebra, going back to Codd's relational operators2021 · win-vector.com · ▲7
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, September 2025
the whole month →
- AS
Commerce · Sep 2025 · anycrap.shop
- TE
I made a built-from scratch Wayland Compositor to display any GUI app* in the terminal! I think there is a lot of unexplored potential in custom Wayland compositors, a lot of really cool things you can embed existing applications into! So, I started with embedding apps into the terminal because that is the easiest input/output (output is just utf-8 and I use the great `chafa` library for that, and I just read from stdin for the input). If you have any other ideas for cool Wayland compositors, let me know. I purposedly wrote 80% the app in Typescript to appeal to the most developers and…
Dev tools · Sep 2025 · github.com
- IR
Years ago I stumbled across a basic version of this concept and it stuck with me. I knew if I was ever going to take on such a project, it would need to be flawless, but without coding experience it was just another idea that would never happen. By the end of 2024, as AI coding tools exploded everywhere, I finally had a way to make it real. I started from zero knowledge and spent months collaborating with AI agents as a learning experience. Every pixel and every function went through me. The AI translated what I asked for into code, but every decision was human. I didn't use existing OS…
AI · Sep 2025 · mitchivin.com

