Details

Time bar (total: 5.3s)

sample343.0ms

Algorithm
intervals
Results
57.0ms240×body10240exit
14.0ms421×body80nan
8.0ms237×body80valid
2.0ms25×body160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune4.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: 4.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.2b
(- (exp (* 2.0 x)) 1.0)
5.3b
(- (exp x) 1.0)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
9.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
11.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp x) 1.0)

series199.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
56.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
34.0ms
(- (exp (* 2.0 x)) 1.0)
22.0ms
(- (exp x) 1.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04801694
115231484
250011470

prune402.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1625167
Fresh000
Picked101
Done000
Total1635168

Merged error: 0b

Counts
168 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
0.0b
(+ (exp x) 1.0)
5.2b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.2b
(- (exp (* 2.0 x)) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
prod-diff
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-def flip3-+ fma-neg flip-+
frac-times sqrt-pow1 associate-*r/
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down associate-*l/ sum-log sqrt-prod flip-- fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
9.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
4.0ms
(+ (exp x) 1.0)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series225.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
7.0ms
(+ (exp x) 1.0)
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
27.0ms
(- (exp (* 2.0 x)) 1.0)

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0361673
11258564
25002559

prune281.0ms

Filtered
85 candidates to 64 candidates (75.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh314
Picked011
Done000
Total86490

Merged error: 0b

Counts
90 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(sqrt (exp x))
0.4b
(sqrt (exp x))
5.2b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.2b
(- (exp (* 2.0 x)) 1.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt
prod-diff
sqrt-pow1
pow1 exp-prod sqrt-prod add-log-exp
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
rem-sqrt-square pow1/2
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 74
Calls
4 calls:
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series92.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
24.0ms
(- (exp (* 2.0 x)) 1.0)

simplify92.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0219440
1605348
22891335
35002308

prune302.0ms

Filtered
86 candidates to 62 candidates (72.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done011
Total86490

Merged error: 0b

Counts
90 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (exp x))
0.5b
(cbrt (exp x))
5.2b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.2b
(- (exp (* 2.0 x)) 1.0)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
prod-diff
cbrt-prod add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
pow1/3
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
2.0ms
(cbrt (exp x))
2.0ms
(cbrt (exp x))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series220.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(cbrt (exp x))
76.0ms
(cbrt (exp x))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify92.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0214444
1595344
22830327
35001296

prune271.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done022
Total76480

Merged error: 0b

Counts
80 → 4

regimes32.0ms

Accuracy

77.8% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 2.9b

bsearch42.0ms

Steps
ItersRangePoint
8
-0.0011167250079306748
-1.485944467815708e-07
-4.034789095259663e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02719
12719

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6812×body10240exit
385.0ms12826×body80nan
247.0ms7417×body80valid
58.0ms721×body160valid