Details

Time bar (total: 1.7s)

analyze2.0ms

Algorithm
search

sample24.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
6.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1393
2653
3703
4703

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* a (+ (+ b c) d))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube distribute-lft-out
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
8.0ms
(* a (+ (+ b c) d))

series9.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0146114
1738100
24526100
35001100

prune38.0ms

Filtered
17 candidates to 27 candidates (-58.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23427
Fresh000
Picked011
Done000
Total23528

Merged error: 0.0b

Counts
28 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* a (+ b c))
0.0b
(+ (* a (+ b c)) (* a d))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
6.0ms
(* a (+ b c))
6.0ms
(+ (* a (+ b c)) (* a d))

series16.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* a (+ b c))
10.0ms
(+ (* a (+ b c)) (* a d))

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0213177
1995159
25002156

prune49.0ms

Filtered
28 candidates to 43 candidates (-53.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh123
Picked101
Done101
Total44448

Merged error: 0b

Counts
48 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* a (+ c d))
0.0b
(+ (* a b) (* a (+ c d)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
6.0ms
(* a (+ c d))
4.0ms
(+ (* a b) (* a (+ c d)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* a (+ c d))
10.0ms
(+ (* a b) (* a (+ c d)))

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0214178
1982158
25002156

prune46.0ms

Filtered
30 candidates to 43 candidates (-43.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh123
Picked011
Done000
Total43447

Merged error: 0b

Counts
47 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ b c))
0.0b
(+ (* (* a (sqrt (+ b c))) (sqrt (+ b c))) (* a d))
0.3b
(* a (sqrt (+ b c)))
0.3b
(* (* a (sqrt (+ b c))) (sqrt (+ b c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity sqrt-div
15×add-sqr-sqrt
14×associate-*r*
13×sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*r/
flip3-+ flip-+
add-log-exp
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out
associate-*l/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (+ b c))
11.0ms
(+ (* (* a (sqrt (+ b c))) (sqrt (+ b c))) (* a d))
7.0ms
(* a (sqrt (+ b c)))
11.0ms
(* (* a (sqrt (+ b c))) (sqrt (+ b c)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ b c))
19.0ms
(+ (* (* a (sqrt (+ b c))) (sqrt (+ b c))) (* a d))
13.0ms
(* a (sqrt (+ b c)))
16.0ms
(* (* a (sqrt (+ b c))) (sqrt (+ b c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0467647
12275555
25001536

prune79.0ms

Filtered
65 candidates to 94 candidates (-44.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh022
Picked011
Done011
Total94498

Merged error: 0b

Counts
98 → 4

regimes380.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

analyze2.0ms

Algorithm
search

sample642.0ms

Algorithm
intervals
Results
284.0ms8000×pre80true
195.0ms8000×body80valid

Profiling

Loading profile data...