Details

Time bar (total: 12.8s)

sample207.0ms

Algorithm
intervals
Results
82.0ms98×body1280valid
62.0ms30×body2560valid
22.0ms54×body640valid
10.0ms37×body320valid
5.0ms67×body80valid
4.0ms93×body80nan
4.0msbody5120valid
2.0ms17×body160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune6.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: 47.6b

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.0b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
5.7b
(pow (+ 1.0 (/ i n)) n)
10.6b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite83.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)
6.0ms
(pow (+ 1.0 (/ i n)) n)
17.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series195.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012263285
150023166

prune600.0ms

Filtered
293 candidates to 223 candidates (23.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2885293
Fresh000
Picked101
Done000
Total2895294

Merged error: 23.8b

Counts
294 → 5

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

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
7.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))

simplify146.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09293604
148183341
250013341

prune797.0ms

Filtered
198 candidates to 150 candidates (24.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1899198
Fresh044
Picked101
Done000
Total19013203

Merged error: 12.5b

Counts
203 → 13

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))
8.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
8.4b
(* (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:
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))
13.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))

series58.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05401516
124651293
250011289

prune311.0ms

Filtered
110 candidates to 72 candidates (34.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh11112
Picked011
Done000
Total11013123

Merged error: 12.5b

Counts
123 → 13

localize19.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)))) i) (/ 1 n)))
0.2b
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) (/ 1 n))
8.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
8.4b
(* (pow i 2) (log 1.0))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
846×times-frac
428×add-sqr-sqrt
399×*-un-lft-identity
397×add-cube-cbrt
178×associate-*r*
65×add-exp-log
57×div-inv
38×add-cbrt-cube
33×div-exp
17×cbrt-undiv
16×associate-/r* associate-/l*
12×prod-exp
11×associate-*l* unswap-sqr
pow1
log-prod cbrt-unprod
unpow-prod-down rec-exp 1-exp add-log-exp
distribute-rgt-in distribute-lft-in div-sub associate-/l/
frac-2neg clear-num associate-/r/ *-commutative unpow2 sqr-pow
pow-to-exp flip3-- associate-*r/ pow-prod-down pow-exp log-pow flip--
Counts
4 → 492
Calls
4 calls:
50.0ms
(* 100.0 (/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) (/ 1 n)))
17.0ms
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) (/ 1 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))

series121.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 100.0 (/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) (/ 1 n)))
36.0ms
(/ (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) (/ 1 n))
27.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
32.0ms
(* (pow i 2) (log 1.0))

simplify152.0ms

Algorithm
egg-herbie
Counts
504 → 504
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0210911868
1500211180

prune2.8s

Filtered
504 candidates to 332 candidates (34.1%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New5040504
Fresh01111
Picked011
Done011
Total50413517

Merged error: 12.5b

Counts
517 → 13

regimes239.0ms

Accuracy

67.7% (5.9b remaining)

Error of 16.8b against oracle of 10.9b and baseline of 29.1b

bsearch215.0ms

Steps
ItersRangePoint
8
6.824547957801931e+208
1.8034319236195458e+213
1.0924429004024771e+213
7
1.6467731241392944e-08
9.16590956953046e-07
9.057557641864674e-07
9
-3.3701171682469404
-9.98236031775492e-06
-0.005215702057500597

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07246
17246

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.4s2863×body1280valid
2.2s995×body2560valid
736.0ms1772×body640valid
227.0ms899×body320valid
182.0ms2399×body80valid
104.0ms2211×body80nan
72.0ms448×body160valid
26.0msbody5120valid

Profiling

Loading profile data...