Details

Time bar (total: 10.5s)

analyze787.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

sample201.0ms

Algorithm
intervals
Results
75.0ms89×body1280valid
73.0ms35×body2560valid
18.0ms46×body640valid
6.0ms26×body320valid
5.0ms11×body640invalid
3.0ms49×body80valid
3.0msbody1280invalid
2.0msbody2560invalid
2.0msbody320invalid
2.0ms11×body160valid
1.0ms16×body80invalid
1.0ms22×body80nan
0.0msbody160invalid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0528115

prune10.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

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i))
0.0b
(* 100.0 (* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i)))
1.2b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.5b
(pow (+ 1.0 (/ i n)) n)

rewrite53.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:
16.0ms
(* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i))
15.0ms
(* 100.0 (* n (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) i)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
9.0ms
(pow (+ 1.0 (/ i n)) n)

series181.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049872281
149872281

prune247.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1046110
Fresh011
Picked101
Done000
Total1057112

Merged error: 10.8b

Counts
112 → 7

localize16.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.8b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)
11.4b
(* (* i i) (* 0.5 (log 1.0)))

rewrite54.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:
25.0ms
(* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i))
27.0ms
(* 100.0 (* n (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) i)))
15.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)))

simplify40.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
050882897

prune296.0ms

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

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1227129
Fresh066
Picked011
Done000
Total12214136

Merged error: 10.8b

Counts
136 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
0.6b
(cbrt n)
0.6b
(cbrt n)
10.8b
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
pow1/3 associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 62
Calls
4 calls:
1.0ms
(cbrt n)
1.0ms
(cbrt n)
1.0ms
(cbrt n)
9.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

series82.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt n)
22.0ms
(cbrt n)
24.0ms
(cbrt n)
15.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

simplify45.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049501005
149501005

prune205.0ms

Filtered
57 candidates to 74 candidates (-29.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New71374
Fresh11112
Picked101
Done011
Total731588

Merged error: 10.8b

Counts
88 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

6.8b
(cbrt (* n (* 100.0 (/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i))))
10.8b
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)
10.8b
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)
10.8b
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
10×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
associate-/l/
pow1 add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
associate-*r/
cbrt-prod cbrt-div pow1/3
Counts
4 → 97
Calls
4 calls:
12.0ms
(cbrt (* 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)
10.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)
9.0ms
(/ (+ (* i 1.0) (+ (* (log 1.0) n) (* (* i i) (- 0.5 (* 0.5 (log 1.0)))))) i)

series627.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049442897
149442897

prune683.0ms

Filtered
94 candidates to 109 candidates (-16.0%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1063109
Fresh21113
Picked101
Done011
Total10915124

Merged error: 10.8b

Counts
124 → 15

regimes574.0ms

Accuracy

65% (7.2b remaining)

Error of 16.7b against oracle of 9.5b and baseline of 30.1b

bsearch245.0ms

Steps
ItersRangePoint
10
5.460460098490599e+172
4.353290260259419e+191
5.460223498175969e+181
9
1.4909904148743054e-21
2.4513381972445114e-16
2.3385135141275714e-16
9
-6.007577350450598e-10
-6.525337881431085e-15
-5.932755958531832e-10

simplify8.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
0517319
1517319

end0.0ms

sample5.8s

Algorithm
intervals
Results
2.3s2740×body1280valid
2.0s955×body2560valid
591.0ms1529×body640valid
162.0ms731×body320valid
110.0ms1687×body80valid
101.0ms211×body640invalid
78.0ms96×body1280invalid
52.0ms175×body320invalid
49.0ms349×body160valid
42.0ms479×body80invalid
33.0msbody5120valid
30.0ms16×body2560invalid
16.0ms87×body160invalid
14.0ms318×body80nan

Profiling

Loading profile data...