Details

Time bar (total: 3.1s)

sample44.0ms

Algorithm
intervals
Results
16.0ms69×body1280valid
9.0ms54×body640valid
4.0ms87×body80valid
3.0ms76×body80overflowed
2.0ms23×body320valid
2.0ms23×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: 42.1b

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
5.6b
(- (exp x) 1.0)

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

series46.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune128.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite30.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:
20.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
6.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series66.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune90.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
0.5b
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
0.5b
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
0.5b
(* (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))) (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))))

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 95
Calls
4 calls:
18.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
16.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
16.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
137.0ms
(* (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))) (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))))

series269.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
73.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
73.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
52.0ms
(* (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))) (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03351416
111741337
250021214

prune265.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(/ 1.0 (exp x))
5.6b
(- 1 (/ 1.0 (exp x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
44×*-un-lft-identity
43×times-frac
24×add-cube-cbrt
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
distribute-lft-out-- add-log-exp
pow1
div-exp
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip-- div-inv
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 97
Calls
3 calls:
18.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
3.0ms
(/ 1.0 (exp x))
8.0ms
(- 1 (/ 1.0 (exp x)))

series102.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
13.0ms
(/ 1.0 (exp x))
36.0ms
(- 1 (/ 1.0 (exp x)))

simplify39.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0310724
11324622
25001621

prune155.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes47.0ms

Accuracy

99.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 21.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03218
13218

end0.0ms

sample1.3s

Algorithm
intervals
Results
526.0ms2248×body1280valid
270.0ms1642×body640valid
109.0ms2830×body80valid
97.0ms2456×body80overflowed
95.0ms854×body320valid
33.0ms427×body160valid