Details

Time bar (total: 3.1s)

sample37.0ms

Algorithm
intervals
Results
14.0ms256×pre80true
10.0ms256×body80valid

simplify14.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.7b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series44.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170150
1667143
24074143
35001143

prune79.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.4b

localize6.0ms

Local error

Found 1 expressions with local error:

2.8b
(+ a (+ (+ b c) d))

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

series28.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011292
146385
2303285
3500285

prune51.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.5b
(cbrt (pow (+ a (+ (+ b c) d)) 3))
2.8b
(+ a (+ (+ b c) d))

rewrite87.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:
52.0ms
(cbrt (pow (+ a (+ (+ b c) d)) 3))
33.0ms
(+ a (+ (+ b c) d))

series83.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0210277
1906275
25001273

prune105.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 2.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
2.8b
(+ a (+ (+ b c) d))
2.8b
(+ a (+ (+ b c) d))
2.8b
(+ a (+ (+ b c) d))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity add-log-exp
18×sum-log distribute-lft-out
flip3-+ flip-+
cbrt-div
pow1 add-exp-log add-sqr-sqrt frac-times add-cube-cbrt add-cbrt-cube
+-commutative associate-+r+
associate-*r/ associate-*l/
cbrt-prod pow1/3
Counts
4 → 68
Calls
4 calls:
53.0ms
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
31.0ms
(+ a (+ (+ b c) d))
33.0ms
(+ a (+ (+ b c) d))
31.0ms
(+ a (+ (+ b c) d))

series285.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(cbrt (* (+ a (+ (+ b c) d)) (+ a (+ (+ b c) d))))
29.0ms
(+ a (+ (+ b c) d))
33.0ms
(+ a (+ (+ b c) d))
29.0ms
(+ a (+ (+ b c) d))

simplify33.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0232585
1921543
25001541

prune180.0ms

Pruning

27 alts after pruning (26 fresh and 1 done)

Merged error: 1.7b

regimes648.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02314
12314

end0.0ms

sample970.0ms

Algorithm
intervals
Results
434.0ms8000×pre80true
324.0ms8000×body80valid