Details

Time bar (total: 2.7s)

sample52.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520795%

Guaranteed chance to sample good point: 65.377249%

Results
15.0ms51×body1280valid
12.0ms46×body640valid
7.0ms133×body80valid
4.0ms113×body80nan
2.0ms20×body320valid
0.0msbody160valid

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.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (log (+ N 1.0)) (log N))
4.5b
(log (+ N 1.0))

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

series9.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune83.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0.0b

Counts
48 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

4.5b
(log (+ N 1.0))
4.5b
(log (+ N 1.0))
4.5b
(log (+ N 1.0))
19.0b
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log
log-div
add-log-exp
add-cbrt-cube
flip3-+ rem-log-exp log-pow flip-+ distribute-lft-out associate--r+
sub-neg flip3-- diff-log flip--
Counts
4 → 60
Calls
4 calls:
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
9.0ms
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

series14.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))
6.0ms
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

simplify63.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0237617
1676492
22357423
35003414

prune152.0ms

Filtered
54 candidates to 72 candidates (-33.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh022
Picked011
Done000
Total72375

Merged error: 0.0b

Counts
75 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0)))))
19.6b
(log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))
21.5b
(- (- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))) (log N))
21.9b
(log (+ (pow N 3) (pow 1.0 3)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
36×log-prod
31×associate--l+
23×pow1
22×distribute-lft-out--
19×log-pow
15×distribute-lft-out
14×add-sqr-sqrt
12×unpow-prod-down cube-prod
10×add-cube-cbrt log-div
add-exp-log associate--r+
flip3-+ flip-+ add-log-exp
diff-log add-cbrt-cube associate--r-
associate--l- sub-neg sum-cubes
flip3-- rem-log-exp flip-- difference-of-squares
Counts
4 → 108
Calls
4 calls:
17.0ms
(- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0)))))
5.0ms
(log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))
21.0ms
(- (- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))) (log N))
10.0ms
(log (+ (pow N 3) (pow 1.0 3)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0)))))
4.0ms
(log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))
9.0ms
(- (- (log (+ (pow N 3) (pow 1.0 3))) (log (+ (* N N) (- (* 1.0 1.0) (* N 1.0))))) (log N))
13.0ms
(log (+ (pow N 3) (pow 1.0 3)))

simplify58.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05241518
119081455
250021403

prune252.0ms

Filtered
82 candidates to 120 candidates (-46.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh011
Picked011
Done011
Total1203123

Merged error: 0.0b

Counts
123 → 3

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))

rewrite41.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:
14.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
15.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))

simplify67.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05831115
12789903
25001840

prune164.0ms

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1581159
Fresh000
Picked011
Done022
Total1584162

Merged error: 0b

Counts
162 → 4

regimes40.0ms

Accuracy

100% (0.0b remaining)

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

bsearch16.0ms

Steps
ItersRangePoint
9
0.05542000641073973
1164766.93919775
3232.7051255941346

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02920
12920

end0.0ms

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520795%

Guaranteed chance to sample good point: 65.377249%

Results
496.0ms1730×body1280valid
243.0ms1309×body640valid
200.0ms4024×body80valid
158.0ms4147×body80nan
79.0ms626×body320valid
24.0ms311×body160valid

Profiling

Loading profile data...