Details

Time bar (total: 14.5s)

sample166.0ms

Algorithm
intervals
Results
62.0ms107×body1280valid
22.0ms49×body640valid
19.0ms30×body10240exit
12.0ms17×body1280nan
10.0ms130×body80valid
8.0ms129×body80nan
6.0ms21×body320valid
3.0ms13×body320nan
3.0ms18×body160valid
3.0msbody640nan
0.0msbody160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune5.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)))

rewrite52.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))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series70.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
41.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 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune616.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 18.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow x (/ 1.0 n))
0.5b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ 1.0 n))
3.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
30×add-sqr-sqrt *-un-lft-identity
28×add-cube-cbrt
27×times-frac
11×unpow-prod-down
pow1 add-exp-log
add-log-exp
add-cbrt-cube sqr-pow
pow-to-exp pow-pow pow-exp div-inv difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out
Counts
4 → 97
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
2.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
37.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

series82.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(pow x (/ 1.0 n))
11.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
42.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0467757
11627722
25001697

prune943.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 18.4b

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))

rewrite223.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)))
190.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))
8.0ms
(/ (/ 0.5 n) (pow x 2))

series44.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
16.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.0ms
(* x (pow n 2))
7.0ms
(/ (/ 0.5 n) (pow x 2))

simplify47.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011122049
150011858

prune1.8s

Pruning

10 alts after pruning (9 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))))))

rewrite682.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))
176.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
309.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
178.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))

series184.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (/ 0.5 n) (pow x 2))
59.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
57.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))
61.0ms
(cbrt (- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2))))))

simplify104.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09903317
141003120
250013105

prune3.0s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 18.3b

regimes641.0ms

Accuracy

82.5% (1.5b remaining)

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

bsearch122.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
04366
14366

end0.0ms

sample5.4s

Algorithm
intervals
Results
1.8s3134×body1280valid
704.0ms1576×body640valid
639.0ms1104×body10240exit
410.0ms681×body1280nan
380.0ms4783×body80valid
321.0ms5079×body80nan
282.0ms651×body640nan
255.0ms841×body320valid
100.0ms370×body320nan
81.0ms410×body160valid
30.0ms184×body160nan