Details

Time bar (total: 1.9s)

sample13.0ms

Algorithm
intervals
Results
6.0ms367×body80valid

simplify203.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947614
1050014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

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

series73.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0216252
1984214
25002203

prune58.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 associate-+r- fma-def flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
6.0ms
(* (* x x) 3.0)

series120.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
25.0ms
(* (* x x) 3.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0204229
11021204
25001195

prune101.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 associate-+r- fma-def flip3-+ associate-*r* unsub-neg neg-log *-commutative flip-+
Counts
2 → 38
Calls
2 calls:
6.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
5.0ms
(* x (* x 3.0))

series123.0ms

Counts
2 → 6
Calls
2 calls:
97.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
25.0ms
(* x (* x 3.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0193225
1931201
25001191

prune99.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
20×add-exp-log add-cbrt-cube
19×pow-prod-down
18×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
sqrt-prod add-log-exp
associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u unswap-sqr
*-commutative
pow-plus sum-log
+-commutative pow2 neg-sub0 associate-+r- fma-def flip3-+ swap-sqr unsub-neg neg-log flip-+
Counts
4 → 102
Calls
4 calls:
13.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
8.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
5.0ms
(* x (sqrt 3.0))
5.0ms
(* x (sqrt 3.0))

series295.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
69.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
44.0ms
(* x (sqrt 3.0))
41.0ms
(* x (sqrt 3.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0249535
11300430
25001410

prune200.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186
1206
2206

end0.0ms

sample334.0ms

Algorithm
intervals
Results
215.0ms11963×body80valid