Details

Time bar (total: 10.0s)

sample191.0ms

Algorithm
intervals
Results
65.0ms117×body1280valid
25.0ms39×body10240exit
21.0ms48×body640valid
15.0ms155×body80valid
14.0ms197×body80nan
13.0ms23×body640nan
9.0ms18×body1280nan
5.0ms16×body320valid
4.0ms15×body320nan
2.0ms13×body160valid
0.0msbody160nan

simplify35.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: 29.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.7b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(- (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))
8.0ms
(pow (+ x 1.0) (/ 1.0 n))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series461.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(pow x (/ 1.0 n))
142.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

prune231.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 18.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
0.7b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
3.0b
(- (* (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (+ x 1.0) (/ (/ 1.0 n) 2))) (pow x (/ 1.0 n)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
99×pow-unpow
88×*-un-lft-identity
86×add-sqr-sqrt
84×add-cube-cbrt
12×unpow-prod-down
div-inv
pow1 add-exp-log
add-log-exp
add-cbrt-cube sqr-pow
pow-to-exp pow-pow pow-exp difference-of-squares
distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 158
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
11.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
14.0ms
(- (* (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (+ x 1.0) (/ (/ 1.0 n) 2))) (pow x (/ 1.0 n)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(pow x (/ 1.0 n))
146.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
148.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
358.0ms
(- (* (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (+ x 1.0) (/ (/ 1.0 n) 2))) (pow x (/ 1.0 n)))

simplify72.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07391310
128791227
250011222

prune548.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 18.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (* (log x) 1.0) (* x (pow n 2)))
2.8b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.7b
(* x (pow n 2))
9.7b
(/ (/ 0.5 n) (pow x 2))

rewrite217.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)))
188.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))

series203.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
66.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
29.0ms
(* x (pow n 2))
26.0ms
(/ (/ 0.5 n) (pow x 2))

simplify46.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011122049
150011858

prune588.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 18.4b

localize23.0ms

Local error

Found 4 expressions with local error:

2.4b
(log (exp (/ 0.5 (* (pow x 2) n))))
2.8b
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.7b
(* x (pow n 2))
9.7b
(* (pow x 2) n)

rewrite107.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:
4.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
89.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
5.0ms
(* x (pow n 2))
6.0ms
(* (pow x 2) n)

series140.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
64.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
32.0ms
(* x (pow n 2))
18.0ms
(* (pow x 2) n)

simplify73.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0514973
12276880
25001868

prune341.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 18.4b

regimes193.0ms

Accuracy

81.5% (1.7b remaining)

Error of 22.9b against oracle of 21.3b and baseline of 30.3b

bsearch244.0ms

Steps
ItersRangePoint
9
0.24914757354793585
16478977.782200867
7221255.7902708035
11
-897362988193.2484
-1.3005244035742512e-14
-27760508.405810945

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05240
15240

end0.0ms

sample5.5s

Algorithm
intervals
Results
1.8s3253×body1280valid
709.0ms1632×body640valid
582.0ms1111×body10240exit
447.0ms4572×body80valid
372.0ms637×body1280nan
367.0ms5135×body80nan
263.0ms876×body320valid
254.0ms606×body640nan
104.0ms380×body320nan
93.0ms451×body160valid
32.0ms183×body160nan