Details

Time bar (total: 3.4s)

sample28.0ms

Algorithm
intervals
Results
10.0ms62×body1280valid
4.0ms44×body640valid
3.0ms189×body80valid
2.0ms30×body320valid
1.0ms13×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.9b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite249.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:
25.0ms
(/ (- (exp x) 1.0) x)
223.0ms
(- (exp x) 1.0)

series59.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ (- (exp x) 1.0) x)
15.0ms
(- (exp x) 1.0)

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune113.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
13×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ *-commutative cbrt-unprod associate-/l/ unpow2 sqr-pow
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 91
Calls
4 calls:
18.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
31.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
7.0ms
(* x 1/6)
43.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series160.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
69.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
15.0ms
(* x 1/6)
47.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0390685
12030628
25002628

prune197.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
108.0ms
(* (cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)) (cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)))
13.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
13.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
15.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))

series251.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)) (cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)))
61.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
59.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
63.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))

simplify51.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03271561
111981468
250011375

prune274.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
13.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
13.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
15.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
13.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))

series244.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
61.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
58.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
62.0ms
(cbrt (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))

simplify89.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0172868
1560816
22666808
35001808

prune277.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

regimes30.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 21.7b

bsearch25.0ms

Steps
ItersRangePoint
7
-0.002950799818357885
-5.931762247777049e-05
-0.00017098774397487554

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03418
13418

end0.0ms

sample888.0ms

Algorithm
intervals
Results
374.0ms2299×body1280valid
180.0ms1668×body640valid
95.0ms5461×body80valid
51.0ms780×body320valid
16.0ms381×body160valid