Feasible by Construction, Wrong by Interpretation: A Reference Architecture for Operational Decision Systems with Learned Interpreters
Spurthi Tallam, Hemanth Kumar Kolluru
cs.SE
Dec 3, 2026 · v1
cs.AI
TL;DR
Five propositions and corollaries, including the soundness of a box-robust release gate, are machine-checked in Lean 4 with Mathlib, with proofs in replication materials.
Abstract
Source resolution can discard a correct interpretation of a supplier notice before it reaches the release gate, allowing a decision to violate a hard constraint. We specify five checkable requirements for a six-layer reference architecture and characterize when its release gate can guarantee compliance. Under the stated assumptions, a gate without further observation guarantees compliance almost surely if and only if every action in its release support is feasible in all states consistent with its observations. For linear constraints with interval-valued inputs, a box-robust gate guarantees compliance when the reported set contains the true state, the encoded constraints are correct, and execution follows the release. We compared two source-resolution rules in a paired post hoc replay on development data. We used stored replies to constructed capacity notices from models shown the output schema. Readings from Qwen2.5 and Llama 3.1 covered true capacity in 64 and 55 of 176 change-notice case-repeats, respectively. When the capacity master took precedence, 15 and 14 of those readings reached the planner. Giving single-source notices precedence reduced violations from 110 to 51 and from 141 to 70 at unchanged release rates, with lower delivered output. For Phi-4, violations changed from 25 to 24. The replay locates the loss of coverage in this implementation. The effect of the precedence rule on fresh notices remains unmeasured. Operational utility and independent semantic validation remain open.
Problem
Operational decision systems that use language models to interpret unstructured inputs such as supplier notices can release plans that are feasible for the interpreted state yet violate the true hard constraints. Source-resolution rules can also discard a correct uncertain interpretation before it reaches the release gate.
Approach
The authors specify a six-layer reference architecture (interpreter, procedural, bitemporal state, decision, constraint/assurance gate, audit) and express five requirements as checkable predicates. They prove propositions characterizing when a gate guarantees compliance, including a box-robust gate based on Soyster worst-case substitution for linear constraints with interval inputs. Five of these results are machine-checked in Lean 4 using Mathlib. A paired post hoc replay on development data compares two source-resolution rules using stored replies from Qwen2.5, Llama 3.1 and Phi-4.
Results
A gate without further observation guarantees compliance almost surely if and only if every action in its release support is feasible in all consistent states. Giving single-source notices precedence cut violations from 110 to 51 (Qwen2.5) and from 141 to 70 (Llama 3.1) at unchanged release rates; for Phi-4 violations went from 25 to 24. The reference implementation passes 291 tests, and its mutation run caught 93% of mutants.
| Model | Capacity master precedence | Single-source notice precedence |
|---|
| Qwen2.5 | 110 | 51 |
| Llama 3.1 | 141 | 70 |
| Phi-4 | 25 | 24 |
Violations under the two source-resolution rules (paired replay, 176 change-notice case-repeats)