Skip to content

Function Invocation Simplification#216

Open
rcosta358 wants to merge 3 commits intoimprove-simplificationfrom
function-invocation-simplification
Open

Function Invocation Simplification#216
rcosta358 wants to merge 3 commits intoimprove-simplificationfrom
function-invocation-simplification

Conversation

@rcosta358
Copy link
Copy Markdown
Collaborator

@rcosta358 rcosta358 commented May 9, 2026

Description

This PR allows the simplification of function invocations, which works by adding the function string representation as a key to the variable resolver map.

Example

Before

State Refinement Error: Expected state size(stack²⁹⁵) > 0 but found size(stack²⁹⁵) == size(stack²⁹⁴) - 1 && size(stack²⁹⁴) == size(stack²⁹²) + 1 && size(stack²⁹²) == 0

After

State Refinement Error: Expected state size(stack²⁹⁴) > 0 but found size(stack²⁹⁴) == 0

Related Issue

None.

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • Added tests in ExpressionSimplifierTest
  • mvn test passes locally
  • Updated docs/README if behavior or API changed

@rcosta358 rcosta358 requested a review from CatarinaGamboa May 9, 2026 21:48
@rcosta358 rcosta358 self-assigned this May 9, 2026
@rcosta358 rcosta358 added enhancement New feature or request simplification Related to the simplification of expressions labels May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request simplification Related to the simplification of expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant