Details

Time bar (total: 2.5s)

analyze330.0ms (13.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14

sample30.0ms (1.2%)

Algorithm
intervals
Results
10.0ms55×body1280valid
8.0ms65×body640valid
2.0ms95×body80valid
2.0ms22×body320valid
1.0ms19×body160valid

simplify74.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049997
149997

prune5.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.7b

Counts
2 → 1

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.7b
(/ (exp x) (- (exp x) 1.0))
5.1b
(- (exp x) 1.0)

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 50
Calls

2 calls:

6.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series8.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(/ (exp x) (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)

simplify60.0ms (2.4%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05019574

prune97.0ms (4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New51556
Fresh000
Picked101
Done000
Total52557

Merged error: 0.0b

Counts
57 → 5

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (+ x (* x (* x (+ 1/2 (* x 1/6))))))
0.0b
(* x (* x (+ 1/2 (* x 1/6))))
0.0b
(* x (+ 1/2 (* x 1/6)))
0.3b
(* x 1/6)

rewrite22.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
15×add-cbrt-cube
14×add-exp-log
13×pow1
times-frac associate-*l*
associate-*r*
associate-*r/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp cbrt-unprod
add-log-exp
flip3-+ associate-/r* *-commutative flip-+ associate-/l*
associate-/r/ unswap-sqr
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 93
Calls

4 calls:

6.0ms
(* x (* x (+ 1/2 (* x 1/6))))
5.0ms
(* x (+ 1/2 (* x 1/6)))
5.0ms
(/ (exp x) (+ x (* x (* x (+ 1/2 (* x 1/6))))))
4.0ms
(* x 1/6)

series19.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(* x (* x (+ 1/2 (* x 1/6))))
5.0ms
(* x (+ 1/2 (* x 1/6)))
5.0ms
(/ (exp x) (+ x (* x (* x (+ 1/2 (* x 1/6))))))
2.0ms
(* x 1/6)

simplify53.0ms (2.2%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049201226
149201226

prune163.0ms (6.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh044
Picked101
Done000
Total1055110

Merged error: 0.0b

Counts
110 → 5

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
0.0b
(+ (* x 1/12) (/ 1 x))
0.3b
(* x 1/12)

rewrite18.0ms (0.8%)

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

3 calls:

9.0ms
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
5.0ms
(+ (* x 1/12) (/ 1 x))
3.0ms
(* x 1/12)

series8.0ms (0.3%)

Counts
3 → 9
Calls

3 calls:

4.0ms
(+ (* x 1/12) (/ 1 x))
2.0ms
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
2.0ms
(* x 1/12)

simplify45.0ms (1.8%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04846420
14846420

prune88.0ms (3.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh044
Picked011
Done000
Total50757

Merged error: 0.0b

Counts
57 → 7

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* x (+ (* x 1/6) 1/2))
0.1b
(pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3)
0.3b
(* x 1/6)
24.7b
(cbrt (pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3))

rewrite29.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
36×cbrt-prod times-frac
30×unpow-prod-down cube-prod
11×add-cbrt-cube
10×add-exp-log
pow1
associate-/r/
associate-*r* associate-*l*
flip3-+ flip-+
div-inv add-log-exp
pow-unpow
cube-div cube-mult unpow3 associate-*r/ pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod rem-cube-cbrt unswap-sqr sqr-pow
cbrt-undiv distribute-rgt-in pow-to-exp cbrt-div pow-pow distribute-lft-in pow1/3 div-exp rem-cbrt-cube
Counts
4 → 136
Calls

4 calls:

7.0ms
(pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3)
7.0ms
(cbrt (pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3))
6.0ms
(* x (+ (* x 1/6) 1/2))
5.0ms
(* x 1/6)

series22.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

9.0ms
(pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3)
6.0ms
(cbrt (pow (/ (exp x) (+ x (* x (* x (+ (* x 1/6) 1/2))))) 3))
5.0ms
(* x (+ (* x 1/6) 1/2))
2.0ms
(* x 1/6)

simplify44.0ms (1.8%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
058432756

prune296.0ms (12.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1480148
Fresh055
Picked011
Done011
Total1487155

Merged error: 0.0b

Counts
155 → 7

regimes118.0ms (4.8%)

Accuracy

Total 0.6b remaining (97.5%)

Threshold costs 0.6b (97.5%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03839
13839

end0.0ms (0%)

sample878.0ms (35.8%)

Algorithm
intervals
Results
405.0ms2300×body1280valid
190.0ms1640×body640valid
68.0ms2814×body80valid
64.0ms819×body320valid
24.0ms427×body160valid
0.0msbody1280invalid

Profiling

Loading profile data...