Details

Time bar (total: 2.8s)

sample52.0ms

Algorithm
intervals
Results
19.0ms256×pre80true
11.0ms256×body80valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1534
21514
33134
44194
54254
64254

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.5b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

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

series46.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ b (+ c d))
31.0ms
(+ a (+ b (+ c d)))

simplify90.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune119.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.3b

localize11.0ms

Local error

Found 1 expressions with local error:

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

rewrite36.0ms

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

series30.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune68.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite95.0ms

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

series85.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0219293
1921289
25002287

prune189.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 2.0b

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.8b
(+ a (+ (+ b c) d))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
102×cbrt-prod
79×*-un-lft-identity
42×distribute-lft-out
39×unpow-prod-down cube-prod
16×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 expm1-log1p-u fma-def flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
pow1/3 rem-cbrt-cube
+-commutative associate-+r+
Counts
3 → 114
Calls
3 calls:
58.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
115.0ms
(cbrt (pow (cbrt (pow (+ a (+ (+ b c) d)) 3)) 3))
38.0ms
(+ a (+ (+ b c) d))

series143.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0353726
11058719
25002715

prune145.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 2.0b

regimes494.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample732.0ms

Algorithm
intervals
Results
324.0ms8000×pre80true
195.0ms8000×body80valid