You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working on a research project using Apalache and I’m trying to extract the logical formula corresponding to a TLA+ specification before it is lowered into the SMT cell encoding ($C$0, $C$1, ...).
I know Apalache produces log0.smt, but at that stage the formula is already encoded over arena cells, which is difficult to relate back to the original TLA+ operators.
My goal is to access something closer to the parsed/typed representation of operators such as Init and Next (for example as TlaEx / TlaOperDecl, or another IR), ideally before SMT translation.
I wanted to ask:
Is there an existing API, CLI flag, or internal utility in Apalache to export or print the IR of Init / Next before SMT encoding?
Is there a recommended way to access the generated symbolic formula before it becomes arena-cell based SMT?
If not, which part of the codebase would you recommend extending to extract this representation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Apalache team,
I’m working on a research project using Apalache and I’m trying to extract the logical formula corresponding to a TLA+ specification before it is lowered into the SMT cell encoding (
$C$0,$C$1, ...).I know Apalache produces
log0.smt, but at that stage the formula is already encoded over arena cells, which is difficult to relate back to the original TLA+ operators.My goal is to access something closer to the parsed/typed representation of operators such as
InitandNext(for example asTlaEx/TlaOperDecl, or another IR), ideally before SMT translation.I wanted to ask:
Init/Nextbefore SMT encoding?Any pointers would be greatly appreciated.
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions