Skip to content

Defining ExactL between various concepts #371

@hfaghihi15

Description

@hfaghihi15

Hello @auszok!

I was wondering how we should define the following constraint:

For each step, entity, only one of the action_create, action_move, action_destory can be correct

Is the following correct?

forAllL(
        combinationC(step, entity)('i', 'e'),
        ifL(
            action(path=(('i', action_step.reversed), ('e', action_entity.reversed))),
            atMostL(action_create, action_destroy, action_move)
        )
    )

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions