Details

Time bar (total: 2.1s)

sample30.0ms

Algorithm
intervals
Results
12.0ms65×body1280valid
6.0ms63×body640valid
3.0ms153×body80valid
2.0ms27×body320valid
1.0ms12×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: 40.1b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series58.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune114.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
8.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
6.0ms
(* 1/6 (pow x 2))

series44.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201222
1825201
25001198

prune80.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
7.0ms
(* x (+ 1/2 (* x 1/6)))
3.0ms
(* x 1/6)

series73.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* x (+ 1/2 (* x 1/6)))
13.0ms
(* x 1/6)

simplify110.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0178158
1781143
24248143
35001143

prune70.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×log-pow
27×times-frac
25×exp-prod
23×add-cube-cbrt
associate-/l*
pow1
distribute-lft-out-- difference-of-squares
add-exp-log log-prod add-cbrt-cube add-log-exp
associate-/r*
sub-neg log-div exp-diff exp-sum
cbrt-undiv flip3-- frac-2neg diff-log div-sub div-exp rem-log-exp clear-num flip-- div-inv
Counts
3 → 86
Calls
3 calls:
35.0ms
(/ (log (exp (- (exp x) 1.0))) x)
11.0ms
(log (exp (- (exp x) 1.0)))
4.0ms
(- (exp x) 1.0)

series71.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (log (exp (- (exp x) 1.0))) x)
18.0ms
(log (exp (- (exp x) 1.0)))
14.0ms
(- (exp x) 1.0)

simplify95.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0269594
1788525
23293508
35001505

prune145.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes14.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 21.4b

bsearch26.0ms

Steps
ItersRangePoint
7
-0.00043085380315138777
-1.8212635929712337e-06
-0.00019141971874233585

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample895.0ms

Algorithm
intervals
Results
398.0ms2326×body1280valid
176.0ms1605×body640valid
101.0ms5570×body80valid
60.0ms816×body320valid
19.0ms421×body160valid