Details

Time bar (total: 2.9s)

sample38.0ms

Algorithm
intervals
Results
11.0ms59×body1280valid
9.0ms90×body10240exit
6.0ms57×body640valid
2.0ms28×body320valid
2.0ms93×body80valid
1.0ms19×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.6b

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
5.1b
(- (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-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
7.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series42.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune127.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×add-exp-log associate-*l*
times-frac add-cbrt-cube
associate-*r*
pow1 unswap-sqr
unpow-prod-down prod-exp
associate-/r* associate-/l* add-log-exp
flip3-+ associate-*r/ associate-/r/ *-commutative cbrt-unprod flip-+ unpow2 sqr-pow
cbrt-undiv distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num div-inv
Counts
3 → 78
Calls
3 calls:
10.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
8.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
4.0ms
(* x 1/6)

series127.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
64.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
18.0ms
(* x 1/6)

simplify58.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0401620
11835574
25001572

prune205.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
11×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l*
add-cbrt-cube
pow1 cbrt-prod associate-*r*
unswap-sqr
unpow-prod-down prod-exp add-log-exp
pow1/3 associate-*r/ *-commutative cbrt-unprod unpow2 sqr-pow
distribute-rgt-in pow-to-exp distribute-lft-in flip3-+ pow-prod-down pow-exp flip-+
Counts
4 → 71
Calls
4 calls:
2.0ms
(cbrt (exp x))
2.0ms
(cbrt (exp x))
8.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
4.0ms
(* x 1/6)

series252.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(cbrt (exp x))
84.0ms
(cbrt (exp x))
70.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
14.0ms
(* x 1/6)

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0275353
11231320
25001314

prune231.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sum-log
associate-*r* associate-*l*
+-commutative flip3-+ flip-+
associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 43
Calls
3 calls:
7.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
6.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series75.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
40.0ms
(+ (* 1/12 x) (/ 1 x))
14.0ms
(* 1/12 x)

simplify102.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune75.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes66.0ms

Accuracy

0% (1.0b remaining)

Error of 1.0b against oracle of 0.0b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.3s

Algorithm
intervals
Results
387.0ms2256×body1280valid
261.0ms2515×body10240exit
240.0ms2865×body80valid
173.0ms1646×body640valid
55.0ms821×body320valid
18.0ms413×body160valid