Details

Time bar (total: 2.4s)

sample25.0ms

Algorithm
intervals
Results
5.0ms256×pre80true
5.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1534
21514
33134
44194
54254
64254

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.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:
16.0ms
(+ b (+ c d))
47.0ms
(+ a (+ b (+ c d)))

series51.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune103.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series31.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune62.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 1.8b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(log1p (expm1 (+ a (+ (+ b c) d))))
0.1b
(expm1 (+ a (+ (+ b c) d)))
2.6b
(+ a (+ (+ b c) d))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×add-log-exp
sum-log distribute-lft-out
add-sqr-sqrt add-cube-cbrt log1p-expm1-u
pow1 add-exp-log expm1-log1p-u fma-def add-cbrt-cube
+-commutative associate-+r+ log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
3 → 44
Calls
3 calls:
0.0ms
(log1p (expm1 (+ a (+ (+ b c) d))))
0.0ms
(expm1 (+ a (+ (+ b c) d)))
63.0ms
(+ a (+ (+ b c) d))

series135.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(log1p (expm1 (+ a (+ (+ b c) d))))
44.0ms
(expm1 (+ a (+ (+ b c) d)))
31.0ms
(+ a (+ (+ b c) d))

simplify75.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0152227
1603203
24049202
35001202

prune126.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 1.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(expm1 (+ d (+ a (+ b c))))
0.6b
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
0.8b
(pow (expm1 (+ d (+ a (+ b c)))) 3)
2.6b
(+ d (+ a (+ b c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
13×add-log-exp
12×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt
unpow-prod-down cube-prod sum-log distribute-lft-out
pow1 add-exp-log add-cbrt-cube log1p-expm1-u
expm1-log1p-u
pow-unpow fma-def
cube-mult unpow3 sqr-pow
+-commutative pow-to-exp associate-+r+ expm1-log1p pow-pow flip3-+ pow1/3 pow-exp rem-cbrt-cube flip-+ expm1-udef rem-cube-cbrt
Counts
4 → 81
Calls
4 calls:
2.0ms
(expm1 (+ d (+ a (+ b c))))
2.0ms
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
3.0ms
(pow (expm1 (+ d (+ a (+ b c)))) 3)
43.0ms
(+ d (+ a (+ b c)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(expm1 (+ d (+ a (+ b c))))
47.0ms
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
120.0ms
(pow (expm1 (+ d (+ a (+ b c)))) 3)
31.0ms
(+ d (+ a (+ b c)))

simplify31.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0218540
1864507
25001501

prune198.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.4b

regimes272.0ms

Accuracy

0% (0.2b remaining)

Error of 0.6b against oracle of 0.4b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0188
1188

end0.0ms

sample575.0ms

Algorithm
intervals
Results
156.0ms8000×pre80true
147.0ms8000×body80valid