LogicalOptimizer 4.0.0

dotnet add package LogicalOptimizer --version 4.0.0
                    
NuGet\Install-Package LogicalOptimizer -Version 4.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LogicalOptimizer" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LogicalOptimizer" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LogicalOptimizer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LogicalOptimizer --version 4.0.0
                    
#r "nuget: LogicalOptimizer, 4.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LogicalOptimizer@4.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LogicalOptimizer&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LogicalOptimizer&version=4.0.0
                    
Install as a Cake Tool

LogicalOptimizer

Verified Boolean expression toolkit for .NET — the whole library in one package. Since v4.0 this single package ships all seven assemblies: the optimizer facade, Core (parser/AST/truth tables), SAT (CDCL solver, Tseitin, MaxSAT), BDD, d-DNNF knowledge compilation, Minimization (Quine–McCluskey, Espresso-lite) and Formats (DIMACS/WCNF/OPB/BLIF/Verilog). No third-party runtime dependency.

dotnet add package LogicalOptimizer
using LogicalOptimizer;

var result = new BooleanExpressionOptimizer().OptimizeExpression("a & b | a & c");

Console.WriteLine(result.Optimized);          // a & (b | c)
Console.WriteLine(result.IsEquivalent());     // True          (verified against the input)
Console.WriteLine(result.MinimizationStatus); // MinimalProven

Every result is checked equivalent to the input before it is returned (truth table up to 12 variables, built-in SAT miter beyond), and minimality is reported explicitly — MinimalProven / BudgetExceeded / Heuristic, never silently downgraded.

Upgrading from the pre-4.0 packages

The former layer packages (LogicalOptimizer.Core / .Sat / .Bdd / .Dnnf / .Formats / .Minimization / .Full) are deprecated forwarding shells that depend on this package, so existing references keep compiling — replace them with a single dotnet add package LogicalOptimizer at your convenience.

📚 Full documentation: https://AlexanderV.github.io/LogicalOptimizer/

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on LogicalOptimizer:

Package Downloads
LogicalOptimizer.Core

DEPRECATED since v4.0 - forwarding package. The whole LogicalOptimizer toolkit now ships as the single package "LogicalOptimizer"; LogicalOptimizer.Core only forwards to it so existing references keep working. Install LogicalOptimizer instead.

LogicalOptimizer.Sat

DEPRECATED since v4.0 - forwarding package. The whole LogicalOptimizer toolkit now ships as the single package "LogicalOptimizer"; LogicalOptimizer.Sat only forwards to it so existing references keep working. Install LogicalOptimizer instead.

LogicalOptimizer.Minimization

DEPRECATED since v4.0 - forwarding package. The whole LogicalOptimizer toolkit now ships as the single package "LogicalOptimizer"; LogicalOptimizer.Minimization only forwards to it so existing references keep working. Install LogicalOptimizer instead.

LogicalOptimizer.Bdd

DEPRECATED since v4.0 - forwarding package. The whole LogicalOptimizer toolkit now ships as the single package "LogicalOptimizer"; LogicalOptimizer.Bdd only forwards to it so existing references keep working. Install LogicalOptimizer instead.

LogicalOptimizer.Dnnf

DEPRECATED since v4.0 - forwarding package. The whole LogicalOptimizer toolkit now ships as the single package "LogicalOptimizer"; LogicalOptimizer.Dnnf only forwards to it so existing references keep working. Install LogicalOptimizer instead.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 229 8/3/2026
3.2.2 115 7/30/2026
3.2.1 137 7/30/2026
3.1.1 145 7/29/2026
3.1.0 115 7/29/2026
3.0.0 97 7/28/2026
2.1.0 103 7/27/2026