Details

Time bar (total: 2.0s)

sample38.0ms

Algorithm
intervals
Results
16.0ms85×body1280valid
6.0ms49×body640valid
4.0ms174×body80valid
2.0ms26×body320valid
1.0ms15×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.0b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
3.8b
(- (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-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series7.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ (- (exp x) 1.0) x)
3.0ms
(- (exp x) 1.0)

simplify77.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune76.0ms

Filtered
58 candidates to 43 candidates (25.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 0.0b

Counts
59 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.2b
(* 1/6 (pow x 2))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp sum-log
pow1 unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
7.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
5.0ms
(* 1/6 (pow x 2))

series6.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
3.0ms
(* 1/6 (pow x 2))

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201231
1852202
25001199

prune57.0ms

Filtered
46 candidates to 29 candidates (37.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh011
Picked011
Done000
Total46248

Merged error: 0.0b

Counts
48 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
0.0b
(* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0)))
3.8b
(- (sqrt (exp x)) (sqrt 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
20×sqrt-prod
10×add-cube-cbrt
associate-*r*
pow1 sqrt-pow1 difference-of-squares
add-exp-log exp-prod add-cbrt-cube add-log-exp
associate-*l*
frac-times flip3-- flip-- distribute-lft-out--
sub-neg flip3-+ flip-+
distribute-rgt-in rem-sqrt-square distribute-lft-in pow1/2 associate-*r/ associate-*l/ distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 88
Calls
4 calls:
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
15.0ms
(* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0)))
7.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series22.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (exp x))
3.0ms
(sqrt (exp x))
10.0ms
(* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0)))
7.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0250730
11091643
25001617

prune132.0ms

Filtered
100 candidates to 68 candidates (32.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New982100
Fresh000
Picked101
Done011
Total993102

Merged error: 0.0b

Counts
102 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (sqrt (exp x)) (sqrt 1.0)) 3)
0.0b
(* (+ (sqrt (exp x)) (sqrt 1.0)) (cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3)))
0.0b
(cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3))
3.8b
(- (sqrt (exp x)) (sqrt 1.0))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
52×cbrt-prod
47×*-un-lft-identity
44×sqrt-prod
28×unpow-prod-down cube-prod difference-of-squares
27×associate-*r*
15×add-cube-cbrt
14×distribute-lft-out--
10×cube-div
cbrt-div
pow1 add-exp-log
flip3-- add-cbrt-cube flip-- add-log-exp
associate-*l* unswap-sqr
frac-times sqr-pow
cube-mult pow-unpow flip3-+ unpow3 flip-+
associate-*r/ associate-*l/ distribute-lft-out
pow-to-exp sub-neg pow-pow pow1/3 diff-log pow-prod-down pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 146
Calls
4 calls:
8.0ms
(pow (- (sqrt (exp x)) (sqrt 1.0)) 3)
23.0ms
(* (+ (sqrt (exp x)) (sqrt 1.0)) (cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3)))
8.0ms
(cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3))
7.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series30.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(pow (- (sqrt (exp x)) (sqrt 1.0)) 3)
10.0ms
(* (+ (sqrt (exp x)) (sqrt 1.0)) (cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3)))
5.0ms
(cbrt (pow (- (sqrt (exp x)) (sqrt 1.0)) 3))
5.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04121505
119811412
250031383

prune179.0ms

Filtered
158 candidates to 78 candidates (50.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1571158
Fresh101
Picked011
Done011
Total1583161

Merged error: 0.0b

Counts
161 → 3

regimes35.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.3b

bsearch14.0ms

Steps
ItersRangePoint
9
-0.004678412967620047
-4.610592636916848e-08
-0.00020673243785295715

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03217
13217

end0.0ms

sample1.0s

Algorithm
intervals
Results
431.0ms2265×body1280valid
205.0ms1687×body640valid
120.0ms5419×body80valid
64.0ms806×body320valid
21.0ms417×body160valid

Profiling

Loading profile data...