Details

Time bar (total: 16.5s)

sample170.0ms

Algorithm
intervals
Results
67.0ms35×body2560valid
56.0ms79×body1280valid
21.0ms68×body640valid
5.0ms32×body320valid
4.0ms87×body80valid
3.0ms72×body80nan
1.0ms11×body160valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.8b

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)))
0.5b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
4.9b
(pow (+ 1.0 (/ i n)) n)
11.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite88.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:
33.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)
21.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.1s

Counts
4 → 12
Calls
4 calls:
361.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
241.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
198.0ms
(pow (+ 1.0 (/ i n)) n)
341.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify61.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012263285
150023166

prune674.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2867293
Fresh000
Picked101
Done000
Total2877294

Merged error: 26.1b

Counts
294 → 7

localize16.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)))
11.1b
(* (pow i 2) (log 1.0))
19.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite55.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:
10.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))

series601.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)))
164.0ms
(* (pow i 2) (log 1.0))
187.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 (24.0ms)

IterNodesCost
09293604
148183341
250013341

prune649.0ms

Filtered
198 candidates to 150 candidates (75.8%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New18414198
Fresh066
Picked101
Done000
Total18520205

Merged error: 14.2b

Counts
205 → 20

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

rewrite41.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)))
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))
14.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))

series542.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05401516
124651293
250011289

prune322.0ms

Filtered
110 candidates to 72 candidates (65.5%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh11819
Picked011
Done000
Total11020130

Merged error: 14.2b

Counts
130 → 20

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
5.8b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
6.3b
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (/ (cbrt i) n))
11.1b
(* (pow i 2) (log 1.0))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
2290×times-frac
1017×add-sqr-sqrt
1011×add-cube-cbrt *-un-lft-identity
564×cbrt-prod
442×unpow-prod-down
75×unpow2 sqr-pow
63×div-inv
40×associate-/l*
38×add-exp-log
33×associate-/r*
21×div-exp
18×add-cbrt-cube
cbrt-undiv
associate-*l*
log-prod
pow1
pow-to-exp associate-*r* pow-exp add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in div-sub prod-exp associate-/l/
frac-2neg clear-num
flip3-- pow1/3 associate-/r/ log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 1007
Calls
4 calls:
1.0ms
(cbrt i)
13.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
38.0ms
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (/ (cbrt i) n))
6.0ms
(* (pow i 2) (log 1.0))

series730.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt i)
196.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
211.0ms
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (/ (cbrt i) n))
140.0ms
(* (pow i 2) (log 1.0))

simplify375.0ms

Algorithm
egg-herbie
Counts
1019 → 1019
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0497537087
1500137087

prune4.7s

Filtered
1019 candidates to 794 candidates (77.9%)
Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New1009101019
Fresh71118
Picked101
Done011
Total1017221039

Merged error: 14.2b

Counts
1039 → 22

regimes295.0ms

Accuracy

66.2% (6.1b remaining)

Error of 17.3b against oracle of 11.2b and baseline of 29.2b

bsearch206.0ms

Steps
ItersRangePoint
9
1.3261300952414648e-20
8.815605325869767e-16
8.746094629864195e-16
8
-1.1902930357079885e-07
-1.3081950593114417e-10
-1.1787990607175087e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04931
14931

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.2s2947×body1280valid
1.9s989×body2560valid
572.0ms1773×body640valid
150.0ms853×body320valid
117.0ms2425×body80valid
83.0ms2296×body80nan
47.0ms434×body160valid
44.0ms11×body5120valid