Skip to content

Annotate SPEC with (optional) expected verdict #23

Description

@lou1306

Right now an rcp file contains a) a ReCiPe system and b) zero or more specification, and it is "correct" iff its system satisfies all the specifications.

Sometimes it is nice to include properties that we know are not satisfied by the system. E.g., for regression testing, or to document an expected behaviour of the system. Thus, it would be nice to decorate specifications with their expected verification outcome.

My suggestion is to allow a syntax

SPEC{b} phi;

where b ::= true|false denotes the expexted outcome of verifying the system against phi. For compatibility and to keep the specs compact, we would treat SPEC phi as synonym for SPEC{true} phi.

Then, an rcp file is correct iff all of its specifications give the expected verification verdict, be it true or false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammarIssues that are strictly related to the EBNF of the languagelow-priorityIssues that are not crucial and do not have to be addressed straight away.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions