Details

Time bar (total: 5.0s)

sample56.0ms

Algorithm
intervals
Results
28.0ms74×body10240exit
10.0ms277×body80valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

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.5b

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

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

series122.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune153.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))
0.5b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
5.1b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
5.2b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
21×log-prod
17×add-sqr-sqrt
15×add-cube-cbrt
13×prod-diff
11×pow1
10×distribute-lft-out
associate--l+
unpow-prod-down cube-prod
log-pow add-log-exp
add-exp-log log-div
fma-neg
expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-+ flip-+
associate--l- sub-neg flip3-- diff-log rem-log-exp sum-cubes flip-- distribute-lft-out--
distribute-rgt-out-- fma-udef associate--r+ difference-of-squares
Counts
4 → 100
Calls
4 calls:
26.0ms
(- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))
18.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
17.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
33.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series375.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))
85.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
41.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
103.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04722143
115811602
250011562

prune358.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
74.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
48.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune137.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
1.2b
(expm1 (log1p (- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))))
5.1b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
5.2b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×log-prod
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt add-log-exp
distribute-lft-out
expm1-log1p-u unpow-prod-down log-div cube-prod add-cbrt-cube log1p-expm1-u
flip3-+ rem-log-exp log-pow flip-+
sub-neg expm1-log1p flip3-- distribute-rgt-out-- fma-neg diff-log prod-diff sum-cubes flip-- expm1-udef
Counts
4 → 66
Calls
4 calls:
21.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
0.0ms
(expm1 (log1p (- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))))
16.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
33.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
88.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
804.0ms
(expm1 (log1p (- (log (+ (pow 1.0 3) (pow (exp x) 3))) (fma x y (log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))))))
41.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
103.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05471029
11872916
25002893

prune324.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes36.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
02016
12016

end0.0ms

sample1.7s

Algorithm
intervals
Results
945.0ms2392×body10240exit
308.0ms8394×body80valid
61.0ms234×body640valid
57.0ms117×body1280valid
34.0ms199×body320valid
10.0ms113×body160valid