Details

Time bar (total: 3.0s)

sample510.0ms

Algorithm
intervals
Results
12.0ms69×body1280valid
5.0ms43×body640valid
2.0ms100×body80valid
2.0ms32×body320valid
2.0ms76×body80overflowed
1.0ms12×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.0b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
3.5b
(- (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:
6.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series8.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ (exp x) (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)

simplify70.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0180378
1542357
22174354
35003354

prune75.0ms

Filtered
41 candidates to 57 candidates (-39.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 0.0b

Counts
58 → 2

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)

rewrite17.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)))
5.0ms
(+ (* 1/12 x) (/ 1 x))
4.0ms
(* 1/12 x)

series8.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
4.0ms
(+ (* 1/12 x) (/ 1 x))
2.0ms
(* 1/12 x)

simplify101.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0200216
1705204
23820203
35002203

prune54.0ms

Filtered
34 candidates to 52 candidates (-52.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh011
Picked011
Done000
Total51354

Merged error: 0b

Counts
54 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

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

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

series19.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
4.0ms
(/ 1.0 (exp x))
6.0ms
(- 1 (/ 1.0 (exp x)))

simplify36.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0310722
11324620
25001618

prune85.0ms

Filtered
60 candidates to 106 candidates (-76.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh011
Picked011
Done011
Total1063109

Merged error: 0b

Counts
109 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (neg (/ 1 x)) x)
0.3b
(* 1/12 x)
0.4b
(* 1/144 (* x x))
30.3b
(/ (+ (/ (neg (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
171×times-frac
109×add-sqr-sqrt
106×add-cube-cbrt *-un-lft-identity
52×distribute-lft-neg-in distribute-rgt-neg-in
33×associate-/l*
15×add-exp-log add-cbrt-cube
11×pow1
10×div-inv
associate-*l* associate-/r*
neg-mul-1 associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
div-sub associate-/l/
cbrt-undiv neg-sub0 frac-2neg div-exp clear-num associate-/r/ *-commutative unswap-sqr
associate-+l- flip3-- flip3-+ distribute-frac-neg flip-- flip-+ distribute-neg-frac
Counts
4 → 207
Calls
4 calls:
8.0ms
(/ (neg (/ 1 x)) x)
3.0ms
(* 1/12 x)
5.0ms
(* 1/144 (* x x))
30.0ms
(/ (+ (/ (neg (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (neg (/ 1 x)) x)
2.0ms
(* 1/12 x)
3.0ms
(* 1/144 (* x x))
16.0ms
(/ (+ (/ (neg (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07931668
130491354
250011326

prune238.0ms

Filtered
126 candidates to 219 candidates (-73.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2190219
Fresh000
Picked011
Done022
Total2193222

Merged error: 0b

Counts
222 → 3

regimes69.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 21.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02710
12710

end0.0ms

sample1.4s

Algorithm
intervals
Results
398.0ms2260×body1280valid
182.0ms1661×body640valid
63.0ms2856×body80valid
60.0ms833×body320valid
50.0ms2471×body80overflowed
21.0ms390×body160valid

Profiling

Loading profile data...