Details

Time bar (total: 5.0s)

sample349.0ms

Algorithm
intervals
Results
51.0ms206×body10240exit
11.0ms325×body80nan
8.0ms227×body80valid
3.0ms32×body160valid

simplify73.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: 5.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.9b
(- (exp (* 2.0 x)) 1.0)
6.1b
(- (exp x) 1.0)

rewrite51.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:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
17.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)

series202.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))
24.0ms
(- (exp (* 2.0 x)) 1.0)
33.0ms
(- (exp x) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune382.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

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.2b
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
5.9b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.9b
(- (exp (* 2.0 x)) 1.0)

rewrite32.0ms

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

series406.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
190.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
40.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
24.0ms
(- (exp (* 2.0 x)) 1.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04391178
116191042
250031028

prune344.0ms

Filtered
108 candidates to 81 candidates (75.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
add-exp-log expm1-log1p-u sqrt-pow1 flip3-+ sqrt-div associate-*r/ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative pow1/2 pow-prod-down sum-log sqrt-prod distribute-lft-out
Counts
2 → 32
Calls
2 calls:
4.0ms
(+ (exp x) 1.0)
5.0ms
(sqrt (* 1.0 (+ (exp x) 1.0)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ (exp x) 1.0)
70.0ms
(sqrt (* 1.0 (+ (exp x) 1.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0169181
1471171
21575165
35002164

prune94.0ms

Filtered
38 candidates to 31 candidates (81.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
0.0b
(fma (sqrt (exp x)) (sqrt (exp x)) 1.0)
0.0b
(sqrt (* 1.0 (fma (sqrt (exp x)) (sqrt (exp x)) 1.0)))

rewrite7.0ms

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

series162.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (exp x))
11.0ms
(sqrt (exp x))
36.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) 1.0)
104.0ms
(sqrt (* 1.0 (fma (sqrt (exp x)) (sqrt (exp x)) 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0139316
1369291
21353285
35002281

prune182.0ms

Filtered
71 candidates to 56 candidates (78.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109
1109

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s6703×body10240exit
396.0ms12685×body80nan
256.0ms7388×body80valid
61.0ms751×body160valid