Details

Time bar (total: 3.5s)

sample52.0ms

Algorithm
intervals
Results
16.0ms56×body1280valid
8.0ms252×body80nan
7.0ms38×body640valid
6.0ms121×body80valid
3.0ms23×body320valid
1.0ms18×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

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: 31.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.0b
(log (+ N 1.0))
5.0b
(- (log (+ N 1.0)) (log N))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×log-prod
pow1 add-sqr-sqrt
add-cube-cbrt log-pow
log-div associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- flip3-+ add-cbrt-cube flip-+ distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
3.0ms
(log (+ N 1.0))
7.0ms
(- (log (+ N 1.0)) (log N))

series140.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(log (+ N 1.0))
100.0ms
(- (log (+ N 1.0)) (log N))

simplify53.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0212281
1547264
21875250
35001247

prune105.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New45247
Fresh000
Picked101
Done000
Total46248

Merged error: 0.1b

Counts
48 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 0.3333333333333333 N) 0.5)
0.0b
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.5b
(/ 1 (pow N 2))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
58×times-frac
45×*-un-lft-identity
37×add-cube-cbrt
33×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
11×add-cbrt-cube
10×prod-exp
unpow2 unswap-sqr sqr-pow
associate-/r* add-log-exp
pow1 pow-to-exp rec-exp 1-exp associate-*r* pow-exp
sub-neg flip3-- frac-add flip--
distribute-rgt-in frac-times associate-+l+ distribute-lft-in associate-*r/ difference-of-squares
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv distribute-lft-out--
+-commutative pow-flip frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ inv-pow
Counts
4 → 165
Calls
4 calls:
7.0ms
(- (/ 0.3333333333333333 N) 0.5)
15.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
17.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series161.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (/ 0.3333333333333333 N) 0.5)
30.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
76.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
20.0ms
(/ 1 (pow N 2))

simplify81.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05971169
12754978
25001915

prune273.0ms

Filtered
177 candidates to 101 candidates (57.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1752177
Fresh011
Picked011
Done000
Total1754179

Merged error: 0.0b

Counts
179 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (pow N 2))
0.5b
(/ 1 (pow N 2))
8.5b
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
8.5b
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
42×add-sqr-sqrt
40×add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
16×associate-/r*
14×sqrt-div
12×div-exp
10×frac-add
add-cbrt-cube unpow2 sqr-pow
pow1 pow-to-exp rec-exp 1-exp pow-exp sqrt-prod associate-/l*
frac-times flip3-- associate-*r/ flip-- add-log-exp
cbrt-undiv rem-sqrt-square pow-flip frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*l/ clear-num flip-+ div-inv inv-pow
Counts
4 → 154
Calls
4 calls:
5.0ms
(/ 1 (pow N 2))
5.0ms
(/ 1 (pow N 2))
15.0ms
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
20.0ms
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (pow N 2))
16.0ms
(/ 1 (pow N 2))
54.0ms
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
62.0ms
(sqrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

simplify62.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04131170
117271044
25001952

prune317.0ms

Filtered
166 candidates to 82 candidates (49.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1660166
Fresh022
Picked011
Done011
Total1664170

Merged error: 0.0b

Counts
170 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
5.3b
(log (/ (+ N 1.0) N))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
24×times-frac
19×add-sqr-sqrt add-cube-cbrt
16×log-prod
add-exp-log distribute-lft-out
add-cbrt-cube associate-/l*
pow1 associate-/r*
div-exp rem-log-exp div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 60
Calls
2 calls:
5.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

series140.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(/ (+ N 1.0) N)
87.0ms
(log (/ (+ N 1.0) N))

simplify106.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune97.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New65166
Fresh011
Picked011
Done022
Total65570

Merged error: 0.0b

Counts
70 → 5

regimes29.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 31.9b

bsearch30.0ms

Steps
ItersRangePoint
8
1538.2388859235716
3249381.761613268
10531.413524966325

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.6s

Algorithm
intervals
Results
507.0ms1728×body1280valid
261.0ms7954×body80nan
242.0ms1253×body640valid
216.0ms4117×body80valid
78.0ms615×body320valid
23.0ms287×body160valid

Profiling

Loading profile data...