Details

Time bar (total: 5.4s)

sample42.0ms

Algorithm
intervals
Results
13.0ms57×body1280valid
6.0ms43×body640valid
5.0ms245×body80nan
5.0ms121×body80valid
2.0ms26×body320valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.0b

localize7.0ms

Local error

Found 2 expressions with local error:

2.6b
(- (log (+ N 1.0)) (log N))
4.0b
(log (+ N 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
16×pow1 add-sqr-sqrt prod-diff
14×add-cube-cbrt log-pow
11×log-prod
log-div fma-neg associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 65
Calls
2 calls:
7.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series135.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(- (log (+ N 1.0)) (log N))
45.0ms
(log (+ N 1.0))

simplify123.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0277598
1837444
23748347
35001345

prune130.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
0.0b
(- (/ 0.3333333333333333 N) 0.5)
0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.7b
(/ 1 (pow N 2))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
242×add-sqr-sqrt
222×*-un-lft-identity
214×add-cube-cbrt
202×times-frac
195×prod-diff
82×distribute-rgt-in associate-+l+ distribute-lft-in
33×add-exp-log
28×associate-*l*
23×unpow-prod-down
18×div-inv
13×fma-neg
12×div-exp
11×add-cbrt-cube
10×prod-exp
unpow2 unswap-sqr sqr-pow
associate-/r* add-log-exp
pow1 pow-to-exp rec-exp 1-exp associate-*r* pow-exp
sub-neg flip3-- frac-add flip--
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u difference-of-squares
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod distribute-lft-out--
+-commutative pow-flip fma-def frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ inv-pow
Counts
4 → 382
Calls
4 calls:
21.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
9.0ms
(- (/ 0.3333333333333333 N) 0.5)
20.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series163.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
33.0ms
(- (/ 0.3333333333333333 N) 0.5)
78.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
17.0ms
(/ 1 (pow N 2))

simplify124.0ms

Algorithm
egg-herbie
Counts
394 → 394
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010364191
145582787
250012787

prune772.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (pow N 2))
18.3b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
18.3b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
18.3b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
21×cbrt-div
15×frac-add
13×add-exp-log
12×unpow-prod-down
cbrt-prod
associate-/r*
frac-times flip3-- associate-*r/ div-exp add-cbrt-cube flip--
pow1 expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
pow-to-exp rec-exp flip3-+ pow1/3 1-exp associate-*l/ pow-exp flip-+ associate-/l*
cbrt-undiv pow-flip frac-2neg clear-num div-inv inv-pow
Counts
4 → 119
Calls
4 calls:
5.0ms
(/ 1 (pow N 2))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

series490.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 1 (pow N 2))
157.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
157.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
158.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

simplify69.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05351600
121751494
250011430

prune390.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize42.0ms

Local error

Found 4 expressions with local error:

4.2b
(exp (* 1/3 (+ (log 1.0) (log (/ 1 N)))))
13.5b
(fma 0.125 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (pow N 2)) (- (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (fma 0.041666666666666664 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (* (pow N 2) (pow 1.0 2))) (* 0.16666666666666666 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) N)))))
18.3b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
18.3b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-div
10×frac-add
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log expm1-log1p-u frac-times flip3-- associate-*r/ add-cbrt-cube flip-- log1p-expm1-u
flip3-+ pow1/3 exp-sum associate-*l/ flip-+
distribute-rgt-in exp-prod exp-to-pow distribute-lft-in fma-udef rem-exp-log
Counts
4 → 64
Calls
4 calls:
3.0ms
(exp (* 1/3 (+ (log 1.0) (log (/ 1 N)))))
1.0ms
(fma 0.125 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (pow N 2)) (- (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (fma 0.041666666666666664 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (* (pow N 2) (pow 1.0 2))) (* 0.16666666666666666 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) N)))))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

series822.0ms

Counts
4 → 12
Calls
4 calls:
306.0ms
(exp (* 1/3 (+ (log 1.0) (log (/ 1 N)))))
195.0ms
(fma 0.125 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (pow N 2)) (- (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (fma 0.041666666666666664 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) (* (pow N 2) (pow 1.0 2))) (* 0.16666666666666666 (/ (exp (* 1/3 (+ (log 1.0) (log (/ 1 N))))) N)))))
162.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
159.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

simplify56.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05041511
118681363
250011330

prune537.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

regimes34.0ms

Accuracy

100% (0.0b remaining)

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

bsearch24.0ms

Steps
ItersRangePoint
7
481.02071266823316
19555.519105776155
8616.086423541381

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.2s

Algorithm
intervals
Results
421.0ms1753×body1280valid
189.0ms8037×body80nan
185.0ms1238×body640valid
164.0ms4084×body80valid
60.0ms625×body320valid
18.0ms300×body160valid