Details

Time bar (total: 13.9s)

sample166.0ms

Algorithm
intervals
Results
65.0ms81×body1280valid
51.0ms24×body2560valid
23.0ms70×body640valid
5.0ms27×body320valid
5.0ms80×body80valid
3.0ms69×body80nan
2.0ms13×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0257
1607
21457
33647
412487
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: 46.9b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.7b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.2b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.5b
(pow (+ 1.0 (/ i n)) n)

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
305×add-sqr-sqrt
222×*-un-lft-identity
156×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
48×unpow-prod-down
33×sqr-pow
28×distribute-lft-out--
24×prod-diff
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
fma-neg
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
distribute-lft-out
expm1-log1p-u log1p-expm1-u
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
Counts
4 → 321
Calls
4 calls:
35.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
11.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
18.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.0ms
(pow (+ 1.0 (/ i n)) n)

series1.2s

Counts
4 → 12
Calls
4 calls:
369.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
256.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
357.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
213.0ms
(pow (+ 1.0 (/ i n)) n)

simplify67.0ms

Algorithm
egg-herbie
Counts
333 → 333
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013193734
150013446

prune813.0ms

Filtered
333 candidates to 242 candidates (72.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3267333
Fresh000
Picked101
Done000
Total3277334

Merged error: 19.2b

Counts
334 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0)))))
0.1b
(* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ i n)))
12.1b
(* (pow i 2) (log 1.0))
16.1b
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ i n))

rewrite35.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
pow1 unswap-sqr
cbrt-undiv log-prod div-exp prod-exp
expm1-log1p-u unpow-prod-down cbrt-unprod log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-/l*
associate-/r/ *-commutative unpow2 sqr-pow
pow-to-exp frac-2neg associate-*r/ pow-prod-down pow-exp clear-num log-pow fma-udef
Counts
4 → 186
Calls
4 calls:
1.0ms
(fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0)))))
14.0ms
(* 100.0 (/ (fma i 1.0 (- (fma 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))
6.0ms
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ i n))

series643.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0)))))
209.0ms
(* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ i n)))
138.0ms
(* (pow i 2) (log 1.0))
201.0ms
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ i n))

simplify122.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07343209
137502968
250012968

prune726.0ms

Filtered
198 candidates to 152 candidates (76.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New18513198
Fresh066
Picked101
Done000
Total18619205

Merged error: 11.7b

Counts
205 → 19

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i))
0.3b
(* (* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i)) n)
11.4b
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i)
12.1b
(* (pow i 2) (log 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
25×add-exp-log
22×add-cbrt-cube
20×associate-*r*
19×times-frac
12×pow1 associate-*l*
10×prod-exp
cbrt-unprod
log-prod unswap-sqr
expm1-log1p-u unpow-prod-down pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* *-commutative associate-/l*
associate-*r/ div-inv unpow2 sqr-pow
pow-to-exp frac-2neg associate-*l/ pow-exp clear-num log-pow
Counts
4 → 122
Calls
4 calls:
7.0ms
(* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i))
10.0ms
(* (* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i)) n)
3.0ms
(/ (fma i 1.0 (- (fma 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))

series646.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i))
216.0ms
(* (* 100.0 (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i)) n)
135.0ms
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) i)
142.0ms
(* (pow i 2) (log 1.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04891793
122591525
250011522

prune410.0ms

Filtered
134 candidates to 91 candidates (67.9%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1340134
Fresh01818
Picked011
Done000
Total13419153

Merged error: 11.7b

Counts
153 → 19

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
7.1b
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n))
8.1b
(* (/ 1 (pow (cbrt i) 2)) (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n)))
12.1b
(* (pow i 2) (log 1.0))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
386×times-frac
321×add-sqr-sqrt
188×*-un-lft-identity
168×add-cube-cbrt
104×add-exp-log
94×cbrt-prod
75×associate-*r*
51×div-exp
48×unswap-sqr
45×associate-*l*
38×unpow-prod-down
33×prod-exp
29×add-cbrt-cube
22×associate-/r*
13×unpow2 sqr-pow
12×cbrt-undiv
10×pow-to-exp pow-exp div-inv
rec-exp 1-exp
pow1 cbrt-unprod
log-prod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-/l*
associate-/r/ *-commutative
frac-times frac-2neg pow1/3 associate-*r/ pow-prod-down associate-*l/ clear-num log-pow
Counts
4 → 359
Calls
4 calls:
1.0ms
(cbrt i)
8.0ms
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n))
55.0ms
(* (/ 1 (pow (cbrt i) 2)) (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n)))
6.0ms
(* (pow i 2) (log 1.0))

series773.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt i)
224.0ms
(/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n))
224.0ms
(* (/ 1 (pow (cbrt i) 2)) (/ (fma i 1.0 (- (fma 0.5 (pow i 2) (* (log 1.0) n)) (* 0.5 (* (pow i 2) (log 1.0))))) (/ (cbrt i) n)))
140.0ms
(* (pow i 2) (log 1.0))

simplify110.0ms

Algorithm
egg-herbie
Counts
371 → 371
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
016447943
150017529

prune1.4s

Filtered
371 candidates to 273 candidates (73.6%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New3638371
Fresh51217
Picked101
Done011
Total36921390

Merged error: 11.7b

Counts
390 → 21

regimes418.0ms

Accuracy

68.4% (5.8b remaining)

Error of 16.6b against oracle of 10.8b and baseline of 29.1b

bsearch414.0ms

Steps
ItersRangePoint
10
5.120978258446056e+119
1.3096497762430056e+132
4.5860988436327915e+126
9
5.6848229271942865e+19
3.0004367998518743e+25
5.753314805691298e+19
8
-225.5047040817839
-0.14827578458452542
-0.677510041185843

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06563
16563

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.3s2945×body1280valid
1.9s952×body2560valid
592.0ms1698×body640valid
183.0ms918×body320valid
136.0ms2451×body80valid
97.0ms2223×body80nan
57.0ms464×body160valid
11.0msbody5120valid