Details

Time bar (total: 3.7s)

sample57.0ms

Algorithm
intervals
Results
28.0ms72×body10240exit
12.0ms275×body80valid
4.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.7b
(log (+ 1.0 (exp x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1 add-log-exp
add-exp-log log-div fma-neg prod-diff associate--l+
expm1-log1p-u fma-def flip3-+ log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log flip--
Counts
3 → 62
Calls
3 calls:
6.0ms
(+ 1.0 (exp x))
12.0ms
(- (log (+ 1.0 (exp x))) (* x y))
5.0ms
(log (+ 1.0 (exp x)))

series119.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ 1.0 (exp x))
54.0ms
(- (log (+ 1.0 (exp x))) (* x y))
57.0ms
(log (+ 1.0 (exp x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune168.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (exp x)))
0.0b
(sqrt (+ 1.0 (exp x)))
1.5b
(log (sqrt (+ 1.0 (exp x))))
1.5b
(log (sqrt (+ 1.0 (exp x))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt sqrt-prod
14×log-prod
10×pow1 add-cube-cbrt
sqrt-div
add-exp-log log-pow
expm1-log1p-u log-div sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
rem-sqrt-square rem-log-exp hypot-def
Counts
4 → 82
Calls
4 calls:
10.0ms
(sqrt (+ 1.0 (exp x)))
13.0ms
(sqrt (+ 1.0 (exp x)))
7.0ms
(log (sqrt (+ 1.0 (exp x))))
7.0ms
(log (sqrt (+ 1.0 (exp x))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ 1.0 (exp x)))
27.0ms
(sqrt (+ 1.0 (exp x)))
97.0ms
(log (sqrt (+ 1.0 (exp x))))
96.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0172598
1486558
21684540
35002522

prune262.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
4.9b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 log-prod
add-exp-log fma-neg prod-diff add-log-exp
expm1-log1p-u associate--l+ log-pow add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip-- fma-udef
Counts
3 → 49
Calls
3 calls:
8.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series130.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
20.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
46.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune151.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* y x))
0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
4.9b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 log-prod
add-exp-log fma-neg prod-diff add-log-exp
expm1-log1p-u associate--l+ log-pow add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip-- fma-udef
Counts
3 → 49
Calls
3 calls:
9.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* y x))
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
2.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series132.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* y x))
15.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
46.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0229423
1756380
23283376
35001356

prune170.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.4b

regimes67.0ms

Accuracy

0% (0.3b remaining)

Error of 0.5b against oracle of 0.3b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
981.0ms2489×body10240exit
296.0ms8451×body80valid
77.0ms284×body640valid
63.0ms129×body1280valid
27.0ms181×body320valid
12.0ms129×body160valid