Details

Time bar (total: 3.4s)

sample52.0ms

Algorithm
intervals
Results
15.0ms52×body1280valid
8.0ms258×body80nan
8.0ms43×body640valid
6.0ms123×body80valid
4.0ms30×body320valid
1.0msbody160valid

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.2b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

1.0b
(log (+ N 1.0))
2.9b
(- (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))

series138.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(log (+ N 1.0))
95.0ms
(- (log (+ N 1.0)) (log N))

simplify53.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21875250
35002247

prune84.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.0b

Counts
48 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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.3b
(/ 1 (pow N 2))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×times-frac
42×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
10×prod-exp add-cbrt-cube
unpow2 unswap-sqr sqr-pow
associate-/r*
pow-to-exp rec-exp 1-exp associate-*r* pow-exp
pow1 frac-add add-log-exp
distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip--
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv difference-of-squares
+-commutative pow-flip frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ distribute-lft-out-- inv-pow
Counts
3 → 150
Calls
3 calls:
16.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
19.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series126.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
76.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
16.0ms
(/ 1 (pow N 2))

simplify75.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05831075
12726892
25001829

prune213.0ms

Filtered
159 candidates to 89 candidates (56.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1581159
Fresh011
Picked011
Done000
Total1583161

Merged error: 0.0b

Counts
161 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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))

series134.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ (+ N 1.0) N)
84.0ms
(log (/ (+ N 1.0) N))

simplify100.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune84.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done011
Total66369

Merged error: 0.0b

Counts
69 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2)))
0.2b
(pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3)
0.3b
(/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))
23.8b
(cbrt (pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity
78×add-sqr-sqrt
77×times-frac
33×add-cube-cbrt unpow-prod-down
18×cbrt-prod difference-of-squares
15×distribute-lft-out
14×distribute-lft-out--
12×cube-prod
10×add-exp-log
sqr-pow
associate-/r*
add-cbrt-cube unpow2
cube-div associate-/l* add-log-exp
pow1
pow-unpow cbrt-div flip3-+ div-exp frac-add flip-+
cube-mult pow-to-exp unpow3 div-sub pow-exp associate-/l/
cbrt-undiv +-commutative associate-+r- flip3-- pow-pow frac-2neg pow1/3 clear-num sum-log flip-- rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 157
Calls
4 calls:
34.0ms
(+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2)))
38.0ms
(pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3)
11.0ms
(/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))
39.0ms
(cbrt (pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3))

series226.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2)))
72.0ms
(pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3)
78.0ms
(/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))
46.0ms
(cbrt (pow (+ (/ 1.0 N) (/ (- (/ 0.3333333333333333 N) 0.5) (pow N 2))) 3))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06421598
126431485
250011462

prune283.0ms

Filtered
169 candidates to 92 candidates (54.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh000
Picked101
Done022
Total1693172

Merged error: 0.0b

Counts
172 → 3

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
9
0.027984945595800188
39972.03059165128
8563.082669826264

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.5s

Algorithm
intervals
Results
510.0ms1802×body1280valid
250.0ms7956×body80nan
229.0ms1247×body640valid
202.0ms4028×body80valid
77.0ms638×body320valid
22.0ms285×body160valid

Profiling

Loading profile data...