Skip to content

Commit

Permalink
rework rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wadoon committed Jun 14, 2024
1 parent c60140c commit aa50bdf
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ArrayList/project.key
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,8 @@

\find(==> seqPerm(s, seqSwap(s, x, y)))

\replacewith( ==>
\if ( 0 <= x & x < seqLen(s)
& 0 <= y & y < seqLen(s))
\then
( true )
\else
( seqPerm(s, seqSwap(s, x, y)) )
)

\add( ==> 0 <= x & x < seqLen(s) & 0 <= y & y < seqLen(s))

\heuristics(simplify_enlarging)

};
Expand Down

0 comments on commit aa50bdf

Please sign in to comment.