and4 function

Requirements.LogicalFunctions.and4  ยท source

Icon of and4

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 bViolatedUndecidedSatisfiedUndefined
ViolatedViolatedViolatedViolatedViolated
UndecidedViolatedUndecidedUndecidedUndecided
SatisfiedViolatedUndecidedSatisfiedSatisfied
UndefinedViolatedUndecidedSatisfiedUndefined

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

DateDescription
Sept. 15, 2026Added with the fourth value Undefined (H. Tummescheit, Model Based Innovation LLC)

Inputs

NameTypeDescription
a inputPropertyFirst operand
b inputPropertySecond operand

Outputs

NameTypeDescription
result outputProperty= a and b