Supervisory Control of a Class of Discrete Event Processes I: Minimally Restrictive Supervisors Exist iff the Supremal Controllable Legal Sublanguage Contains the Minimal Acceptable LanguageResearch Paper
Motivation
Manufacturing cells, communication protocols, traffic systems and database transaction managers are naturally described not by differential equations but by sequences of discrete events: a machine starts, a part arrives, a message is lost. Ramadge and Wonham's 1987 paper (SIAM J. Control Optim. 25(1)) set up a control theory for such systems in which the plant is an automaton, the controller is another automaton that may disable some events, and specifications are formal languages. The framework, now called supervisory control theory or the Ramadge–Wonham framework, is the standard model for the logical control of discrete event systems and underlies the textbook treatment in Cassandras and Lafortune (Introduction to Discrete Event Systems, 2008) and Wonham and Cai (Supervisory Control of Discrete-Event Systems, 2019).
The question the paper answers is the basic synthesis question of the theory: given a plant, a set of legal behaviours and a set of minimally acceptable behaviours, when does a controller exist that keeps the plant legal, achieves at least the acceptable behaviour, and never deadlocks, and what is the least restrictive such controller?
Setting
A generator is with a state set , a finite alphabet of events, a partial transition function , an initial state and marker states . Extending to strings, the generated language is the set of strings for which is defined, and the marked language is the subset of those that end in . The closure of a language is its set of prefixes; is closed if . Throughout, is assumed trim in the sense : every generated string can be completed to a marked one.
The alphabet is split into controllable events and uncontrollable events . A supervisor consists of a deterministic, accessible automaton , whose state set may be infinite, and a map assigning to each state the set of controllable events it enables; uncontrollable events are always enabled. The closed loop runs and in lockstep: an event occurs when the plant can execute it, the supervisor enables it, and the supervisor's automaton can follow it. This defines the languages , and the controlled language .
is complete if its automaton never refuses an event that the plant can execute and enables; it is proper if it is complete and
that is, every closed-loop string can be completed to a marked task. A language is controllable if and . For , is the class of controllable sublanguages of and the class of sublanguages of with .
Given , the Supervisory Marking Problem (SMP) asks for a proper with , and the Supervisory Control Problem (SCP) for a proper with .
Formalization targets
Goal: Theorem 7.1 (pp. 218–219)
and in each case the solving supervisor can be taken minimally restrictive: its marked (respectively controlled) language equals the supremal element and contains that of every proper supervisor whose language lies in .
Milestones
- Proposition 4.1 (i), (ii): marking is independent of control; every , or for an achievable closed , is the marked language of a complete supervisor.
- Proposition 5.1: a complete supervisor realizes iff , and is closed and controllable.
- Theorem 6.1 (i), (ii): a proper supervisor with exists iff is controllable; one with exists iff is controllable and -closed.
- Proposition 7.1: and contain and are closed under arbitrary unions.
- The supremal elements (p. 218): , and belong to their classes.
Significance
Theorem 7.1 reduces the existence of a correct, non-blocking controller to a single language inclusion, and identifies the supremal controllable sublanguage as the behaviour of the least restrictive solution. That object is the backbone of the later theory: modular and decentralized control, control under partial observation, and the computational results that is regular and computable when is finite and regular all start from it.
The result is proved in the paper and has been taught for decades; it is not open. Mathlib has no model of generators with partial transitions, supervisors or controllability (its DFA has a total transition function and a single accepted language), and no formalization of this theory exists on the platform. This mission provides one: a reusable Lean model of generators with partial transitions, supervisors with possibly infinite state, closed loops and controllability, together with the paper's existence theorems stated against it. A second mission on the same paper (quotients of supervisors, Theorem 10.1) builds on the same objects.
Difficulty
The combinatorial core of Proposition 7.1 is a short prefix-closure computation. The work lies in the constructions: to show existence, a supervisor must be built for an arbitrary controllable language, which in general is not regular, so the supervisor needs an infinite state set (for example strings of the target language) together with a proof that the closed loop generates exactly the intended language, is complete, and is proper. The converse directions require relating the closed-loop run to separate runs of the plant and of the supervisor's automaton. The naive shortcut of reading the "sup" as an arbitrary member of containing skips the content of the supremal-element milestone; the goal is stated with the actual union.
Formalization scope
- The alphabet is a type
αwith[Fintype α]; strings areList α, the empty string is[], and iss ++ [σ]. Languages areSet (List α); the closure ispre K = {s | ∃ t, s ++ t ∈ K}. - A generator is a structure with a state type
Q : Type, a partial transitionδ : α → Q → Option Q, an initial state and a marker set. No finiteness is assumed on states, of the plant or of the supervisor. Supervisors and generators live inType 1. - maps states to
Ec → Bool; an event outside is enabled by definition, so uncontrollable events cannot be disabled. - The closed loop is the product run from ; the accessible part in the paper's display (2.1) changes no language and is not built.
- Standing assumptions carried by every theorem: finite, , supervisor automata accessible (as a hypothesis on every input supervisor and a conjunct of every "there exists a supervisor").
- is
sSupin the complete latticeSet (List α). - A formalization in which the closed loop ignores or the plant, in which completeness is dropped from properness, or in which the supervisor is restricted to finitely many states, is not the paper's theorem and is ruled out by the definitions above.
Welcome contributions: the basic run lemmas (closed-loop runs project to plant and supervisor runs), the string-state supervisor construction, and proofs of the milestones in the given order.
Selected references
- P. J. Ramadge and W. M. Wonham, Supervisory Control of a Class of Discrete Event Processes, SIAM J. Control Optim. 25(1):206–230, 1987. https://doi.org/10.1137/0325013
- W. M. Wonham and P. J. Ramadge, On the Supremal Controllable Sublanguage of a Given Language, SIAM J. Control Optim. 25(3):637–659, 1987. https://doi.org/10.1137/0325036
- C. G. Cassandras and S. Lafortune, Introduction to Discrete Event Systems, 2nd ed., Springer, 2008. https://doi.org/10.1007/978-0-387-68612-7
- W. M. Wonham and K. Cai, Supervisory Control of Discrete-Event Systems, Springer, 2019. https://doi.org/10.1007/978-3-319-77452-7