Details

Time bar (total: 12.3s)

sample207.0ms

Algorithm
intervals
Results
59.0ms133×body1280valid
37.0ms59×body1280nan
26.0ms67×body640nan
20.0ms57×body10240exit
15.0ms47×body640valid
9.0ms27×body320nan
8.0ms192×body80nan
6.0ms31×body320valid
4.0ms91×body80valid
2.0ms14×body160nan
2.0ms14×body160valid

simplify33.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: 33.1b

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

series458.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(pow x (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
264.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0476639
11600623
25001609

prune245.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 20.0b

localize14.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) (/ 1.0 n))))
0.0b
(exp (pow (+ x 1.0) (/ 1.0 n)))
3.0b
(- (log (exp (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
23×add-sqr-sqrt
18×add-cube-cbrt
16×exp-prod
13×unpow-prod-down pow-unpow
10×log-pow
times-frac
pow1
log-prod add-log-exp
add-exp-log
add-cbrt-cube sqr-pow
associate--l+ distribute-lft-out 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
Counts
4 → 84
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
5.0ms
(log (exp (pow (+ x 1.0) (/ 1.0 n))))
5.0ms
(exp (pow (+ x 1.0) (/ 1.0 n)))
12.0ms
(- (log (exp (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

series839.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
145.0ms
(log (exp (pow (+ x 1.0) (/ 1.0 n))))
282.0ms
(exp (pow (+ x 1.0) (/ 1.0 n)))
265.0ms
(- (log (exp (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

simplify40.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0432696
11368626
25002614

prune276.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×*-un-lft-identity
27×unpow-prod-down
26×pow-unpow
22×add-cube-cbrt
18×times-frac difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
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 div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 109
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 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)))))

series759.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(pow x (/ 1.0 n))
152.0ms
(pow (+ x 1.0) (/ 1.0 n))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
275.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 (37.0ms)

IterNodesCost
0541922
11760884
25001863

prune381.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 19.8b

localize15.0ms

Local error

Found 4 expressions with local error:

2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.8b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.8b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×*-un-lft-identity
20×unpow-prod-down
18×difference-of-squares
16×log-prod
12×sqr-pow
10×cbrt-prod
add-cube-cbrt add-log-exp
pow1 add-exp-log distribute-lft-out--
sub-neg exp-sum log-pow add-cbrt-cube
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip-- distribute-lft-out
Counts
4 → 86
Calls
4 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
14.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
10.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
282.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
454.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
453.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify113.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
03001278
18051194
237131170
350011170

prune462.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 19.8b

regimes280.0ms

Accuracy

84.4% (1.8b remaining)

Error of 23.5b against oracle of 21.8b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04037
14037

end0.0ms

sample6.5s

Algorithm
intervals
Results
1.8s3981×body1280valid
1.3s2166×body1280nan
720.0ms1811×body640nan
617.0ms1839×body640valid
614.0ms1428×body10240exit
260.0ms6185×body80nan
221.0ms896×body320nan
189.0ms872×body320valid
140.0ms2985×body80valid
67.0ms453×body160valid
63.0ms447×body160nan