Details

Time bar (total: 12.3s)

analyze813.0ms

Algorithm
search

sample211.0ms

Algorithm
intervals
Results
85.0ms93×body1280valid
63.0ms28×body2560valid
26.0ms51×body640valid
5.0ms22×body320valid
5.0ms10×body640invalid
4.0msbody1280invalid
3.0ms51×body80valid
3.0msbody320invalid
2.0ms11×body160valid
2.0ms16×body80invalid
1.0ms14×body80nan
0.0msbody160invalid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 49.1b

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.3b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.8b
(pow (+ 1.0 (/ i n)) n)
9.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite85.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:
35.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
9.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))

series186.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
34.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
26.0ms
(pow (+ 1.0 (/ i n)) n)
63.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify68.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012263285
150023166

prune610.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2876293
Fresh000
Picked101
Done000
Total2886294

Merged error: 22.0b

Counts
294 → 6

localize16.0ms

Local error

Found 3 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)))) (/ i n)))
11.6b
(* (pow i 2) (log 1.0))
18.5b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
101×add-sqr-sqrt
86×add-cube-cbrt *-un-lft-identity
48×associate-*r*
22×add-exp-log
19×add-cbrt-cube
13×associate-/r*
11×associate-*l*
div-inv
unswap-sqr
pow1 cbrt-undiv log-prod div-exp prod-exp
unpow-prod-down cbrt-unprod
distribute-rgt-in distribute-lft-in associate-/l* add-log-exp
associate-/r/ *-commutative associate-/l/ unpow2 sqr-pow
pow-to-exp flip3-- frac-2neg div-sub associate-*r/ pow-prod-down pow-exp clear-num log-pow flip--
Counts
3 → 173
Calls
3 calls:
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))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series52.0ms

Counts
3 → 9
Calls
3 calls:
21.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
(* (pow i 2) (log 1.0))
19.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify144.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
08373435
144303190
250013190

prune736.0ms

Filtered
139 candidates to 182 candidates (-30.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New16913182
Fresh055
Picked101
Done000
Total17018188

Merged error: 11.8b

Counts
188 → 18

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.5 (* (pow i 2) (log 1.0)))) i) 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))
11.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
11.6b
(* (pow i 2) (log 1.0))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×associate-*l*
22×add-cbrt-cube
19×times-frac
12×pow1
10×prod-exp
associate-*r* 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-*l/ div-inv associate-/l/ unpow2 sqr-pow
pow-to-exp flip3-- frac-2neg div-sub associate-*r/ pow-exp clear-num log-pow flip--
Counts
4 → 117
Calls
4 calls:
11.0ms
(* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n)
11.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))
11.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))

series70.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05291979
124351684
250011679

prune386.0ms

Filtered
87 candidates to 129 candidates (-48.3%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh01717
Picked011
Done000
Total12918147

Merged error: 11.8b

Counts
147 → 18

localize21.0ms

Local error

Found 4 expressions with local error:

11.6b
(* (pow i 2) (log 1.0))
11.7b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
11.7b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
11.7b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

rewrite34.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)))))
8.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)))))

series180.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (pow i 2) (log 1.0))
54.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
56.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
57.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03331468
112201365
250021347

prune641.0ms

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

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh11516
Picked101
Done011
Total8419103

Merged error: 11.8b

Counts
103 → 19

regimes324.0ms

Accuracy

66.4% (6.0b remaining)

Error of 17.2b against oracle of 11.2b and baseline of 29.1b

bsearch486.0ms

Steps
ItersRangePoint
9
5.167741364999036
1199660385.8498375
5.276434081631708
10
-61666.43003918486
-5.3552240917868306e-11
-0.02651864135401642

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04522
14522

end0.0ms

analyze851.0ms

Algorithm
search

sample6.1s

Algorithm
intervals
Results
2.4s2817×body1280valid
2.1s970×body2560valid
597.0ms1513×body640valid
173.0ms721×body320valid
127.0ms257×body640invalid
114.0ms1610×body80valid
86.0ms107×body1280invalid
53.0ms359×body160valid
45.0ms144×body320invalid
42.0ms443×body80invalid
41.0ms10×body5120valid
31.0ms16×body2560invalid
14.0ms302×body80nan
13.0ms68×body160invalid

Profiling

Loading profile data...