Details

Time bar (total: 11.3s)

sample165.0ms

Algorithm
intervals
Results
64.0ms104×body1280valid
25.0ms55×body640valid
14.0ms158×body80valid
11.0ms19×body1280nan
10.0ms22×body640nan
9.0ms163×body80nan
7.0ms24×body320valid
3.0ms47×body80overflowed
2.0ms11×body160valid
2.0msbody320nan
1.0msbody160nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.9b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
1.2b
(pow (+ x 1.0) (/ 1.0 n))
1.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite54.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:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
43.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series480.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(pow x (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
271.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476639
11600623
25001609

prune237.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 19.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
1.2b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
132×times-frac
94×*-un-lft-identity
88×add-sqr-sqrt
86×pow-unpow
76×add-cube-cbrt
22×unpow-prod-down
difference-of-squares
div-inv add-log-exp sqr-pow
distribute-lft-out
pow1 add-exp-log
add-cbrt-cube
distribute-lft-out--
pow-to-exp pow-pow pow-exp
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log flip-- flip-+
Counts
4 → 154
Calls
4 calls:
29.0ms
(+ (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
42.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

series764.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(+ (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
274.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
146.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
146.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

simplify61.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06651443
124551394
250031394

prune573.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(log (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
1.2b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
132×times-frac
102×add-sqr-sqrt
96×*-un-lft-identity
86×pow-unpow
78×add-cube-cbrt
28×unpow-prod-down
18×difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
div-inv
pow1
add-exp-log distribute-lft-out-- add-log-exp
log-prod
add-cbrt-cube distribute-lft-out
pow-to-exp sub-neg pow-pow exp-sum pow-exp
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 170
Calls
4 calls:
90.0ms
(log (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
43.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

series845.0ms

Counts
4 → 12
Calls
4 calls:
276.0ms
(log (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
275.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
148.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
147.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

simplify67.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
06661589
124031531
250021531

prune696.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 19.0b

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(log (cbrt (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
198×times-frac
129×pow-unpow
120×*-un-lft-identity
114×add-sqr-sqrt add-cube-cbrt
12×unpow-prod-down div-inv
pow1 add-exp-log log-prod
cbrt-prod
add-cbrt-cube add-log-exp
pow-to-exp pow-pow pow-exp distribute-lft-out sqr-pow
exp-sum log-pow
sub-neg log-div cbrt-div exp-diff pow1/3 rem-log-exp
Counts
4 → 193
Calls
4 calls:
34.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
12.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

series897.0ms

Counts
4 → 12
Calls
4 calls:
451.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))))
150.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
148.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
148.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))

simplify57.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05601642
121331583
250021581

prune1.0s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 18.9b

regimes161.0ms

Accuracy

80.3% (1.7b remaining)

Error of 21.9b against oracle of 20.2b and baseline of 28.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03950
13950

end0.0ms

sample4.8s

Algorithm
intervals
Results
1.9s3155×body1280valid
724.0ms1634×body640valid
380.0ms4744×body80valid
360.0ms611×body1280nan
280.0ms4971×body80nan
266.0ms637×body640nan
253.0ms852×body320valid
91.0ms1221×body80overflowed
84.0ms331×body320nan
83.0ms437×body160valid
29.0ms171×body160nan