Details

Time bar (total: 1.5s)

analyze3.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1

sample23.0ms (1.6%)

Algorithm
intervals
Results
9.0ms256×pre80true
5.0ms256×body80valid

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0427
1427

prune6.0ms (0.4%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

rewrite9.0ms (0.6%)

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))

series8.0ms (0.6%)

Counts
1 → 3
Calls

1 calls:

8.0ms
(* a (+ (+ b c) d))

simplify36.0ms (2.4%)

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04970212
14970212

prune44.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428

Merged error: 0.0b

Counts
28 → 4

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

rewrite13.0ms (0.9%)

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)) (* a d))
6.0ms
(* a (+ b c))

series15.0ms (1%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(+ (* a (+ b c)) (* a d))
6.0ms
(* a (+ b c))

simplify46.0ms (3.1%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04966321
14966321

prune56.0ms (3.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh022
Picked011
Done101
Total43447

Merged error: 0b

Counts
47 → 4

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

rewrite11.0ms (0.7%)

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)))

series15.0ms (1%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(+ (* a b) (* a (+ c d)))
6.0ms
(* a (+ c d))

simplify35.0ms (2.4%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05131319

prune53.0ms (3.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh022
Picked011
Done011
Total43447

Merged error: 0b

Counts
47 → 4

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

rewrite21.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-sqr-sqrt associate-*l*
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt associate-*r* sqrt-prod
pow-prod-down associate-*l/ prod-exp cbrt-unprod
distribute-lft-out
flip3-+ associate-*r/ *-commutative flip-+ add-log-exp unswap-sqr
Counts
2 → 49
Calls

2 calls:

11.0ms
(* (sqrt a) (* (+ b (+ c d)) (sqrt a)))
9.0ms
(* (+ b (+ c d)) (sqrt a))

series35.0ms (2.3%)

Counts
2 → 6
Calls

2 calls:

18.0ms
(* (sqrt a) (* (+ b (+ c d)) (sqrt a)))
17.0ms
(* (+ b (+ c d)) (sqrt a))

simplify59.0ms (4%)

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04955499
14955499

prune58.0ms (3.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done022
Total55459

Merged error: 0b

Counts
59 → 4

regimes258.0ms (17.5%)

Accuracy

Total 0.0b remaining (68.7%)

Threshold costs 0.0b (68.7%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms (0%)

sample648.0ms (43.8%)

Algorithm
intervals
Results
298.0ms8000×pre80true
178.0ms8000×body80valid

Profiling

Loading profile data...