Details

Time bar (total: 2.2s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1

sample24.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
6.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01359
11359

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.8b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series16.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04924307
14924307

prune66.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.4b

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

simplify28.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
05390181

prune32.0ms

Filtered
8 candidates to 20 candidates (-150.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New20020
Fresh066
Picked011
Done000
Total20727

Merged error: 2.4b

Counts
27 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series24.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05247680

prune115.0ms

Filtered
37 candidates to 70 candidates (-89.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New61970
Fresh145
Picked101
Done011
Total631477

Merged error: 2.3b

Counts
77 → 14

localize11.0ms

Local error

Found 2 expressions with local error:

0.6b
(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))

series20.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04971554
14971554

prune35.0ms

Filtered
22 candidates to 52 candidates (-136.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh11112
Picked101
Done011
Total521466

Merged error: 2.3b

Counts
66 → 14

regimes909.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample752.0ms

Algorithm
intervals
Results
334.0ms8000×pre80true
224.0ms8000×body80valid

Profiling

Loading profile data...