Details

Time bar (total: 2.2s)

sample36.0ms

Algorithm
intervals
Results
16.0ms82×body1280valid
6.0ms52×body640valid
3.0ms151×body80valid
3.0ms31×body320valid
1.0ms14×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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

series57.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (- (exp x) 1.0) x)
17.0ms
(- (exp x) 1.0)

simplify77.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune102.0ms

Filtered
58 candidates to 43 candidates (74.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0.1b

Counts
59 → 4

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

series47.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0201222
1825201
25001198

prune65.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh033
Picked011
Done000
Total46450

Merged error: 0.1b

Counts
50 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (log (exp (- (exp x) 1.0))) x)
3.7b
(log (exp (- (exp x) 1.0)))
3.7b
(- (exp x) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×log-pow
27×times-frac
25×exp-prod
23×add-cube-cbrt
associate-/l*
pow1
distribute-lft-out-- difference-of-squares
add-exp-log log-prod add-cbrt-cube add-log-exp
associate-/r*
sub-neg log-div exp-diff exp-sum
cbrt-undiv flip3-- frac-2neg diff-log div-sub div-exp rem-log-exp clear-num flip-- div-inv
Counts
3 → 86
Calls
3 calls:
8.0ms
(/ (log (exp (- (exp x) 1.0))) x)
5.0ms
(log (exp (- (exp x) 1.0)))
4.0ms
(- (exp x) 1.0)

series71.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ (log (exp (- (exp x) 1.0))) x)
14.0ms
(log (exp (- (exp x) 1.0)))
14.0ms
(- (exp x) 1.0)

simplify97.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0269594
1788525
23293508
35001505

prune134.0ms

Filtered
95 candidates to 65 candidates (68.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New91495
Fresh202
Picked101
Done011
Total94599

Merged error: 0.1b

Counts
99 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

3.7b
(log (exp (- (exp x) 1.0)))
3.7b
(- (exp x) 1.0)
3.7b
(- (exp x) 1.0)
3.7b
(- (exp x) 1.0)

rewrite21.0ms

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

series58.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(log (exp (- (exp x) 1.0)))
14.0ms
(- (exp x) 1.0)
16.0ms
(- (exp x) 1.0)
14.0ms
(- (exp x) 1.0)

simplify67.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0120305
1277280
2652276
31859276
45001276

prune180.0ms

Filtered
74 candidates to 52 candidates (70.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New72274
Fresh213
Picked101
Done011
Total75479

Merged error: 0.0b

Counts
79 → 4

regimes25.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 21.1b

bsearch19.0ms

Steps
ItersRangePoint
4
-0.0001070084605982428
-6.678297829623821e-05
-0.00010575141427630517

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03729
13729

end0.0ms

sample1.0s

Algorithm
intervals
Results
443.0ms2285×body1280valid
210.0ms1678×body640valid
121.0ms5447×body80valid
66.0ms816×body320valid
22.0ms420×body160valid

Profiling

Loading profile data...