Details

Time bar (total: 2.7s)

sample28.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
6.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.4b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
9.0ms
(+ b (+ c d))
8.0ms
(+ a (+ b (+ c d)))

series44.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ b (+ c d))
29.0ms
(+ a (+ b (+ c d)))

simplify85.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune110.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New371148
Fresh000
Picked101
Done000
Total381149

Merged error: 2.1b

Counts
49 → 11

localize6.0ms

Local error

Found 1 expressions with local error:

2.6b
(+ 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))

series29.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune67.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16925
Fresh8210
Picked101
Done000
Total251136

Merged error: 1.8b

Counts
36 → 11

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(log1p (expm1 (+ a (+ (+ b c) d))))
0.1b
(expm1 (+ a (+ (+ b c) d)))
2.6b
(+ 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 add-cube-cbrt log1p-expm1-u
pow1 add-exp-log expm1-log1p-u fma-def add-cbrt-cube
+-commutative associate-+r+ log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
3 → 44
Calls
3 calls:
1.0ms
(log1p (expm1 (+ a (+ (+ b c) d))))
1.0ms
(expm1 (+ a (+ (+ b c) d)))
8.0ms
(+ a (+ (+ b c) d))

series128.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0152227
1603203
24049202
35001202

prune137.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New47653
Fresh2810
Picked101
Done000
Total501464

Merged error: 1.8b

Counts
64 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(log1p (expm1 (cbrt (pow (+ a (+ (+ b c) d)) 3))))
0.1b
(expm1 (cbrt (pow (+ a (+ (+ b c) d)) 3)))
0.5b
(cbrt (pow (+ a (+ (+ b c) d)) 3))
2.6b
(+ a (+ (+ b c) d))

rewrite20.0ms

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

series222.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(log1p (expm1 (cbrt (pow (+ a (+ (+ b c) d)) 3))))
54.0ms
(expm1 (cbrt (pow (+ a (+ (+ b c) d)) 3)))
58.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
29.0ms
(+ a (+ (+ b c) d))

simplify35.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0274442
11169421
25003416

prune185.0ms

Filtered
87 candidates to 56 candidates (64.4%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New80787
Fresh21113
Picked101
Done000
Total8318101

Merged error: 1.7b

Counts
101 → 18

regimes518.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0178
1178

end0.0ms

sample817.0ms

Algorithm
intervals
Results
338.0ms8000×pre80true
243.0ms8000×body80valid

Profiling

Loading profile data...