Details

Time bar (total: 4.6s)

sample334.0ms

Algorithm
intervals
Results
24.0ms450×body80nan
15.0ms239×body80valid
13.0ms252×body80overflowed
3.0ms22×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.2b

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

rewrite58.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)))
25.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)

series195.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
59.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
22.0ms
(- (exp x) 1.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04801694
115231484
250011470

prune390.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite19.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)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series227.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
8.0ms
(+ (exp x) 1.0)
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
24.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

prune272.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.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:
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series93.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0219440
1605348
22891335
35002308

prune302.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (exp (* 2.0 x)))
0.2b
(sqrt (exp (* 2.0 x)))
4.7b
(- (exp x) 1.0)
4.7b
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))

rewrite9.0ms

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

series144.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (exp (* 2.0 x)))
26.0ms
(sqrt (exp (* 2.0 x)))
14.0ms
(- (exp x) 1.0)
83.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0206474
1572369
22817356
35001326

prune222.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes26.0ms

Accuracy

74.1% (0.7b remaining)

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

bsearch40.0ms

Steps
ItersRangePoint
7
-2.182603019671814e-07
-1.285445129017518e-08
-2.163484807190271e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02719
12719

end0.0ms

sample1.9s

Algorithm
intervals
Results
691.0ms12961×body80nan
422.0ms7437×body80valid
353.0ms6918×body80overflowed
88.0ms700×body160valid