Details

Time bar (total: 2.0s)

sample14.0ms

Algorithm
intervals
Results
7.0ms380×body80valid

simplify186.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946624
1050014

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 25
Calls
1 calls:
7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series72.0ms

Counts
1 → 3
Calls
1 calls:
72.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify163.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune41.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.0b
(* 2.0 (pow x 3))
0.2b
(* (* x x) 3.0)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
6.0ms
(* 2.0 (pow x 3))
5.0ms
(* (* x x) 3.0)

series169.0ms

Counts
3 → 9
Calls
3 calls:
101.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
42.0ms
(* 2.0 (pow x 3))
25.0ms
(* (* x x) 3.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0292325
11517282
25002277

prune127.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
0.0b
(* 2.0 (pow x 3))
0.2b
(* x (* x 3.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-exp-log associate-*r*
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*l* prod-exp
unpow-prod-down cube-prod cbrt-unprod unswap-sqr
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 64
Calls
3 calls:
6.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
6.0ms
(* 2.0 (pow x 3))
8.0ms
(* x (* x 3.0))

series161.0ms

Counts
3 → 9
Calls
3 calls:
102.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
35.0ms
(* 2.0 (pow x 3))
24.0ms
(* x (* x 3.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0279321
11424280
25002274

prune119.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (* x 3.0))
0.3b
(* (sqrt (* x (* x 3.0))) (sqrt (* x (* x 3.0))))
22.8b
(sqrt (* x (* x 3.0)))
22.8b
(sqrt (* x (* x 3.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l*
sqrt-prod
associate-*r*
swap-sqr prod-exp cbrt-unprod add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 108
Calls
4 calls:
5.0ms
(* x (* x 3.0))
11.0ms
(* (sqrt (* x (* x 3.0))) (sqrt (* x (* x 3.0))))
4.0ms
(sqrt (* x (* x 3.0)))
4.0ms
(sqrt (* x (* x 3.0)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* x (* x 3.0))
71.0ms
(* (sqrt (* x (* x 3.0))) (sqrt (* x (* x 3.0))))
33.0ms
(sqrt (* x (* x 3.0)))
33.0ms
(sqrt (* x (* x 3.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0171367
1860306
25001284

prune164.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes14.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186
1206
2206

end0.0ms

sample356.0ms

Algorithm
intervals
Results
225.0ms12136×body80valid