Details

Time bar (total: 14.3s)

sample27.0ms

Algorithm
intervals
Results
16.0ms443×body80valid

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0913
11713
23711
34511
done4511

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 24
Calls
2 calls:
32.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
9.0ms
(+ (* x x) (* (* x 2.0) y))

series88.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
60.0ms
(+ (* x x) (* (* x 2.0) y))

simplify2.8s

Counts
30 → 30
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
058525
1190459
2773381
33577373
done5000373

prune103.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* x (+ (* 2.0 y) x))) (cbrt (* x (+ (* 2.0 y) x))))
8.9b
(cbrt (* x (+ (* 2.0 y) x)))
8.9b
(cbrt (* x (+ (* 2.0 y) x)))
8.9b
(cbrt (* x (+ (* 2.0 y) x)))

rewrite78.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:
46.0ms
(* (cbrt (* x (+ (* 2.0 y) x))) (cbrt (* x (+ (* 2.0 y) x))))
10.0ms
(cbrt (* x (+ (* 2.0 y) x)))
10.0ms
(cbrt (* x (+ (* 2.0 y) x)))
10.0ms
(cbrt (* x (+ (* 2.0 y) x)))

series1.5s

Counts
4 → 12
Calls
4 calls:
360.0ms
(* (cbrt (* x (+ (* 2.0 y) x))) (cbrt (* x (+ (* 2.0 y) x))))
417.0ms
(cbrt (* x (+ (* 2.0 y) x)))
400.0ms
(cbrt (* x (+ (* 2.0 y) x)))
351.0ms
(cbrt (* x (+ (* 2.0 y) x)))

simplify3.7s

Counts
84 → 84
Iterations

Useful iterations: done (3.7s)

IterNodesCost
0971396
12151291
25691177
314011063
435661039
done5001996

prune331.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt (+ (* 2.0 y) x))
8.9b
(cbrt (* x (+ (* 2.0 y) x)))
8.9b
(cbrt (* x (+ (* 2.0 y) x)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log pow1/3 associate-*r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 46
Calls
4 calls:
2.0ms
(cbrt x)
12.0ms
(cbrt (+ (* 2.0 y) x))
19.0ms
(cbrt (* x (+ (* 2.0 y) x)))
28.0ms
(cbrt (* x (+ (* 2.0 y) x)))

series1.5s

Counts
4 → 12
Calls
4 calls:
284.0ms
(cbrt x)
538.0ms
(cbrt (+ (* 2.0 y) x))
336.0ms
(cbrt (* x (+ (* 2.0 y) x)))
369.0ms
(cbrt (* x (+ (* 2.0 y) x)))

simplify3.5s

Counts
58 → 58
Iterations

Useful iterations: 4 (2.0s)

IterNodesCost
0106614
1233599
2529548
31313524
43404510
done5000510

prune364.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes1.0ms