LogicalOptimizer 3.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package LogicalOptimizer --version 3.2.2
                    
NuGet\Install-Package LogicalOptimizer -Version 3.2.2
                    
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="3.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LogicalOptimizer" Version="3.2.2" />
                    
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 3.2.2
                    
#r "nuget: LogicalOptimizer, 3.2.2"
                    
#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@3.2.2
                    
#: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=3.2.2
                    
Install as a Cake Addin
#tool nuget:?package=LogicalOptimizer&version=3.2.2
                    
Install as a Cake Tool

LogicalOptimizer

Verified Boolean expression optimizer for .NET — the facade package. It ties the Core, SAT, BDD and Minimization layers together behind one entry point, BooleanExpressionOptimizer. It references those four LogicalOptimizer packages and no third-party package.

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.

When to choose this package

Start here for most uses: one type covering parsing, optimization, equivalence checking with counterexamples, CNF/DNF, exporters and analysis. Add LogicalOptimizer.Dnnf and LogicalOptimizer.Formats for d-DNNF model counting or DIMACS/WCNF/OPB interchange, or install LogicalOptimizer.Full to get everything in one line. For a minimal dependency set, reference the individual layer packages (.Core / .Sat / .Bdd / .Minimization) directly.

📚 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 is compatible.  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.

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 231 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