Details

Time bar (total: 4.7s)

sample296.0ms

Algorithm
intervals
Results
16.0ms408×body80nan
12.0ms240×body80valid
9.0ms231×body80overflowed
2.0ms25×body160valid

simplify74.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: 5.0b

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.1b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.5b
(- (exp (* 2.0 x)) 1.0)
5.6b
(- (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)

series197.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04801694
115231484
250011470

prune331.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1634167
Fresh000
Picked101
Done000
Total1644168

Merged error: 0b

Counts
168 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.1b
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
5.5b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.5b
(- (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:
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
16.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (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)

series241.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
108.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
46.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
24.0ms
(- (exp (* 2.0 x)) 1.0)

simplify113.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08053596
135513384
250033382

prune539.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2180218
Fresh033
Picked011
Done000
Total2184222

Merged error: 0b

Counts
222 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
46×*-un-lft-identity
31×times-frac
30×add-cube-cbrt
21×sqrt-prod
prod-diff
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r*
expm1-log1p-u associate-/r/ log1p-expm1-u
flip3-- fma-neg flip-- associate-/l*
rem-sqrt-square div-inv
cbrt-undiv sub-neg frac-2neg sqrt-pow1 pow1/2 sqrt-div diff-log div-exp clear-num fma-udef
Counts
4 → 112
Calls
4 calls:
6.0ms
(sqrt (/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0)))
8.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))

series362.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(sqrt (/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0)))
112.0ms
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
14.0ms
(- (exp x) 1.0)
84.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03561725
110971468
250011437

prune290.0ms

Filtered
124 candidates to 93 candidates (75.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh022
Picked011
Done011
Total1244128

Merged error: 0b

Counts
128 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

5.6b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.6b
(- (exp x) 1.0)
5.6b
(- (exp x) 1.0)
5.6b
(- (exp x) 1.0)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
63×prod-diff
61×*-un-lft-identity
51×add-cube-cbrt
45×sqrt-prod
15×fma-neg
12×add-log-exp
difference-of-squares
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
4 → 146
Calls
4 calls:
8.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.0ms
(- (exp x) 1.0)
5.0ms
(- (exp x) 1.0)
5.0ms
(- (exp x) 1.0)

series90.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
17.0ms
(- (exp x) 1.0)
14.0ms
(- (exp x) 1.0)
14.0ms
(- (exp x) 1.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03251647
19341117
250021054

prune376.0ms

Filtered
158 candidates to 83 candidates (52.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done022
Total1584162

Merged error: 0b

Counts
162 → 4

regimes29.0ms

Accuracy

69.3% (0.8b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
7
-8.122444927071721e-05
-1.7109189605450724e-06
-1.4065309123184993e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02216
12216

end0.0ms

sample1.4s

Algorithm
intervals
Results
475.0ms12489×body80nan
310.0ms7435×body80valid
236.0ms6531×body80overflowed
68.0ms696×body160valid