XOR-Native Symbolic Engine for ZK, FHE & EDA
Eliminates exponential sum-of-products blowup with canonical GXOR 3-level synthesis. Powered by the open MIT xespresso v1 AST for minimal multiplicative complexity in ZK/FHE/MPC — O(m²) in minterm count, agnostic to variable count.
01 { 02 "variables": ["x0","x1","x2","x3","x4","x5","x6","x7"], 03 "objective": "and_count", 04 "xespresso": "[[{\"x\":[0,1,2,3,4,5,6,7],\"p\":1}]]", 05 "blind_mode": true, // π permutation + σ mask 06 "dry_run_cost": "0 SU" 07 }
01 // Balanced O(log n) tree emitted from xespresso 02 // Total: 7 XOR | ANDs: 0 | Depth: 3 (vs 7 linear) 03 wire w0 = x0 ^ x1, w1 = x2 ^ x3; 04 wire w2 = x4 ^ x5, w3 = x6 ^ x7; 05 wire w4 = w0 ^ w1, w5 = w2 ^ w3; 06 assign out_y = w4 ^ w5;
First simplification in ~2 minutes
Pure-Python thin client — zero dependencies, talks to https://exactor.tech.
Light jobs (≤32 vars / ≤2K minterms) cost 0 SU on every plan.
# register (free tier) or log in at $ open https://exactor.tech # → console → API Keys → create ek_... key
# pip (Python 3.8+, zero deps): $ pip install exactor-cli # or the installer scripts: $ curl -sSL https://exactor.tech/install.sh | bash # irm https://exactor.tech/install.ps1 | iex # Windows # no-install fallback: python exactor_cli.py ...
$ exactor login --token ek_... $ exactor minimize circuit.pla -o out.v # or straight curl — no install needed: $ curl -X POST https://exactor.tech/api/simplify \ -H "Authorization: Bearer $TOKEN" \ -d '{"variables":["a","b","c","d"], "minterms":[0,1,2,5,6,7]}' # → "result":"!(c ^ b) & !a + (d ^ c) & !a" · su_used: 0
32-bit Parity collapses from 231 SOP minterms to 31 XOR gates in a balanced depth-5 tree.
Strict and_count minimization trades costly non-linear multiplications for free GF(2) XORs.
Local -blind (π, σ) anonymization, RAM-only execution, and hardware-attested Confidential Enclaves.
Exhaustive truth-table verification (≤16 vars) & SAT/CaDiCaL miter proofs with signed SHA-256 certificates.
Canonical 3-Level xespresso v1 AST
Every target — Balanced Verilog, BLIF, Bristol Fashion (ZK/MPC), Yosys, and Testbenches — is rendered on-the-fly from a single canonical MSB-first integer AST. Zero variable-name cache leakage and zero LSB/MSB wire-crossing bugs.
// Variables (MSB-first): ["r1", "r0", "c1", "c0"] -> indices 0, 1, 2, 3 // Literal encoding: k = (var_idx << 1) | is_pos xespresso = [ [ { "x": [0,2], "p": 0 }, { "x": [1,3], "p": 0 } ] ] // vars 0,2 = r1,c1 | 1,3 = r0,c0 | p:0 -> XNOR verilog = ~(r1 ^ c1) & ~(r0 ^ c0) // Minterms: [0, 5, 10, 15] ✓ # Drop-in Yosys plugin (1 line before ABC / Vivado): yosys -m exactor -p "read_verilog design.v; proc; opt; \ exactor_opt -xor-heavy -blind -verify; abc -lut 6; write_verilog opt.v"
Dual IP Protection: Your Netlists Stay Blind, Our GXOR Core Stays Sealed
Semiconductor, ZK, and defense teams refuse to leak proprietary RTL — while shipping raw binaries exposes core synthesis algorithms to reverse engineering. Exactor resolves both with 3 deployment tiers.
Level 1: Local Blind CLI (π, σ)
Client-Side Anonymization + Zero-Retention Cloud
-
check_box
Local variable blinding: Signals renamed to
v0..vnwith random permutation π & polarity XOR mask σ before leaving your machine. -
check_box
Zero-Data-Retention: Cloud GXOR processes blinded integers purely in volatile RAM (
X-Exactor-No-Cache: true). -
check_box
Local unblinding & CEC: Client applies π⁻¹, σ⁻¹ on returned
xespressoand verifies equivalence locally.
Level 2: Confidential Enclaves
AWS Nitro & Azure AMD SEV-SNP / Intel TDX
- verified_user Hardware Attestation: Cryptographic PCR0–PCR8 proof that Exactor cannot inspect or retain your circuits.
- verified_user Encrypted CPU RAM: Engine binary decrypts strictly inside hardware-encrypted enclave memory; memory dumps are impossible.
- verified_user AWS / Azure PrivateLink: Runs inside your own VPC without crossing the public internet.
Level 3: Hardened Air-Gapped
Zero-Network SCIF On-Prem Appliance
-
lock
OLLVM-Hardened Core: Rust/C++
strip+ LTO + control-flow obfuscation and unique per-customer binary watermarking. - lock Offline Ed25519 Licensing: Verifies cryptographic leases locally with zero outbound sockets.
- lock Bare-Metal / HPC: Dedicated annual contracts with full IP indemnity and anti-reverse SLA.
What is xespresso?
xespresso is Exactor's canonical, name-independent Boolean AST — the single
intermediate representation produced by the GXOR engine and cached server-side. It is an XOR-of-ANDs cover:
each term is a conjunction of factors, where a factor is either a plain literal
({ "Literal": { "variable": i, "value": bool } }) or an entire XOR group
({ "Xor": { "variables": [...], "parity": bool } }) kept compact instead of
being expanded into 2^(k-1) cubes. Variable indexes are MSB-first and
names are NEVER stored — every output format (result, Verilog, VHDL, BLIF,
xespresso) is rendered from this one AST with the current request's signal names.
data_objectCanonical grammar
// Canonical xespresso v1 (compact JSON): OR of terms.
// Each term = array of AND-ed factors; a factor is an int literal k
// (variable = k>>1, value = k&1) or {"x":[vars],"p":parity}
// (p:1 = XOR, p:0 = XNOR). Variable indexes are MSB-first.
[
[ 1, { "x": [1, 3], "p": 0 } ]
]
- checkName-independent: the cache stores only literal indexes, so the same function serves any signal naming.
- checkSingle emitter: one MSB-first renderer produces all formats — no per-format bit-order drift.
- checkExact metrics: AND/OR/XOR/NOT gate counts, multiplicative complexity and logic depth are computed from the AST itself.
verifiedGuaranteed properties
- boltDon't-care aware: DC minterms are absorbed during synthesis (n ≤ 16 exhaustive), shrinking the canonical form before it is ever cached.
- boltVerifiable: for n ≤ 16 the engine runs exhaustive CEC against the input spec and returns a
verifiedflag plus a SHA-256 certificate. - boltXOR-native: the AST preserves XOR structure that AIG-based flows flatten away — the basis for multiplicative-complexity (ZK/FHE) optimization modes.
- boltBLIF at gate level:
.blifoutput is emitted directly from the AST (LUT-free gate network), ready for Yosys/yosys-exactor.
Exactor vs Classic Espresso & Berkeley ABC (strash + rewrite + refactor + balance)
Every benchmark below runs live in your browser inside the Logic Console with CEC-verified equivalence (exhaustive truth-table up to 16 vars, SAT-miter + 2048-vector spot-check beyond).
| Benchmark Function | Classic Espresso (SOP) | Berkeley ABC (AIG) | Exactor (GXOR) | Interactive |
|---|---|---|---|---|
| 32-bit Parity (XOR Cascade) 32 inputs · ECC / CRC / Scrambler | 2.15B cubes (OOM) 231 minterms · infeasible | 93 ANDs (AIG) Depth 62 · XOR flattened to AND/INV | 31 XOR · 0 AND Balanced Depth 5 · O(log 32) tree depth | Run Live play_arrow |
| AES S-Box Bit 0 (FIPS-197) 8 inputs · ZK / FHE / MPC AND-count | 65 SOP cubes (319 ANDs) 448 total gates · Depth 12 | 186 ANDs (AIG) Depth 13 · XOR flattened to AND/INV | 72 AND + 17 OR (-77% vs SOP) 18 GXOR terms · 256/256 verified | Run Live play_arrow |
| 16-bit Equality Comparator 32 inputs · A[15:0] == B[15:0] | 65,536 SOP cubes 2.03M AND gates | 63 ANDs (AIG) Depth 6 · XOR flattened to AND/INV | 16 XNOR + 15 AND Balanced Depth 5 · 1.1ms | Run Live play_arrow |
| 6-bit Control FSM (75% DC) 6 inputs · 48/64 unreachable states | 47 raw SOP gates Legacy v1 ignored DC (4 gates) | 2 ANDs (AIG) No don't-care input to ABC | 0 gates (wire s0) 100% DC absorption · Depth 0 | Run Live play_arrow |
ABC column measured with Berkeley ABC 0.9 (strash; rewrite -l; refactor -z; balance ×2 on BLIF netlists; don't-cares not passed to ABC). High-entropy / random functions are flagged upfront by our free 0 SU dry_run Shannon-limit detector so you never waste SU.
Function-level optimization at design scale
Beyond per-function specs, exactor_netlist extracts whole synthesizable modules as canonical gate-list DAGs — then optimizes each output cone through a hybrid engine/structural path with an honest canonical fallback. Verified on the standard EPFL and IWLS 2005 suites.
Scope: combinational logic · ≤128 vars self-service (engineering runs documented to 1,000) · O(m²) minterm-bound · dense cones return a verified canonical netlist, never a false minimization.
Transparent Plans — From 32-Var Sandbox to Air-Gapped Enterprise
Predictable flat SU tiers by variable-count band (see GET /api/plans) with 0 SU free dry_run and volume discounts on Team.
Free
- check— · — / — minterms
- checkPublic SaaS + CLI
-blind - check0 SU free
dry_runanalyzer - checkVerilog, BLIF & Testbench export
Pro
- verified— · — / — minterms
- verifiedZero-Retention RAM + CLI
-blind - verified
yosys-exactorEDA plugin - verifiedBristol Fashion & Circom export
Team
- check_circle— · — / — minterms
- check_circleTenant-isolated cache + CI/CD
- check_circleOptional AWS/Azure PrivateLink
- check_circleSU overage + priority SLA
Enterprise
- check—
- checkL2 AWS Nitro / Azure SEV-SNP BYOC
- checkL3 Air-Gapped OLLVM + Ed25519
- checkDedicated ZK/ASIC engineer & NDA
Request Confidential Enclave BYOC or Hardened Air-Gap License
Schedule an engineering briefing for AWS Nitro / Azure SEV-SNP enclaves, OLLVM air-gapped appliances, or custom ZK/FHE benchmarks.
menu_book xespresso v1 (MIT Open Spec)
3-level canonical AST (OR → AND → XOR/XNOR) with MSB-first indexing, JSON Schema, compact binary encoding, and official parsers in Python, Rust, TypeScript, and C++.
Inspect live xespresso JSON →integration_instructions DevOps & AI Ecosystem
Drop-in yosys-exactor pass, exactor-check GitHub Action for PR gate-diff comments, and official exactor-mcp server for AI coding agents.
hub Production Readiness (SOC2 Path)
Strict /api/v1/ versioning, Idempotency-Key support, HMAC-SHA256 async webhooks, and verifiable zero-logging of payloads.