Details

Time bar (total: 13.1s)

sample188.0ms

Algorithm
intervals
Results
76.0ms32×body2560valid
68.0ms88×body1280valid
15.0ms45×body640valid
4.0ms94×body80valid
4.0ms24×body320valid
3.0ms90×body80nan
3.0ms15×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.6b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.6b
(pow (+ 1.0 (/ i n)) n)
9.7b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite583.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
289×add-sqr-sqrt
198×*-un-lft-identity
140×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
32×unpow-prod-down
29×sqr-pow
28×distribute-lft-out--
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
pow-unpow associate-*l* prod-exp cbrt-unprod unswap-sqr
flip3-- associate-/r/ flip-- associate-/l/
pow-to-exp sub-neg pow-pow frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num *-commutative distribute-lft-out
Counts
4 → 281
Calls
4 calls:
223.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
137.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
11.0ms
(pow (+ 1.0 (/ i n)) n)
195.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.4s

Counts
4 → 12
Calls
4 calls:
550.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
249.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
212.0ms
(pow (+ 1.0 (/ i n)) n)
355.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify54.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012263285
150023166

prune815.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 21.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
0.1b
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
9.9b
(* (pow i 2) (log 1.0))
17.4b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite282.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
102×add-sqr-sqrt
87×add-cube-cbrt *-un-lft-identity
48×associate-*r*
23×add-exp-log
20×add-cbrt-cube
13×associate-/r*
11×associate-*l*
div-inv add-log-exp
pow1 unswap-sqr
cbrt-undiv log-prod div-exp prod-exp
unpow-prod-down cbrt-unprod
distribute-rgt-in distribute-lft-in sum-log associate-/l*
associate-/r/ *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down pow-exp clear-num log-pow flip-- flip-+
Counts
4 → 186
Calls
4 calls:
8.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
134.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
6.0ms
(* (pow i 2) (log 1.0))
126.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series587.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
207.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
137.0ms
(* (pow i 2) (log 1.0))
199.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify138.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09293604
148183341
250013341

prune716.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i))
0.1b
(* (* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)) n)
9.4b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
9.9b
(* (pow i 2) (log 1.0))

rewrite405.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
25×add-exp-log
22×add-cbrt-cube
20×associate-*r*
19×times-frac
12×pow1 associate-*l*
10×prod-exp
cbrt-unprod
log-prod unswap-sqr
unpow-prod-down pow-prod-down add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* *-commutative associate-/l*
associate-*r/ div-inv associate-/l/ unpow2 sqr-pow
pow-to-exp flip3-- frac-2neg div-sub associate-*l/ pow-exp clear-num log-pow flip--
Counts
4 → 117
Calls
4 calls:
123.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i))
142.0ms
(* (* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)) n)
128.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
7.0ms
(* (pow i 2) (log 1.0))

series665.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i))
216.0ms
(* (* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)) n)
150.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
140.0ms
(* (pow i 2) (log 1.0))

simplify89.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05401985
128391693
250021693

prune412.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 11.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
2.5b
(* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n)
9.9b
(* (pow i 2) (log 1.0))
13.2b
(/ (* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n) i)

rewrite449.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
22×add-sqr-sqrt add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
12×pow1 associate-*l*
10×associate-*r* prod-exp
cbrt-unprod
distribute-rgt-in log-prod distribute-lft-in associate-*r/
unswap-sqr
unpow-prod-down pow-prod-down associate-*l/ add-log-exp
cbrt-undiv flip3-- times-frac div-exp associate-/r* *-commutative flip--
sub-neg associate--l+ associate-/l/ unpow2 sqr-pow
pow-to-exp frac-2neg pow-exp clear-num log-pow div-inv associate-/l*
Counts
4 → 105
Calls
4 calls:
131.0ms
(* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
156.0ms
(* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n)
7.0ms
(* (pow i 2) (log 1.0))
153.0ms
(/ (* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n) i)

series644.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
167.0ms
(* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n)
145.0ms
(* (pow i 2) (log 1.0))
215.0ms
(/ (* (* 100.0 (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0))))) n) i)

simplify103.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05391693
130691361
250011336

prune301.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 11.3b

regimes272.0ms

Accuracy

47.5% (12.1b remaining)

Error of 22.6b against oracle of 10.5b and baseline of 33.6b

bsearch323.0ms

Steps
ItersRangePoint
11
3.4015986104447535e-172
7.536207518846309e-153
1.6252547660245352e-162
5
1.297677126524779e-204
2.9494229738237948e-204
2.918972662683953e-204
8
-1.3829131679288303e-259
-6.98766638603121e-263
-8.483643462012967e-263
5
-1.3050201109302798e+106
-3.910903516244074e+105
-3.9724448286356644e+105

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08374
18574
28574

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.8s951×body2560valid
1.8s2542×body1280valid
447.0ms1561×body640valid
143.0ms832×body320valid
126.0ms3077×body80valid
73.0ms2295×body80nan
46.0ms466×body160valid
17.0msbody5120valid