Details

Time bar (total: 9.6s)

analyze815.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
3.1%96.8%0.1%6
15.6%81.2%3.2%7
23.4%72.6%4%8
32.4%56.2%11.4%9
36.3%51.7%12%10
40.7%42.9%16.4%11
42.6%40.3%17.1%12
44.5%36%19.4%13
45.5%34.5%20%14

sample189.0ms

Algorithm
intervals
Results
78.0ms95×body1280valid
60.0ms30×body2560valid
16.0ms41×body640valid
6.0ms27×body320valid
5.0msbody1280invalid
3.0msbody640invalid
3.0ms47×body80valid
3.0ms16×body160valid
3.0msbody320invalid
1.0ms14×body80invalid
1.0msbody160invalid
1.0ms12×body80nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0528115

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 47.2b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i)))
0.0b
(* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i))
1.7b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.6b
(pow (+ 1.0 (/ i n)) n)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
29×*-un-lft-identity
26×associate-*r*
22×times-frac
19×add-exp-log add-cube-cbrt
18×add-cbrt-cube
12×pow1 difference-of-squares
unpow-prod-down
prod-exp cbrt-unprod
associate-*l* add-log-exp
sqr-pow
pow-prod-down distribute-lft-out--
pow-unpow associate-*r/
cbrt-undiv div-exp *-commutative unswap-sqr
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv distribute-lft-out
Counts
4 → 98
Calls
4 calls:
15.0ms
(* 100.0 (* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i)))
17.0ms
(* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.0ms
(pow (+ 1.0 (/ i n)) n)

series179.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* 100.0 (* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i)))
56.0ms
(* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i))
33.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
30.0ms
(pow (+ 1.0 (/ i n)) n)

simplify66.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049872281
149872281

prune258.0ms

Filtered
82 candidates to 110 candidates (-34.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1028110
Fresh101
Picked101
Done000
Total1048112

Merged error: 9.8b

Counts
112 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i))
0.1b
(* 100.0 (* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)))
10.1b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)
10.6b
(* (* i i) (* 0.5 (log 1.0)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
30×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
23×pow1
19×times-frac
15×associate-*r* prod-exp cbrt-unprod
12×distribute-rgt-in log-prod distribute-lft-in pow-prod-down
associate-*l*
add-log-exp
cbrt-undiv associate-*r/ div-exp associate-/r* *-commutative associate-/l*
associate-+r- div-inv associate-/l/ unswap-sqr
frac-2neg flip3-+ div-sub clear-num flip-+
Counts
4 → 117
Calls
4 calls:
14.0ms
(* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i))
14.0ms
(* 100.0 (* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)))
12.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)
8.0ms
(* (* i i) (* 0.5 (log 1.0)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i))
30.0ms
(* 100.0 (* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)))
14.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)
14.0ms
(* (* i i) (* 0.5 (log 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050882897

prune325.0ms

Filtered
84 candidates to 129 candidates (-53.6%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New11712129
Fresh077
Picked101
Done000
Total11819137

Merged error: 9.7b

Counts
137 → 19

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0))))))
0.0b
(* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i))
0.1b
(* n (* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)))
10.1b
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
20×add-exp-log add-cbrt-cube
19×times-frac
14×associate-*r*
11×pow1
add-log-exp
prod-exp cbrt-unprod
associate-*l*
pow-prod-down
cbrt-undiv associate-*r/ div-exp associate-/r* sum-log associate-/l*
flip3-+ *-commutative flip-+ div-inv associate-/l/ unswap-sqr
+-commutative associate-+r+ frac-2neg clear-num
Counts
4 → 95
Calls
4 calls:
8.0ms
(+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0))))))
11.0ms
(* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i))
13.0ms
(* n (* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)))
10.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

series78.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0))))))
15.0ms
(* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i))
26.0ms
(* n (* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)))
26.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050222576

prune327.0ms

Filtered
80 candidates to 107 candidates (-33.8%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh21618
Picked011
Done000
Total10719126

Merged error: 9.7b

Counts
126 → 19

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i)))
0.1b
(* 100.0 (* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))))
10.2b
(* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))
10.6b
(* (* i i) (* 0.5 (log 1.0)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
62×add-exp-log
44×add-cbrt-cube
36×prod-exp
32×pow1
25×add-sqr-sqrt
24×cbrt-unprod
21×associate-*r/
19×*-un-lft-identity
18×add-cube-cbrt pow-prod-down
16×associate-*r*
12×distribute-rgt-in log-prod distribute-lft-in
11×times-frac
10×associate-*l*
frac-times flip3-+ div-exp associate-*l/ flip-+
*-commutative add-log-exp
cbrt-undiv rec-exp 1-exp un-div-inv unswap-sqr
div-inv
Counts
4 → 133
Calls
4 calls:
15.0ms
(* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i)))
18.0ms
(* 100.0 (* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))))
15.0ms
(* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))
8.0ms
(* (* i i) (* 0.5 (log 1.0)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i)))
26.0ms
(* 100.0 (* n (* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))))
18.0ms
(* (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ 1 i))
13.0ms
(* (* i i) (* 0.5 (log 1.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050072998

prune238.0ms

Filtered
84 candidates to 145 candidates (-72.6%)
Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New1414145
Fresh41317
Picked011
Done011
Total14519164

Merged error: 9.7b

Counts
164 → 19

regimes354.0ms

Accuracy

69.2% (6.1b remaining)

Error of 15.3b against oracle of 9.2b and baseline of 29.0b

bsearch132.0ms

Steps
ItersRangePoint
6
3.625646590916209e-05
0.00019035649969593936
0.00017000305165270794
1
-5.0356569090425854e-204
-4.8119507054610565e-204
-4.9797303581472035e-204
6
-5.3176609444338126e-11
-7.738779818716208e-12
-5.254825670150266e-11

simplify8.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
0575336
1575336

end0.0ms

sample6.0s

Algorithm
intervals
Results
2.4s2824×body1280valid
2.1s967×body2560valid
603.0ms1521×body640valid
170.0ms737×body320valid
118.0ms242×body640invalid
108.0ms1602×body80valid
103.0ms127×body1280invalid
61.0ms194×body320invalid
52.0ms343×body160valid
41.0ms436×body80invalid
23.0msbody5120valid
17.0ms91×body160invalid
16.0msbody2560invalid
14.0ms309×body80nan

Profiling

Loading profile data...