Details

Time bar (total: 10.8s)

sample210.0ms

Algorithm
intervals
Results
57.0ms122×body1280valid
40.0ms69×body1280nan
22.0ms55×body640nan
22.0ms30×body10240exit
21.0ms66×body640valid
9.0ms35×body320nan
8.0ms190×body80nan
7.0ms30×body320valid
4.0ms92×body80valid
1.0ms10×body160nan
1.0msbody160valid

simplify40.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: 34.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite21.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:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series475.0ms

Counts
3 → 9
Calls
3 calls:
141.0ms
(pow (+ x 1.0) (/ 1.0 n))
60.0ms
(pow x (/ 1.0 n))
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune238.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 22.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
0.0b
(pow (pow x (/ 1.0 n)) 3)
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
44×unpow-prod-down
29×pow-unpow *-un-lft-identity
27×difference-of-squares
25×add-cube-cbrt
24×cbrt-prod
23×sqr-pow
18×times-frac
16×cube-prod
add-exp-log
pow1 pow-exp add-log-exp
add-cbrt-cube
pow-to-exp
pow-pow
div-inv
cube-mult sub-neg flip3-- diff-log unpow3 flip-- distribute-lft-out distribute-lft-out-- rem-cube-cbrt
Counts
4 → 128
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
4.0ms
(pow x (/ 1.0 n))
4.0ms
(pow (pow x (/ 1.0 n)) 3)
16.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

series563.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
60.0ms
(pow x (/ 1.0 n))
84.0ms
(pow (pow x (/ 1.0 n)) 3)
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

simplify65.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06801196
124971152
250021138

prune352.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow x (/ 1.0 n)) 3)
0.0b
(exp (log (pow (pow x (/ 1.0 n)) 3)))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (exp (log (pow (pow x (/ 1.0 n)) 3)))))
5.0b
(log (pow (pow x (/ 1.0 n)) 3))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
64×unpow-prod-down log-prod
61×add-sqr-sqrt
44×exp-sum
30×cube-prod difference-of-squares
28×sqr-pow
27×cbrt-prod
22×*-un-lft-identity
20×add-cube-cbrt
add-exp-log
pow-exp
add-log-exp
rem-log-exp add-cbrt-cube
pow1 pow-to-exp exp-prod
cube-mult pow-unpow unpow3
log-pow
sub-neg flip3-- pow-pow diff-log flip-- rem-exp-log distribute-lft-out-- rem-cube-cbrt
Counts
4 → 141
Calls
4 calls:
4.0ms
(pow (pow x (/ 1.0 n)) 3)
6.0ms
(exp (log (pow (pow x (/ 1.0 n)) 3)))
23.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (exp (log (pow (pow x (/ 1.0 n)) 3)))))
5.0ms
(log (pow (pow x (/ 1.0 n)) 3))

series577.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(pow (pow x (/ 1.0 n)) 3)
90.0ms
(exp (log (pow (pow x (/ 1.0 n)) 3)))
280.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (exp (log (pow (pow x (/ 1.0 n)) 3)))))
123.0ms
(log (pow (pow x (/ 1.0 n)) 3))

simplify66.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05771626
119121488
250011422

prune444.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 21.9b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (* (log x) 1.0) (* x (pow n 2)))
3.8b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.2b
(/ (/ 0.5 n) (pow x 2))
7.2b
(* x (pow n 2))

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

series200.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011122049
150011857

prune573.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 21.8b

regimes211.0ms

Accuracy

82% (1.9b remaining)

Error of 24.0b against oracle of 22.0b and baseline of 32.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04641
14641

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3892×body1280valid
1.2s2167×body1280nan
718.0ms1801×body640nan
611.0ms1803×body640valid
577.0ms1437×body10240exit
259.0ms6260×body80nan
212.0ms871×body320nan
190.0ms881×body320valid
154.0ms3147×body80valid
66.0ms468×body160valid
62.0ms434×body160nan