Details

Time bar (total: 10.0s)

sample122.0ms

Algorithm
intervals
Results
48.0ms107×body1280valid
17.0ms49×body640valid
13.0ms30×body10240exit
6.0ms130×body80valid
6.0ms17×body1280nan
5.0ms129×body80nan
4.0ms21×body320valid
2.0ms13×body320nan
2.0ms18×body160valid
2.0msbody640nan
0.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: 31.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.5b
(pow x (/ 1.0 n))
0.7b
(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))
44.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series464.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476639
11600623
25001609

prune233.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 18.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3))
0.5b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ 1.0 n))
1.6b
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
47×unpow-prod-down
46×cbrt-prod
33×*-un-lft-identity
27×difference-of-squares
26×pow-unpow
25×add-cube-cbrt
23×sqr-pow
18×times-frac
17×cube-prod
pow1 add-exp-log add-log-exp
add-cbrt-cube
distribute-lft-out
pow-to-exp pow-pow pow-exp div-inv
cube-mult sub-neg flip3-- pow1/3 diff-log unpow3 flip-- rem-cbrt-cube distribute-lft-out--
Counts
4 → 126
Calls
4 calls:
9.0ms
(cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3))
2.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
100.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

series613.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3))
59.0ms
(pow x (/ 1.0 n))
139.0ms
(pow (+ x 1.0) (/ 1.0 n))
267.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

simplify58.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05961222
121121179
250011176

prune352.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.3b

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (* (log x) 1.0) (* x (pow n 2)))
1.5b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.9b
(* x (pow n 2))
9.0b
(/ (/ 0.5 n) (pow x 2))

rewrite229.0ms

Algorithm
rewrite-expression-head
Rules
189×times-frac
113×add-sqr-sqrt
103×*-un-lft-identity
98×add-cube-cbrt
46×add-exp-log unpow-prod-down
23×add-cbrt-cube
17×div-exp
16×unpow2 sqr-pow
14×associate-/l*
13×prod-exp
11×div-inv
associate-/r* add-log-exp
associate-*r*
cbrt-undiv
pow-to-exp pow-exp cbrt-unprod
pow1 frac-sub unswap-sqr
diff-log associate-*l* distribute-lft-out-- difference-of-squares
sub-neg flip3-- frac-2neg clear-num flip-- associate--r+
*-commutative associate-/l/ associate--r-
Counts
4 → 220
Calls
4 calls:
5.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
196.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
6.0ms
(* x (pow n 2))
12.0ms
(/ (/ 0.5 n) (pow x 2))

series209.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
68.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
28.0ms
(* x (pow n 2))
30.0ms
(/ (/ 0.5 n) (pow x 2))

simplify50.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011122049
150011858

prune637.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 18.3b

localize22.0ms

Local error

Found 4 expressions with local error:

9.0b
(/ (/ 0.5 n) (pow x 2))
16.8b
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
16.8b
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
16.8b
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))

rewrite562.0ms

Algorithm
rewrite-expression-head
Rules
194×times-frac
125×add-sqr-sqrt
113×*-un-lft-identity
98×add-cube-cbrt
42×unpow-prod-down
24×cbrt-prod
17×add-exp-log
15×cbrt-div
14×unpow2 sqr-pow
13×associate-/l*
12×frac-sub
10×div-inv
div-exp add-cbrt-cube distribute-lft-out-- difference-of-squares
associate-/r*
flip3-- flip--
pow1 add-log-exp
cbrt-undiv pow1/3
pow-to-exp pow-exp
frac-2neg clear-num associate-/l/
Counts
4 → 207
Calls
4 calls:
8.0ms
(/ (/ 0.5 n) (pow x 2))
179.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
182.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
182.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))

series704.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (/ 0.5 n) (pow x 2))
229.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
227.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
223.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))

simplify106.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09903317
141003120
250013105

prune901.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 18.3b

regimes263.0ms

Accuracy

82.6% (1.5b remaining)

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

bsearch148.0ms

Steps
ItersRangePoint
6
19876726218860.492
105140736935169.5
20201670204046.145
8
-1132915.5505216778
-22.912385628196162
-946530.0438019232

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04463
14463

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.4s3134×body1280valid
537.0ms1576×body640valid
459.0ms1104×body10240exit
311.0ms681×body1280nan
255.0ms4783×body80valid
212.0ms651×body640nan
183.0ms841×body320valid
178.0ms5079×body80nan
69.0ms370×body320nan
56.0ms410×body160valid
20.0ms184×body160nan