Details

Time bar (total: 3.6s)

sample225.0ms

Algorithm
intervals
Results
60.0ms109×body1280valid
41.0ms37×body1280nan
26.0ms63×body640valid
19.0ms28×body640nan
19.0ms129×body80overflowed
11.0ms106×body80valid
10.0ms212×body80nan
7.0ms27×body320valid
7.0ms17×body320nan
2.0ms13×body160valid
1.0msbody160nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.6b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow x (/ 1.0 n))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
17×*-un-lft-identity
13×unpow-prod-down pow-unpow
10×add-cube-cbrt
times-frac difference-of-squares
sqr-pow
add-log-exp
pow1 add-exp-log distribute-lft-out--
add-cbrt-cube
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv distribute-lft-out
Counts
2 → 51
Calls
2 calls:
8.0ms
(pow x (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series344.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(pow x (/ 1.0 n))
286.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify40.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0404475
11391461
25001449

prune288.0ms

Filtered
57 candidates to 46 candidates (80.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 23.3b

Counts
58 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (pow x (/ 1.0 n)) 3))
0.0b
(pow x (/ 1.0 n))
0.0b
(pow (pow x (/ 1.0 n)) 3)
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
53×unpow-prod-down
44×cbrt-prod
27×difference-of-squares
25×sqr-pow
24×*-un-lft-identity
23×cube-prod
22×add-cube-cbrt
16×pow-unpow
times-frac
add-exp-log
add-log-exp
pow1 pow-exp add-cbrt-cube
pow-to-exp
cube-mult pow-pow unpow3
sub-neg flip3-- pow1/3 diff-log flip-- rem-cbrt-cube div-inv distribute-lft-out-- rem-cube-cbrt
Counts
4 → 129
Calls
4 calls:
4.0ms
(cbrt (pow (pow x (/ 1.0 n)) 3))
4.0ms
(pow x (/ 1.0 n))
4.0ms
(pow (pow x (/ 1.0 n)) 3)
17.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cbrt (pow (pow x (/ 1.0 n)) 3))
61.0ms
(pow x (/ 1.0 n))
84.0ms
(pow (pow x (/ 1.0 n)) 3)
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

simplify67.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06201225
123391182
250011164

prune256.0ms

Filtered
141 candidates to 83 candidates (58.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1392141
Fresh112
Picked011
Done000
Total1404144

Merged error: 23.3b

Counts
144 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (* (log x) 1.0) (* x (pow n 2)))
4.3b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.7b
(* x (pow n 2))
9.5b
(/ (/ 0.5 n) (pow x 2))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
189×times-frac
113×add-sqr-sqrt
103×*-un-lft-identity
98×add-cube-cbrt
46×add-exp-log unpow-prod-down
23×add-cbrt-cube
17×div-exp
16×unpow2 sqr-pow
14×associate-/l*
13×prod-exp
11×div-inv
associate-/r* add-log-exp
associate-*r*
cbrt-undiv
pow-to-exp pow-exp cbrt-unprod
pow1 frac-sub unswap-sqr
diff-log associate-*l* distribute-lft-out-- difference-of-squares
sub-neg flip3-- frac-2neg clear-num flip-- associate--r+
*-commutative associate-/l/ associate--r-
Counts
4 → 220
Calls
4 calls:
7.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
72.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
5.0ms
(* x (pow n 2))
9.0ms
(/ (/ 0.5 n) (pow x 2))

series215.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
69.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
29.0ms
(* x (pow n 2))
30.0ms
(/ (/ 0.5 n) (pow x 2))

simplify51.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011122049
150011858

prune538.0ms

Filtered
232 candidates to 140 candidates (60.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2284232
Fresh112
Picked101
Done011
Total2306236

Merged error: 23.2b

Counts
236 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (log x) (* x (pow n 2)))
4.3b
(+ (* 1.0 (/ 1 (* x n))) (* 1.0 (/ (log x) (* x (pow n 2)))))
7.7b
(* x (pow n 2))
9.8b
(* (pow x 2) n)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log add-sqr-sqrt
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
11×associate-*r* associate-*l*
prod-exp
unpow-prod-down unswap-sqr
pow1 add-log-exp
times-frac div-exp associate-/l* unpow2 sqr-pow
pow-to-exp associate-*r/ pow-exp cbrt-unprod
cbrt-undiv frac-add log-pow *-commutative
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log un-div-inv flip-+ div-inv distribute-lft-out
Counts
4 → 93
Calls
4 calls:
6.0ms
(/ (log x) (* x (pow n 2)))
7.0ms
(+ (* 1.0 (/ 1 (* x n))) (* 1.0 (/ (log x) (* x (pow n 2)))))
5.0ms
(* x (pow n 2))
5.0ms
(* (pow x 2) n)

series284.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (log x) (* x (pow n 2)))
155.0ms
(+ (* 1.0 (/ 1 (* x n))) (* 1.0 (/ (log x) (* x (pow n 2)))))
30.0ms
(* x (pow n 2))
22.0ms
(* (pow x 2) n)

simplify75.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0449609
12233521
25001521

prune257.0ms

Filtered
105 candidates to 69 candidates (65.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1023105
Fresh224
Picked011
Done011
Total1047111

Merged error: 23.2b

Counts
111 → 7

regimes168.0ms

bsearch3.0ms

Profiling

Loading profile data...