Details

Time bar (total: 6.0s)

sample56.0ms

Algorithm
intervals
Results
20.0ms68×body1280valid
8.0ms275×body80nan
8.0ms40×body640valid
6.0ms124×body80valid
2.0ms16×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:

2.7b
(- (log (+ N 1.0)) (log N))
2.9b
(log (+ N 1.0))

rewrite15.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:
10.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series141.0ms

Counts
2 → 6
Calls
2 calls:
96.0ms
(- (log (+ N 1.0)) (log N))
45.0ms
(log (+ N 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune99.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

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

rewrite45.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:
15.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
18.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series131.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
78.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
21.0ms
(/ 1 (pow N 2))

simplify75.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05831075
12726892
25001829

prune228.0ms

Filtered
159 candidates to 89 candidates (56.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1581159
Fresh033
Picked011
Done000
Total1585163

Merged error: 0.1b

Counts
163 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)))
0.2b
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
0.7b
(/ 1 (pow N 2))
20.7b
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
96×add-sqr-sqrt times-frac
77×add-exp-log
70×*-un-lft-identity
66×add-cube-cbrt
42×associate-*l*
35×prod-exp
32×add-cbrt-cube
23×unpow-prod-down
22×div-exp
20×associate-*r*
18×pow1
13×swap-sqr unswap-sqr
11×cbrt-unprod
pow-to-exp rec-exp 1-exp pow-exp unpow2 sqr-pow
associate-*l/ associate-/r*
cbrt-undiv
div-inv
frac-times associate-*r/ pow-prod-down
flip3-- flip-- add-log-exp
*-commutative associate-/l*
distribute-rgt-in sub-neg distribute-lft-in
pow2 pow-flip frac-2neg pow-plus clear-num pow-sqr pow-prod-up inv-pow difference-of-squares
Counts
4 → 228
Calls
4 calls:
17.0ms
(* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)))
10.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
5.0ms
(/ 1 (pow N 2))
16.0ms
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

series244.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)))
26.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
17.0ms
(/ 1 (pow N 2))
105.0ms
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

simplify139.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08691839
149161500
250021500

prune439.0ms

Filtered
240 candidates to 137 candidates (57.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2391240
Fresh123
Picked011
Done011
Total2405245

Merged error: 0.1b

Counts
245 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N)
0.2b
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
0.6b
(/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))
0.9b
(log (pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
104×times-frac
84×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
37×pow-pow
36×exp-prod
33×unpow-prod-down
22×add-exp-log
18×add-cbrt-cube
17×difference-of-squares
13×swap-sqr associate-*r* associate-*l*
12×pow1
11×sqr-pow
unpow2
associate-/r*
log-prod div-exp
div-inv
cbrt-undiv
prod-exp cbrt-unprod associate-/l* add-log-exp unswap-sqr
pow-to-exp pow-unpow rem-log-exp pow-exp
associate-/l/
pow2 frac-times flip3-- frac-2neg pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr log-pow *-commutative pow-prod-up flip--
Counts
4 → 199
Calls
4 calls:
18.0ms
(pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N)
11.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
13.0ms
(/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))
11.0ms
(log (pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N))

series1.9s

Counts
4 → 12
Calls
4 calls:
115.0ms
(pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N)
26.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
100.0ms
(/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))
1.6s
(log (pow (exp (/ (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5)) (pow N 2))) N))

simplify49.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09771993
150021796

prune635.0ms

Filtered
211 candidates to 152 candidates (72.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2101211
Fresh022
Picked101
Done022
Total2115216

Merged error: 0.1b

Counts
216 → 5

regimes27.0ms

Accuracy

100% (0.0b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
9
7233.4722653017725
4351496251009.609
7350.323653112844

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03420
13420

end0.0ms

sample1.6s

Algorithm
intervals
Results
541.0ms1842×body1280valid
253.0ms8056×body80nan
246.0ms1276×body640valid
202.0ms3987×body80valid
76.0ms587×body320valid
24.0ms308×body160valid

Profiling

Loading profile data...