Details

Time bar (total: 2.4s)

sample33.0ms

Algorithm
intervals
Results
12.0ms59×body1280valid
6.0ms49×body640valid
5.0ms198×body80valid
2.0ms21×body320valid
1.0ms16×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.0b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
3.9b
(- (exp x) 1.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series55.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(/ (- (exp x) 1.0) x)
14.0ms
(- (exp x) 1.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune100.0ms

Filtered
58 candidates to 43 candidates (74.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New55358
Fresh000
Picked101
Done000
Total56359

Merged error: 0.1b

Counts
59 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.4b
(* 1/6 (pow x 2))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp sum-log
pow1 unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
7.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
5.0ms
(* 1/6 (pow x 2))

series46.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
24.0ms
(* 1/6 (pow x 2))

simplify36.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0201222
1825201
25001198

prune66.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh022
Picked101
Done000
Total45449

Merged error: 0.1b

Counts
49 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ 1/2 (* x 1/6)))
0.3b
(* x 1/6)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
2 → 40
Calls
2 calls:
5.0ms
(* x (+ 1/2 (* x 1/6)))
4.0ms
(* x 1/6)

series72.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(* x (+ 1/2 (* x 1/6)))
14.0ms
(* x 1/6)

simplify113.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0178158
1781143
24248143
35001143

prune54.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh033
Picked011
Done000
Total46450

Merged error: 0.1b

Counts
50 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* 1/6 (pow x 2))
10.9b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
10.9b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
10.9b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod
associate-*r*
cbrt-div add-cbrt-cube
pow1 unpow-prod-down add-log-exp unswap-sqr
flip3-+ pow1/3 associate-*l* prod-exp flip-+
unpow2 sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
4 → 66
Calls
4 calls:
5.0ms
(* 1/6 (pow x 2))
6.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
6.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
6.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series185.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 1/6 (pow x 2))
54.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
51.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
55.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

simplify180.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0238734
1845687
24682673
35002673

prune184.0ms

Filtered
78 candidates to 60 candidates (76.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh022
Picked101
Done011
Total78482

Merged error: 0.1b

Counts
82 → 4

regimes23.0ms

Accuracy

98.5% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 21.3b

bsearch30.0ms

Steps
ItersRangePoint
9
-17.831791951177678
-3.7534567552478157e-06
-0.00018101971030998605

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample1.0s

Algorithm
intervals
Results
446.0ms2264×body1280valid
212.0ms1631×body640valid
127.0ms5450×body80valid
73.0ms828×body320valid
25.0ms447×body160valid

Profiling

Loading profile data...