Details

Time bar (total: 2.6s)

sample32.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 100%

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

prune3.0ms

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)))

rewrite13.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:
5.0ms
(+ b (+ c d))
7.0ms
(+ a (+ b (+ c d)))

series18.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune65.0ms

Filtered
24 candidates to 38 candidates (-58.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New31738
Fresh000
Picked101
Done000
Total32739

Merged error: 2.3b

Counts
39 → 7

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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:
7.0ms
(+ a (+ (+ b c) d))

series8.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune50.0ms

Filtered
13 candidates to 20 candidates (-53.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New14620
Fresh426
Picked011
Done000
Total18927

Merged error: 2.1b

Counts
27 → 9

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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))

simplify32.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0210277
1906275
25001273

prune91.0ms

Filtered
25 candidates to 52 candidates (-108.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New45752
Fresh167
Picked101
Done011
Total471461

Merged error: 2.0b

Counts
61 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
2.8b
(+ a (+ (+ b c) d))
2.8b
(+ a (+ (+ b c) d))
2.8b
(+ a (+ (+ b c) d))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity add-log-exp
18×sum-log distribute-lft-out
flip3-+ flip-+
cbrt-div
pow1 add-exp-log add-sqr-sqrt frac-times add-cube-cbrt add-cbrt-cube
+-commutative associate-+r+
associate-*r/ associate-*l/
cbrt-prod pow1/3
Counts
4 → 68
Calls
4 calls:
16.0ms
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
7.0ms
(+ a (+ (+ b c) d))
7.0ms
(+ a (+ (+ b c) d))
7.0ms
(+ a (+ (+ b c) d))

series94.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
8.0ms
(+ a (+ (+ b c) d))
8.0ms
(+ a (+ (+ b c) d))
9.0ms
(+ a (+ (+ b c) d))

simplify35.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0264606
1984568
25001562

prune82.0ms

Filtered
54 candidates to 80 candidates (-48.1%)
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New671380
Fresh11112
Picked101
Done011
Total692594

Merged error: 1.8b

Counts
94 → 25

regimes1.0s

Accuracy

0% (1.0b remaining)

Error of 2.8b against oracle of 1.8b and baseline of 2.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample781.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 100%

Results
301.0ms8000×pre80true
209.0ms8000×body80valid

Profiling

Loading profile data...