Details

Time bar (total: 2.4s)

sample14.0ms

Algorithm
intervals
Results
7.0ms393×body80valid

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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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

series251.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune43.0ms

Filtered
28 candidates to 16 candidates (57.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.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)

rewrite24.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:
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
6.0ms
(* 2.0 (pow x 3))
8.0ms
(* (* x x) 3.0)

series154.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0292325
11517282
25002277

prune125.0ms

Filtered
74 candidates to 45 candidates (60.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.1b
(* x (* x (- 3.0 (* x 2.0))))

rewrite19.0ms

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

series135.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(* x (- 3.0 (* x 2.0)))
70.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune74.0ms

Filtered
58 candidates to 30 candidates (51.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
0.1b
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
0.3b
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite38.0ms

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

series409.0ms

Counts
3 → 9
Calls
3 calls:
98.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
151.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
159.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0391955
12215770
25001770

prune154.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes15.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
0176
1196
2196

end0.0ms

sample353.0ms

Algorithm
intervals
Results
228.0ms11995×body80valid