.. _requirement-centric-label:
How refinement is design? The requirement-centric approach
========================================================================================
.. post:: 2026-03-22
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.
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.
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.
This is why the req language is *requirement-centric*.
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.
A tiny example
**************
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.
.. code-block:: req
:caption: From a contractual engagement to a design constraint
package Kitchen
part Kettle
part
part Mains
let max_power in real \ W \
part
requirement Boil_fast top
on Kettle
via Mains
is
@@
The [[Kettle]] shall boil one liter of water in less than 3 minutes.
@@
requirement
requirement Power_supply
on Mains
derives Boil_fast
is
@@
The [[Mains]] shall supply the power the [[Kettle]] needs to boil one liter of water.
@@
requirement
requirement Supply_limit bottom
on Mains::max_power
refines Power_supply
is
Mains::max_power >= 2000
requirement
package
``Supply_limit`` 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 ``Mains::max_power >= 2000`` 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:
.. mermaid::
:caption: The chain of decisions that allocates the power to the mains
flowchart TD
subgraph kettle ["Kettle, the client"]
A["Boil_fast
boil one liter of water
in less than 3 minutes"]
end
subgraph mains ["Mains, the supplier"]
B["Power_supply
supply the power
the kettle needs"]
C["Supply_limit
max_power ≥ 2000 W"]
end
A -->|"delegated to the mains
(via, derives)"| B
B -->|"sized at about 2 kW
(refines)"| C