License: Creative Commons
Attribution–NoDerivatives 4.0 International
Brand: NS-L6 Standard
Status: Normative Appendix
This appendix defines the formal semantics of the NS-L6
Standard using
Extended Backus–Naur Form (EBNF).
The grammar defines the structure of responsibility
assignments,
layer transitions, state declarations, time indices, and
compliance constructs.
Layer = L0 | L1 | L2 | L3 | L4 | L5 | L6 ;
State = identifier ;
TimeIndex = integer ;
Actor = identifier ;
ResponsibilitySet = "∅" | "{" ResponsibilityItem ("," ResponsibilityItem)* "}" ;
ResponsibilityItem = identifier ;
ResponsibilityMapping =
"R" "(" Actor "," Layer "," State "," TimeIndex ")" "→" ResponsibilitySet ;
Constraints:
Observability = "Obs" "(" Actor "," Layer ")" "=" ( "True" | "False" ) ;
Controllability = "Ctrl" "(" Actor "," Layer ")" "=" ( "True" | "False" ) ;
Mandatory consistency rule:
R(a, i, t) ≠ ∅ ⇔ Obs(a, i) = True AND Ctrl(a, i) = True ;
Transition =
Layer "." "T" "(" State "," TimeIndex ")" "=" State ;
Constraints:
StateDeclaration =
Layer "." "State" "(" TimeIndex ")" "=" State ;
ComplianceCheck =
"CHECK" ImperativeName ":" ( "PASS" | "FAIL" ) ;
Where ImperativeName ∈ { NI-1, NI-2, ..., NI-14 }.
Compliance requirements:
NonInvertible =
"NONINV" "(" Layer "," Layer ")" "=" "True" ;
Required for all (i, j) such that i < j.
TimeLocality =
Layer "." "Time" "=" "LocalIndex" ;
No global time index is permitted.
LogicExpr =
"NOT" LogicExpr
| LogicExpr "AND" LogicExpr
| LogicExpr "OR" LogicExpr
| "(" LogicExpr ")"
| Predicate ;
Predicate =
Observability
| Controllability
| ResponsibilityMapping ;
A system is semantically valid if: