Details

Time bar (total: 2.3s)

sample30.0ms

Algorithm
intervals
Results
10.0ms256×pre80true
6.0ms256×body80valid

simplify19.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.6b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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:
7.0ms
(+ b (+ c d))
21.0ms
(+ a (+ b (+ c d)))

series43.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.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))

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

series28.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0117100
148492
2317492
3500292

prune68.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 1.9b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite52.0ms

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

series28.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0111102
141494
2258693
3500192

prune71.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 1.6b

localize10.0ms

Local error

Found 2 expressions with local error:

0.9b
(log (exp (+ (+ a (+ b c)) d)))
2.6b
(+ (+ a (+ b c)) d)

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
15×distribute-lft-out
11×add-log-exp
log-pow
exp-prod sum-log
add-sqr-sqrt add-cube-cbrt fma-def
log-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative associate-+l+ flip3-+ rem-log-exp exp-sum flip-+
Counts
2 → 45
Calls
2 calls:
126.0ms
(log (exp (+ (+ a (+ b c)) d)))
62.0ms
(+ (+ a (+ b c)) d)

series58.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(log (exp (+ (+ a (+ b c)) d)))
30.0ms
(+ (+ a (+ b c)) d)

simplify58.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0144208
1554187
23150187
35001185

prune87.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 1.4b

regimes362.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample762.0ms

Algorithm
intervals
Results
339.0ms8000×pre80true
210.0ms8000×body80valid