Details

Time bar (total: 10.3s)

sample132.0ms

Algorithm
intervals
Results
52.0ms113×body1280valid
15.0ms51×body640valid
10.0ms24×body1280nan
9.0ms35×body10240exit
7.0ms131×body80valid
6.0ms19×body640nan
5.0ms153×body80nan
5.0ms23×body320valid
2.0ms15×body160valid
2.0msbody320nan
1.0msbody160nan

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

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(pow x (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite92.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:
4.0ms
(pow x (/ 1.0 n))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
74.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series444.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(pow x (/ 1.0 n))
133.0ms
(pow (+ x 1.0) (/ 1.0 n))
253.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0476639
11600623
25001609

prune243.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 22.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

rewrite247.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))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
71.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
157.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series708.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(pow x (/ 1.0 n))
133.0ms
(pow (+ x 1.0) (/ 1.0 n))
259.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
257.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify46.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0541922
11760884
25001863

prune359.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 22.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
41×*-un-lft-identity
39×pow-unpow
30×sqrt-prod
28×add-cube-cbrt
27×times-frac
23×unpow-prod-down
16×difference-of-squares
11×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
4 → 115
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
82.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))

series669.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(pow x (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
133.0ms
(pow (+ x 1.0) (/ 1.0 n))
343.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))

simplify46.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05021033
11683997
25002986

prune459.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 22.7b

localize18.0ms

Local error

Found 4 expressions with local error:

1.9b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.9b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite271.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:
61.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
61.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
72.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
74.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.4s

Counts
4 → 12
Calls
4 calls:
429.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
429.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
255.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
264.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify103.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
03001278
18051194
237131170
350011170

prune430.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 22.7b

regimes261.0ms

Accuracy

82.2% (1.6b remaining)

Error of 22.5b against oracle of 20.9b and baseline of 29.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03522
13522

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.4s3138×body1280valid
541.0ms1627×body640valid
439.0ms1100×body10240exit
284.0ms645×body1280nan
237.0ms4707×body80valid
198.0ms643×body640nan
180.0ms853×body320valid
173.0ms4912×body80nan
63.0ms455×body160valid
61.0ms340×body320nan
21.0ms198×body160nan