Details

Time bar (total: 4.7s)

sample80.0ms

Algorithm
intervals
Results
42.0ms80×body10240exit
21.0ms277×body80valid
2.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize8.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.8b
(log (+ 1.0 (exp x)))

rewrite13.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:
3.0ms
(+ 1.0 (exp x))
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))

series128.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ 1.0 (exp x))
58.0ms
(- (log (+ 1.0 (exp x))) (* x y))
63.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

prune163.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

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.4b
(log (sqrt (+ 1.0 (exp x))))
1.4b
(log (sqrt (+ 1.0 (exp x))))

rewrite21.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:
5.0ms
(sqrt (+ 1.0 (exp x)))
7.0ms
(sqrt (+ 1.0 (exp x)))
3.0ms
(log (sqrt (+ 1.0 (exp x))))
3.0ms
(log (sqrt (+ 1.0 (exp x))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ 1.0 (exp x)))
30.0ms
(sqrt (+ 1.0 (exp x)))
100.0ms
(log (sqrt (+ 1.0 (exp x))))
103.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0172598
1486558
21684540
35002522

prune262.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (exp x)))
0.7b
(* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x)))))
1.4b
(log (* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x))))))
1.4b
(log (sqrt (+ 1.0 (exp x))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
90×sqrt-prod
66×sqrt-pow1
54×pow1
52×add-sqr-sqrt sqrt-div
37×*-un-lft-identity
34×pow1/2
25×log-pow
19×add-cube-cbrt
18×swap-sqr pow-prod-up
14×flip3-+ flip-+
10×add-exp-log log-div associate-*r* associate-*l* pow-prod-down pow-sqr
unswap-sqr
frac-times log-prod distribute-lft-out
add-cbrt-cube
expm1-log1p-u associate-*r/ associate-*l/ log1p-expm1-u add-log-exp
rem-log-exp
pow2 pow-plus prod-exp
rem-sqrt-square sqrt-unprod rem-square-sqrt *-commutative cbrt-unprod hypot-def
Counts
4 → 173
Calls
4 calls:
5.0ms
(sqrt (+ 1.0 (exp x)))
32.0ms
(* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x)))))
15.0ms
(log (* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x))))))
3.0ms
(log (sqrt (+ 1.0 (exp x))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ 1.0 (exp x)))
33.0ms
(* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x)))))
100.0ms
(log (* (sqrt (sqrt (+ 1.0 (exp x)))) (sqrt (sqrt (+ 1.0 (exp x))))))
103.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify51.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03391260
112131166
250011134

prune419.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

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))
6.8b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite5.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:
4.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)))

series144.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
53.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune156.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes66.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01617
11617

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s2366×body10240exit
648.0ms8487×body80valid
86.0ms239×body640valid
58.0ms93×body1280valid
42.0ms169×body320valid
17.0ms107×body160valid