and4 function
Requirements.LogicalFunctions.and4
ยท source
4-valued logic 'and' of two Property values (ETL: Undefined is the neutral element)
Extends Requirements.Interfaces.PropertyFunction
Syntax
result = and4(a, b);
Description
The four-valued logic and of two Property
values, with the extended temporal logic (ETL) table of EDF's ReqSysPro / CRML
(CRML.Blocks.Logical4.and4). Undefined (not applicable) is the neutral element:
and4(Undefined, b) = b. The table (rows a, columns b):
a and4 b Violated Undecided Satisfied Undefined Violated Violated Violated Violated Violated Undecided Violated Undecided Undecided Undecided Satisfied Violated Undecided Satisfied Satisfied Undefined Violated Undecided Satisfied Undefined
On {Violated, Undecided, Satisfied} this is the three-valued (Kleene) and the library had before version 0.8.0. The operator is commutative, associative and idempotent, and De Morgan's laws hold with or4 and not4; absorption and distributivity do not hold (see Property), so an expression over Property values must be evaluated as written, never simplified.
Revisions
| Date | Description |
|---|---|
| Sept. 15, 2026 | Added with the fourth value Undefined (H. Tummescheit, Model Based Innovation LLC) |
Inputs
| Name | Type | Description |
|---|---|---|
a input | Property | First operand |
b input | Property | Second operand |
Outputs
| Name | Type | Description |
|---|---|---|
result output | Property | = a and b |