Details

Time bar (total: 2.2s)

sample25.0ms

Algorithm
intervals
Results
6.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
6.0ms
(+ b (+ c d))
8.0ms
(+ a (+ b (+ c d)))

series50.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune100.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New40848
Fresh000
Picked101
Done000
Total41849

Merged error: 2.1b

Counts
49 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series29.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune67.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New17825
Fresh347
Picked101
Done000
Total211233

Merged error: 1.9b

Counts
33 → 12

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

rewrite10.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:
1.0ms
(log1p (expm1 (+ a (+ (+ b c) d))))
1.0ms
(expm1 (+ a (+ (+ b c) d)))
8.0ms
(+ a (+ (+ b c) d))

series129.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(log1p (expm1 (+ a (+ (+ b c) d))))
42.0ms
(expm1 (+ a (+ (+ b c) d)))
29.0ms
(+ a (+ (+ b c) d))

simplify78.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0152227
1603203
24049202
35001202

prune128.0ms

Filtered
53 candidates to 36 candidates (67.9%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New47653
Fresh2911
Picked011
Done000
Total491665

Merged error: 1.8b

Counts
65 → 16

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(expm1 (+ d (+ a (+ b c))))
0.5b
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
0.7b
(pow (expm1 (+ d (+ a (+ b c)))) 3)
2.6b
(+ d (+ a (+ b c)))

rewrite18.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:
1.0ms
(expm1 (+ d (+ a (+ b c))))
2.0ms
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
2.0ms
(pow (expm1 (+ d (+ a (+ b c)))) 3)
11.0ms
(+ d (+ a (+ b c)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(expm1 (+ d (+ a (+ b c))))
46.0ms
(cbrt (pow (expm1 (+ d (+ a (+ b c)))) 3))
128.0ms
(pow (expm1 (+ d (+ a (+ b c)))) 3)
30.0ms
(+ d (+ a (+ b c)))

simplify33.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0218540
1864507
25001501

prune190.0ms

Filtered
93 candidates to 56 candidates (60.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New88593
Fresh11314
Picked101
Done011
Total1009109

Merged error: 0.3b

Counts
109 → 9

regimes244.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 (0.0ms)

IterNodesCost
0188
1188

end0.0ms

sample574.0ms

Algorithm
intervals
Results
186.0ms8000×pre80true
182.0ms8000×body80valid