Details

Time bar (total: 2.4s)

sample24.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1534
21514
33134
44194
54254
64254

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.4b
(+ b (+ c d))
2.8b
(+ a (+ b (+ c d)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-log-exp
sum-log distribute-lft-out
fma-def
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+r+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
2 → 42
Calls
2 calls:
5.0ms
(+ b (+ c d))
8.0ms
(+ a (+ b (+ c d)))

series47.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(+ b (+ c d))
33.0ms
(+ a (+ b (+ c d)))

simplify86.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune103.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New40848
Fresh000
Picked101
Done000
Total41849

Merged error: 2.2b

Counts
49 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

2.8b
(+ a (+ (+ b c) d))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-log-exp
sum-log distribute-lft-out
fma-def
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+r+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
1 → 22
Calls
1 calls:
8.0ms
(+ a (+ (+ b c) d))

series28.0ms

Counts
1 → 3
Calls
1 calls:
28.0ms
(+ a (+ (+ b c) d))

simplify65.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune67.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16925
Fresh437
Picked101
Done000
Total211233

Merged error: 2.0b

Counts
33 → 12

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(expm1 (log1p (+ a (+ (+ b c) d))))
0.1b
(log1p (+ a (+ (+ b c) d)))
2.8b
(+ a (+ (+ b c) d))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×add-log-exp
sum-log distribute-lft-out
add-sqr-sqrt expm1-log1p-u add-cube-cbrt
pow1 add-exp-log fma-def add-cbrt-cube log1p-expm1-u
+-commutative associate-+r+ log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
3 → 44
Calls
3 calls:
1.0ms
(expm1 (log1p (+ a (+ (+ b c) d))))
1.0ms
(log1p (+ a (+ (+ b c) d)))
8.0ms
(+ a (+ (+ b c) d))

series286.0ms

Counts
3 → 9
Calls
3 calls:
154.0ms
(expm1 (log1p (+ a (+ (+ b c) d))))
103.0ms
(log1p (+ a (+ (+ b c) d)))
29.0ms
(+ a (+ (+ b c) d))

simplify91.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0210260
1757234
24425213
35001211

prune137.0ms

Filtered
53 candidates to 36 candidates (67.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New44953
Fresh2911
Picked101
Done000
Total471865

Merged error: 1.9b

Counts
65 → 18

localize9.0ms

Local error

Found 2 expressions with local error:

0.6b
(cbrt (pow (+ a (+ (+ b c) d)) 3))
2.8b
(+ a (+ (+ b c) d))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
18×cbrt-prod distribute-lft-out
11×add-log-exp
add-sqr-sqrt add-cube-cbrt unpow-prod-down cube-prod sum-log
fma-def
pow1 add-exp-log cube-div expm1-log1p-u cbrt-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative cube-mult associate-+r+ pow1/3 unpow3 rem-cbrt-cube sqr-pow
Counts
2 → 53
Calls
2 calls:
11.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
8.0ms
(+ a (+ (+ b c) d))

series85.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
28.0ms
(+ a (+ (+ b c) d))

simplify29.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0219293
1921289
25002287

prune85.0ms

Filtered
59 candidates to 33 candidates (55.9%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New50959
Fresh31417
Picked101
Done000
Total542377

Merged error: 1.8b

Counts
77 → 23

regimes550.0ms

Accuracy

0% (1.0b remaining)

Error of 2.9b against oracle of 1.9b and baseline of 2.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1188

end0.0ms

sample566.0ms

Algorithm
intervals
Results
185.0ms8000×body80valid
182.0ms8000×pre80true