Details

Time bar (total: 3.0s)

sample42.0ms

Algorithm
intervals
Results
17.0ms277×body80valid
5.0msbody1280valid
5.0ms88×body80overflowed
3.0msbody640valid
2.0msbody320valid

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)))

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

series125.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ 1.0 (exp x))
58.0ms
(- (log (+ 1.0 (exp x))) (* x y))
60.0ms
(log (+ 1.0 (exp x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune161.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1
add-exp-log expm1-log1p-u add-log-exp
log-div fma-neg prod-diff associate--l+ add-cbrt-cube log1p-expm1-u
log-pow
associate--l- flip3-+ flip-+ distribute-lft-out
sub-neg log1p-udef expm1-log1p flip3-- diff-log log1p-expm1 rem-log-exp flip-- expm1-udef
Counts
4 → 67
Calls
4 calls:
0.0ms
(log1p (- (log (+ 1.0 (exp x))) (* x y)))
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))
0.0ms
(expm1 (log1p (- (log (+ 1.0 (exp x))) (* x y))))

series749.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(log1p (- (log (+ 1.0 (exp x))) (* x y)))
63.0ms
(- (log (+ 1.0 (exp x))) (* x y))
64.0ms
(log (+ 1.0 (exp x)))
406.0ms
(expm1 (log1p (- (log (+ 1.0 (exp x))) (* x y))))

simplify45.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0462699
11611634
25001629

prune229.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

rewrite6.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)))

series150.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
23.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
51.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune151.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes56.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
0105
1105

end0.0ms

sample1.1s

Algorithm
intervals
Results
513.0ms8431×body80valid
130.0ms2407×body80overflowed
92.0ms255×body640valid
76.0ms124×body1280valid
37.0ms171×body320valid
12.0ms91×body160valid