Details

Time bar (total: 10.3s)

sample147.0ms

Algorithm
intervals
Results
53.0ms118×body1280valid
22.0ms34×body10240exit
13.0ms45×body640valid
10.0ms22×body1280nan
8.0ms154×body80valid
7.0ms20×body640nan
6.0ms166×body80nan
4.0ms19×body320valid
2.0ms14×body160valid
2.0msbody320nan
0.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: 31.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.7b
(pow x (/ 1.0 n))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite90.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))
73.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))

series438.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune235.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow x (/ 1.0 n))
1.4b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite253.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))
158.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
76.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))

series704.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(pow x (/ 1.0 n))
259.0ms
(log (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)))
137.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify48.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0541922
11758884
25002863

prune353.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
26×pow-unpow
24×add-sqr-sqrt add-cube-cbrt
18×times-frac
16×log-prod
10×cbrt-prod
pow1 add-exp-log unpow-prod-down
exp-sum log-pow add-cbrt-cube add-log-exp
pow-to-exp sub-neg log-div cbrt-div pow-pow exp-diff pow1/3 rem-log-exp pow-exp div-inv distribute-lft-out sqr-pow
Counts
4 → 94
Calls
4 calls:
63.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
63.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
14.0ms
(pow (+ x 1.0) (/ 1.0 n))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))

series1.1s

Counts
4 → 12
Calls
4 calls:
424.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
425.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
134.0ms
(pow (+ x 1.0) (/ 1.0 n))
141.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify43.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0321962
11037892
25001878

prune463.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 21.1b

localize20.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
33×*-un-lft-identity
26×pow-unpow
22×add-cube-cbrt
18×unpow-prod-down times-frac
difference-of-squares
log-prod sqr-pow
pow1 add-exp-log
add-log-exp
cbrt-prod
add-cbrt-cube
distribute-lft-out distribute-lft-out--
pow-to-exp sub-neg pow-pow exp-sum pow-exp log-pow div-inv
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip--
Counts
4 → 99
Calls
4 calls:
74.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
63.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series971.0ms

Counts
4 → 12
Calls
4 calls:
262.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
426.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
143.0ms
(pow (+ x 1.0) (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify45.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0437967
11366921
25001905

prune439.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 21.1b

regimes283.0ms

Accuracy

80.8% (1.8b remaining)

Error of 21.9b against oracle of 20.1b and baseline of 29.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05165
15165

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s3151×body1280valid
546.0ms1640×body640valid
488.0ms1186×body10240exit
275.0ms627×body1280nan
258.0ms4753×body80valid
208.0ms645×body640nan
185.0ms833×body320valid
181.0ms5039×body80nan
69.0ms368×body320nan
57.0ms426×body160valid
20.0ms174×body160nan