Diagram canvas

Every gate port on the canvas is driven and the circuit is acyclic.

Drag a gate from the toolbar, or use Add to canvas. Select a gate and use the arrow keys to move it (20 px, or 1 px with Shift), Delete to remove it, and Tab to reach its ports. Focus an output port and press Enter to start a wire, then activate the target input port to finish it.

Every wire is listed in the connection table in the right panel, where it can also be removed without a pointer.

Inputs, fan-in and output probes

Inputs (2 of 26)

Names are one ASCII letter each; lower case is stored as upper case, so “a” and “A” cannot both exist. Renaming rewires the affected connections and says how many.

Inputs are sources: they occupy no gate counts and need no wiring to exist.
Fan-in mode

Strict mode has no unused binary ports: every binary gate shows exactly two ports and NOT exactly one. Unrestricted mode allows two to 8 inputs on a binary gate; multi-input XOR is odd parity and XNOR its complement. Switching to strict with oversized gates asks for a correction step and never drops ports on its own.

Gates (1 of 60)
Connections (2 of 240)

Every input port has exactly one driver; gate outputs may drive any number of ports. A wire is rejected, with the reason named, when the port is taken or the wire would create a cycle.

Connections in this circuit
WireRemove
input A → g1, port 1 of 2
input B → g1, port 2 of 2
Output probes (1 of 8)
Select a gate to choose the probe target.

Expressions and values

F = 0

Evaluated by the Boolean engine along the drawn topology (`evaluateBooleanCircuit`); intermediate gate values appear on the canvas.

Direct expression (fully parenthesised)(A & B)
Canonical engine notationA & B
Simplified expressionA & B

✓ Every bounded valuation agrees, so the two expressions are equivalent (2 variables).

No catalog law changes this expression; it is already a local fixed point.

Help & limits

Keyboard-only flow

  1. Add a gate with the toolbar button or the keyboard form (gate kind, X, Y, “Add to canvas”).
  2. Focus a gate and move it with the arrow keys (60 gate limit; Shift moves one pixel). Delete removes it after naming the affected wires.
  3. Focus a gate's output port and press Enter to start a wire, then activate the target input port. The connect form does the same without touching the canvas.
  4. Toggle each input's 0/1 value in the right panel and read each probe's value and expression.

Documented limits

  • 1–26 inputs, one ASCII letter each; input names are upper-cased, so “a” and “A” cannot both exist.
  • At most 60 gates and 240 wires in one circuit.
  • Strict mode pins every binary gate to exactly two connected inputs and NOT to one. Unrestricted mode allows 8 inputs per binary gate.
  • At most 8 named output probes; several probes may read the same gate.
  • A direct expression is limited to 400 nodes (the engine parser stops at 512); simplification is limited to 500 rewrite steps.
  • Equivalence between the direct and simplified expressions is proved exhaustively for up to 8 variables; beyond that the tool reports the bound instead of claiming a proof.

What this tool does not do

Sequential behaviour, flip-flops, propagation delay and electrical simulation are out of scope: cycles are rejected rather than given an invented timing model. There is no simulation backend, and no circuit or input value leaves the browser.

Examples

Loading an example replaces the canvas, never executes anything, and recomputes every value and expression from the restored graph.