Details

Time bar (total: 2.9s)

sample38.0ms

Algorithm
intervals
Results
13.0ms78×body1280valid
7.0ms69×body10240exit
6.0ms56×body640valid
2.0ms25×body320valid
2.0ms88×body80valid
0.0msbody160valid

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.7b

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
2.7b
(- (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:
30.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify68.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune114.0ms

Pruning

2 alts after pruning (2 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)

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

series70.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0200222
1701209
23831207
35003207

prune83.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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:
6.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
6.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
6.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
50.0ms
(* (cbrt (+ (* 1/12 x) (/ 1 x))) (cbrt (+ (* 1/12 x) (/ 1 x))))

series473.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
112.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
111.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
134.0ms
(* (cbrt (+ (* 1/12 x) (/ 1 x))) (cbrt (+ (* 1/12 x) (/ 1 x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03611208
112431135
250011081

prune253.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(/ 1.0 (exp x))
2.7b
(- 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))
9.0ms
(- 1 (/ 1.0 (exp x)))

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

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0310724
11324622
25001621

prune139.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

96.1% (0.8b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 21.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.1s

Algorithm
intervals
Results
387.0ms2327×body1280valid
271.0ms2534×body10240exit
172.0ms1635×body640valid
56.0ms2835×body80valid
54.0ms807×body320valid
17.0ms397×body160valid