Details

Time bar (total: 15.2s)

sample703.0ms

Algorithm
intervals
Results
82.0ms80×body1280nan
74.0ms117×body1280valid
39.0ms60×body640nan
20.0ms45×body640valid
16.0ms100×body80overflowed
16.0ms39×body320nan
14.0ms141×body80valid
13.0ms275×body80nan
7.0ms20×body320valid
4.0ms16×body160nan
2.0ms12×body160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.5b

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

rewrite19.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 → 79
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
8.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series68.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(pow x (/ 1.0 n))
19.0ms
(pow (+ x 1.0) (/ 1.0 n))
37.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify49.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0552688
11885669
25002641

prune173.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 19.5b

Counts
89 → 4

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

rewrite60.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-+
distribute-rgt-in pow-to-exp distribute-lft-in sqrt-pow1 pow1/2 associate-*r/ associate-*l/ pow-exp sqrt-pow2 div-inv
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 154
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
29.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))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
29.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
187.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))))
102.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify90.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06972349
131172202
250022186

prune470.0ms

Filtered
166 candidates to 114 candidates (31.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1642166
Fresh033
Picked101
Done000
Total1655170

Merged error: 19.5b

Counts
170 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
88×unpow-prod-down
64×difference-of-squares
48×sqrt-prod
41×*-un-lft-identity
32×sqr-pow
23×cbrt-prod
16×distribute-lft-out--
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 129
Calls
4 calls:
12.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series752.0ms

Counts
4 → 12
Calls
4 calls:
443.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
102.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify69.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05542652
120162567
250012524

prune785.0ms

Filtered
141 candidates to 96 candidates (31.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1392141
Fresh134
Picked101
Done000
Total1415146

Merged error: 19.5b

Counts
146 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
88×unpow-prod-down
64×difference-of-squares
48×sqrt-prod
40×*-un-lft-identity
32×sqr-pow
16×distribute-lft-out--
12×add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
4 → 128
Calls
4 calls:
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series407.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
101.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
101.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
104.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify165.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02802376
19612296
247022264
350032264

prune1.2s

Filtered
140 candidates to 96 candidates (31.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done000
Total1405145

Merged error: 19.5b

Counts
145 → 5

regimes313.0ms

Accuracy

86% (1.5b remaining)

Error of 22.8b against oracle of 21.4b and baseline of 31.9b

bsearch155.0ms

Steps
ItersRangePoint
11
8.67208259622753e-23
15420789.458085801
5036922.014807805
9
-22570177679.430683
-12722.186881915235
-177055548.10463205

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06176
16376
26376

end0.0ms

sample9.2s

Algorithm
intervals
Results
2.1s2091×body1280nan
2.0s3729×body1280valid
1.2s1726×body640nan
690.0ms1558×body640valid
423.0ms3910×body80valid
415.0ms2601×body80overflowed
383.0ms7919×body80nan
365.0ms881×body320nan
237.0ms769×body320valid
98.0ms442×body160nan
70.0ms363×body160valid

Profiling

Loading profile data...