Details

Time bar (total: 2.8s)

sample27.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
5.0ms256×pre80true

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1534
21454
32684
42904
52904

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite65.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:
18.0ms
(+ b (+ c d))
46.0ms
(+ a (+ b (+ c d)))

series49.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(+ b (+ c d))
33.0ms
(+ a (+ b (+ c d)))

simplify81.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune78.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series32.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune51.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 1.9b

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

rewrite173.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:
103.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
69.0ms
(+ a (+ (+ b c) d))

series91.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0210279
1906277
25001275

prune110.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 1.7b

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

rewrite378.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:
101.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
204.0ms
(cbrt (pow (cbrt (pow (+ a (+ (+ b c) d)) 3)) 3))
67.0ms
(+ a (+ (+ b c) d))

series150.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
61.0ms
(cbrt (pow (cbrt (pow (+ a (+ (+ b c) d)) 3)) 3))
33.0ms
(+ a (+ (+ b c) d))

simplify37.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0342702
11021698
25002694

prune124.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 1.7b

regimes585.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample594.0ms

Algorithm
intervals
Results
170.0ms8000×pre80true
148.0ms8000×body80valid