Skip to content

Conversation

@Stevengre
Copy link
Contributor

No description provided.

…dd-module rules

When converting KRule to Kore axioms via add-module, variables that appear
in RHS but not in LHS (existential variables) were not being wrapped with
\exists quantifiers. This caused a structural difference compared to rules
generated by kompile.

This change adds two helper functions:
- _collect_evars: collects all EVar instances from a Kore pattern
- _add_exists_quantifiers: wraps RHS with \exists for each existential var

The transformation is applied after krule_to_kore in _load_extra_module_rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants