Details

Time bar (total: 4.8s)

sample327.0ms

Algorithm
intervals
Results
37.0ms196×body10240exit
12.0ms376×body80nan
8.0ms239×body80valid
2.0ms21×body160valid

simplify86.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.3b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.3b
(- (exp (* 2.0 x)) 1.0)
4.4b
(- (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)))
16.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)

series205.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune402.0ms

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
32×add-sqr-sqrt
22×add-cube-cbrt
15×times-frac
prod-diff
add-log-exp
add-exp-log add-cbrt-cube
associate-/l* distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u
fma-def fma-neg associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num sum-log flip-+ fma-udef div-inv distribute-lft-out
Counts
4 → 95
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
11.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)

series273.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 1.0)
196.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
26.0ms
(- (exp (* 2.0 x)) 1.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0362957
11284826
25001822

prune336.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (* 1.0 (+ (exp x) 1.0)))
0.0b
(+ (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:
5.0ms
(sqrt (* 1.0 (+ (exp x) 1.0)))
4.0ms
(+ (exp x) 1.0)

series82.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0169181
1471171
21575165
35002164

prune93.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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)))
0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))

rewrite6.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:
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)))
1.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))

series169.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) 1.0)
103.0ms
(sqrt (* 1.0 (fma (sqrt (exp x)) (sqrt (exp x)) 1.0)))
12.0ms
(sqrt (exp x))
15.0ms
(sqrt (exp x))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0139316
1369291
21353285
35001281

prune181.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
087
187

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6640×body10240exit
372.0ms12505×body80nan
245.0ms7418×body80valid
56.0ms709×body160valid