Details

Time bar (total: 5.1s)

sample394.0ms

Algorithm
intervals
Results
57.0ms186×body10240exit
13.0ms444×body80nan
7.0ms238×body80valid
1.0ms18×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

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

rewrite106.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:
28.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
38.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
19.0ms
(- (exp (* 2.0 x)) 1.0)
13.0ms
(- (exp x) 1.0)

series202.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune391.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite45.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:
18.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
9.0ms
(+ (exp x) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
16.0ms
(- (exp (* 2.0 x)) 1.0)

series236.0ms

Counts
4 → 12
Calls
4 calls:
157.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)
46.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
24.0ms
(- (exp (* 2.0 x)) 1.0)

simplify41.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0361673
11258564
25002559

prune275.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

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

series95.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0219440
1605348
22891335
35002308

prune303.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
27.5b
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

rewrite2.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:
0.0ms
(fma 0.5 (pow x 2) (fma 1.0 x 2.0))
1.0ms
(sqrt (fma 0.5 (pow x 2) (fma 1.0 x 2.0)))

series101.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0139185
1458173
22447165
35001162

prune73.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes30.0ms

Accuracy

99.5% (0.0b remaining)

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

bsearch89.0ms

Steps
ItersRangePoint
8
1.0287578034236322e-17
2.6801423773796306e-14
5.549336637458991e-17
9
-5.8848704152608634e-05
-2.0012008038825942e-10
-1.029879697390661e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03531
13531

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s6416×body10240exit
385.0ms12703×body80nan
235.0ms7391×body80valid
58.0ms741×body160valid