Details

Time bar (total: 14.4s)

sample206.0ms

Algorithm
intervals
Results
99.0ms114×body1280valid
47.0ms24×body2560valid
21.0ms53×body640valid
8.0ms31×body320valid
5.0ms70×body80valid
2.0ms53×body80nan
2.0ms14×body160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 48.4b

Counts
2 → 1

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.4b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.5b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.8b
(pow (+ 1.0 (/ i n)) n)

rewrite82.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:
34.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
9.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
15.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
6.0ms
(pow (+ 1.0 (/ i n)) n)

series189.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
35.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
57.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
33.0ms
(pow (+ 1.0 (/ i n)) n)

simplify62.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012263285
150013166

prune2.9s

Filtered
293 candidates to 223 candidates (23.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2894293
Fresh000
Picked101
Done000
Total2904294

Merged error: 17.2b

Counts
294 → 4

localize18.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)))
8.6b
(* (pow i 2) (log 1.0))
15.5b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite53.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:
6.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
19.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))
13.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series63.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09293604
148183341
250013341

prune1.9s

Filtered
198 candidates to 150 candidates (24.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1899198
Fresh033
Picked101
Done000
Total19012202

Merged error: 8.9b

Counts
202 → 12

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))
8.2b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
8.6b
(* (pow i 2) (log 1.0))

rewrite40.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:
6.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) 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))
12.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
8.0ms
(* (pow i 2) (log 1.0))

series55.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) 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)
12.0ms
(* (pow i 2) (log 1.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05401516
124651293
250011289

prune777.0ms

Filtered
110 candidates to 72 candidates (34.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh11011
Picked011
Done000
Total11012122

Merged error: 8.9b

Counts
122 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

8.6b
(* (pow i 2) (log 1.0))
8.9b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
8.9b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))
8.9b
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

rewrite33.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))
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)))))
8.0ms
(cbrt (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (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)))))
56.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)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03331468
112201365
250021347

prune732.0ms

Filtered
85 candidates to 70 candidates (17.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New84185
Fresh01010
Picked011
Done011
Total841397

Merged error: 8.9b

Counts
97 → 13

regimes263.0ms

Accuracy

69.2% (5.6b remaining)

Error of 16.9b against oracle of 11.3b and baseline of 29.5b

bsearch426.0ms

Steps
ItersRangePoint
8
1.4627063582285177e+224
3.3559809337815395e+227
1.610776622320075e+227
9
142.62154401734003
23146340971.272755
146.025676961591
8
-1479.7975731796887
-0.04766370441090058
-0.11478473700031999

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06854
16854

end0.0ms

sample6.0s

Algorithm
intervals
Results
2.4s2958×body1280valid
2.0s945×body2560valid
688.0ms1754×body640valid
218.0ms935×body320valid
164.0ms2404×body80valid
87.0ms2201×body80nan
68.0ms447×body160valid
25.0msbody5120valid

Profiling

Loading profile data...