Details

Time bar (total: 2.0s)

sample16.0ms

Algorithm
intervals
Results
7.0ms395×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
950014

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

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

series68.0ms

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

simplify145.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune41.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.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:
15.0ms
(* 2.0 (pow x 3))
18.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
18.0ms
(* (* x x) 3.0)

series147.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0292325
11517282
25001277

prune122.0ms

Pruning

5 alts after pruning (4 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.2b
(* x (* x (- 3.0 (* x 2.0))))

rewrite47.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:
16.0ms
(* x (- 3.0 (* x 2.0)))
29.0ms
(* x (* x (- 3.0 (* x 2.0))))

series137.0ms

Counts
2 → 6
Calls
2 calls:
66.0ms
(* x (- 3.0 (* x 2.0)))
71.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune70.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.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)))
24.2b
(sqrt (* (* x x) 3.0))
24.2b
(sqrt (* (* x x) 3.0))

rewrite165.0ms

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

series156.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (* x x) 3.0)
60.0ms
(* (sqrt (* (* x x) 3.0)) (sqrt (* (* x x) 3.0)))
36.0ms
(sqrt (* (* x x) 3.0))
31.0ms
(sqrt (* (* x x) 3.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0178363
1921297
25001286

prune162.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample408.0ms

Algorithm
intervals
Results
233.0ms11942×body80valid