Details

Time bar (total: 3.8s)

sample64.0ms

Algorithm
intervals
Results
37.0ms91×body10240exit
10.0ms261×body80valid
3.0ms10×body640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify7.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.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod add-log-exp
pow1 add-exp-log fma-def
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 34
Calls
2 calls:
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ 1.0 (exp x))
64.0ms
(log (+ 1.0 (exp x)))

simplify101.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 4 (98.0ms)

IterNodesCost
0137181
1364163
21024163
33614161
45001159

prune104.0ms

Pruning

3 alts after pruning (3 fresh and 0 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)))
0.9b
(log (sqrt (+ 1.0 (exp x))))
0.9b
(log (sqrt (+ 1.0 (exp x))))

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

series272.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0172598
1486558
21684540
35002522

prune262.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
8.0b
(log (fma x (fma 1/2 x 1) 2.0))

rewrite5.0ms

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

series142.0ms

Counts
2 → 6
Calls
2 calls:
84.0ms
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
58.0ms
(log (fma x (fma 1/2 x 1) 2.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0221317
1704285
22781282
35001264

prune130.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp (log (log (fma x (fma 1/2 x 1) 2.0)))) (* x y))
0.0b
(log (log (fma x (fma 1/2 x 1) 2.0)))
0.4b
(exp (log (log (fma x (fma 1/2 x 1) 2.0))))
8.0b
(log (fma x (fma 1/2 x 1) 2.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
19×log-prod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity exp-sum
11×pow1
fma-neg prod-diff log-pow
add-exp-log add-log-exp
expm1-log1p-u exp-prod add-cbrt-cube log1p-expm1-u
rem-log-exp
sub-neg flip3-- diff-log flip-- rem-exp-log
Counts
4 → 75
Calls
4 calls:
10.0ms
(- (exp (log (log (fma x (fma 1/2 x 1) 2.0)))) (* x y))
1.0ms
(log (log (fma x (fma 1/2 x 1) 2.0)))
1.0ms
(exp (log (log (fma x (fma 1/2 x 1) 2.0))))
1.0ms
(log (fma x (fma 1/2 x 1) 2.0))

series327.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(- (exp (log (log (fma x (fma 1/2 x 1) 2.0)))) (* x y))
106.0ms
(log (log (fma x (fma 1/2 x 1) 2.0)))
58.0ms
(exp (log (log (fma x (fma 1/2 x 1) 2.0))))
58.0ms
(log (fma x (fma 1/2 x 1) 2.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0384719
11328611
25002588

prune254.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes34.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.0s2534×body10240exit
322.0ms8444×body80valid
69.0ms265×body640valid
63.0ms126×body1280valid
29.0ms185×body320valid
9.0ms101×body160valid