Details

Time bar (total: 18.5s)

sample4.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.076294%

Guaranteed chance to sample good point: 49.896135%

Results
72.0ms128×body1280valid
46.0ms39×body1280nan
21.0ms46×body640valid
19.0ms129×body80overflowed
17.0ms23×body640nan
8.0ms27×body320valid
7.0ms59×body80invalid
6.0msbody640invalid
5.0ms11×body320nan
4.0ms43×body80valid
3.0msbody320invalid
3.0msbody1280invalid
3.0ms12×body160valid
2.0msbody160nan
1.0ms15×body80nan
0.0msbody160invalid

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.3b

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

rewrite26.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))
9.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series85.0ms

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

prune198.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 23.5b

Counts
89 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt
14×exp-prod
13×pow-unpow
11×unpow-prod-down
times-frac log-pow
pow1
log-prod add-log-exp
add-exp-log
add-cbrt-cube sqr-pow
associate--r+ difference-of-squares
distribute-lft-out--
pow-to-exp sub-neg flip3-- pow-pow diff-log rem-log-exp pow-exp flip-- div-inv rem-exp-log distribute-lft-out
Counts
4 → 82
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(log (exp (pow x (/ 1.0 n))))
3.0ms
(exp (pow x (/ 1.0 n)))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (log (exp (pow x (/ 1.0 n)))))

series87.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0657771
12366715
25002698

prune228.0ms

Filtered
77 candidates to 94 candidates (-22.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New92294
Fresh044
Picked101
Done000
Total93699

Merged error: 23.3b

Counts
99 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

4.5b
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (* (pow x 2) n)))) (/ (/ 1.0 n) x))
6.2b
(/ 0 (pow n 2))
8.5b
(* x (pow n 2))
8.8b
(* (pow x 2) n)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
29×*-un-lft-identity
27×add-cube-cbrt
24×times-frac
20×unpow-prod-down
19×add-exp-log
18×frac-sub
16×associate-*r/
14×frac-add
13×add-log-exp
11×associate-*r* associate-*l*
10×add-cbrt-cube
associate-/r* unpow2 unswap-sqr sqr-pow
prod-exp un-div-inv
pow1 frac-times associate-+l+
pow-to-exp flip3-- diff-log div-exp pow-exp sum-log flip-- associate-/l*
sub-neg associate-*l/ associate--l+ *-commutative cbrt-unprod sub-div
cbrt-undiv +-commutative associate-+l- frac-2neg flip3-+ div0 clear-num flip-+ div-inv distribute-lft-out
Counts
4 → 137
Calls
4 calls:
25.0ms
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (* (pow x 2) n)))) (/ (/ 1.0 n) x))
5.0ms
(/ 0 (pow n 2))
5.0ms
(* x (pow n 2))
5.0ms
(* (pow x 2) n)

series37.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (* (pow x 2) n)))) (/ (/ 1.0 n) x))
1.0ms
(/ 0 (pow n 2))
7.0ms
(* x (pow n 2))
4.0ms
(* (pow x 2) n)

simplify46.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09241766
150011447

prune371.0ms

Filtered
84 candidates to 149 candidates (-77.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1427149
Fresh055
Picked101
Done000
Total14312155

Merged error: 23.2b

Counts
155 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

4.5b
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (log (exp (* (pow x 2) n)))))) (/ (/ 1.0 n) x))
6.2b
(/ 0 (pow n 2))
8.5b
(* x (pow n 2))
8.8b
(* (pow x 2) n)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
29×*-un-lft-identity
27×add-cube-cbrt
24×times-frac
20×unpow-prod-down
19×add-exp-log
18×frac-sub
16×associate-*r/
14×frac-add
13×add-log-exp
11×associate-*r* associate-*l*
10×add-cbrt-cube
associate-/r* unpow2 unswap-sqr sqr-pow
prod-exp un-div-inv
pow1 frac-times associate-+l+
pow-to-exp flip3-- diff-log div-exp pow-exp sum-log flip-- associate-/l*
sub-neg associate-*l/ associate--l+ *-commutative cbrt-unprod sub-div
cbrt-undiv +-commutative associate-+l- frac-2neg flip3-+ div0 clear-num flip-+ div-inv distribute-lft-out
Counts
4 → 137
Calls
4 calls:
24.0ms
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (log (exp (* (pow x 2) n)))))) (/ (/ 1.0 n) x))
5.0ms
(/ 0 (pow n 2))
5.0ms
(* x (pow n 2))
7.0ms
(* (pow x 2) n)

series30.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (- (- (* (/ 1.0 x) (/ 0 (pow n 2))) (* 1.0 (/ (log (/ 1 x)) (* x (pow n 2))))) (* 0.5 (/ 1 (log (exp (* (pow x 2) n)))))) (/ (/ 1.0 n) x))
1.0ms
(/ 0 (pow n 2))
6.0ms
(* x (pow n 2))
4.0ms
(* (pow x 2) n)

simplify47.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09061860
150011477

prune343.0ms

Filtered
83 candidates to 149 candidates (-79.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh2911
Picked011
Done000
Total14813161

Merged error: 23.2b

Counts
161 → 13

regimes416.0ms

Accuracy

88.8% (2.2b remaining)

Error of 23.5b against oracle of 21.3b and baseline of 41.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06657
16657

end0.0ms

sample11.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.076294%

Guaranteed chance to sample good point: 49.896135%

Results
2.1s3815×body1280valid
1.3s1150×body1280nan
687.0ms942×body640nan
673.0ms1494×body640valid
643.0ms4186×body80overflowed
224.0ms716×body320valid
211.0ms472×body320nan
181.0ms1446×body80invalid
179.0ms261×body640invalid
146.0ms109×body1280invalid
144.0ms1614×body80valid
74.0ms185×body320invalid
71.0ms361×body160valid
50.0ms206×body160nan
30.0ms475×body80nan
20.0ms82×body160invalid

Profiling

Loading profile data...