Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
8.0ms422×body80valid

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

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series80.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0216252
1984214
25002203

prune66.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

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

series136.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0204229
11021204
25001195

prune109.0ms

Pruning

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

rewrite51.0ms

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

series155.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(* x (- 3.0 (* x 2.0)))
79.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0248535
11174460
25001440

prune112.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite157.0ms

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

series285.0ms

Counts
3 → 9
Calls
3 calls:
158.0ms
(+ (* (* (* x x) (sqrt 3.0)) (sqrt 3.0)) (- (* 2.0 (pow x 3))))
47.0ms
(* (* x x) (sqrt 3.0))
80.0ms
(* (* (* x x) (sqrt 3.0)) (sqrt 3.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0292479
11605391
25001369

prune163.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

end0.0ms

sample397.0ms

Algorithm
intervals
Results
229.0ms12074×body80valid