Details

Time bar (total: 8.8s)

sample145.0ms

Algorithm
intervals
Results
47.0ms108×body1280valid
21.0ms45×body10240exit
15.0ms48×body640valid
10.0ms22×body1280nan
10.0ms160×body80nan
8.0ms25×body640nan
8.0ms157×body80valid
5.0ms23×body320valid
2.0msbody320nan
1.0msbody160valid
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: 27.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.2b
(pow x (/ 1.0 n))
1.7b
(pow (+ x 1.0) (/ 1.0 n))

rewrite50.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:
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))

series593.0ms

Counts
3 → 9
Calls
3 calls:
392.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
59.0ms
(pow x (/ 1.0 n))
142.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune237.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 19.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
0.7b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.2b
(pow x (/ 1.0 n))
1.7b
(pow (+ x 1.0) (/ 1.0 n))

rewrite145.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:
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
92.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))

series729.0ms

Counts
4 → 12
Calls
4 calls:
265.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
264.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
58.0ms
(pow x (/ 1.0 n))
141.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify47.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0541922
11760884
25002863

prune353.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 19.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* (log x) 1.0) (* x (pow n 2)))
2.0b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
8.4b
(/ (/ 0.5 n) (pow x 2))
9.2b
(* x (pow n 2))

rewrite218.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)))))
8.0ms
(/ (/ 0.5 n) (pow x 2))
6.0ms
(* x (pow n 2))

series202.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
67.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
24.0ms
(/ (/ 0.5 n) (pow x 2))
29.0ms
(* x (pow n 2))

simplify45.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011122049
150011857

prune600.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.1b

localize23.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
2.9b
(log (exp (/ 0.5 (* (pow x 2) n))))
8.2b
(* (pow x 2) n)
9.2b
(* x (pow n 2))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
21×*-un-lft-identity
14×add-exp-log add-cube-cbrt
11×associate-*r* associate-*l*
log-pow
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
exp-prod
pow1 log-prod times-frac prod-exp
associate--r+ distribute-lft-out--
unpow2 sqr-pow
diff-log associate--l+ difference-of-squares
pow-to-exp sub-neg flip3-- pow-exp *-commutative frac-sub flip-- cbrt-unprod
rem-log-exp div-inv associate--r-
Counts
4 → 100
Calls
4 calls:
91.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
4.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
5.0ms
(* (pow x 2) n)
6.0ms
(* x (pow n 2))

series138.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
22.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
20.0ms
(* (pow x 2) n)
29.0ms
(* x (pow n 2))

simplify73.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0514973
12276880
25001868

prune348.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 19.1b

regimes328.0ms

Accuracy

83.1% (1.5b remaining)

Error of 22.0b against oracle of 20.5b and baseline of 29.5b

bsearch206.0ms

Steps
ItersRangePoint
10
1.7888545263047805e-09
29129170.846978452
1358332.5394366088
11
-13600.963204601821
-3.148161800826367e-19
-13450.546323696572

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04134
14134

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.5s3193×body1280valid
510.0ms1496×body640valid
493.0ms1155×body10240exit
282.0ms620×body1280nan
246.0ms4707×body80valid
225.0ms682×body640nan
189.0ms865×body320valid
182.0ms4992×body80nan
60.0ms435×body160valid
60.0ms312×body320nan
19.0ms177×body160nan