Details

Time bar (total: 12.1s)

sample146.0ms

Algorithm
intervals
Results
48.0ms863×body80nan
22.0ms65×body1280nan
20.0ms324×body80valid
17.0ms50×body640nan
6.0ms33×body320nan
2.0ms14×body160nan

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 PI) n)
0.2b
(/ 1.0 (sqrt k))
0.3b
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
0.3b
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
55×times-frac
49×*-un-lft-identity
46×add-exp-log
43×add-cube-cbrt
23×associate-*l* sqrt-prod
22×prod-exp
19×pow-unpow
16×add-cbrt-cube
15×pow1
pow-exp
associate-*r*
div-exp pow-prod-down associate-/r* unswap-sqr
cbrt-unprod sqr-pow
add-log-exp
pow-to-exp pow-pow div-sub div-inv associate-/l* distribute-lft-out-- pow-sub difference-of-squares
cbrt-undiv unpow-prod-down *-commutative
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 149
Calls
4 calls:
6.0ms
(* (* 2.0 PI) n)
3.0ms
(/ 1.0 (sqrt k))
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
17.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))

series537.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* 2.0 PI) n)
44.0ms
(/ 1.0 (sqrt k))
137.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
325.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))

simplify100.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09501461
139241358
250011344

prune435.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
0.2b
(* (* 2.0 PI) n)
0.2b
(* (* 2.0 PI) n)
0.2b
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
176×add-exp-log
105×prod-exp
39×pow-exp
36×div-exp
26×add-cbrt-cube
20×pow1
13×add-sqr-sqrt pow-to-exp add-cube-cbrt pow-unpow *-un-lft-identity
10×times-frac cbrt-unprod
pow-prod-down
associate-*r*
cbrt-undiv add-log-exp
pow-pow
associate-*l* *-commutative div-inv
unpow-prod-down frac-2neg clear-num associate-/r* associate-/l* sqr-pow
Counts
4 → 118
Calls
4 calls:
7.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
6.0ms
(* (* 2.0 PI) n)
7.0ms
(* (* 2.0 PI) n)
10.0ms
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))

series1.2s

Counts
4 → 12
Calls
4 calls:
262.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
31.0ms
(* (* 2.0 PI) n)
30.0ms
(* (* 2.0 PI) n)
883.0ms
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))

simplify100.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09161358
139521199
250011199

prune285.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))))
0.2b
(/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))))
0.2b
(* (* 2.0 PI) n)
0.2b
(* (* 2.0 PI) n)

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
678×add-exp-log
390×prod-exp
218×div-exp
144×pow-exp
48×pow-to-exp
44×add-cbrt-cube
37×rec-exp 1-exp
20×times-frac
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×pow1
14×cbrt-unprod
13×cbrt-undiv
associate-*r* pow-prod-down associate-/r* div-inv
associate-/l* add-log-exp
frac-2neg associate-*l* clear-num *-commutative
pow-flip associate-/r/ inv-pow
Counts
4 → 241
Calls
4 calls:
17.0ms
(/ 1 (/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))))
10.0ms
(/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))))
6.0ms
(* (* 2.0 PI) n)
7.0ms
(* (* 2.0 PI) n)

series1.8s

Counts
4 → 12
Calls
4 calls:
901.0ms
(/ 1 (/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))))
809.0ms
(/ (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))) (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))))
37.0ms
(* (* 2.0 PI) n)
32.0ms
(* (* 2.0 PI) n)

simplify68.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013743795
150023501

prune343.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 PI) n)
0.2b
(/ (* 1.0 (* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
0.5b
(* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))
1.0b
(pow (* 2.0 PI) (/ 1.0 2.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
424×add-exp-log
299×prod-exp
114×pow-exp
84×div-exp
64×pow-to-exp
32×add-cbrt-cube
22×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
13×pow-unpow cbrt-unprod
12×pow1
10×times-frac associate-*r*
sqr-pow
unpow-prod-down
cbrt-undiv associate-*l* unswap-sqr
pow-prod-down
add-log-exp
pow-pow *-commutative div-inv
frac-2neg clear-num associate-/r* associate-/l*
Counts
4 → 188
Calls
4 calls:
6.0ms
(* (* 2.0 PI) n)
16.0ms
(/ (* 1.0 (* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
8.0ms
(* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))
3.0ms
(pow (* 2.0 PI) (/ 1.0 2.0))

series1.9s

Counts
4 → 10
Calls
4 calls:
30.0ms
(* (* 2.0 PI) n)
971.0ms
(/ (* 1.0 (* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
935.0ms
(* (pow (* 2.0 PI) (/ 1.0 2.0)) (pow n (/ 1.0 2.0)))
0.0ms
(pow (* 2.0 PI) (/ 1.0 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011302510
150012294

prune338.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes124.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02313
12313

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.5s26685×body80nan
712.0ms1982×body1280nan
668.0ms10557×body80valid
470.0ms1720×body640nan
158.0ms833×body320nan
51.0ms437×body160nan