Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite for set membership of the powerset of a record where the reco…
…rd has infinite co-domains. Simplified real-world scenario: ```tla EXTENDS Integers VARIABLE \* @type: Set({ p: (Int) }); v TypeOK == v \in SUBSET [ p: Int ] Init == v = { [p |-> 42] } Next == UNCHANGED v ``` Apalache Error: ```sh $ apalache-mc check --inv=TypeOK APARecSub.tla [...] Input error (see the manual): Found a set map over an infinite set of CellTFrom(Int). Not supported. ``` Rewrite: ```tla S \in SUBSET [a : T] ~~> \A r \in S: DOMAIN r = { "a" } /\ r.a \in T ``` Related commits, issues, PRs: * 625a164 * 785e269 * apalache-mc#723 * apalache-mc#1627 * apalache-mc#2762 * apalache-mc#1453 * apalache-mc#1629 Signed-off-by: Markus Alexander Kuppe <[email protected]>
- Loading branch information