<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://req-lang.org/</id>
  <title>req blog</title>
  <updated>2026-11-22T21:07:56.532326+00:00</updated>
  <link href="https://req-lang.org/"/>
  <link href="https://req-lang.org/blog/atom.xml" rel="self"/>
  <generator uri="https://ablog.readthedocs.io/" version="0.11.13">ABlog</generator>
  <entry>
    <id>https://req-lang.org/blog/2026-06-30-authoring-gap.html</id>
    <title>The authoring gap is the root of all evil</title>
    <updated>2026-11-17T00:00:00+01:00</updated>
    <author>
      <name>Sami Dahoux</name>
    </author>
    <content type="html">&lt;section id="the-authoring-gap-is-the-root-of-all-evil"&gt;

&lt;p&gt;Single source of truth, digital continuity, digital twins.
The trinity of any systems engineering consultant or tool vendor.
For years, the SaaS model led us to think that continuity is just a matter of integration.
Connectors would be the way to thread everything, each software keeping its own data.&lt;/p&gt;
&lt;p&gt;In the case of systems engineering, the issue is that a requirement can end up living in up to three places.&lt;/p&gt;
&lt;p&gt;The plain-text requirement within a requirement management software:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id1"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;plain-text requirement&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-none notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;The wheel shall decelerate within 3s
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The model-tracked version of the requirement:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id2"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;model requirement&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-sysml notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Wheel&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;attribute&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;decelerationDuration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ISQ&lt;/span&gt;&lt;span class="p"&gt;::&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wheelDeceleration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;subject&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wheel&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Wheel&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;doc&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;/* The wheel shall decelerate within 3s. */&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;require&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;constraint&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wheel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;decelerationDuration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;SI&lt;/span&gt;&lt;span class="p"&gt;::&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The actually verified version of the requirements.
which might live in code.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id3"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;requirement written in C&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-c notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="cp"&gt;#include&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cpf"&gt;&amp;lt;assert.h&amp;gt;&lt;/span&gt;

&lt;span class="cp"&gt;#define MAX_STOP_TIME_S 3.0&lt;/span&gt;

&lt;span class="kt"&gt;void&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;test_wheel_stops_in_time&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;void&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;wheel_t&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wheel&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wheel_at_speed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;30.0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;elapsed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;brake_until_stopped&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;wheel&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;elapsed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;MAX_STOP_TIME_S&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Or might live in a formal solver, or simulator:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id4"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;formal language (SMT-LIB)&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-scheme notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;declare-const&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;v0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;Real&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="c1"&gt;; speed when braking starts, m/s&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;declare-const&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;Real&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="c1"&gt;; deceleration, m/s^2&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;assert&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;v0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;v0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;30.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;assert&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;/&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;v0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;3.0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;; negation of &amp;quot;stops within 3s&amp;quot;&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;check-sat&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;               &lt;/span&gt;&lt;span class="c1"&gt;; unsat: the requirement holds&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;All these representations drift apart the first time a component is renamed or a threshold changes.
Furthermore, none of them stands at the right level of abstraction to serve, at once, the engineers writing the requirements, the teams working with models and the formal verification back-ends.
This is the &lt;em&gt;authoring gap&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;req keeps the sentence, its vocabulary and its formal property in one file, so they change together and can be checked together.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id5"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;the authoring source, in req&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;System&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Wheel&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;deceleration_duration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; s &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel_deceleration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Wheel&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall decelerate within 3s.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;#&lt;/span&gt;&lt;span class="s"&gt; verification simulation &lt;/span&gt;&lt;span class="p"&gt;#&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Deceleration_bound&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel::deceleration_duration&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel_deceleration&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Wheel::deceleration_duration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The goal is to gather, in a single artifact, everything a verification needs: the sentence, its vocabulary and its formal property.
Deriving a test or a proof from it then requires as few additions as possible.
Ideally, the req file would be the single authoritative artifact, and models, test code and proofs would be either derived from it or ingested into it when it is maintained.
Today, &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;reqtool&lt;/span&gt;&lt;/code&gt; checks references, types and traceability; the verification back-ends are on the roadmap.&lt;/p&gt;
&lt;/section&gt;
</content>
    <link href="https://req-lang.org/blog/2026-06-30-authoring-gap.html"/>
    <summary>Single source of truth, digital continuity, digital twins.
The trinity of any systems engineering consultant or tool vendor.
For years, the SaaS model led us to think that continuity is just a matter of integration.
Connectors would be the way to thread everything, each software keeping its own data.</summary>
    <published>2026-11-17T00:00:00+01:00</published>
  </entry>
  <entry>
    <id>https://req-lang.org/blog/2026-03-24-text-first.html</id>
    <title>Why text-first, and why it is not SysML v2?</title>
    <updated>2026-03-24T00:00:00+01:00</updated>
    <author>
      <name>Sami Dahoux</name>
    </author>
    <content type="html">&lt;section id="why-text-first-and-why-it-is-not-sysml-v2"&gt;
&lt;span id="text-first-label"&gt;&lt;/span&gt;
&lt;p&gt;Since the rise of SysML v2, text-based Model-Based Systems Engineering (MBSE) is becoming more and more popular.
I see two reasons for that:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Having the same &lt;a class="reference external" href="https://doi.org/10.1002/sys.21717"&gt;interoperable&lt;/a&gt; format for system description is the real way out of &lt;a class="reference external" href="https://bentleyoakes.com/assets/publications/Elaasar2025%20-%20MBSE%20Survey.pdf"&gt;vendor lock-in&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Being able to give a precise, machine-readable, meaning to concepts, rather than just representing diagrams&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Benefits go even further when it comes to LLMs.
&lt;a class="reference external" href="https://awortmann.github.io/downloads/paper/The_Language_of_SysML_v2_under_the_Magnifying_Glass.pdf"&gt;Vendor representations&lt;/a&gt; are often hard to parse, &lt;a class="reference external" href="https://thedailywtf.com/articles/dxl"&gt;bloated database&lt;/a&gt; (hello DOORS), &lt;a class="reference external" href="https://www.formalmind.com/?p=1028"&gt;obscure XML&lt;/a&gt;…
On the other hand, text is fast to process and easier to verify and translate.&lt;/p&gt;
&lt;p&gt;Studies of LLMs point the same way: current models &lt;a class="reference external" href="https://arxiv.org/html/2503.22587v1"&gt;struggle to directly generate valid XMI models&lt;/a&gt; (4% valid for GPT-4o), while, as &lt;a class="reference external" href="https://doi.org/10.3390/ai7080274"&gt;Stein et al. note&lt;/a&gt;, the textual notation of SysML v2 makes it more accessible to LLM-based generation than purely graphical modelling languages.
My guess is that a syntax made of generic symbols, which looks like XML, is more likely to be interpreted loosely than one with tokens made for the domain it describes.&lt;/p&gt;
&lt;p&gt;Text is also versionable out of the box.
Free and battle-tested solutions such as git can deal with configurations, baselines and releases with no licence fee: &lt;a class="reference external" href="https://eclipse-score.github.io/score/main/platform_management_plan/config_management.html"&gt;Eclipse S-CORE&lt;/a&gt;, for instance, creates its baselines with GitHub tags.&lt;/p&gt;
&lt;section id="the-twist-with-sysml-v2"&gt;
&lt;h2&gt;The twist with SysML v2&lt;/h2&gt;
&lt;p&gt;Every language designer would defend the above-mentioned arguments; this is uncontroversial.
However, in the case of SysML v2, there is a tradeoff to make, compared to a brand-new language.
The tradeoff is articulated around two points:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;SysML is a graphical language, and its semantics are historically written in prose: it is &lt;a class="reference external" href="https://www.omg.org/spec/SysML/1.6/PDF"&gt;specified using a combination of UML modeling techniques and precise natural language&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SysML v1 was widely used in diverging ways, and v2 must account for that&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;SysML v2 answers the first point with KerML, whose semantics are formal.
But formal here means declarative, not executable: the model execution annex is informative and only &lt;a class="reference external" href="https://www.omg.org/spec/KerML/1.0/PDF"&gt;covers the basic patterns needed to aid development of a complete execution procedure&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It answers the second point by keeping the concepts of v1, written as text: one academic analysis sees it as &lt;a class="reference external" href="https://awortmann.github.io/downloads/paper/The_Language_of_SysML_v2_under_the_Magnifying_Glass.pdf"&gt;a textual enhancement of the graphical v1&lt;/a&gt;.
This transforms the text-first proposal of SysML into graphics as text, mimicking languages like Mermaid in a sense.
It gets worse when the evolution of the language leads to &lt;a class="reference external" href="https://issues.omg.org/issues/SYSML21-609"&gt;considering putting graphical layout-related information&lt;/a&gt; within the specification.&lt;/p&gt;
&lt;p&gt;SysML v2 is text, but it is still a modeling language written as text: the model comes first.&lt;/p&gt;
&lt;p&gt;This is where req diverges from SysML. Being text-first in the case of req means writing statements about a system that can be verified.
The formalism and structure of the statements lead to the diagrams, not the opposite.&lt;/p&gt;
&lt;p&gt;The req language is made to provide guarantees out of the box, and each statement offers the maximum amount of testability, while being human-friendly.
This is because at the end of the day &lt;a class="reference internal" href="blog/2026-03-18-rationale-document-model-bridge.html"&gt;&lt;span class="doc"&gt;stakeholders want to verify requirements, not models&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;req is not incompatible with SysML.
SysML is great to communicate and learn about a system, but deploying a verification setup around it, with tools like Rhapsody or SysML-to-code bridges, costs a lot and is hard to maintain.
The two can work together as long as SysML is mainly there to generate diagrams, is versioned in the same repository as the req sources, and leaves the verifiable statements to req.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="a-tiny-example"&gt;
&lt;h2&gt;A tiny example&lt;/h2&gt;
&lt;p&gt;Take a sentence that a stakeholder could write about an engine: “The engine shall generate torque as a function of RPM as shown in Table 1.”
Here is how the SysML v2 &lt;a class="reference external" href="https://github.com/Systems-Modeling/SysML-v2-Release/tree/master/sysml/src/training/32.%20Requirements"&gt;training material&lt;/a&gt; writes this requirement, trimmed to the essentials:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id1"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;SysML v2, adapted from the official training material&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-sysml notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;&amp;#39;Engine Requirements&amp;#39;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;action&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GenerateTorque&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Engine&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;perform&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;action&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;generateTorque&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GenerateTorque&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TorqueGeneration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;doc&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;/* The engine shall generate torque as a function of RPM as shown in Table 1. */&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;subject&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;generateTorque&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GenerateTorque&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;engineSpecification&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;subject&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;engine&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Engine&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;torqueGeneration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TorqueGeneration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="k"&gt;subject&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;engine&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;generateTorque&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In this example, the textual information is relegated to a documentation comment.
The word “engine” in that comment is plain text (the standard defines the &lt;a class="reference external" href="https://www.omg.org/spec/KerML/1.0/PDF"&gt;body of a comment as a String&lt;/a&gt;): nothing links it to the part.&lt;/p&gt;
&lt;p&gt;The very thing that stakeholders will write and want to be traced is just a comment.
This shows that the process envisioned behind SysML is to build the model first, and to hang the requirement on one of its elements.
Before the sentence can exist, we need an action definition, a part that performs it, a requirement definition and a typed subject: in SysML, you are ultimately drawing elements.&lt;/p&gt;
&lt;p&gt;A stakeholder, technical or not, is unlikely to write this, especially once reuse, inheritance and complex semantics get involved.
So the sentence ends up written twice, once by the stakeholder and once in the model, which doubles the work and creates authoring drift.&lt;/p&gt;
&lt;p&gt;In req, the order is reversed: the stakeholder’s sentence comes first, and the model follows from it, if you need one.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id2"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;The same sentence, as a requirement&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Powertrain&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Engine&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Torque_generation&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Engine&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Engine&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall generate torque as a function of RPM as shown in Table 1.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The sentence is the requirement, as the stakeholder wrote it, and the only thing it needs is a glossary term: &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Engine&lt;/span&gt;&lt;/code&gt;.
Nothing was drawn.&lt;/p&gt;
&lt;p&gt;The sentence is copied into the req file too, but there it is the specification itself, not a comment hanging on a model: the stakeholder can read it as written, the model grows from this text instead of being built beside it, and the req file can become the one place where the sentence lives.&lt;/p&gt;
&lt;p&gt;If you need more, the sentence leads the way: its nouns become attributes, and a first formal reading refines it, without leaving the specification.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id3"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;The sentence, then a first formal reading&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Powertrain&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Engine&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;torque&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; N*m &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Torque_generation&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Engine&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Engine&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall generate torque as a function of RPM as shown in Table 1.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Positive_torque&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Engine::torque&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Torque_generation&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Engine::torque&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Because the text is the specification, a tool can read it all and tell you when a statement makes no sense.
Replace &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;0&lt;/span&gt;&lt;/code&gt; with &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;false&lt;/span&gt;&lt;/code&gt; and &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;reqtool&lt;/span&gt; &lt;span class="pre"&gt;check&lt;/span&gt;&lt;/code&gt; objects right away:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id4"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;reqtool check, after replacing 0 with false&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-none notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;Powertrain::Positive_torque
17:4         expected type Number got Boolean
Engine::torque &amp;gt; false
found 1 issue(s)
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Nothing was drawn to find this mistake, and nothing needs to be: a diagram, if you want one, can be derived from these statements.&lt;/p&gt;
&lt;/section&gt;
&lt;/section&gt;
</content>
    <link href="https://req-lang.org/blog/2026-03-24-text-first.html"/>
    <summary>Since the rise of SysML v2, text-based Model-Based Systems Engineering (MBSE) is becoming more and more popular.
I see two reasons for that:</summary>
    <published>2026-03-24T00:00:00+01:00</published>
  </entry>
  <entry>
    <id>https://req-lang.org/blog/2026-03-22-rationale-requirement-centric.html</id>
    <title>How refinement is design? The requirement-centric approach</title>
    <updated>2026-03-22T00:00:00+01:00</updated>
    <author>
      <name>Sami Dahoux</name>
    </author>
    <content type="html">&lt;section id="how-refinement-is-design-the-requirement-centric-approach"&gt;
&lt;span id="requirement-centric-label"&gt;&lt;/span&gt;
&lt;p&gt;Actually, this isn’t something new.
If you open any Application Lifecycle Management (ALM) software, you will be surprised to observe that everything is a requirement.
From tests to high-level business requirements, it is always free-form specification, plus meta-info.
Only the meta-information around the free-form text changes.
At the end of the day, what a project needs is a clear understanding of coverage and traceability for each artifact.&lt;/p&gt;
&lt;p&gt;I’ve worked as a systems engineer this way without being bothered, because something deeper was happening there.
Requirements were not just pass or fail criteria.
While this is true at the business level, the more we refine, the more engineering decisions are made, and the more we are actually designing the solution.&lt;/p&gt;
&lt;p&gt;An L3 requirement is a technical specification goal; L4 is a specification of what to do to achieve L3. This is because of the entailment relation between a refinement and the refinee.&lt;/p&gt;
&lt;p&gt;This is why the req language is &lt;em&gt;requirement-centric&lt;/em&gt;.
Requirements start as a contractual engagement and transform down to a design constraint.
An assumption is also a requirement, but not on the SoI.
A req specification is just the accumulation of heterogenous kind, but verifiable properties, loosely named requirements.&lt;/p&gt;
&lt;section id="a-tiny-example"&gt;
&lt;h2&gt;A tiny example&lt;/h2&gt;
&lt;p&gt;Take a customer who asks for a kettle that boils one liter of water in under three minutes.
That is the contractual engagement, it says nothing about how.
The kettle delegates the power supply to the mains, as a client would to a contractor.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id1"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;From a contractual engagement to a design constraint&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Kitchen&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Kettle&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Mains&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;max_power&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; W &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Boil_fast&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Kettle&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;via&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Mains&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Kettle&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall boil one liter of water in less than 3 minutes.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Power_supply&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Mains&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;derives&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Boil_fast&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Mains&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall supply the power the &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Kettle&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; needs to boil one liter of water.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Supply_limit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Mains::max_power&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Power_supply&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Mains::max_power&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2000&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Supply_limit&lt;/span&gt;&lt;/code&gt; is where the engineering decision lands: heating a liter of water from 20 °C to boiling in 180 s takes about 1.9 kW before losses, so &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Mains::max_power&lt;/span&gt; &lt;span class="pre"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="pre"&gt;2000&lt;/span&gt;&lt;/code&gt; is a design constraint the customer never asked for.
Accumulate enough of these and the specification is the design.
Drawn as a chain, each arrow is a decision, and this is how the power ends up allocated to the mains:&lt;/p&gt;
&lt;figure class="align-default" id="id2"&gt;
&lt;pre  class="mermaid"&gt;
        flowchart TD
  subgraph kettle [&amp;quot;Kettle, the client&amp;quot;]
    A[&amp;quot;Boil_fast&amp;lt;br/&amp;gt;boil one liter of water&amp;lt;br/&amp;gt;in less than 3 minutes&amp;quot;]
  end
  subgraph mains [&amp;quot;Mains, the supplier&amp;quot;]
    B[&amp;quot;Power_supply&amp;lt;br/&amp;gt;supply the power&amp;lt;br/&amp;gt;the kettle needs&amp;quot;]
    C[&amp;quot;Supply_limit&amp;lt;br/&amp;gt;max_power ≥ 2000 W&amp;quot;]
  end
  A --&amp;gt;|&amp;quot;delegated to the mains&amp;lt;br/&amp;gt;(via, derives)&amp;quot;| B
  B --&amp;gt;|&amp;quot;sized at about 2 kW&amp;lt;br/&amp;gt;(refines)&amp;quot;| C
    &lt;/pre&gt;&lt;figcaption&gt;
&lt;p&gt;&lt;span class="caption-text"&gt;The chain of decisions that allocates the power to the mains&lt;/span&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/section&gt;
&lt;/section&gt;
</content>
    <link href="https://req-lang.org/blog/2026-03-22-rationale-requirement-centric.html"/>
    <summary>Actually, this isn’t something new.
If you open any Application Lifecycle Management (ALM) software, you will be surprised to observe that everything is a requirement.
From tests to high-level business requirements, it is always free-form specification, plus meta-info.
Only the meta-information around the free-form text changes.
At the end of the day, what a project needs is a clear understanding of coverage and traceability for each artifact.</summary>
    <published>2026-03-22T00:00:00+01:00</published>
  </entry>
  <entry>
    <id>https://req-lang.org/blog/2026-03-18-rationale-document-model-bridge.html</id>
    <title>Document vs. models, how to bridge the gap ?</title>
    <updated>2026-03-18T00:00:00+01:00</updated>
    <author>
      <name>Sami Dahoux</name>
    </author>
    <content type="html">&lt;section id="document-vs-models-how-to-bridge-the-gap"&gt;
&lt;span id="document-model-bridge-label"&gt;&lt;/span&gt;
&lt;p&gt;We, engineers, love to draw diagrams and represent things schematically.
Despite the lack of formal meaning, diagrams help thinking and communicating intent.
Sometimes it even leads to a real engineering concept being named after the color used to draw it.
The red-green trees of the C# compiler Roslyn are called that &lt;a class="reference external" href="https://ericlippert.com/2012/06/08/red-green-trees/"&gt;because those were the whiteboard marker colors&lt;/a&gt; used to draw the data structure in the design meeting, and the terminology &lt;a class="reference external" href="https://github.com/rust-lang/rust-analyzer/blob/master/docs/book/src/contributing/syntax.md"&gt;went on to name&lt;/a&gt; rust-analyzer’s &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;rowan&lt;/span&gt;&lt;/code&gt; library.&lt;/p&gt;
&lt;p&gt;On the other hand we are often required (despite the lack of eagerness) to fill plain text documents for contractual, traceability, or safety reasons. These are typical requirements specifications, technical specifications, …&lt;/p&gt;
&lt;p&gt;These documents are needed, and I bet that in 20 years we will still be using those. The reasons for that are simple:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Not every stakeholder understands diagrams or models, and should not be expected to&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Not every system property, assumption or goal can be relevantly represented as a diagram&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Systems are primarily designed from requirements living in one or several contracts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The system architecture and design should reflect the expectations of the contracts&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These reasons led me to think that Model-Based Systems Engineering nowadays feels like drawing boxes and arrows rather than thinking about the systems.&lt;/p&gt;
&lt;p&gt;Even worse, translating these models to other engineers adds overhead and creates friction that kills the benefits of the modeling effort.
An electrical engineer needs significant refinement of a SysML model to be able to work from it, and modeling-tool vendors concede part of the problem: SysML &lt;a class="reference external" href="https://www.jamasoftware.com/blog/sysml-is-not-enough-why-you-still-need-a-requirements-management-tool/"&gt;lacks use in phases like detail design and implementation&lt;/a&gt;, and it is &lt;a class="reference external" href="https://www.zuken.com/us/blog/lost-in-translation/"&gt;a communication mechanism between those trained in the notation&lt;/a&gt;, as Vitech’s president puts it, “but what about everyone else?”
Software engineers have largely walked away from the UML too: in &lt;a class="reference external" href="https://neverworkintheory.org/2013/06/13/uml-in-practice-2.html"&gt;Petre’s interviews&lt;/a&gt; of 50 professional software engineers, 35 used no UML at all and none used it wholeheartedly.
Chances are that they won’t be using boxes-and-arrows modeling any time soon for specification.&lt;/p&gt;
&lt;p&gt;This is where req takes a hybrid approach.
The existing plain-text artifact can be translated into a req specification out of the box with no modeling effort.
The model is then built from this plain-text specification by extracting nouns, verbs and any relevant pieces of information.
The way these pieces of information relate, notably via formal requirements, creates the diagrams.&lt;/p&gt;
&lt;p&gt;In concrete terms, consider the sentence “The system shall have a temperature of 30C”. One extracts “System” and “temperature” into a glossary, then rephrases it as &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;System::temperature&lt;/span&gt; &lt;span class="pre"&gt;shall&lt;/span&gt; &lt;span class="pre"&gt;be&lt;/span&gt; &lt;span class="pre"&gt;equal&lt;/span&gt; &lt;span class="pre"&gt;to&lt;/span&gt; &lt;span class="pre"&gt;30C&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This is how req can achieve bridging between old-school documents and beloved diagrams.
In contrast to pure modeling languages such as SysML, the approach requires less upfront investment.
The tradeoff is that the authors would have to follow a strict ontology and write requirements from lower level building blocks.&lt;/p&gt;
&lt;section id="a-tiny-example"&gt;
&lt;h2&gt;A tiny example&lt;/h2&gt;
&lt;p&gt;Consider a plain-text specification containing these two sentences:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;The room shall be kept warm.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The heater shall heat the room whenever it is too cold.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Extracting the nouns gives a glossary: a &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Room&lt;/span&gt;&lt;/code&gt; with a temperature and a &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Heater&lt;/span&gt;&lt;/code&gt; with a power.
Rephrased against that glossary, the sentences become requirements:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id1"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;The two sentences, rephrased in req&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;System&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Room&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;temperature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; C &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Heater&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;power&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; W &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Keep_warm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Room&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Room&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall be kept warm.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Warm_enough&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Room::temperature&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Keep_warm&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Room::temperature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Heater_role&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Heater&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Heater&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall heat the &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Room&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; whenever it is too cold.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Heat_when_cold&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Heater::power&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Heater_role&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Room::temperature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;implies&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;Heater::power&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;As the coupling is implicit it is hard to identify the arrow between &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Heater&lt;/span&gt;&lt;/code&gt; and &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Room&lt;/span&gt;&lt;/code&gt;.
It is there because &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Heat_when_cold&lt;/span&gt;&lt;/code&gt; reads the temperature of one to constrain the power of the other.
Collect such links over the whole specification and a diagram can be derived:&lt;/p&gt;
&lt;figure class="align-default" id="id2"&gt;
&lt;pre  class="mermaid"&gt;
        classDiagram
  class Room {
    temperature : real [C]
  }
  class Heater {
    power : real [W]
  }
  Heater ..&amp;gt; Room : Heat_when_cold
    &lt;/pre&gt;&lt;figcaption&gt;
&lt;p&gt;&lt;span class="caption-text"&gt;Diagram derived from the specification above&lt;/span&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;&lt;a class="reference external" href="https://qitab.io"&gt;Qitab&lt;/a&gt;, the editor for req, already draws similar interaction diagrams.
The same reading gives other diagrams: the &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;refines&lt;/span&gt;&lt;/code&gt; links, for instance, give the traceability tree between requirements.&lt;/p&gt;
&lt;/section&gt;
&lt;/section&gt;
</content>
    <link href="https://req-lang.org/blog/2026-03-18-rationale-document-model-bridge.html"/>
    <summary>We, engineers, love to draw diagrams and represent things schematically.
Despite the lack of formal meaning, diagrams help thinking and communicating intent.
Sometimes it even leads to a real engineering concept being named after the color used to draw it.
The red-green trees of the C# compiler Roslyn are called that because those were the whiteboard marker colors used to draw the data structure in the design meeting, and the terminology went on to name rust-analyzer’s rowan library.</summary>
    <published>2026-03-18T00:00:00+01:00</published>
  </entry>
  <entry>
    <id>https://req-lang.org/blog/2026-02-07-pillars.html</id>
    <title>The pillars of the req language</title>
    <updated>2026-02-07T00:00:00+01:00</updated>
    <author>
      <name>Sami Dahoux</name>
    </author>
    <content type="html">&lt;section id="the-pillars-of-the-req-language"&gt;
&lt;span id="foundations-label"&gt;&lt;/span&gt;
&lt;p&gt;Considering the huge workload required to design a new language, one must have strong reasons.
Especially in a vast field such as specification.
That is why I would like to explain the vision behind the req language.&lt;/p&gt;
&lt;p&gt;It basically breaks down into three pillars.
Together they represent what I believe is the near-future way of writing requirements specifications.
The req language is made to enable all three.&lt;/p&gt;
&lt;section id="requirement-as-code"&gt;
&lt;h2&gt;Requirement-as-code&lt;/h2&gt;
&lt;p&gt;The Infrastructure-as-Code (IaC) approach has become standard practice in DevOps; the equivalent for specifications barely exists.
Software teams write specs in markdown, StrictDoc, or directly in code documentation.
Systems engineers are turning to SysML v2, but for requirements themselves, &lt;a class="reference external" href="https://scholarworks.gvsu.edu/oapsf_articles/32/"&gt;the most popular commercial tools host a database on a central server&lt;/a&gt; — DOORS, for one, &lt;a class="reference external" href="https://thedailywtf.com/articles/dxl"&gt;stored all its data in a proprietary database&lt;/a&gt;, and a survey of requirements approaches still calls it &lt;a class="reference external" href="https://arxiv.org/abs/1911.02564"&gt;“widely used in industry”&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Database-backed tools fall short of file-based workflows in one crucial respect: precise versioning and tracking.
In software — and especially DevOps — git workflows track every commit and can trigger powerful automation.
For requirements, that same data lives inside a vendor tool, with &lt;a class="reference external" href="https://scholarworks.gvsu.edu/oapsf_articles/32/"&gt;an inherent disconnection from the project’s source files&lt;/a&gt; and a hard dependency on (often legacy) software.
Automating that software takes custom scripting — with DOORS, you &lt;a class="reference external" href="https://thedailywtf.com/articles/dxl"&gt;needed to learn DXL&lt;/a&gt;, the Doors eXtension Language.&lt;/p&gt;
&lt;p&gt;This is why requirements and specifications should be human-readable code — not DOCX, not XML, not an ALM record.
A change to a requirement is then an ordinary diff, reviewed like code:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id1"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;Raising a voltage threshold, as git shows it&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-diff notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;  requirement Voltage_floor top bottom
&lt;span class="w"&gt; &lt;/span&gt;    on Battery::voltage
&lt;span class="w"&gt; &lt;/span&gt;  is
&lt;span class="gd"&gt;-    Battery::voltage &amp;gt;= 2.0&lt;/span&gt;
&lt;span class="gi"&gt;+    Battery::voltage &amp;gt;= 2.4&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;  requirement
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/section&gt;
&lt;section id="progressive-formalization"&gt;
&lt;h2&gt;Progressive formalization&lt;/h2&gt;
&lt;p&gt;A requirement must often serve both ends of the spectrum: formal and standardized enough for domain experts, yet still capturing a decision made by a non-technical stakeholder.
The same survey puts the dilemma plainly: &lt;a class="reference external" href="https://arxiv.org/abs/1911.02564"&gt;“Most requirements are written in natural language, good for understandability but lacking in precision.”&lt;/a&gt;
Among the formal methods experts surveyed in 2020, Erik de Vink names it as one of two main challenges: &lt;a class="reference external" href="https://doi.org/10.1007/978-3-030-58298-2_1"&gt;“document requirements specifications formally so that all stakeholders can be involved and understand the specification”&lt;/a&gt;.
Few existing formats follow a specification all the way from elicitation — initial, back-of-the-envelope writing — through to detailed design.
A survey of 22 requirements approaches, SysML among them, still lists &lt;a class="reference external" href="https://arxiv.org/abs/1911.02564"&gt;seamlessness among its open questions&lt;/a&gt;.
Traceability research has pointed at the weak link since 1994: &lt;a class="reference external" href="https://discovery.ucl.ac.uk/749/"&gt;the majority of traceability problems are due to inadequate pre-RS traceability&lt;/a&gt;, meaning what happens to a requirement before it makes it into the specification.
Decisions end up scattered across files and databases, making alignment slower to understand and easier to get wrong.&lt;/p&gt;
&lt;p&gt;Start the specification in plain-text markdown and progressively refine it as the solution takes shape.
Several levels of abstraction and formalism live in the same set of source files.
Modeling falls out of the specification process itself, as a byproduct of introducing glossary terms.&lt;/p&gt;
&lt;p&gt;Here is the smallest example: a sentence, and its formal refinement, in the same file.&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id2"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;A sentence, then its formalization&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-req notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;System&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;Wheel&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;let&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;deceleration_duration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;real&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="si"&gt; s &lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;part&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel_deceleration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;top&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="cm"&gt;@@&lt;/span&gt;
&lt;span class="cm"&gt;      The &lt;/span&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="nv"&gt;Wheel&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="cm"&gt; shall decelerate within 3s.&lt;/span&gt;
&lt;span class="cm"&gt;    @@&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;

&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Deceleration_bound&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;bottom&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel::deceleration_duration&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="k"&gt;refines&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Wheel_deceleration&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nv"&gt;Wheel::deceleration_duration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;requirement&lt;/span&gt;
&lt;span class="k"&gt;package&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The sentence is the requirement, as the stakeholder wrote it, and &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Deceleration_bound&lt;/span&gt;&lt;/code&gt; refines it once the part and its attribute exist.
More complete files are in &lt;a class="reference internal" href="tutorials/examples.html#examples-label"&gt;&lt;span class="std std-ref"&gt;By Examples&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This keeps a single source of truth for the specification, one that can be dispatched to any downstream tool.
It also brings real rigor to spec-driven workflows that plain text alone can’t provide.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="specification-diagnostic"&gt;
&lt;h2&gt;Specification diagnostic&lt;/h2&gt;
&lt;p&gt;Requirements and design are where a large share of defects in software and systems originate, from misunderstandings between stakeholders.
On that side, NaPiRE, a survey of 58 German companies, could &lt;a class="reference external" href="https://arxiv.org/abs/1611.09511"&gt;“corroborate communication flaws or moving targets as problems in practice”&lt;/a&gt;.
Capers Jones puts them at &lt;a class="reference external" href="https://insights.cermacademy.com/?p=342"&gt;45% of defect potential&lt;/a&gt;, a NIST report gives &lt;a class="reference external" href="https://www.nist.gov/document/report02-3pdf"&gt;an example distribution with 70% of errors introduced&lt;/a&gt; in requirements and architectural design, and in Voyager and Galileo spacecraft software misunderstood requirements were &lt;a class="reference external" href="https://blog.acolyer.org/2017/12/01/analyzing-software-requirements-errors-in-safety-critical-embedded-systems/"&gt;the primary cause of the safety-related behavioural faults&lt;/a&gt; Lutz analyzed.
Agile workflows are no exception: specifications are ephemeral, and recovering intent from archived tickets to understand what the system does is a common, painful example.
In &lt;a class="reference external" href="https://wire.com/en/blog/what-jira-tickets-are-for"&gt;one worked example&lt;/a&gt; it means going through all the tickets and building a mental model of every incremental change, and tickets accumulate &lt;a class="reference external" href="https://increment.com/documentation/documentation-in-an-agile-world/"&gt;false starts and so much detail that they can be hard to follow&lt;/a&gt;.
The cost of those defects resurfaces at the test campaign and at every deployment, and it is often much higher than fixing the specification directly.
Boehm and Basili put a late fix at &lt;a class="reference external" href="https://condor.depaul.edu/dmumaugh/readings/handouts/SE425/J81.pdf"&gt;often 100 times&lt;/a&gt; the cost of fixing it during requirements and design, though nearer 5 to 1 for small noncritical systems, and &lt;a class="reference external" href="https://arxiv.org/abs/1609.04886"&gt;a study of 171 projects&lt;/a&gt; found no evidence of the effect at all.&lt;/p&gt;
&lt;p&gt;Make the specification, especially requirements, statically analyzable as it is written, like a programming language — catching everything from phrasing issues to formal contradictions thanks to its progressively formal nature.
Make it so that it is at least easy and ideally automated to check if a given solution satisfies the requirements.&lt;/p&gt;
&lt;p&gt;Replace the &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;3&lt;/span&gt;&lt;/code&gt; of &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;Deceleration_bound&lt;/span&gt;&lt;/code&gt; with &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;false&lt;/span&gt;&lt;/code&gt; and the checker objects at once:&lt;/p&gt;
&lt;div class="literal-block-wrapper docutils container" id="id3"&gt;
&lt;div class="code-block-caption"&gt;&lt;span class="caption-text"&gt;reqtool check&lt;/span&gt;&lt;/div&gt;
&lt;div class="highlight-none notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;System::Deceleration_bound
17:4         expected type Number got Boolean
Wheel::deceleration_duration &amp;lt;= false
found 1 issue(s)
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/section&gt;
&lt;/section&gt;
</content>
    <link href="https://req-lang.org/blog/2026-02-07-pillars.html"/>
    <summary>Considering the huge workload required to design a new language, one must have strong reasons.
Especially in a vast field such as specification.
That is why I would like to explain the vision behind the req language.</summary>
    <published>2026-02-07T00:00:00+01:00</published>
  </entry>
</feed>
