Details

Time bar (total: 8.3s)

sample28.0ms

Algorithm
intervals
Results
14.0ms292×body80valid

simplify914.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2257
3377
4487
5707
6807
7907
81027
91127
101227
111357
121557
131837
142507
153257
163907
174107
done4107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (+ x y) (* x y))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
diff-log
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity associate--l+ sum-log add-cbrt-cube flip--
Counts
1 → 14
Calls
1 calls:
75.0ms
(- (+ x y) (* x y))

series33.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(- (+ x y) (* x y))

simplify1.7s

Counts
17 → 17
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
032189
188182
2306168
31232168
done5000168

prune44.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x y) y)
0.0b
(- x (- (* x y) y))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity
add-sqr-sqrt diff-log
sub-neg
pow1 add-exp-log add-cube-cbrt flip3-- add-cbrt-cube flip-- associate--r+
distribute-rgt-out-- distribute-lft-out-- associate--r- difference-of-squares
Counts
2 → 31
Calls
2 calls:
8.0ms
(- (* x y) y)
32.0ms
(- x (- (* x y) y))

series67.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(- (* x y) y)
21.0ms
(- x (- (* x y) y))

simplify3.4s

Counts
37 → 37
Iterations

Useful iterations: 3 (341.0ms)

IterNodesCost
055359
1129337
2340321
31179315
44757315
done5000315

prune64.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (- x 1))
0.0b
(- x (* y (- x 1)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity associate-*r*
sub-neg
pow1 add-exp-log distribute-rgt-in add-cube-cbrt distribute-lft-in add-cbrt-cube associate--r+ add-log-exp
associate-*l*
flip3-- associate-*r/ flip-- difference-of-squares
diff-log difference-of-sqr-1 pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
2 → 44
Calls
2 calls:
26.0ms
(* y (- x 1))
7.0ms
(- x (* y (- x 1)))

series58.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* y (- x 1))
25.0ms
(- x (* y (- x 1)))

simplify1.6s

Counts
50 → 50
Iterations

Useful iterations: 3 (406.0ms)

IterNodesCost
074421
1168386
2407362
31438360
done5001360

prune88.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* y (- x 1))) (cbrt (* y (- x 1))))
0.6b
(cbrt (* y (- x 1)))
0.6b
(cbrt (* y (- x 1)))
0.6b
(cbrt (* y (- x 1)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
29.0ms
(* (cbrt (* y (- x 1))) (cbrt (* y (- x 1))))
8.0ms
(cbrt (* y (- x 1)))
11.0ms
(cbrt (* y (- x 1)))
14.0ms
(cbrt (* y (- x 1)))

series30.0ms