Details

Time bar (total: 11.1s)

analyze1.3s

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

sample212.0ms

Algorithm
intervals
Results
64.0ms115×body1280valid
33.0ms28×body1280nan
27.0ms57×body640valid
18.0ms26×body640nan
17.0ms96×body80overflowed
7.0ms23×body320valid
7.0msbody1280invalid
6.0ms15×body320nan
6.0msbody640invalid
4.0ms46×body80valid
3.0ms15×body160valid
2.0msbody160nan
2.0msbody320invalid
1.0ms16×body80nan
1.0msbody160invalid
1.0msbody80invalid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.7b

Counts
2 → 1

localize9.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))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite22.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:
4.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series77.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049851250
149851250

prune187.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New81687
Fresh000
Picked101
Done000
Total82688

Merged error: 23.0b

Counts
88 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(pow (+ x 1.0) (/ 1.0 n))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.2b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×*-un-lft-identity
27×unpow-prod-down
26×pow-unpow
22×add-cube-cbrt
18×times-frac difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
pow1
add-exp-log distribute-lft-out-- add-log-exp
log-prod add-cbrt-cube
distribute-lft-out
pow-to-exp sub-neg pow-pow pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp exp-sum flip--
Counts
4 → 107
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series112.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
42.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
050511778

prune274.0ms

Filtered
96 candidates to 119 candidates (-24.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh055
Picked011
Done000
Total1178125

Merged error: 23.0b

Counts
125 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
0.0b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.0b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
64×unpow-prod-down
55×*-un-lft-identity
36×sqrt-prod
32×difference-of-squares
26×pow-unpow
24×add-cube-cbrt
23×associate-*r*
18×times-frac sqr-pow
10×pow1
distribute-lft-out
add-exp-log distribute-lft-out--
associate-*l*
pow-pow add-cbrt-cube add-log-exp
frac-times flip3-- flip--
sub-neg flip3-+ flip-+
pow-to-exp sqrt-pow1 pow1/2 associate-*r/ associate-*l/ pow-exp sqrt-pow2 div-inv
distribute-rgt-in distribute-lft-in diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 151
Calls
4 calls:
33.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series390.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
32.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
114.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify59.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050223716

prune464.0ms

Filtered
114 candidates to 163 candidates (-43.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1621163
Fresh066
Picked101
Done011
Total1638171

Merged error: 23.0b

Counts
171 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
46×*-un-lft-identity
43×unpow-prod-down
39×pow-unpow
31×add-cube-cbrt
27×times-frac
24×sqrt-prod
16×difference-of-squares
11×sqr-pow
10×pow1
pow-pow
add-exp-log
add-log-exp
add-cbrt-cube distribute-lft-out distribute-lft-out--
pow-to-exp sqrt-pow1 pow1/2 pow-exp sqrt-pow2 div-inv
sub-neg flip3-- diff-log flip--
Counts
4 → 133
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
9.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
33.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
32.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
112.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify50.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051362249

prune534.0ms

Filtered
102 candidates to 145 candidates (-42.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh066
Picked011
Done011
Total1458153

Merged error: 23.0b

Counts
153 → 8

regimes338.0ms

Accuracy

83.4% (1.8b remaining)

Error of 24.0b against oracle of 22.3b and baseline of 32.9b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0191105
1191105

end0.0ms

sample6.6s

Algorithm
intervals
Results
2.1s3834×body1280valid
1.2s1070×body1280nan
696.0ms1562×body640valid
647.0ms914×body640nan
466.0ms2643×body80overflowed
231.0ms710×body320valid
194.0ms445×body320nan
172.0ms246×body640invalid
136.0ms1552×body80valid
131.0ms101×body1280invalid
75.0ms177×body320invalid
72.0ms342×body160valid
56.0ms235×body160nan
33.0ms548×body80nan
26.0ms210×body80invalid
17.0ms71×body160invalid

Profiling

Loading profile data...