Details

Time bar (total: 10.9s)

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

sample198.0ms

Algorithm
intervals
Results
63.0ms118×body1280valid
32.0ms32×body1280nan
25.0ms37×body640nan
18.0ms43×body640valid
11.0ms68×body80overflowed
8.0ms25×body320valid
7.0msbody640invalid
5.0ms13×body320nan
5.0ms61×body80valid
3.0msbody1280invalid
2.0msbody320invalid
2.0msbody160valid
1.0ms21×body80nan
1.0msbody80invalid
1.0msbody160nan

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
0497713
1497713

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series74.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
41.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

prune182.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh000
Picked101
Done000
Total83588

Merged error: 20.5b

Counts
88 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
54×sqrt-prod
32×add-cube-cbrt *-un-lft-identity
27×unpow-prod-down
26×pow-unpow
18×times-frac
16×unswap-sqr
15×sqr-pow
13×pow1
12×swap-sqr
10×associate-*r* associate-*l*
add-exp-log
sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up difference-of-squares
pow-to-exp pow-pow pow-exp div-inv
pow2 sub-neg flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod
Counts
4 → 139
Calls
4 calls:
9.0ms
(* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow x (/ 1.0 n))
7.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))
12.0ms
(pow x (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
38.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049571927
149571927

prune281.0ms

Filtered
98 candidates to 151 candidates (-54.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1501151
Fresh044
Picked011
Done000
Total1506156

Merged error: 20.4b

Counts
156 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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
15×log-prod exp-sum
14×sqr-pow
pow1
add-exp-log distribute-lft-out-- add-log-exp
exp-prod add-cbrt-cube
distribute-lft-out
pow-to-exp log-div flip3-- pow-pow exp-diff pow-exp flip-- div-inv
sub-neg diff-log log-pow rem-exp-log
Counts
4 → 107
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
11.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series108.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
052301966

prune280.0ms

Filtered
94 candidates to 119 candidates (-26.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1154119
Fresh044
Picked101
Done011
Total1169125

Merged error: 20.4b

Counts
125 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (pow (exp (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×unpow-prod-down
29×*-un-lft-identity
27×difference-of-squares
20×sqr-pow
10×add-log-exp
distribute-lft-out--
add-cube-cbrt
pow-unpow
pow1 add-exp-log
cbrt-prod pow-exp add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out
pow-to-exp
pow-pow log-pow
Counts
4 → 96
Calls
4 calls:
4.0ms
(pow (pow (exp (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series643.0ms

Counts
4 → 12
Calls
4 calls:
524.0ms
(pow (pow (exp (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))) (cbrt (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
38.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify63.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050663595

prune611.0ms

Filtered
91 candidates to 108 candidates (-18.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1062108
Fresh167
Picked101
Done011
Total1089117

Merged error: 20.4b

Counts
117 → 9

regimes455.0ms

Accuracy

82.7% (1.8b remaining)

Error of 24.3b against oracle of 22.5b and baseline of 33.0b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0211179
1211179

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.1s3795×body1280valid
1.1s1041×body1280nan
664.0ms1510×body640valid
635.0ms912×body640nan
477.0ms2767×body80overflowed
225.0ms736×body320valid
205.0ms477×body320nan
180.0ms268×body640invalid
147.0ms1617×body80valid
122.0ms101×body1280invalid
71.0ms180×body320invalid
66.0ms342×body160valid
45.0ms209×body160nan
32.0ms255×body80invalid
31.0ms513×body80nan
19.0ms80×body160invalid

Profiling

Loading profile data...