Details

Time bar (total: 4.4s)

sample317.0ms

Algorithm
intervals
Results
16.0ms404×body80nan
10.0ms239×body80valid
9.0ms221×body80overflowed
4.0ms18×body160valid

simplify76.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.1b

Counts
2 → 1

localize11.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))
4.3b
(- (exp (* 2.0 x)) 1.0)
4.4b
(- (exp x) 1.0)

rewrite52.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:
23.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
10.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series202.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
63.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04801694
115231484
250011470

prune332.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1643167
Fresh000
Picked101
Done000
Total1653168

Merged error: 0b

Counts
168 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
171×*-un-lft-identity
127×add-sqr-sqrt
87×add-cube-cbrt
22×associate-/r* distribute-lft-out
20×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
prod-diff
div-inv associate-/l*
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 206
Calls
4 calls:
14.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series246.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
65.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify114.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08053596
135513384
250033382

prune558.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2180218
Fresh022
Picked011
Done000
Total2183221

Merged error: 0b

Counts
221 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
32×*-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u
sqrt-pow1 fma-neg sqrt-prod associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv sub-neg rem-sqrt-square exp-prod exp-to-pow frac-2neg pow1/2 diff-log div-exp clear-num fma-udef div-inv
Counts
4 → 94
Calls
4 calls:
2.0ms
(sqrt (exp (* 2.0 x)))
6.0ms
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)
1.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))

series239.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (exp (* 2.0 x)))
114.0ms
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
19.0ms
(- (exp x) 1.0)
84.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03051109
1943913
25001891

prune247.0ms

Filtered
106 candidates to 77 candidates (72.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh011
Picked011
Done011
Total1063109

Merged error: 0b

Counts
109 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
29.5b
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
2 → 25
Calls
2 calls:
1.0ms
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
2.0ms
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

series121.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
99.0ms
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0139185
1458173
22447165
35001162

prune69.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done022
Total31334

Merged error: 0b

Counts
34 → 3

regimes25.0ms

Accuracy

74.4% (0.6b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 2.7b

bsearch33.0ms

Steps
ItersRangePoint
6
-6.594905655529368e-05
-1.244511409385973e-05
-1.5763013077646677e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02616
12616

end0.0ms

sample1.5s

Algorithm
intervals
Results
494.0ms12641×body80nan
321.0ms7415×body80valid
250.0ms6671×body80overflowed
68.0ms697×body160valid