I have a module, let's call it Spec.tla and a module MC_Spec.tla which instantiates Spec.tla. I would like to use MC_Spec.tla to run model checking with Apalache. The variables in both modules are annotated, and so are the constants in Spec.tla. Most of the annotations use type aliases, which are defined in a third module, Spec_Definitions.tla. Running the type checker on Spec.tla says that the types are great, but on MC_Spec.tla, it complains that an already annotated operator is undefined.
Description
I have a module, let's call it
Spec.tla
and a moduleMC_Spec.tla
which instantiatesSpec.tla
. I would like to useMC_Spec.tla
to run model checking with Apalache. The variables in both modules are annotated, and so are the constants inSpec.tla
. Most of the annotations use type aliases, which are defined in a third module,Spec_Definitions.tla
. Running the type checker onSpec.tla
says that the types are great, but onMC_Spec.tla
, it complains that an already annotated operator is undefined.Input specification
IBCCore.tla MC_IBCCore.tla
The command line parameters used to run the tool
and
Expected behavior
No errors for
MC_IBCCore.tla
.Log files
apalache-mc typecheck IBCCore.tla
detailed.log
apalache-mc typecheck MC_IBCCore.tla
System information
Additional context