Details

Time bar (total: 3.8s)

sample23.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.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.4b
(+ b (+ c d))
2.7b
(+ 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:
5.0ms
(+ b (+ c d))
8.0ms
(+ a (+ b (+ c d)))

series48.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0180164
1707155
24320155
35001155

prune102.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.2b

Counts
49 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

2.7b
(+ a (+ (+ b c) d))

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

simplify66.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune95.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16925
Fresh437
Picked101
Done000
Total211233

Merged error: 1.9b

Counts
33 → 12

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(log1p (+ a (+ (+ b c) d)))
0.1b
(expm1 (log1p (+ a (+ (+ b c) d))))
2.7b
(+ 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 expm1-log1p-u add-cube-cbrt
pow1 add-exp-log fma-def add-cbrt-cube log1p-expm1-u
+-commutative associate-+r+ log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
3 → 44
Calls
3 calls:
1.0ms
(log1p (+ a (+ (+ b c) d)))
1.0ms
(expm1 (log1p (+ a (+ (+ b c) d))))
8.0ms
(+ a (+ (+ b c) d))

series279.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0210260
1757234
24424213
35001211

prune137.0ms

Filtered
53 candidates to 36 candidates (67.9%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New45853
Fresh2911
Picked011
Done000
Total471865

Merged error: 1.8b

Counts
65 → 18

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(log1p (+ a (+ (+ b c) d)))
0.7b
(cbrt (pow (log1p (+ a (+ (+ b c) d))) 3))
0.7b
(pow (log1p (+ a (+ (+ b c) d))) 3)
2.7b
(+ a (+ (+ b c) d))

rewrite15.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 expm1-log1p-u add-cbrt-cube
log1p-expm1-u
pow-unpow fma-def
cube-mult unpow3 sqr-pow
+-commutative pow-to-exp associate-+r+ log1p-udef pow-pow flip3-+ pow1/3 log1p-expm1 pow-exp rem-cbrt-cube flip-+ rem-cube-cbrt
Counts
4 → 81
Calls
4 calls:
1.0ms
(log1p (+ a (+ (+ b c) d)))
2.0ms
(cbrt (pow (log1p (+ a (+ (+ b c) d))) 3))
2.0ms
(pow (log1p (+ a (+ (+ b c) d))) 3)
9.0ms
(+ a (+ (+ b c) d))

series1.3s

Counts
4 → 12
Calls
4 calls:
111.0ms
(log1p (+ a (+ (+ b c) d)))
107.0ms
(cbrt (pow (log1p (+ a (+ (+ b c) d))) 3))
1.1s
(pow (log1p (+ a (+ (+ b c) d))) 3)
32.0ms
(+ a (+ (+ b c) d))

simplify55.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0445645
12037606
25003597

prune206.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New821193
Fresh21416
Picked101
Done101
Total8625111

Merged error: 1.7b

Counts
111 → 25

regimes600.0ms

Accuracy

0% (1.5b remaining)

Error of 3.3b against oracle of 1.8b and baseline of 3.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample551.0ms

Algorithm
intervals
Results
188.0ms8000×pre80true
167.0ms8000×body80valid