Details

Time bar (total: 6.0s)

sample344.0ms

Algorithm
intervals
Results
38.0ms198×body10240exit
13.0ms434×body80nan
8.0ms236×body80valid
3.0ms24×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

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))
5.1b
(- (exp (* 2.0 x)) 1.0)
5.1b
(- (exp x) 1.0)

rewrite39.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)))
10.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
6.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp x) 1.0)

series206.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
33.0ms
(- (exp (* 2.0 x)) 1.0)
22.0ms
(- (exp x) 1.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04801694
115231484
250011470

prune394.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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))
5.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.1b
(- (exp (* 2.0 x)) 1.0)

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

series251.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)))
66.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
29.0ms
(- (exp (* 2.0 x)) 1.0)

simplify112.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
08053596
135513384
250033382

prune651.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (expm1 (log1p (- (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))
5.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.1b
(- (exp (* 2.0 x)) 1.0)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
105×*-un-lft-identity
73×add-sqr-sqrt
71×add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×add-exp-log associate-/r/ add-cbrt-cube
prod-diff
div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
frac-2neg clear-num
sub-neg flip3-- diff-log div-sub flip-- fma-udef distribute-lft-out-- expm1-udef difference-of-squares
Counts
4 → 166
Calls
4 calls:
9.0ms
(/ (expm1 (log1p (- (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)

series364.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(/ (expm1 (log1p (- (exp (* 2.0 x)) 1.0))) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
66.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify92.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06202918
126582549
250012523

prune614.0ms

Filtered
178 candidates to 131 candidates (73.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
24.3b
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

rewrite5.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:
3.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)))

series102.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0139186
1458173
22447165
35001162

prune76.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes28.0ms

Accuracy

72.1% (0.7b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
7
-5.6669034693225635e-12
-5.8829093822384e-14
-5.3888208797845926e-12

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02818
12818

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6661×body10240exit
378.0ms12605×body80nan
244.0ms7407×body80valid
53.0ms699×body160valid