Details

Time bar (total: 10.8s)

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

sample195.0ms

Algorithm
intervals
Results
67.0ms33×body2560valid
66.0ms79×body1280valid
25.0ms58×body640valid
6.0ms12×body640invalid
5.0msbody320invalid
5.0ms22×body320valid
3.0ms49×body80valid
2.0msbody1280invalid
2.0ms15×body160valid
2.0ms19×body80invalid
1.0msbody160invalid
0.0msbody80nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (32.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: 48.0b

Counts
2 → 2

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.3b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.6b
(pow (+ 1.0 (/ i n)) n)
9.7b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite82.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 → 280
Calls
4 calls:
34.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)
16.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series180.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
34.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
25.0ms
(pow (+ 1.0 (/ i n)) n)
60.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify99.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049885853
149885853

prune567.0ms

Filtered
226 candidates to 292 candidates (-29.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2848292
Fresh101
Picked101
Done000
Total2868294

Merged error: 19.5b

Counts
294 → 8

localize17.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
11.1b
(* (* i i) (* 0.5 (log 1.0)))
18.3b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
94×add-sqr-sqrt
85×add-cube-cbrt *-un-lft-identity
45×associate-*r*
29×add-exp-log add-cbrt-cube
17×pow1
13×associate-/r*
12×distribute-rgt-in log-prod distribute-lft-in
11×prod-exp cbrt-unprod
pow-prod-down div-inv
cbrt-undiv div-exp
associate-*l*
associate-/l* add-log-exp unswap-sqr
associate-+r- associate-/r/ *-commutative associate-/l/
frac-2neg flip3-+ div-sub associate-*r/ clear-num flip-+
Counts
3 → 173
Calls
3 calls:
21.0ms
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
10.0ms
(* (* i i) (* 0.5 (log 1.0)))
15.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

series56.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
13.0ms
(* (* i i) (* 0.5 (log 1.0)))
19.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

simplify65.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051415256

prune519.0ms

Filtered
135 candidates to 182 candidates (-34.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New17012182
Fresh077
Picked101
Done000
Total17119190

Merged error: 9.4b

Counts
190 → 19

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×add-exp-log add-cbrt-cube
23×*-un-lft-identity
22×add-cube-cbrt
19×times-frac
17×associate-*l*
16×pow1
10×prod-exp cbrt-unprod
associate-*r*
pow-prod-down
add-log-exp
cbrt-undiv associate-*r/ div-exp associate-/r* *-commutative associate-/l* unswap-sqr
sub-neg associate-*l/ div-inv associate-/l/
distribute-rgt-in flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in flip3-+ clear-num flip-- flip-+
Counts
4 → 106
Calls
4 calls:
7.0ms
(* (* i i) (- 0.5 (* (log 1.0) 0.5)))
10.0ms
(* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))) i) n)
12.0ms
(* 100.0 (* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))) i) n))
9.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))) i)

series70.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
051472739

prune325.0ms

Filtered
86 candidates to 118 candidates (-37.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New1153118
Fresh21618
Picked101
Done000
Total11819137

Merged error: 9.4b

Counts
137 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* i (* i (- 0.5 (* (log 1.0) 0.5)))))) i))
10.5b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* i (* i (- 0.5 (* (log 1.0) 0.5)))))) i)
10.5b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* i (* i (- 0.5 (* (log 1.0) 0.5)))))) i)
10.5b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* i (* i (- 0.5 (* (log 1.0) 0.5)))))) i)

rewrite40.0ms

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

series107.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049223426
149223426

prune747.0ms

Filtered
104 candidates to 121 candidates (-16.3%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh01818
Picked011
Done000
Total12119140

Merged error: 9.4b

Counts
140 → 19

regimes277.0ms

Accuracy

70.3% (6.1b remaining)

Error of 14.5b against oracle of 8.5b and baseline of 29.0b

bsearch190.0ms

Steps
ItersRangePoint
11
4.5722955587398e-09
8.258808912435702e+17
0.012023556076648468
9
-67629.82886512563
-0.0016992277457547487
-0.016787435054206774

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0101122
1101122

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.4s2770×body1280valid
2.1s985×body2560valid
645.0ms1611×body640valid
166.0ms692×body320valid
130.0ms256×body640invalid
116.0ms1624×body80valid
91.0ms110×body1280invalid
57.0ms180×body320invalid
47.0ms313×body160valid
42.0ms21×body2560invalid
36.0ms401×body80invalid
21.0msbody5120valid
17.0ms88×body160invalid
13.0ms296×body80nan

Profiling

Loading profile data...