Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
7.0ms256×pre80true
5.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1534
21454
32684
42904
52904

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.5b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity add-log-exp
sum-log distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ flip3-+ add-cbrt-cube flip-+
Counts
2 → 32
Calls
2 calls:
17.0ms
(+ b (+ c d))
43.0ms
(+ a (+ b (+ c d)))

series39.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(+ b (+ c d))
26.0ms
(+ a (+ b (+ c d)))

simplify81.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune70.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.2b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite64.0ms

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

series25.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune44.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 1.9b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite163.0ms

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

series75.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0210277
1906275
25001273

prune93.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 1.8b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite288.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×distribute-lft-out
11×add-log-exp
log-pow
exp-prod sum-log
add-sqr-sqrt add-cube-cbrt log-prod
pow1
add-exp-log add-cbrt-cube
+-commutative associate-+r+ flip3-+ rem-log-exp exp-sum flip-+
Counts
2 → 36
Calls
2 calls:
220.0ms
(log (exp (+ a (+ (+ b c) d))))
67.0ms
(+ a (+ (+ b c) d))

series53.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0143190
1601170
23626170
35003170

prune60.0ms

Pruning

17 alts after pruning (15 fresh and 2 done)

Merged error: 1.7b

regimes434.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample578.0ms

Algorithm
intervals
Results
162.0ms8000×pre80true
149.0ms8000×body80valid