Details

Time bar (total: 2.6s)

sample31.0ms

Algorithm
intervals
Results
10.0ms256×pre80true
6.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1534
21454
32684
42904
52904

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series13.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ b (+ c d))
9.0ms
(+ a (+ b (+ c d)))

simplify83.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune68.0ms

Filtered
38 candidates to 24 candidates (36.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New31738
Fresh000
Picked101
Done000
Total32739

Merged error: 2.2b

Counts
39 → 7

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

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

series8.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune52.0ms

Filtered
20 candidates to 13 candidates (35.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New14620
Fresh336
Picked011
Done000
Total171027

Merged error: 1.9b

Counts
27 → 10

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series21.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0210277
1906275
25001273

prune104.0ms

Filtered
52 candidates to 25 candidates (51.9%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New44852
Fresh088
Picked101
Done011
Total451762

Merged error: 1.9b

Counts
62 → 17

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
102×cbrt-prod
78×*-un-lft-identity
42×distribute-lft-out
39×unpow-prod-down cube-prod
15×add-sqr-sqrt add-cube-cbrt
12×add-log-exp
cube-div cbrt-div sum-log
cube-mult unpow3 sqr-pow
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
pow1/3 rem-cbrt-cube
+-commutative associate-+r+
Counts
3 → 105
Calls
3 calls:
9.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
16.0ms
(cbrt (pow (cbrt (pow (+ a (+ (+ b c) d)) 3)) 3))
8.0ms
(+ a (+ (+ b c) d))

series33.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
12.0ms
(cbrt (pow (cbrt (pow (+ a (+ (+ b c) d)) 3)) 3))
8.0ms
(+ a (+ (+ b c) d))

simplify39.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0342702
11021698
25002694

prune67.0ms

Filtered
114 candidates to 36 candidates (68.4%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1077114
Fresh31215
Picked101
Done011
Total11120131

Merged error: 1.9b

Counts
131 → 20

regimes990.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample847.0ms

Algorithm
intervals
Results
301.0ms8000×pre80true
198.0ms8000×body80valid

Profiling

Loading profile data...