Details

Time bar (total: 10.6s)

analyze1.1s

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
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14

sample228.0ms

Algorithm
intervals
Results
82.0ms148×body1280valid
41.0ms37×body1280nan
19.0ms43×body640valid
19.0ms27×body640nan
15.0ms87×body80overflowed
8.0msbody1280invalid
7.0msbody640invalid
6.0ms15×body320nan
4.0ms14×body320valid
4.0ms44×body80valid
3.0msbody320invalid
2.0msbody160nan
1.0msbody160valid
1.0ms19×body80nan
1.0msbody80invalid
0.0msbody160invalid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(pow (+ x 1.0) (/ 1.0 n))
1.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 78
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series75.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
44.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify53.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049851250
149851250

prune185.0ms

Filtered
71 candidates to 87 candidates (-22.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New84387
Fresh000
Picked101
Done000
Total85388

Merged error: 21.3b

Counts
88 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
1.5b
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 53
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
13.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
99.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

simplify51.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049461055
149461055

prune233.0ms

Filtered
55 candidates to 65 candidates (-18.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh022
Picked101
Done000
Total63568

Merged error: 21.1b

Counts
68 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
1.5b
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
1.5b
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
1.5b
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log cbrt-prod add-cbrt-cube
sub-neg flip3-- diff-log flip--
cbrt-div
flip3-+ pow1/3 flip-+ distribute-lft-out
Counts
4 → 47
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
13.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
11.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
12.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

series307.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ x 1.0))
100.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
100.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))
101.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

simplify55.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049461901
149461901

prune722.0ms

Filtered
53 candidates to 59 candidates (-11.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59059
Fresh044
Picked011
Done000
Total59564

Merged error: 21.1b

Counts
64 → 5

localize23.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ (neg (log x)) n)
0.6b
(/ 1.0 (* x n))
8.4b
(/ (pow (log 1) 2) (* n n))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×associate-/l*
23×add-exp-log
16×distribute-lft-neg-in distribute-rgt-neg-in
15×add-cbrt-cube
13×pow1
10×log-pow
div-exp
unpow-prod-down
cbrt-undiv associate-/r*
neg-mul-1 prod-exp
frac-2neg clear-num div-inv add-log-exp
pow-to-exp pow-exp cbrt-unprod unpow2 sqr-pow
neg-sub0 div-sub distribute-frac-neg
Counts
3 → 123
Calls
3 calls:
5.0ms
(/ (neg (log x)) n)
4.0ms
(/ 1.0 (* x n))
6.0ms
(/ (pow (log 1) 2) (* n n))

series29.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(/ (neg (log x)) n)
4.0ms
(/ 1.0 (* x n))
15.0ms
(/ (pow (log 1) 2) (* n n))

simplify43.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
056661108

prune243.0ms

Filtered
86 candidates to 132 candidates (-53.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1275132
Fresh033
Picked011
Done011
Total12710137

Merged error: 20.7b

Counts
137 → 10

regimes343.0ms

Accuracy

87% (1.4b remaining)

Error of 23.3b against oracle of 21.9b and baseline of 32.6b

bsearch138.0ms

Steps
ItersRangePoint
9
125.72319852033803
241712044735.4793
18206649765.93102
10
-253.3258898344875
-9.667303938317425e-11
-250.7434974379807

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0167165
1167165

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.0s3747×body1280valid
1.2s1108×body1280nan
710.0ms1583×body640valid
581.0ms833×body640nan
465.0ms2700×body80overflowed
217.0ms723×body320valid
181.0ms444×body320nan
161.0ms230×body640invalid
143.0ms108×body1280invalid
139.0ms1580×body80valid
70.0ms367×body160valid
69.0ms177×body320invalid
48.0ms218×body160nan
33.0ms498×body80nan
26.0ms214×body80invalid
25.0ms90×body160invalid

Profiling

Loading profile data...