# Reproduction — PID controller (output clamped to actuator range)

Source `examples/pid_controller.eml` (sha256 `4d51cd9248714388`). Regenerate with `make demo`.

| stage | artifact | tier |
|---|---|---|
| emit — software (14) | `c`, `cpp`, `csharp`, `gdscript`, `go`, `java`, `javascript`, `kotlin`, `luau`, `matlab`, `python`, `rust`, `swift`, `wasm` | LOCAL |
| emit — gpu shader (5) | `glsl`, `glsl-es`, `hlsl`, `metal`, `wgsl` | LOCAL |
| emit — compiler IR (1) | `llvm` | LOCAL |
| emit — proof (3) | `coq`, `isabelle`, `lean` | LOCAL |
| emit — safety-critical (4) | `aadl`, `ada/spark`, `autosar`, `ros2` | LOCAL |
| emit — blockchain (2) | `solidity`, `zkproof` | LOCAL |
| **emit total** | **29 targets from one source** | LOCAL |
| proof | `pid_output_clamped` — ✓ clean (`proof/pid_output_clamped.axioms.txt`) | REPLAY (re-derive: TOOLCHAIN — Lean) |
| simulate | `sim/trace.csv`, `sim/step_response.png` — max|u| = 1.0 ≤ 1.0 | LOCAL |
| hardware | the same clamp/guard has been run on real silicon (ESP32 RC plant; Arty A7-100T bitstream) under injected actuator faults and stayed inside the band — replayed from capture, not re-captured on your machine | REPLAY |

**The same claim, three ways.** The Lean theorem `pid_output_clamped` proves the control output is always within the actuator band [OUT_MIN, OUT_MAX] = [-1, 1]; the simulation shows `max|u| = 1.0 ≤ 1.0` (actuator band [-1.0, 1.0]); the hardware evidence shows the same behavior measured on real hardware; Proved, simulated, measured.

