Algorithm Search⌘K

Definitionadvanced

Normal language

Also called normality of languages.

A language is normal if every plant string that looks like one of its strings through the projection is also in it. Normality implies observability and is closed under union.

A language KK is normal with respect to a plant when the projection of a string alone tells whether the string is in KK: every plant string that has the same projection as some string of KK is itself in KK. In supervisory control with partial observation, a normal specification is easy to enforce, because the supervisor never has to tell apart two strings that look the same. Normality is stronger than observability, but unlike observability it is closed under union, so every language has a largest normal sublanguage. Lin and Wonham introduced it in 1988.

Definition

Let GG be a plant over Σ\Sigma with generated language L(G)L(G), let Σo⊆Σ\Sigma_o \subseteq \Sigma be the observable events, and let P:Σ∗→Σo∗P : \Sigma^* \to \Sigma_o^* be the natural projection that erases the unobservable events. For T⊆Σo∗T \subseteq \Sigma_o^*, the inverse projection is P−1(T)={s∈Σ∗:P(s)∈T}P^{-1}(T) = \{s \in \Sigma^* : P(s) \in T\}.

A language K⊆MK \subseteq M is normal with respect to MM and PP if K=P−1(P(K))∩M.\displaystyle K = P^{-1}(P(K)) \cap M.

The inclusion ⊆\subseteq always holds, so the condition says: if s∈Ms \in M and P(s)=P(s′)P(s) = P(s') for some s′∈Ks' \in K, then s∈Ks \in K. In supervisory control the usual case is a prefix-closed specification with M=L(G)M = L(G): K‾\overline{K} is normal if K‾=P−1(P(K‾))∩L(G)\overline{K} = P^{-1}(P(\overline{K})) \cap L(G).

Normal implies observable. Let K‾\overline{K} be normal with respect to L(G)L(G). Take s,s′∈K‾s, s' \in \overline{K} with P(s)=P(s′)P(s) = P(s') and an event σ\sigma with sσ∈K‾s\sigma \in \overline{K} and s′σ∈L(G)s'\sigma \in L(G). Then P(s′σ)=P(sσ)P(s'\sigma) = P(s\sigma), so s′σ∈P−1(P(K‾))∩L(G)=K‾s'\sigma \in P^{-1}(P(\overline{K})) \cap L(G) = \overline{K}. This holds for every σ\sigma, controllable or not.

The converse when all controllable events are observable. Let Σc⊆Σo\Sigma_c \subseteq \Sigma_o and let K‾⊆L(G)\overline{K} \subseteq L(G) be controllable and observable. Then K‾\overline{K} is normal.

Proof. Show by induction on ∣s∣|s|: if s∈L(G)s \in L(G), s′′∈K‾s'' \in \overline{K} and P(s)=P(s′′)P(s) = P(s''), then s∈K‾s \in \overline{K}. For s=εs = \varepsilon this holds since K‾\overline{K} is nonempty. Let s=tσs = t\sigma. If σ\sigma is unobservable, then P(t)=P(s′′)P(t) = P(s''), so t∈K‾t \in \overline{K} by induction. Also σ∈Σuc\sigma \in \Sigma_{uc}, because Σc⊆Σo\Sigma_c \subseteq \Sigma_o, so controllability gives tσ∈K‾t\sigma \in \overline{K}. If σ\sigma is observable, write s′′=s1σs2s'' = s_1 \sigma s_2 with P(s1)=P(t)P(s_1) = P(t) and s2s_2 unobservable. Then s1σ∈K‾s_1 \sigma \in \overline{K}, and t∈K‾t \in \overline{K} by induction. If σ∈Σuc\sigma \in \Sigma_{uc}, controllability gives tσ∈K‾t\sigma \in \overline{K}. If σ∈Σc\sigma \in \Sigma_c, observability with the pair s1s_1, tt gives tσ∈K‾t\sigma \in \overline{K}. ■\blacksquare

Closure under union. PP, P−1P^{-1} and the intersection with MM commute with unions, so a union of normal languages is normal. So every KK has a largest normal sublanguage sup⁡N(K)\sup N(K), and, since controllability is also closed under union, a largest controllable and normal sublanguage sup⁡CN(K)\sup CN(K). For a prefix-closed K⊆L(G)K \subseteq L(G), Brandt et al. (1990) give closed formulas. The one for normality is

sup⁡N(K)=K−P−1(P(L(G)−K)) Σ∗.\sup N(K) = K - P^{-1}\big(P(L(G) - K)\big)\,\Sigma^*.

In words: drop ss from KK if some prefix of ss has the same projection as a plant string outside KK. The projection step needs a subset construction in general, so the automaton for sup⁡N(K)\sup N(K) can be much larger than those for KK and GG.

Examples and non-examples

Let Σ={a,u}\Sigma = \{a, u\} with aa observable and uu unobservable, both controllable, and L(G)={ε,a,u,ua}L(G) = \{\varepsilon, a, u, ua\}. So P(u)=εP(u) = \varepsilon and P(ua)=aP(ua) = a. This is the plant of the example on observable language.

KK P−1(P(K))∩L(G)P^{-1}(P(K)) \cap L(G) normal observable
{ε,a,u}\{\varepsilon, a, u\} {ε,a,u,ua}\{\varepsilon, a, u, ua\} no no
{ε,a}\{\varepsilon, a\} {ε,a,u,ua}\{\varepsilon, a, u, ua\} no yes
{ε,u}\{\varepsilon, u\} {ε,u}\{\varepsilon, u\} yes yes
{ε}\{\varepsilon\} {ε,u}\{\varepsilon, u\} no yes
  • Normal. {ε,u}\{\varepsilon, u\} is normal: the only plant strings with projection ε\varepsilon are ε\varepsilon and uu, and both are in it.
  • Observable but not normal. {ε,a}\{\varepsilon, a\} is observable, but uaua looks like aa and is not in it. This does not contradict the converse above: uu is controllable and unobservable, so Σc⊆Σo\Sigma_c \subseteq \Sigma_o is false here. {ε}\{\varepsilon\} fails for the same reason, because uu looks like ε\varepsilon.
  • The supremal normal sublanguage. For K={ε,a,u}K = \{\varepsilon, a, u\}, the plant strings outside KK are {ua}\{ua\}, with projection aa. The strings of KK with a prefix of projection aa are {a}\{a\}. So sup⁡N(K)={ε,u}\sup N(K) = \{\varepsilon, u\}. A brute force check over all sublanguages agrees. By contrast, KK has two maximal observable sublanguages, {ε,a}\{\varepsilon, a\} and {ε,u}\{\varepsilon, u\}, and no largest one.
  • Full observation. If Σo=Σ\Sigma_o = \Sigma, then PP is the identity and every K⊆MK \subseteq M is normal.
  • Observable language. The weaker condition that is exact for the existence of a supervisor under partial observation. See observable language.
  • Controllable language. See controllable language. The supremal controllable and normal sublanguage is the least restrictive specification that a supervisor under partial observation can enforce among the normal ones. It can be smaller than a maximal controllable and observable sublanguage.
  • Supremal controllable sublanguage. For full observation, sup⁡C(K)\sup C(K) is computed by a fixed point on a product automaton; see supremal controllable sublanguage.
  • Normality in diagnosis. The inverse projection P−1(P(s))∩L(G)P^{-1}(P(s)) \cap L(G) is the set of strings that the diagnosability analysis must tell apart: the strings that the observer cannot distinguish from ss.

References

  1. F. Lin and W. M. Wonham, On observability of discrete-event systems, Information Sciences 44(3), 1988, pages 173 to 198, the definition of normality, its relation to observability and closure under union
  2. R. D. Brandt, V. Garg, R. Kumar, F. Lin, S. I. Marcus and W. M. Wonham, Formulas for calculating supremal controllable and normal sublanguages, Systems and Control Letters 15(2), 1990, pages 111 to 117, the closed formulas for the supremal normal and the supremal controllable normal sublanguage
  3. Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, Chapter 3, Supervisory Control (control under partial observation)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/DXX7YB/text.yaml