Details

Time bar (total: 2.4s)

sample41.0ms

Algorithm
intervals
Results
16.0ms54×body1280valid
7.0ms131×body80valid
6.0ms34×body640valid
3.0ms23×body320valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

3.3b
(log (+ N 1.0))
4.8b
(- (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))
6.0ms
(- (log (+ N 1.0)) (log N))

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(log (+ N 1.0))
7.0ms
(- (log (+ N 1.0)) (log N))

simplify59.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune84.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
4.6b
(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))

series8.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221370
1736343
23220333
35002333

prune78.0ms

Filtered
46 candidates to 66 candidates (-43.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh033
Picked011
Done000
Total66470

Merged error: 0.1b

Counts
70 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

3.3b
(log (+ N 1.0))
3.3b
(log (+ N 1.0))
3.3b
(log (+ N 1.0))
4.7b
(- (pow (log (+ N 1.0)) 3) (pow (log N) 3))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt *-un-lft-identity
24×unpow-prod-down cube-prod
23×pow1
19×log-pow
17×distribute-lft-out--
16×difference-of-squares
12×log-prod
sqr-pow
add-exp-log add-cube-cbrt
log-div add-log-exp
add-cbrt-cube
flip3-+ rem-log-exp flip-+ distribute-lft-out
difference-cubes sub-neg flip3-- diff-log flip--
Counts
4 → 91
Calls
4 calls:
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
13.0ms
(- (pow (log (+ N 1.0)) 3) (pow (log N) 3))

series31.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
23.0ms
(- (pow (log (+ N 1.0)) 3) (pow (log N) 3))

simplify64.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0614957
12326913
25001895

prune238.0ms

Filtered
66 candidates to 103 candidates (-56.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1012103
Fresh022
Picked011
Done011
Total1016107

Merged error: 0.1b

Counts
107 → 6

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

rewrite44.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))
16.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series12.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
6.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
2.0ms
(/ 1 (pow N 2))

simplify74.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05831075
12726892
25001829

prune167.0ms

Filtered
89 candidates to 159 candidates (-78.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1581159
Fresh123
Picked011
Done022
Total1596165

Merged error: 0.1b

Counts
165 → 6

regimes48.0ms

Accuracy

100% (0.0b remaining)

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

bsearch14.0ms

Steps
ItersRangePoint
8
3424.948703888025
6704136.296512333
8678.88932777335

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.2s

Algorithm
intervals
Results
496.0ms1704×body1280valid
240.0ms1241×body640valid
212.0ms4094×body80valid
79.0ms635×body320valid
26.0ms326×body160valid

Profiling

Loading profile data...