Details

Time bar (total: 2.7s)

sample30.0ms

Algorithm
intervals
Results
12.0ms69×body1280valid
6.0ms57×body640valid
3.0ms180×body80valid
2.0ms26×body320valid
0.0ms11×body160valid

simplify6.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: 39.3b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
11.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series53.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune113.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize8.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.4b
(* x 1/6)
3.3b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

rewrite40.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:
6.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
16.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series150.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
64.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)
47.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0390685
12030628
25002628

prune198.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

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

series75.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(/ (exp x) x)
45.0ms
(- (/ (exp x) x) (/ 1.0 x))

simplify63.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0215317
1591300
22325299
35001297

prune102.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
332×*-un-lft-identity
327×times-frac
274×add-sqr-sqrt
188×sqrt-prod
120×add-cube-cbrt
76×difference-of-squares
68×distribute-lft-out
38×distribute-lft-out--
33×associate-/r*
13×associate-/r/
add-exp-log add-cbrt-cube
sqrt-pow1
flip3-- flip-- div-inv
pow1 exp-prod add-log-exp
associate-/l*
cbrt-undiv div-exp
rem-sqrt-square pow1/2 associate-/l/
sub-neg frac-2neg flip3-+ diff-log clear-num flip-+
Counts
4 → 270
Calls
4 calls:
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
37.0ms
(/ (+ (sqrt (exp x)) (sqrt 1.0)) (/ x (- (sqrt (exp x)) (sqrt 1.0))))
8.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series212.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
150.0ms
(/ (+ (sqrt (exp x)) (sqrt 1.0)) (/ x (- (sqrt (exp x)) (sqrt 1.0))))
38.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06334650
131304213
250014164

prune387.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes28.0ms

Accuracy

99% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.8b

bsearch39.0ms

Steps
ItersRangePoint
9
-0.00020282774512128207
-1.0593127772646427e-09
-0.00016731406755706916

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03833
13833

end0.0ms

sample865.0ms

Algorithm
intervals
Results
378.0ms2206×body1280valid
174.0ms1660×body640valid
96.0ms5405×body80valid
63.0ms838×body320valid
18.0ms424×body160valid