Details

Time bar (total: 3.1s)

sample27.0ms

Algorithm
intervals
Results
10.0ms299×body80valid
4.0ms105×body80overflowed
1.0msbody640valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.3b
(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:
13.0ms
(- (log (+ 1.0 (exp x))) (* x y))
6.0ms
(+ 1.0 (exp x))
6.0ms
(log (+ 1.0 (exp x)))

series120.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune176.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.3b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
5.2b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
5.2b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
12×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 unpow-prod-down cube-prod
add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out
expm1-log1p-u log-div pow-pow log1p-expm1-u
pow-unpow exp-prod
flip3-+ rem-log-exp log-pow flip-+
cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- fma-neg diff-log unpow3 prod-diff pow-exp sum-cubes flip-- rem-cube-cbrt sqr-pow
Counts
4 → 83
Calls
4 calls:
4.0ms
(pow (exp x) 3)
18.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
16.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
37.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series245.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (exp x) 3)
84.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
38.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
103.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0398701
11683631
25001622

prune309.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
0.0b
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
6.8b
(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:
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
8.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series140.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune193.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
0.0b
(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.8b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite40.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:
31.0ms
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
2.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
3.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)))

series342.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
102.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
62.0ms
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
72.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0382809
11323693
25002666

prune244.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

regimes75.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
02217
12217

end0.0ms

sample731.0ms

Algorithm
intervals
Results
318.0ms9173×body80valid
108.0ms3428×body80overflowed
6.0ms10×body1280valid
3.0msbody640valid
1.0msbody320valid
1.0msbody160valid