Details

Time bar (total: 2.4s)

sample54.0ms

Algorithm
intervals
Results
18.0ms66×body1280valid
8.0ms249×body80nan
7.0ms38×body640valid
6.0ms122×body80valid
3.0ms25×body320valid
0.0msbody160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0107
1107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.4b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (log (+ N 1.0)) (log N))
3.6b
(log (+ N 1.0))

rewrite12.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:
7.0ms
(- (log (+ N 1.0)) (log N))
4.0ms
(log (+ N 1.0))

series10.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05376437

prune90.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
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 4 expressions with local error:

0.0b
(+ (/ 1.0 N) (- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N))))
0.3b
(/ 0.5 (* N N))
0.4b
(/ 0.3333333333333333 (pow N 3))
12.2b
(- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
54×times-frac
40×*-un-lft-identity
31×add-cube-cbrt
14×add-exp-log unpow-prod-down cube-prod
13×associate-/r*
11×add-cbrt-cube add-log-exp
10×difference-of-squares
associate-/l* sqr-pow
cube-mult div-exp
pow1 unpow3
cbrt-undiv frac-add distribute-lft-out--
sub-neg associate-+r+ flip3-- frac-2neg diff-log clear-num sum-log frac-sub flip-- div-inv distribute-lft-out
+-commutative pow-to-exp associate-+r- flip3-+ pow-exp prod-exp cbrt-unprod flip-+
Counts
4 → 131
Calls
4 calls:
35.0ms
(+ (/ 1.0 N) (- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N))))
5.0ms
(/ 0.5 (* N N))
6.0ms
(/ 0.3333333333333333 (pow N 3))
22.0ms
(- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N)))

series20.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (/ 1.0 N) (- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N))))
3.0ms
(/ 0.5 (* N N))
4.0ms
(/ 0.3333333333333333 (pow N 3))
9.0ms
(- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N)))

simplify34.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
059931715

prune184.0ms

Filtered
89 candidates to 143 candidates (-60.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1421143
Fresh011
Picked011
Done000
Total1423145

Merged error: 0.0b

Counts
145 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

2.6b
(log (+ 1 (/ 1.0 N)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 15
Calls
1 calls:
6.0ms
(log (+ 1 (/ 1.0 N)))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(log (+ 1 (/ 1.0 N)))

simplify34.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
04982183
14982183

prune32.0ms

Filtered
13 candidates to 18 candidates (-38.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New16218
Fresh101
Picked011
Done011
Total17421

Merged error: 0.0b

Counts
21 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- 1.0 (/ 0.5 N)) N)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×times-frac
20×*-un-lft-identity
12×add-cube-cbrt
difference-of-squares
associate-/l*
distribute-lft-out--
add-exp-log associate-/r* add-cbrt-cube
associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 42
Calls
1 calls:
9.0ms
(/ (- 1.0 (/ 0.5 N)) N)

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(/ (- 1.0 (/ 0.5 N)) N)

simplify47.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
06870541

prune65.0ms

Filtered
33 candidates to 45 candidates (-36.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New45045
Fresh011
Picked011
Done022
Total45449

Merged error: 0.0b

Counts
49 → 4

regimes40.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 31.8b

bsearch12.0ms

Steps
ItersRangePoint
8
901.3230478674768
932371.3337660737
9062.308997209337

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02125
12125

end0.0ms

sample1.6s

Algorithm
intervals
Results
478.0ms1761×body1280valid
273.0ms8058×body80nan
228.0ms1217×body640valid
181.0ms4113×body80valid
79.0ms621×body320valid
22.0ms288×body160valid

Profiling

Loading profile data...