Details

Time bar (total: 3.3s)

sample52.0ms

Algorithm
intervals
Results
14.0ms49×body1280valid
9.0ms281×body80nan
9.0ms46×body640valid
7.0ms133×body80valid
2.0ms15×body320valid
1.0ms13×body160valid

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: 29.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

series133.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(log (+ N 1.0))
91.0ms
(- (log (+ N 1.0)) (log N))

simplify54.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21875250
35001247

prune92.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0.0b

Counts
48 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

series127.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune91.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done000
Total66369

Merged error: 0.0b

Counts
69 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (log (+ N 1.0)))
0.8b
(exp (log (log (+ N 1.0))))
3.0b
(log (+ N 1.0))
25.5b
(- (exp (log (log (+ N 1.0)))) (log N))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×log-prod
14×*-un-lft-identity
13×add-sqr-sqrt
10×pow1
add-cube-cbrt
add-exp-log log-pow
exp-sum add-log-exp
exp-prod add-cbrt-cube
associate--r+
log-div rem-log-exp distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip3-+ diff-log flip-- flip-+ rem-exp-log distribute-lft-out
Counts
4 → 63
Calls
4 calls:
1.0ms
(log (log (+ N 1.0)))
2.0ms
(exp (log (log (+ N 1.0))))
3.0ms
(log (+ N 1.0))
6.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

series253.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(log (log (+ N 1.0)))
42.0ms
(exp (log (log (+ N 1.0))))
39.0ms
(log (+ N 1.0))
89.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

simplify116.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0355529
11074481
24439443
35002427

prune140.0ms

Filtered
75 candidates to 51 candidates (68.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh011
Picked011
Done011
Total75378

Merged error: 0.0b

Counts
78 → 3

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

series118.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05831087
12726904
25001841

prune223.0ms

Filtered
159 candidates to 89 candidates (56.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1572159
Fresh000
Picked101
Done022
Total1584162

Merged error: 0.0b

Counts
162 → 4

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
9
0.00034751998712624757
30542.545607798078
7260.840796868625

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03420
13420

end0.0ms

sample1.6s

Algorithm
intervals
Results
534.0ms1812×body1280valid
273.0ms8286×body80nan
233.0ms1234×body640valid
213.0ms4098×body80valid
75.0ms589×body320valid
21.0ms267×body160valid