Simplify

The Simplify panel finds a minimal two-level expression logically equivalent to the active binding.

Overview

The simplify panel is in the left column, below the Inputs section. It runs automatically whenever the active binding changes. The result is a minimised sum-of-products (SOP) expression, displayed in a green box.

Simplify panel showing a minimised result and a Why? trace explaining the steps.
The Simplify panel with a result. The "Why?" trace section shows the Quine–McCluskey steps that produced this result.

Algorithm

Logic Studio uses the Quine–McCluskey (QM) algorithm to find all prime implicants, followed by Petrick's method to find a minimum cover. The result is guaranteed to be a minimum two-level SOP (sum of products).

Simplification runs in a Web Worker to avoid blocking the UI. A "Simplifying…" status appears while the worker is busy.

Reading the result

The result is shown in a monospaced green box. It uses the same syntax as the editor. If the expression was already minimal, a "Minimal" badge appears next to the result.

A warning badge appears if the result has the same or more terms than the original — simplification couldn't improve it.

Applying the result

Click the Apply button or press ⌘↵ to paste the simplified expression back into the editor. The editor and all panels immediately update to the new expression.

Tip
After applying, check the truth table to verify the result is equivalent to the original. For expressions with don't-cares, the simplified form may evaluate differently on don't-care rows — that's by design.

Why? trace

Click the Why? disclosure below the result to see the step-by-step QM reasoning. Each step is a tagged card:

Each step shows the expression at that point in inline code.

Don't-cares and simplification

Don't-care assignments (set in the Inputs panel via "dc" or via the ? suffix) are passed to the QM algorithm as optional minterms. The simplifier may include them in prime implicants to produce a smaller result, but it won't produce an output that's wrong on required minterms.

Rewrite panel

Below the Simplify panel is the Rewrite panel. It offers one-click transformations of the current expression:

Each rewrite button shows a before/after preview. Click Copy to copy the result, or click the button again to apply the rewrite to the editor.

Limitations