Details

Time bar (total: 3.5s)

sample46.0ms

Algorithm
intervals
Results
14.0ms57×body1280valid
9.0ms259×body80nan
6.0ms40×body640valid
6.0ms139×body80valid
1.0ms14×body320valid
0.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: 27.4b

localize7.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (log (+ N 1.0)) (log N))
1.6b
(log (+ N 1.0))

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

series141.0ms

Counts
2 → 6
Calls
2 calls:
94.0ms
(- (log (+ N 1.0)) (log N))
46.0ms
(log (+ N 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune102.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

1.6b
(log (+ N 1.0))
1.6b
(log (+ N 1.0))
1.6b
(log (+ N 1.0))
18.6b
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

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

series225.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(log (+ N 1.0))
40.0ms
(log (+ N 1.0))
45.0ms
(log (+ N 1.0))
92.0ms
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

simplify62.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0217609
1595492
22061435
35001417

prune178.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.8b
(/ 1 (pow N 2))

rewrite48.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:
20.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))

series123.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05831087
12726904
25001841

prune256.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N) (* (+ (/ 0.3333333333333333 N) 0.5) 1.0)) (* (+ (/ 0.3333333333333333 N) 0.5) N))
0.2b
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
0.8b
(/ 1 (pow N 2))
17.4b
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
64×add-sqr-sqrt
62×add-exp-log
52×add-cube-cbrt *-un-lft-identity
32×add-cbrt-cube
31×associate-*l/
26×prod-exp
18×div-exp
16×pow1 associate-*r*
14×associate-*l*
13×swap-sqr
12×unpow-prod-down associate-/l/
10×frac-add cbrt-unprod
associate-/r*
cbrt-undiv
frac-times flip3-+ associate-*r/ flip-+
pow-to-exp rec-exp flip3-- 1-exp pow-exp flip-- div-inv associate-/l*
pow-prod-down unpow2 add-log-exp unswap-sqr sqr-pow
frac-2neg clear-num associate-/r/ *-commutative
pow2 pow-flip pow-plus pow-sqr pow-prod-up inv-pow
Counts
4 → 192
Calls
4 calls:
28.0ms
(/ (+ (* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N) (* (+ (/ 0.3333333333333333 N) 0.5) 1.0)) (* (+ (/ 0.3333333333333333 N) 0.5) N))
10.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
8.0ms
(/ 1 (pow N 2))
16.0ms
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

series226.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (+ (* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N) (* (+ (/ 0.3333333333333333 N) 0.5) 1.0)) (* (+ (/ 0.3333333333333333 N) 0.5) N))
25.0ms
(* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N))
21.0ms
(/ 1 (pow N 2))
97.0ms
(* (* (/ 1 (pow N 2)) (- (* (/ 0.3333333333333333 N) (/ 0.3333333333333333 N)) (* 0.5 0.5))) N)

simplify47.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010341857
150011571

prune460.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

100% (0.0b remaining)

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

bsearch38.0ms

Steps
ItersRangePoint
9
0.10207175935539815
6041963.123514823
3541.91441017856

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

sample1.3s

Algorithm
intervals
Results
439.0ms1754×body1280valid
193.0ms8043×body80nan
186.0ms1227×body640valid
167.0ms4058×body80valid
63.0ms639×body320valid
20.0ms322×body160valid