Details

Time bar (total: 2.5m)

sample19.0ms

Algorithm
intervals
Results
11.0ms285×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1425
2875
31755
43105
55005
67205
79485
811485
911485

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series62.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* x (- y 1.0))
24.0ms
(- (* x (- y 1.0)) (* y 0.5))

simplify90.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0186217
1673197
22660196
35003196

prune61.0ms

Filtered
48 candidates to 29 candidates (60.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh000
Picked011
Done000
Total46349

Merged error: 0.0b

Counts
49 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series756.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(* (cbrt x) (cbrt x))
173.0ms
(cbrt x)
182.0ms
(cbrt x)
168.0ms
(cbrt x)

simplify91.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune163.0ms

Filtered
85 candidates to 64 candidates (75.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84185
Fresh011
Picked011
Done011
Total84488

Merged error: 0b

Counts
88 → 4

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
5.7b
(* x (- (* y y) (* 1.0 1.0)))
9.0b
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
times-frac associate-*r/ associate-*r* associate-/r*
sub-neg flip3-- associate-*l* flip--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out
frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
10.0ms
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
6.0ms
(* x (- (* y y) (* 1.0 1.0)))
9.0ms
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

series211.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
62.0ms
(* x (- (* y y) (* 1.0 1.0)))
98.0ms
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0368564
11721488
25001484

prune130.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh011
Picked011
Done022
Total73477

Merged error: 0b

Counts
77 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt x) (- y 1.0))
0.2b
(* (pow x 2/3) (* (cbrt x) (- y 1.0)))
0.6b
(cbrt x)
3.0b
(pow x 2/3)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log
18×add-sqr-sqrt
14×*-un-lft-identity
13×associate-*l*
12×add-cube-cbrt
10×distribute-rgt-in distribute-lft-in prod-exp
add-cbrt-cube
pow1 cbrt-prod
sub-neg unpow-prod-down associate-*r/ associate-*r*
cbrt-unprod add-log-exp
pow-to-exp pow-unpow pow-exp
flip3-- *-commutative flip-- unswap-sqr sqr-pow
pow-pow pow1/3 pow-prod-down distribute-lft-out-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
7.0ms
(* (cbrt x) (- y 1.0))
13.0ms
(* (pow x 2/3) (* (cbrt x) (- y 1.0)))
1.0ms
(cbrt x)
2.0ms
(pow x 2/3)

series2.5m

Calls
2 calls:
170.0ms
(cbrt x)
166.0ms
(pow x 2/3)

Profiling

Loading profile data...