Details

Time bar (total: 2.3s)

sample33.0ms

Algorithm
intervals
Results
13.0ms67×body1280valid
6.0ms49×body640valid
2.0ms102×body80valid
2.0ms24×body320valid
2.0ms97×body80overflowed
1.0ms14×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.7b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

series40.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0180378
1542357
22174354
35003354

prune105.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 0.0b

Counts
58 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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:
8.0ms
(+ (* 1/12 x) (/ 1 x))
7.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
3.0ms
(* 1/12 x)

series68.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0200216
1705204
23820203
35002203

prune66.0ms

Filtered
52 candidates to 34 candidates (65.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh033
Picked011
Done000
Total51556

Merged error: 0.0b

Counts
56 → 5

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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))
7.0ms
(- 1 (/ 1.0 (exp x)))

series103.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0310722
11324620
25001618

prune122.0ms

Filtered
106 candidates to 60 candidates (56.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh123
Picked101
Done011
Total1074111

Merged error: 0.0b

Counts
111 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (exp x))
0.0b
(pow (- 1 (/ 1.0 (exp x))) 3)
0.1b
(cbrt (pow (- 1 (/ 1.0 (exp x))) 3))
4.0b
(- 1 (/ 1.0 (exp x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
38×*-un-lft-identity
22×cbrt-prod
20×difference-of-squares
19×times-frac
18×add-cube-cbrt
16×unpow-prod-down cube-prod
add-cbrt-cube
add-exp-log add-log-exp
pow1 distribute-lft-out--
cube-div
pow-unpow flip3-- associate-/r* flip-- associate-/l*
cube-mult cbrt-div unpow3 sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 112
Calls
4 calls:
4.0ms
(/ 1.0 (exp x))
8.0ms
(pow (- 1 (/ 1.0 (exp x))) 3)
8.0ms
(cbrt (pow (- 1 (/ 1.0 (exp x))) 3))
7.0ms
(- 1 (/ 1.0 (exp x)))

series179.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ 1.0 (exp x))
71.0ms
(pow (- 1 (/ 1.0 (exp x))) 3)
35.0ms
(cbrt (pow (- 1 (/ 1.0 (exp x))) 3))
59.0ms
(- 1 (/ 1.0 (exp x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0379799
11601746
25001740

prune176.0ms

Filtered
124 candidates to 69 candidates (55.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh022
Picked011
Done011
Total1244128

Merged error: 0.0b

Counts
128 → 4

regimes43.0ms

Accuracy

96.9% (0.7b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02411
12411

end0.0ms

sample1.0s

Algorithm
intervals
Results
442.0ms2248×body1280valid
202.0ms1608×body640valid
70.0ms827×body320valid
70.0ms2909×body80valid
57.0ms2475×body80overflowed
22.0ms408×body160valid

Profiling

Loading profile data...