Details

Time bar (total: 10.6s)

sample221.0ms

Algorithm
intervals
Results
77.0ms132×body1280valid
37.0ms23×body1280nan
19.0ms42×body640valid
16.0ms20×body640nan
13.0ms126×body80valid
13.0ms81×body80overflowed
6.0ms21×body320valid
5.0ms98×body80nan
4.0msbody320nan
2.0ms10×body160nan
1.0msbody160valid

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: 29.8b

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

rewrite23.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:
6.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)))

series68.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(pow x (/ 1.0 n))
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0552688
11885669
25002641

prune170.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84488
Fresh000
Picked011
Done000
Total84589

Merged error: 19.7b

Counts
89 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series164.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
67.0ms
(exp (- (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)))
40.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05061067
116041010
25001981

prune277.0ms

Filtered
121 candidates to 94 candidates (22.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1174121
Fresh033
Picked101
Done011
Total1188126

Merged error: 19.7b

Counts
126 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
1.9b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
1.9b
(log (exp (* (+ (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))))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×unpow-prod-down
26×*-un-lft-identity
20×sqrt-prod
16×difference-of-squares
11×add-log-exp
sqr-pow
log-prod distribute-lft-out
pow1 add-cube-cbrt
add-exp-log exp-sum log-pow add-cbrt-cube distribute-lft-out--
sub-neg
distribute-rgt-in exp-to-pow distribute-lft-in flip3-+ sqrt-div sum-log flip-+
+-commutative rem-sqrt-square exp-prod flip3-- sqrt-pow1 pow1/2 diff-log rem-log-exp flip--
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
12.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)))
8.0ms
(log (exp (* (+ (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))))))

series383.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
61.0ms
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
108.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
211.0ms
(log (exp (* (+ (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))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05861452
120961341
250011341

prune308.0ms

Filtered
94 candidates to 72 candidates (23.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New93194
Fresh066
Picked011
Done011
Total939102

Merged error: 19.7b

Counts
102 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

1.9b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
1.9b
(log (exp (* (+ (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))))))
1.9b
(log (exp (* (+ (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))))))
1.9b
(log (exp (* (+ (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))))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
22×unpow-prod-down
21×log-prod
16×*-un-lft-identity difference-of-squares
15×add-log-exp
12×exp-sum sqrt-prod log-pow
sqr-pow
pow1 add-cube-cbrt sub-neg
distribute-rgt-in exp-to-pow distribute-lft-in
add-exp-log add-cbrt-cube distribute-lft-out--
exp-prod rem-log-exp sum-log
flip3-- diff-log flip-- distribute-lft-out
Counts
4 → 89
Calls
4 calls:
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
9.0ms
(log (exp (* (+ (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))))))
9.0ms
(log (exp (* (+ (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))))))
9.0ms
(log (exp (* (+ (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))))))

series687.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
196.0ms
(log (exp (* (+ (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))))))
194.0ms
(log (exp (* (+ (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))))))
196.0ms
(log (exp (* (+ (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))))))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04172241
115082002
250011961

prune847.0ms

Filtered
101 candidates to 75 candidates (25.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New974101
Fresh066
Picked101
Done022
Total9812110

Merged error: 19.7b

Counts
110 → 12

regimes597.0ms

Accuracy

84% (1.7b remaining)

Error of 23.0b against oracle of 21.3b and baseline of 31.8b

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04738
15338
25638
35638

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.1s3676×body1280valid
940.0ms687×body1280nan
721.0ms1605×body640valid
492.0ms589×body640nan
450.0ms2660×body80overflowed
450.0ms4081×body80valid
239.0ms763×body320valid
220.0ms4086×body80nan
147.0ms309×body320nan
67.0ms344×body160valid
38.0ms155×body160nan

Profiling

Loading profile data...