Details

Time bar (total: 3.4s)

sample40.0ms

Algorithm
intervals
Results
15.0ms255×body80valid
5.0msbody1280valid
4.0ms81×body80overflowed
3.0msbody640valid
1.0msbody320valid
1.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.5b

localize10.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.5b
(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)))

series125.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune166.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
50×log-pow
40×pow1
37×*-un-lft-identity
26×fma-neg prod-diff
20×distribute-rgt-out
19×add-sqr-sqrt add-cube-cbrt distribute-lft-out
14×log-prod sqrt-pow1 pow1/2
add-log-exp
log-div sqrt-div sqrt-prod
add-exp-log
flip3-+ flip-+
associate--l- expm1-log1p-u distribute-lft1-in distribute-rgt1-in add-cbrt-cube log1p-expm1-u
fma-def
associate-+l- associate-+r- count-2 diff-log rem-log-exp sum-log
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
66.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (+ 1.0 (exp x))))) (* x y))
3.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ 1.0 (exp x))
145.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (+ 1.0 (exp x))))) (* x y))
101.0ms
(log (sqrt (+ 1.0 (exp x))))
102.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03601216
11267981
25001919

prune318.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize11.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.3b
(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)))

series148.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune147.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
0.1b
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
0.3b
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
6.3b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
11×log-prod
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log
log-pow
expm1-log1p-u exp-prod exp-sum add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp
fma-udef rem-exp-log
Counts
4 → 57
Calls
4 calls:
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
1.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
2.0ms
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
110.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
56.0ms
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
53.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify133.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0275542
11001481
24777458
35001452

prune209.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.2b

regimes55.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.1s

Algorithm
intervals
Results
506.0ms8439×body80valid
137.0ms2522×body80overflowed
92.0ms145×body1280valid
86.0ms256×body640valid
37.0ms170×body320valid
15.0ms111×body160valid