Details

Time bar (total: 1.9s)

sample13.0ms

Algorithm
intervals
Results
7.0ms367×body80valid

simplify191.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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize5.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:
8.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series86.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune41.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
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 34
Calls
2 calls:
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
6.0ms
(* (* x x) 3.0)

series118.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0193210
1975184
25002177

prune79.0ms

Pruning

4 alts after pruning (4 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))

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
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*r* unsub-neg neg-log *-commutative flip-+
Counts
2 → 33
Calls
2 calls:
6.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
5.0ms
(* x (* x 3.0))

series119.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0182206
1886182
25001173

prune71.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))

rewrite32.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*
pow-sqr pow-prod-up unswap-sqr
*-commutative
pow-plus sum-log
+-commutative pow2 neg-sub0 associate-+r- flip3-+ swap-sqr unsub-neg neg-log flip-+
Counts
4 → 93
Calls
4 calls:
10.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
9.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
5.0ms
(* x (sqrt 3.0))
5.0ms
(* x (sqrt 3.0))

series300.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
73.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
39.0ms
(* x (sqrt 3.0))
45.0ms
(* x (sqrt 3.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0236490
11253389
25001367

prune164.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes22.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186
1206
2206

end0.0ms

sample356.0ms

Algorithm
intervals
Results
230.0ms11963×body80valid