Details

Time bar (total: 2.3s)

sample33.0ms

Algorithm
intervals
Results
10.0ms256×pre80true
6.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01859
11859

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ c (+ b a))
0.2b
(+ d (+ c (+ b a)))
0.2b
(+ e (+ d (+ c (+ b a))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity add-log-exp
19×sum-log distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ flip3-+ add-cbrt-cube flip-+
Counts
3 → 51
Calls
3 calls:
5.0ms
(+ c (+ b a))
7.0ms
(+ d (+ c (+ b a)))
13.0ms
(+ e (+ d (+ c (+ b a))))

series28.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ c (+ b a))
8.0ms
(+ d (+ c (+ b a)))
15.0ms
(+ e (+ d (+ c (+ b a))))

simplify33.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04837545
14837545

prune85.0ms

Filtered
37 candidates to 60 candidates (-62.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New53760
Fresh011
Picked101
Done000
Total54862

Merged error: 0b

Counts
62 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ c (+ b a))
0.2b
(+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a)))))
0.2b
(+ e (+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))))
0.4b
(* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
38×sqrt-prod
28×distribute-lft-out
24×add-sqr-sqrt
19×pow1
16×swap-sqr add-log-exp
12×add-cube-cbrt sqrt-div
flip3-+ flip-+
sqrt-pow1 pow1/2 associate-*r* associate-*l*
sum-log
add-exp-log add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
+-commutative pow-prod-down pow-sqr
associate-+r+ associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
5.0ms
(+ c (+ b a))
3.0ms
(+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a)))))
5.0ms
(+ e (+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))))
15.0ms
(* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))

series48.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ c (+ b a))
12.0ms
(+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a)))))
18.0ms
(+ e (+ d (* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))))
13.0ms
(* (sqrt (+ c (+ b a))) (sqrt (+ c (+ b a))))

simplify47.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
048111108
148111108

prune135.0ms

Filtered
66 candidates to 121 candidates (-83.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1192121
Fresh257
Picked011
Done000
Total1218129

Merged error: 0b

Counts
129 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ c (+ b (+ a d)))
0.2b
(+ b (+ a d))
0.2b
(+ e (log (exp (+ c (+ b (+ a d))))))
2.5b
(exp (+ c (+ b (+ a d))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
29×add-log-exp
17×distribute-lft-out
16×sum-log
add-sqr-sqrt add-cube-cbrt associate-+r+ exp-prod
pow1
add-exp-log log-prod add-cbrt-cube rem-exp-log
+-commutative flip3-+ flip-+
exp-sum
log-pow
Counts
4 → 67
Calls
4 calls:
7.0ms
(+ c (+ b (+ a d)))
5.0ms
(+ b (+ a d))
12.0ms
(+ e (log (exp (+ c (+ b (+ a d))))))
9.0ms
(exp (+ c (+ b (+ a d))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ c (+ b (+ a d)))
4.0ms
(+ b (+ a d))
17.0ms
(+ e (log (exp (+ c (+ b (+ a d))))))
11.0ms
(exp (+ c (+ b (+ a d))))

simplify37.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05311659

prune95.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh246
Picked101
Done011
Total81687

Merged error: 0b

Counts
87 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (+ b (+ a d))))
0.2b
(+ b (+ a d))
0.2b
(+ (+ c e) (log (exp (+ b (+ a d)))))
2.2b
(exp (+ b (+ a d)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
18×add-log-exp
15×distribute-lft-out
10×exp-prod
sum-log
add-sqr-sqrt add-cube-cbrt log-prod log-pow
pow1
associate-+r+
add-exp-log add-cbrt-cube
exp-sum rem-exp-log
+-commutative flip3-+ flip-+
associate-+l+ rem-log-exp
Counts
4 → 70
Calls
4 calls:
6.0ms
(log (exp (+ b (+ a d))))
5.0ms
(+ b (+ a d))
12.0ms
(+ (+ c e) (log (exp (+ b (+ a d)))))
6.0ms
(exp (+ b (+ a d)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(log (exp (+ b (+ a d))))
4.0ms
(+ b (+ a d))
15.0ms
(+ (+ c e) (log (exp (+ b (+ a d)))))
6.0ms
(exp (+ b (+ a d)))

simplify21.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
05071629

prune122.0ms

Filtered
54 candidates to 82 candidates (-51.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh224
Picked011
Done011
Total83588

Merged error: 0b

Counts
88 → 5

regimes395.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01517
11517

end0.0ms

sample932.0ms

Algorithm
intervals
Results
319.0ms8000×pre80true
208.0ms8000×body80valid

Profiling

Loading profile data...