Details

Time bar (total: 11.8s)

sample232.0ms

Algorithm
intervals
Results
75.0ms128×body1280valid
33.0ms28×body1280nan
26.0ms55×body640valid
18.0ms26×body640nan
18.0ms113×body80overflowed
11.0ms33×body320valid
10.0ms192×body80nan
9.0ms90×body80valid
5.0ms12×body320nan
3.0ms14×body160valid
1.0msbody160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.2b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.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 → 79
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)))

series71.0ms

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

prune187.0ms

Filtered
71 candidates to 88 candidates (-23.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 22.2b

Counts
89 → 6

localize12.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.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.0b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite64.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:
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))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
194.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))
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
104.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 (70.0ms)

IterNodesCost
06972349
131172202
250022186

prune476.0ms

Filtered
114 candidates to 166 candidates (-45.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1651166
Fresh055
Picked101
Done000
Total1666172

Merged error: 22.2b

Counts
172 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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 → 134
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series198.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04401314
116011267
250011247

prune554.0ms

Filtered
102 candidates to 146 candidates (-43.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1451146
Fresh055
Picked101
Done000
Total1466152

Merged error: 22.2b

Counts
152 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
73×unpow-prod-down
48×difference-of-squares
42×*-un-lft-identity
40×sqrt-prod
25×sqr-pow
13×add-cube-cbrt pow-unpow
12×distribute-lft-out--
10×add-log-exp
times-frac
pow1
add-exp-log
add-cbrt-cube distribute-lft-out
sub-neg flip3-- pow-pow diff-log flip--
pow-to-exp sqrt-pow1 pow1/2 pow-exp sqrt-pow2 div-inv
Counts
4 → 130
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
15.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)))

series347.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
105.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify55.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04402022
116011953
250011925

prune997.0ms

Filtered
98 candidates to 142 candidates (-44.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1384142
Fresh145
Picked101
Done000
Total1408148

Merged error: 22.2b

Counts
148 → 8

regimes469.0ms

Accuracy

83% (1.9b remaining)

Error of 23.8b against oracle of 22.0b and baseline of 32.9b

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07793
17993
27993

end0.0ms

sample7.4s

Algorithm
intervals
Results
2.2s3917×body1280valid
1.2s1108×body1280nan
835.0ms1778×body640valid
652.0ms929×body640nan
606.0ms4068×body80overflowed
325.0ms6205×body80nan
323.0ms3110×body80valid
294.0ms897×body320valid
189.0ms446×body320nan
97.0ms480×body160valid
52.0ms236×body160nan

Profiling

Loading profile data...