Skip to content

Fix performance regression in case of many inequalities - #3948

Open
unp1 wants to merge 9 commits into
mainfrom
bubel/fix-multcross-regression
Open

Fix performance regression in case of many inequalities#3948
unp1 wants to merge 9 commits into
mainfrom
bubel/fix-multcross-regression

Conversation

@unp1

@unp1 unp1 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Intended Change

Fixes a performance regression in case of many inequations introduced due to DefOps new feature
to solve inequations via cross multiplication.

The fix saves on sthe Stipula problems 5% (bet) to 7.5% (bike), several Jerboa problems around (3% to 5%)
and on a red black case study problem 75% (90s down to 20s).

Type of pull request

  • Bug fix (non-breaking change which fixes an issue): performance regression
  • There are changes to the (Java) code

Ensuring quality

  • I made sure that introduced/changed code is well documented (javadoc and inline comments).
  • I have tested the feature as follows: rerun benchmarks on the mentioned problems and on RAP as a whole to ensure runtime performance did not deteriorate

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

@unp1
unp1 force-pushed the bubel/fix-multcross-regression branch from 383fec7 to eaedc94 Compare July 29, 2026 07:11
@unp1 unp1 self-assigned this Jul 29, 2026
@unp1 unp1 added this to the v3.1.0 milestone Jul 29, 2026
@unp1
unp1 enabled auto-merge July 29, 2026 07:18
@unp1
unp1 force-pushed the bubel/fix-multcross-regression branch 2 times, most recently from 607bc81 to bc7fa72 Compare July 31, 2026 04:57
…with many inequations

Improves performance of bike by 7.5%, bet 5%, several proofs of the Jerboa case study by around 3% to 5% ,and an example from the red black case study by 75% (from 90s to 20s)
@unp1
unp1 force-pushed the bubel/fix-multcross-regression branch from bc7fa72 to 9533124 Compare July 31, 2026 05:13
@unp1
unp1 disabled auto-merge July 31, 2026 15:59
Construct the map first using a normal hashmap and convert then to an immutable map
@unp1
unp1 enabled auto-merge July 31, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant