Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with cherry picking function sets #1748

Open
rodrigo7491 opened this issue May 13, 2022 · 1 comment
Open

Problem with cherry picking function sets #1748

rodrigo7491 opened this issue May 13, 2022 · 1 comment

Comments

@rodrigo7491
Copy link
Collaborator

Description

Another bug discovered via #1588. It seems to be encoding-independent.

Input specification

------ MODULE Oracle --------
VARIABLES
  \* @type: Set((Bool -> Int));
  witness,
  \* @type: Bool;
  found

Init ==
  /\ witness \in {[{TRUE} -> {0, 12}], [{TRUE} -> {13, 1}]}
  /\ found \in BOOLEAN

Next ==
  UNCHANGED <<witness, found>>

NotFound ==
  ~found
======================

The command line parameters used to run the tool

apalache-mc check --smt-encoding=oopsla19 Oracle.tla
apalache-mc check --smt-encoding=arrays Oracle.tla

Additional context

at.forsyte.apalache.tla.bmcmt.RewriterException: Do not know how pick an element from a set of type: FinFunSet[CellTFrom(Set(Bool)), CellTFrom(Set(Int))]

@konnov konnov changed the title Problem with cherry picking funtion sets Problem with cherry picking function sets May 13, 2022
@konnov
Copy link
Collaborator

konnov commented May 13, 2022

This is related to #1452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants