Details

Time bar (total: 2.1s)

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%0%50%4

sample39.0ms

Algorithm
intervals
Results
14.0ms50×body1280valid
9.0ms49×body640valid
6.0ms126×body80valid
3.0ms24×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (log (+ N 1.0)) (log N))
2.5b
(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 → 40
Calls
2 calls:
11.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series9.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05481434

prune82.0ms

Filtered
35 candidates to 46 candidates (-31.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.0b

Counts
47 → 3

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.5b
(/ 0.3333333333333333 (pow N 3))
0.8b
(/ 0.5 (* N N))
11.8b
(- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N)))

rewrite69.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 flip3-- frac-2neg diff-log clear-num sum-log frac-sub flip-- div-inv distribute-lft-out
+-commutative pow-to-exp associate-+r- associate-+r+ flip3-+ pow-exp prod-exp cbrt-unprod flip-+
Counts
4 → 129
Calls
4 calls:
31.0ms
(+ (/ 1.0 N) (- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N))))
5.0ms
(/ 0.3333333333333333 (pow N 3))
5.0ms
(/ 0.5 (* N N))
23.0ms
(- (/ 0.3333333333333333 (pow N 3)) (/ 0.5 (* N N)))

series21.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049751700
149751700

prune170.0ms

Filtered
89 candidates to 141 candidates (-58.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh022
Picked011
Done000
Total1404144

Merged error: 0.0b

Counts
144 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

simplify40.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04970619
14970619

prune83.0ms

Filtered
48 candidates to 66 candidates (-37.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New65166
Fresh022
Picked011
Done011
Total65570

Merged error: 0.0b

Counts
70 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ 1 (/ 1.0 N)))
0.3b
(cbrt (+ 1 (/ 1.0 N)))
1.7b
(log (cbrt (+ 1 (/ 1.0 N))))
1.7b
(log (cbrt (+ 1 (/ 1.0 N))))

rewrite25.0ms

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

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ 1 (/ 1.0 N)))
5.0ms
(cbrt (+ 1 (/ 1.0 N)))
7.0ms
(log (cbrt (+ 1 (/ 1.0 N))))
7.0ms
(log (cbrt (+ 1 (/ 1.0 N))))

simplify54.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04954886
14954886

prune147.0ms

Filtered
58 candidates to 78 candidates (-34.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New77178
Fresh022
Picked101
Done022
Total78583

Merged error: 0.0b

Counts
83 → 5

regimes82.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04831
14831

end0.0ms

sample1.1s

Algorithm
intervals
Results
487.0ms1703×body1280valid
232.0ms1257×body640valid
207.0ms4121×body80valid
74.0ms610×body320valid
24.0ms309×body160valid

Profiling

Loading profile data...