Details

Time bar (total: 2.8s)

sample33.0ms

Algorithm
intervals
Results
11.0ms63×body1280valid
7.0ms65×body10240exit
5.0ms46×body640valid
2.0ms109×body80valid
2.0ms24×body320valid
1.0ms14×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: 36.3b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.9b
(- (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)

series41.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune116.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite26.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:
16.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)))
42.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

prune80.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.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)))))

rewrite186.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:
17.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))))
135.0ms
(* (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))) (cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x)))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
70.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
69.0ms
(cbrt (+ 1/2 (+ (* 1/12 x) (/ 1 x))))
54.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 (33.0ms)

IterNodesCost
03351416
111741337
250021214

prune241.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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:
3.0ms
(/ 1.0 (exp x))
18.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
8.0ms
(- 1 (/ 1.0 (exp x)))

series100.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0310724
11324622
25002621

prune144.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes44.0ms

Accuracy

96.8% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 21.9b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample1.1s

Algorithm
intervals
Results
372.0ms2189×body1280valid
271.0ms2544×body10240exit
171.0ms1600×body640valid
58.0ms843×body320valid
58.0ms2949×body80valid
21.0ms421×body160valid