Details

Time bar (total: 10.4s)

sample207.0ms

Algorithm
intervals
Results
53.0ms84×body1280nan
50.0ms113×body1280valid
21.0ms56×body640nan
18.0ms54×body640valid
12.0ms43×body10240exit
8.0ms194×body80nan
8.0ms34×body320nan
6.0ms125×body80valid
5.0ms24×body320valid
3.0ms21×body160valid
2.0ms17×body160nan

simplify34.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: 33.5b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

3.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×unpow-prod-down
difference-of-squares
*-un-lft-identity
sqr-pow
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 24
Calls
1 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series287.0ms

Counts
1 → 3
Calls
1 calls:
286.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify74.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222326
1594313
22745307
35003307

prune74.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New23427
Fresh000
Picked101
Done000
Total24428

Merged error: 22.2b

Counts
28 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(sqrt (pow x (/ 1.0 n)))
0.0b
(sqrt (pow x (/ 1.0 n)))
3.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
34×sqrt-prod
20×unpow-prod-down
16×difference-of-squares
13×*-un-lft-identity
12×sqr-pow
add-cube-cbrt
rem-sqrt-square
add-log-exp
pow1
add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2
sqrt-div
sub-neg flip3-- flip3-+ diff-log flip-- flip-+ distribute-lft-out distribute-lft-out--
Counts
4 → 83
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
2.0ms
(sqrt (pow x (/ 1.0 n)))
2.0ms
(sqrt (pow x (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series676.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
81.0ms
(sqrt (pow x (/ 1.0 n)))
81.0ms
(sqrt (pow x (/ 1.0 n)))
483.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify121.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0427913
11246878
24886866
35001866

prune285.0ms

Filtered
95 candidates to 74 candidates (77.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95095
Fresh033
Picked011
Done000
Total95499

Merged error: 22.2b

Counts
99 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (- 0.5) (* (pow x 2) n))
0.8b
(/ (log (/ 1 x)) (pow n 2))
4.9b
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
11.0b
(* (pow x 2) n)

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
96×add-sqr-sqrt
94×times-frac
59×*-un-lft-identity
44×add-cube-cbrt
29×add-exp-log
28×unpow-prod-down log-pow
25×pow1 associate-*r*
21×associate-*l*
18×add-cbrt-cube
16×associate-/l*
15×difference-of-squares
12×unpow2 sqr-pow
pow-flip associate-/r* inv-pow
div-exp prod-exp
distribute-lft-neg-in distribute-rgt-neg-in unswap-sqr
cbrt-undiv div-sub cbrt-unprod div-inv distribute-lft-out-- add-log-exp
distribute-rgt-in frac-times pow-to-exp log-div distribute-lft-in associate-*r/ pow-exp
neg-mul-1 sub-neg flip3-- frac-2neg distribute-frac-neg clear-num *-commutative frac-sub flip-- associate--r-
neg-sub0 log-rec pow-prod-down associate-*l/
Counts
4 → 207
Calls
4 calls:
7.0ms
(/ (- 0.5) (* (pow x 2) n))
11.0ms
(/ (log (/ 1 x)) (pow n 2))
44.0ms
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
5.0ms
(* (pow x 2) n)

series239.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (- 0.5) (* (pow x 2) n))
68.0ms
(/ (log (/ 1 x)) (pow n 2))
129.0ms
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
18.0ms
(* (pow x 2) n)

simplify118.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
08921593
143241425
250031420

prune554.0ms

Filtered
219 candidates to 147 candidates (67.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2118219
Fresh022
Picked101
Done011
Total21211223

Merged error: 22.1b

Counts
223 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (- 0.5) (* (pow x 2) n))
0.8b
(/ (log (/ 1 x)) (pow n 2))
4.9b
(/ (* 1.0 (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2)))) x)
11.0b
(* (pow x 2) n)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
44×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
29×add-exp-log
27×log-pow
25×unpow-prod-down
22×pow1
18×add-cbrt-cube
17×associate-/l*
12×associate-/r*
pow-flip div-exp unpow2 inv-pow sqr-pow
associate-*l*
prod-exp
distribute-lft-neg-in distribute-rgt-neg-in
cbrt-undiv
add-log-exp unswap-sqr
pow-to-exp frac-2neg associate-*r/ associate-*r* pow-exp clear-num cbrt-unprod div-inv associate-/l/
neg-mul-1 div-sub distribute-frac-neg
neg-sub0 log-div flip3-- log-rec *-commutative frac-sub flip--
Counts
4 → 168
Calls
4 calls:
6.0ms
(/ (- 0.5) (* (pow x 2) n))
7.0ms
(/ (log (/ 1 x)) (pow n 2))
41.0ms
(/ (* 1.0 (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2)))) x)
5.0ms
(* (pow x 2) n)

series191.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (- 0.5) (* (pow x 2) n))
70.0ms
(/ (log (/ 1 x)) (pow n 2))
79.0ms
(/ (* 1.0 (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2)))) x)
18.0ms
(* (pow x 2) n)

simplify88.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06331198
130481043
250021037

prune422.0ms

Filtered
180 candidates to 119 candidates (66.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1782180
Fresh459
Picked101
Done011
Total1838191

Merged error: 22.1b

Counts
191 → 8

regimes196.0ms

Accuracy

81.6% (2.0b remaining)

Error of 23.4b against oracle of 21.4b and baseline of 32.2b

bsearch208.0ms

Steps
ItersRangePoint
10
2.731921632534707e-06
2067903636486.0269
2309.126163488031
9
-35960.30255326699
-0.0014566459989916651
-35172.91644639978

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06245
16245

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3880×body1280valid
1.2s2158×body1280nan
721.0ms1829×body640nan
601.0ms1804×body640valid
587.0ms1396×body10240exit
273.0ms6186×body80nan
247.0ms961×body320nan
192.0ms895×body320valid
151.0ms3178×body80valid
62.0ms440×body160nan
57.0ms418×body160valid

Profiling

Loading profile data...