CTAN Comprehensive TeX Archive Network

Boolalg – Truth tables, step-by-step simplification, and algebraic proofs for Boolean

The boolalg package provides pure- macros for parsing, evaluating, simplifying, and proving Boolean algebra expressions without requiring external tools, Python, or shell-escape:

– \btable and \btable*: Generate truth tables with intermediate subexpression columns and optional simplified results. – \bsimplify and \bsimplify*: Perform step-by-step algebraic simplification with explicit law justifications (Idempotence, Absorption, Consensus theorem, De Morgan’s laws, Distributivity, etc.). – \bprove: Construct step-by-step algebraic proofs between two equivalent expressions, or automatically find and print a concrete counterexample if the claim is false.

Expressions support flexible input syntax including implicit multiplication (AB), postfix primes (A'), prefix operators (!, ~), English words (and, or, xor, nand, nor, xnor, not), and standard math symbols (\land, \lor, \oplus, \lnot, etc.).

Quellen/macros/latex/contrib/boolalg
Dokumentation
Version1.0.0
LizenzenThe Project Public License 1.3c
Copyright2026 Param Srivastava
BetreuerParam Srivastava
ThemenLogik
Siehe auchluatruthtable
truthtable

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (160.9k).

Bewertungskommentare

Laden...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren