Axiom is an ecosystem of formal logic tools for education. If you’ve used Carnap or Logic Penguin, you know the idea — but those platforms send proofs to a server for validation. Axiom runs entirely client-side. No network latency. No tracking. Works offline.
The core is a TypeScript reimplementation of Kevin Klement’s fitch-checker, the PHP validator that powered the original Logic Penguin. The JavaScript version means you can embed proof checking anywhere: static sites, LMS platforms via SCORM, Electron apps, interactive textbooks. Build your own interface or use the provided Web Components.
Entries Tagged - "logic"
Jan 08 2026Axiom
Feb 26 2025Truth Functional Logic for Hackers - Part One
Bob and Alice are two hackers working on an embedded system with a severe computational constraint - there is a bug in their low-cost microcontroller making OR operations significantly slower than any other operation on the chipset.
When they profiled their micropython code, they found that OR operations were up to 5x slower than any other operation.
def authorize_access(request): # A user is denied if they are on a blacklist OR # their account is expired if (user_is_blacklisted(request.user_id) or account_is_expired(request.account) return "Access denied" return "Access granted"Let’s take a moment to understand the problem. The
authorize_accessfunction is used to check if a user is authorized to access a resource. Theoroperation is used to combine the conditions. How could we rewrite this function to avoid the OR operation?

