Details

Time bar (total: 1.3s)

analyze3.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
62.5%6.2%31.3%6
65.6%3.1%31.3%7
65.6%1.6%32.8%8
66.4%0.8%32.8%9
66.4%0.4%33.2%10
66.6%0.2%33.2%11
66.6%0.1%33.3%12
66.6%0%33.4%13
66.6%0%33.4%14

sample10.0ms (0.8%)

Algorithm
intervals
Results
6.0ms256×body80valid

simplify109.0ms (8.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
049759
149759

prune4.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite7.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt sub-neg *-un-lft-identity associate-*r/
distribute-rgt-in flip3-- distribute-lft-in associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 23
Calls

1 calls:

7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series6.0ms (0.5%)

Counts
1 → 3
Calls

1 calls:

6.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify57.0ms (4.4%)

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04915272
14915272

prune54.0ms (4.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New21526
Fresh000
Picked101
Done000
Total22527

Merged error: 0.0b

Counts
27 → 5

localize10.0ms (0.8%)

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* x x) 3.0) (* 2.0 (pow (neg x) 3)))
0.0b
(* 2.0 (pow (neg x) 3))
0.2b
(* (* x x) 3.0)

rewrite22.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
20×add-sqr-sqrt
13×add-exp-log
12×add-cube-cbrt *-un-lft-identity
11×unpow-prod-down cube-prod
10×add-cbrt-cube
pow1
distribute-lft-neg-in distribute-rgt-neg-in prod-exp
add-log-exp unswap-sqr
associate-*l* cbrt-unprod
pow-prod-down
neg-mul-1 cube-neg *-commutative distribute-rgt-neg-out sqr-pow
+-commutative cube-mult pow-to-exp flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
3 → 77
Calls

3 calls:

9.0ms
(* 2.0 (pow (neg x) 3))
5.0ms
(+ (* (* x x) 3.0) (* 2.0 (pow (neg x) 3)))
5.0ms
(* (* x x) 3.0)

series15.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(+ (* (* x x) 3.0) (* 2.0 (pow (neg x) 3)))
4.0ms
(* 2.0 (pow (neg x) 3))
3.0ms
(* (* x x) 3.0)

simplify69.0ms (5.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
05154609

prune141.0ms (10.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh224
Picked011
Done000
Total85691

Merged error: 0b

Counts
91 → 6

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.2b
(* x (* x (- 3.0 (* x 2.0))))

rewrite14.0ms (1%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 46
Calls

2 calls:

6.0ms
(* x (* x (- 3.0 (* x 2.0))))
6.0ms
(* x (- 3.0 (* x 2.0)))

series12.0ms (0.9%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(* x (* x (- 3.0 (* x 2.0))))
6.0ms
(* x (- 3.0 (* x 2.0)))

simplify38.0ms (2.9%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05524490

prune74.0ms (5.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh134
Picked011
Done011
Total52658

Merged error: 0b

Counts
58 → 6

localize10.0ms (0.8%)

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (pow (neg x) 3))
0.1b
(* x (* x (sqrt 3.0)))
0.2b
(* (* x (* x (sqrt 3.0))) (sqrt 3.0))
0.4b
(* x (sqrt 3.0))

rewrite34.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
39×associate-*r*
29×add-sqr-sqrt
25×add-exp-log
22×add-cbrt-cube
20×pow1
18×add-cube-cbrt *-un-lft-identity
13×prod-exp
11×unpow-prod-down cube-prod cbrt-unprod
10×associate-*l* pow-prod-down
sqrt-prod
distribute-lft-neg-in distribute-rgt-neg-in unswap-sqr
*-commutative add-log-exp
neg-mul-1 sqr-pow
cube-mult pow-to-exp unpow3 cube-neg pow-exp distribute-rgt-neg-out
Counts
4 → 110
Calls

4 calls:

10.0ms
(* 2.0 (pow (neg x) 3))
9.0ms
(* (* x (* x (sqrt 3.0))) (sqrt 3.0))
7.0ms
(* x (sqrt 3.0))
5.0ms
(* x (* x (sqrt 3.0)))

series19.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

7.0ms
(* (* x (* x (sqrt 3.0))) (sqrt 3.0))
4.0ms
(* x (* x (sqrt 3.0)))
4.0ms
(* x (sqrt 3.0))
4.0ms
(* 2.0 (pow (neg x) 3))

simplify46.0ms (3.5%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05028738

prune230.0ms (17.6%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh033
Picked011
Done022
Total1226128

Merged error: 0b

Counts
128 → 6

regimes37.0ms (2.8%)

Accuracy

Total 0.1b remaining (87.2%)

Threshold costs 0.1b (87.2%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms (0%)

sample277.0ms (21.1%)

Algorithm
intervals
Results
188.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...