Details

Time bar (total: 1.5s)

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

sample11.0ms (0.7%)

Algorithm
intervals
Results
6.0ms256×body80valid

simplify96.0ms (6.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
049759
149759

prune6.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

rewrite19.0ms (1.3%)

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:

11.0ms
(* x (* x (- 3.0 (* x 2.0))))
5.0ms
(* x (- 3.0 (* x 2.0)))

series13.0ms (0.9%)

Counts
2 → 6
Calls

2 calls:

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

simplify40.0ms (2.7%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05524490

prune90.0ms (6.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh011
Picked101
Done000
Total49554

Merged error: 0b

Counts
54 → 5

localize8.0ms (0.6%)

Local error

Found 3 expressions with local error:

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

rewrite22.0ms (1.5%)

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

3 calls:

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

series15.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

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

simplify74.0ms (5%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04948563
14948563

prune134.0ms (9.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh044
Picked011
Done000
Total83588

Merged error: 0b

Counts
88 → 5

localize6.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

rewrite8.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:

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

series7.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

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

simplify52.0ms (3.5%)

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04915272
14915272

prune45.0ms (3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh033
Picked011
Done011
Total26531

Merged error: 0b

Counts
31 → 5

localize16.0ms (1.1%)

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
0.1b
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
0.1b
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
5.1b
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

rewrite61.0ms (4.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
14×associate-*r*
11×pow1 *-un-lft-identity
10×associate-*r/
add-cube-cbrt
difference-of-squares
prod-exp cbrt-unprod
sub-neg associate-*l* add-log-exp sqr-pow
distribute-rgt-in distribute-lft-in
pow-prod-down
cbrt-undiv flip3-- times-frac div-exp associate-/r* flip--
unpow-prod-down flip3-+ cube-prod associate-/r/ *-commutative flip-+ associate-/l/
difference-cubes +-commutative distribute-rgt-out frac-2neg clear-num sum-log div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 95
Calls

4 calls:

22.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))
15.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
13.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
8.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))

series43.0ms (3%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))
11.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
10.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
6.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))

simplify37.0ms (2.5%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
051781835

prune306.0ms (20.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done022
Total1075112

Merged error: 0b

Counts
112 → 5

regimes68.0ms (4.7%)

Accuracy

Total 0.1b remaining (91.3%)

Threshold costs 0.1b (91.3%)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03811
13811

end0.0ms (0%)

sample275.0ms (18.8%)

Algorithm
intervals
Results
187.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...