Independent engineering corporation

Hard problems.
Exact solutions.

We diagnose complex systems and build dependable software for problems where correctness, explainability, and clear thinking matter. Where the question admits a proof, we return one.

Abstract diagnostic map isolating one fault within a network of possible causes

01 / WHAT WE DO

From first principles
to working systems.

Llama Logic helps organizations understand why complex systems fail, decide what to do next, and turn difficult computational ideas into robust, maintainable technology.

Most engineering software searches for a good answer and reports what it found. Ours searches for the best one and reports whether anything better could exist — a decision procedure in place of a heuristic. In practice that is the difference between a tool that says eight gates and one that says eight gates, and seven is impossible.

02 / ONE QUESTION, THREE FORMS

Design, test, diagnosis — the same search.

The electronics industry buys circuit design, manufacturing test and fault diagnosis as three tool categories from three vendors. They are one search over one model, differing only in what is quantified.

01

What computes this, as small as possible?

Synthesis. Find a circuit meeting the specification, and prove nothing smaller can.

∃ circuit  ∀ inputs
02

What would reveal a manufacturing defect?

Test. Find inputs on which a good part and a faulty one disagree.

∃ vector
03

Which component broke, given this behaviour?

Diagnosis. Find the smallest set of failures that accounts for what was observed.

∃ fault set

Recognising that they are one problem is not a turn of phrase here, it is an architecture: one circuit representation, one lowering pipeline, one solver, written in-house. The hard engineering is paid for once — and the guarantee that falls out is the thing none of those three markets can otherwise buy. A lower bound.

03 / EXPERTISE

Deep technical work, delivered with discipline.

01

Model-based diagnosis

Fault detection, isolation and explanation using an explicit model of the system — including a model of what it does once parts have degraded. Nonlinear state estimators track physical and fault state together, so the output is a named cause with evidence rather than an anomaly score a technician cannot act on.

02

Optimization & exact methods

Combinatorial problems that resist the obvious approach: scheduling, packing, configuration, equivalence checking, minimum-cost synthesis. We write our own SAT, QBF and SMT machinery, so when a problem needs a solver rather than a hand-written search we can also say how far from optimal you are.

03

AI & intelligent software

Learned components held to the standard of the physics they are replacing. We build statistical and model-driven approaches to the same problem and measure them against each other on the same data, because which one your system actually needs is an empirical question and not a preference.

04

Digital systems & FPGA

Architecture, RTL design, verification, synthesis and performance engineering for hardware that must behave exactly as intended. Recent work cut the polling latency of an FPGA-based industrial network for precision-manufacturing robots by a factor of forty, by designing DMA into the bitstream and removing the bottleneck rather than tuning around it.

05

Technical consulting

Independent analysis, rapid prototyping and focused R&D support for ambitious commercial and public-sector programs — including as a partner or subawardee on federally funded work. Sometimes the useful deliverable is the conclusion that you should not build the thing.

04 / WHAT WE HAVE BUILT

Open source. Numbers, with their limits attached.

Demonstrand Exact circuit synthesis

Given a specification and a library of gates, it returns the smallest circuit that implements it — and a proof that no smaller one exists. The cost function is pluggable, which is where the interest lies: minimizing lookup tables is exact technology mapping, validated to LUT6 against a real Artix‑7, while minimizing AND count with XOR free is multiplicative complexity, the metric that decides whether an encrypted computation finishes in seconds or hours. No production synthesis tool optimizes the latter.

On the smallest EPFL benchmark circuit, 501 gates, windowed exact resynthesis cut AND count 16.4% in 22 minutes, formally verified equivalent, still improving when the pass limit stopped it. That run started from a naive expansion rather than an industrially optimised baseline, so it shows the architecture works at real scale — it is not a head-to-head against the published state of the art.

Propagandum Provably minimal test generation

Test time is billed by the second, per die, for the life of a part, so a vector removed is a cost removed from every chip ever shipped. Commercial tools compact heuristically and cannot tell you whether the result is shortest. This drives the vector count down until the solver proves no smaller set covers the same faults. On the 74182 carry-lookahead generator, 67 stuck-at faults collapse to 10 vectors, each proven necessary.

The exact search does not yet reach large circuits; the larger ISCAS‑85 members are out of its range. Classical algorithms — PODEM, the D-algorithm — cover the rest, and a separate tool re-simulates every generated suite to check its own coverage claims.

Psycho-Killer Diagnosis toolkit

Simulate a system under nominal and deliberately faulted conditions, extract features, then train and evaluate diagnosers on isolating which fault is present from sensor readings alone. Ten of them, spanning two traditions that rarely appear in one tool: seven regressors, and three nonlinear filters tracking fault state straight from raw data. Models come from an ODE language, from differential-algebraic systems with automatic index reduction, or from any FMI 2.0 unit — so a model already written in Modelica or Simulink is used as it is.

Ex-Parrot Condition-based monitoring platform

The half that touches the machine: instrumentation, a daemon streaming readings into a time-series database, and a fleet interface an operator rather than a programmer can drive. The underrated part is the experiment scheduler — a diagnostic engine must be trained on data from equipment that is actually broken, and real faults are rare and unscheduled, so this drives equipment into fault conditions deliberately and reproducibly and records what happens.

The two halves above are not yet joined: one exports recorded data, the other consumes it, and the bridge is scoped rather than built. Transport runs without encryption so far. The architecture is sound and the pieces are real; the integrated product is the next thing to build.

llogic, llq, lcfgen The stack underneath

Nearly all the engineering, and the reason one shop can maintain the rest. llogic holds every representation of propositional logic and one pipeline between them, from a hierarchical circuit language down to the normal form a solver reads. llq is our QBF solver, working by expansion rather than search over CaDiCaL, Kissat and Lingeling — a choice that is load-bearing, because on the unsatisfiable queries a minimality proof rests on entirely it measured roughly two orders of magnitude faster than a conventional search-based solver. lcfgen generates benchmark circuits at any width, since a tool that only ever sees the standard suites learns their quirks.

05 / OUR APPROACH

Open foundations.
Serious capability.

We believe useful engineering should be inspectable, reproducible, and built to last.

Our software begins in the open. This creates stronger foundations, makes collaboration easier, and gives customers confidence in the technology they depend on. Commercial offerings add the integration, scale, assurance, and support needed for demanding deployments.

It also disciplines the claims. A result you can reproduce from our source is one we cannot overstate — which is why the numbers above arrive with their caveats attached rather than separately on request.

OPENCore technology
EXACTEngineering discipline
SCALECommercial capability

06 / COMPANY

Small by design.
Built for difficult work.

Alexander Feldman / Founder

Llama Logic Corporation is an independent engineering company founded by Alexander Feldman. We work at the boundary of computer science and physical systems, where deep expertise and direct communication outperform layers of process.

Twenty years across embedded systems, FPGA and RF design, robotics and algorithms, including a decade as research staff at Xerox PARC — sixty-odd publications, more than ten patents, and research programs with DARPA, NASA Ames, ESA, Lockheed Martin and ASML.

Small is a choice, and it has a cost: capacity. What you get in exchange is that the person you brief is the person who writes the code, and nothing is lost between them.

We partner with teams that value intellectual honesty, technical depth, and software they can understand.

07 / START A CONVERSATION

What are you
trying to solve?

Tell us about the system, the constraint, or the question. Early-stage ideas and well-defined programs are equally welcome — and a sentence or two is usually enough to tell whether this is a fit.

hello@llama-logic.com