Details

Time bar (total: 2.2s)

sample45.0ms

Algorithm
intervals
Results
14.0ms76×body1280valid
12.0ms86×body5120exit
6.0ms50×body640valid
2.0ms31×body320valid
2.0ms85×body80valid
1.0ms14×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
087
187

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.6b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04947576
14947576

prune89.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New52557
Fresh000
Picked101
Done000
Total53558

Merged error: 0.0b

Counts
58 → 5

localize5.0ms

Local error

Found 3 expressions with local error:

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

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

series8.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04794420
14794420

prune67.0ms

Filtered
36 candidates to 52 candidates (-44.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh044
Picked011
Done000
Total50757

Merged error: 0.0b

Counts
57 → 7

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

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

series19.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049201135
149201135

prune105.0ms

Filtered
65 candidates to 106 candidates (-63.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh055
Picked011
Done011
Total1067113

Merged error: 0.0b

Counts
113 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- (exp x) 1.0))
3.9b
(- (exp x) 1.0)
3.9b
(- (exp x) 1.0)
3.9b
(- (exp x) 1.0)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
cbrt-prod add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 57
Calls
4 calls:
4.0ms
(cbrt (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)

series26.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)
2.0ms
(- (exp x) 1.0)
2.0ms
(- (exp x) 1.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05009491

prune106.0ms

Filtered
49 candidates to 69 candidates (-40.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh044
Picked011
Done022
Total69776

Merged error: 0.0b

Counts
76 → 7

regimes116.0ms

Accuracy

96.9% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02436
12436

end0.0ms

sample1.3s

Algorithm
intervals
Results
404.0ms2249×body1280valid
363.0ms2597×body5120exit
194.0ms1681×body640valid
65.0ms860×body320valid
63.0ms2786×body80valid
22.0ms426×body160valid

Profiling

Loading profile data...