Details

Time bar (total: 2.2s)

sample27.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 0%

Results
9.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.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series13.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune69.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New30838
Fresh000
Picked101
Done000
Total31839

Merged error: 2.3b

Counts
39 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

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

simplify65.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune57.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New13720
Fresh437
Picked011
Done000
Total171128

Merged error: 2.0b

Counts
28 → 11

localize9.0ms

Local error

Found 2 expressions with local error:

0.6b
(cbrt (pow (+ a (+ (+ b c) d)) 3))
2.7b
(+ 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))

series23.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0210277
1906275
25001273

prune91.0ms

Filtered
24 candidates to 52 candidates (-116.7%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh099
Picked101
Done011
Total481563

Merged error: 2.0b

Counts
63 → 15

localize10.0ms

Local error

Found 2 expressions with local error:

0.9b
(log (exp (+ a (+ (+ b c) d))))
2.7b
(+ a (+ (+ b c) d))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×distribute-lft-out
11×add-log-exp
log-pow
exp-prod sum-log
add-sqr-sqrt add-cube-cbrt log-prod
pow1
add-exp-log add-cbrt-cube
+-commutative associate-+r+ flip3-+ rem-log-exp exp-sum flip-+
Counts
2 → 36
Calls
2 calls:
10.0ms
(log (exp (+ a (+ (+ b c) d))))
7.0ms
(+ a (+ (+ b c) d))

series17.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0143190
1601170
23626170
35003170

prune37.0ms

Filtered
24 candidates to 42 candidates (-75.0%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New35742
Fresh4913
Picked101
Done011
Total401757

Merged error: 1.8b

Counts
57 → 17

regimes857.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample660.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 0%

Results
297.0ms8000×pre80true
192.0ms8000×body80valid

Profiling

Loading profile data...