Manuscript Offprint

arXiv:2610.42043

Proof-Carrying Evolution: Black-Box Search, White-Box Flight

Amit Jain, Sergio Sanchez-Hurtado, Victor Rodriguez-Fernandez, Richard Linares

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study whether a language model can help design controllers whose behavior can be formally checked. In proof-carrying evolution (PCE), a search proposes controllers together with their certificates. Their mathematical forms are fixed; a proposer chooses their numerical parameters together. Certificate checks guide selection, and only a certified candidate can be returned. The deployed artifact is a control law and its certificate; the language model is used only during design.

We compare four language models with classical search and synthesis on docking under a speed limit, pursuit of a maneuvering target, and attitude control on SO(3), using paired runs and shared proposal allowances. Certificates are checked in exact rational arithmetic during search on the linear problems. On SO(3), the search uses floating-point checks, followed by exact re-verification of every reported champion. The best run of each method also receives Lean 4 proofs of its stated control properties.

On the linear problems, the strongest models beat the standard classical baselines on every run, but a classical optimizer that chooses certificates for the same objective closes most of that lead. Among the cited pursuit champions, the ranking does not survive a change from Euler to zero-order-hold dynamics. On SO(3), no model detectably outperforms CMA-ES when mixed with classical mutation. When models write every proposal, one tested model improves on CMA-ES and the other performs worse than its mixed variant. All search medians remain below the hand-tuned law. In a docking control with the objective and mutation operator held fixed, retaining certified candidates yields new certified designs in every run; removing this rule yields none.

1 Introduction

Spacecraft controllers need guarantees whose assumptions and scope can be reviewed. For many critical maneuvers, opportunities for recovery are limited, so a review board asks not only whether a design worked in simulation but why it must work. Mission requirements are therefore often requirements on the strength of a guarantee under a stated model: the time within which a docking maneuver is guaranteed to reach its tolerance, the largest measurement or initial-state uncertainty under which it still succeeds, or the size of the set of states from

*Massachusetts Institute of Technology. †Universidad Politécnica de Madrid.

which a vehicle is guaranteed to capture, or to evade, another under stated assumptions about its actions. Meeting such a requirement means finding both a control law and a certificate that establishes the property over the relevant operating conditions. This paper optimizes three such objectives: a certified docking-time bound, a certified capture radius against a maneuvering target, and the size of a certified attitude region on SO(3).

Classical methods such as LQR, H∞H_{\infty} design, gain scheduling and Lyapunov-based nonlinear design produce explicit laws that engineers can inspect and analyze, although explicit mathematical form alone does not make a complex system easy to understand. Choosing an explicit controller family still leaves a design problem: an initial law may admit no certificate in the chosen family, or its certified bound may be too weak for the mission. The certificate itself is part of this problem. Changing its parameters can improve the bound for a fixed control law, while changing the law can improve performance but lose the certificate. Searching over both gives the optimizer a way to improve what can be guaranteed.

Reinforcement learning and neural policies (Gaudet et al., 2020; Jain et al., 2025) offer flexible ways to optimize constrained objectives, but their behavior can be harder to inspect and verify. A language model can instead act at design time, proposing parameters for an explicit controller and its certificate; executing the deployed law requires no model inference. We ask whether a language model can serve as the proposer inside such a certifiable design space, rather than replace it with a black box.

We call this approach proof-carrying evolution, after proof-carrying code (Necula, 1997). In proof-carrying code, an untrusted producer supplies a program and a proof that it obeys a safety policy; a consumer checks the proof before accepting the program. PCE applies this separation to control design (Fig. 1). A proposer modifies controller and certificate parameters, a verifier checks the certificate conditions, and selection favors candidates with better certified objective values. Retained designs provide starting points for further proposals. Only a certified candidate can become a run's result, so acceptance depends on checking rather than on trust in the proposer. Machine checking establishes a stated property of a stated model; the choice of property and the model assumptions still require engineering review.

The experiments here use fixed controller and certificate forms: linear state feedback with a quadratic certificate on the linear problems, and a geometric proportional-derivative (PD) law with a degree-4 certificate on SO(3). The proposer chooses numerical parameters; it does not write or modify controller code. Optimizing uncertainty tolerance or a certified evasion region would extend this scope and would require new certificate conditions within this framework; here measurement noise is assessed after search ( §7.2§7.2). The questions are whether a language model proposes better parameters than classical search and synthesis, and whether checking certificates during search helps produce certified designs. On the linear problems, the comparison depends on how the classical methods choose their certificates ( §6.4§6.4).

References (59)