Skip to content

Clarification of differences between ExistsAL and ExistsL and similar logical constraints #380

@hfaghihi15

Description

@hfaghihi15

Hi @auszok,

I want a clarification between logical interface that can be both AL or L such as Atmost, Exists and Atleast.

My assumption is that whenever we have only one concept inside these constraint, we should use AL because we mean to count the variables that match that setting, whenever we have multiple concepts inside, then we have to use L which means to count the concepts for the same variable. Is that right?

So the following constraint is actually wrong and should be changed, right?

ifL(
        entity('e'),
        atMostL(
            when_create('x', path=('e', action_entity.reversed)),
        ), active = All_LC
    )

because I wanted to say that there should be almost one x that is found from that path and is correct. but this is saying that all when_creates should be correct because this is only one concept.

Could you please clarify this?

Metadata

Metadata

Assignees

Labels

document missingSomething need more clear documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions