Skip to content

limited quantifiers in properties #5

Open

Description

@yanntm

there is no real reason we could not use the parameters in the property specification, we having some kind of AndAll/OrAll (or forAll, forAny) quantifiers + bool expr over parameters would be nice

e.g. viking
typedef vik_t = 0..3;
property safe [reachable] : win==1 && forAll($vik : vik) { Soldier_state[$vik]==2 };

syntax to be discussed, but that forall is a boolean Expr.

Activity

  1. yanntm commented on Feb 9, 2018

    @yanntm
    MemberAuthor

    smt aligned "forall" and "exists" keywords for these notions seem good.

  2. yanntm commented on Feb 9, 2018

    @yanntm
    MemberAuthor

    (forall ($x : dom) : var[$x] == 0 || (exists ($y : dom) : $x!=$y && var[$y]==$x))

  3. yanntm commented on Jun 24, 2018

    @yanntm
    MemberAuthor

    commit was target bad issue number

  4. reopened this on Jun 24, 2018
  5. added a commit that references this issue on Apr 8, 2021
  6. added a commit that references this issue on May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions