Details

Time bar (total: 13.2s)

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.684937%

Guaranteed chance to sample good point: 88.521855%

Results
76.0ms94×body1280valid
69.0ms32×body2560valid
23.0ms55×body640valid
9.0ms33×body320valid
6.0ms77×body80valid
5.0msbody5120valid
1.0ms10×body160valid
1.0ms10×body80nan

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.0b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.1b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.8b
(pow (+ 1.0 (/ i n)) n)
10.2b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite87.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:
37.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.0ms
(pow (+ 1.0 (/ i n)) n)
16.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series194.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
35.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
27.0ms
(pow (+ 1.0 (/ i n)) n)
65.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify69.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
012263285
150023166

prune635.0ms

Filtered
223 candidates to 293 candidates (-31.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2867293
Fresh000
Picked101
Done000
Total2877294

Merged error: 18.0b

Counts
294 → 7

localize17.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)))
10.6b
(* (pow i 2) (log 1.0))
17.6b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite57.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:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
20.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))
16.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series66.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
26.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)))
13.0ms
(* (pow i 2) (log 1.0))
20.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify154.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09293604
148183341
250013341

prune777.0ms

Filtered
150 candidates to 198 candidates (-32.0%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New18810198
Fresh066
Picked101
Done000
Total18916205

Merged error: 7.8b

Counts
205 → 16

localize19.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))
10.1b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
10.6b
(* (pow i 2) (log 1.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×add-exp-log
18×add-cube-cbrt *-un-lft-identity
17×add-cbrt-cube
11×associate-*l*
10×pow1
times-frac add-log-exp
prod-exp
log-prod cbrt-unprod
associate-*r*
unpow-prod-down unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* sum-log associate-/l*
cbrt-undiv div-exp *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ pow-exp clear-num log-pow flip-- flip-+ div-inv
Counts
4 → 98
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
12.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))
12.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
6.0ms
(* (pow i 2) (log 1.0))

series61.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
26.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))
16.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
13.0ms
(* (pow i 2) (log 1.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05401516
124651293
250011289

prune313.0ms

Filtered
72 candidates to 110 candidates (-52.8%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1100110
Fresh01515
Picked011
Done000
Total11016126

Merged error: 7.8b

Counts
126 → 16

localize28.0ms

Local error

Found 4 expressions with local error:

10.6b
(* (pow i 2) (log 1.0))
10.8b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
10.8b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
10.8b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod
associate-*l*
cbrt-div log-prod add-cbrt-cube
pow1
unpow-prod-down associate-*r* add-log-exp unswap-sqr
distribute-rgt-in flip3-- distribute-lft-in pow1/3 prod-exp flip--
unpow2 sqr-pow
pow-to-exp pow-exp log-pow *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (pow i 2) (log 1.0))
9.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
11.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
9.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (pow i 2) (log 1.0))
60.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
62.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
58.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03331468
112201365
250021347

prune657.0ms

Filtered
70 candidates to 85 candidates (-21.4%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh01414
Picked101
Done011
Total8516101

Merged error: 7.8b

Counts
101 → 16

regimes522.0ms

Accuracy

69.8% (5.6b remaining)

Error of 16.0b against oracle of 10.4b and baseline of 28.8b

bsearch247.0ms

Steps
ItersRangePoint
12
7.758043995828473e-12
2.7324892073549815e+45
1.5120834945497763
9
-16.011709609627676
-4.874582257449802e-06
-0.39780581747886845

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04522
14522

end0.0ms

sample7.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.684937%

Guaranteed chance to sample good point: 88.521855%

Results
2.5s2866×body1280valid
2.3s1039×body2560valid
765.0ms1798×body640valid
218.0ms862×body320valid
194.0ms2488×body80valid
69.0ms421×body160valid
23.0msbody5120valid
10.0ms200×body80nan

Profiling

Loading profile data...