Details

Time bar (total: 5.9s)

analyze395.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
12.5%37.5%50%5
15.6%31.2%53.2%6
17.2%26.5%56.3%7
18%22.6%59.4%8
18.3%19.9%61.8%9
18.5%17.8%63.7%10
18.6%16.3%65.1%11
18.7%15.2%66.1%12
18.7%14.4%66.9%13
18.7%13.8%67.4%14

sample81.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
17.0ms29×body1280nan
13.0ms31×body640nan
9.0ms66×body80overflowed
5.0ms15×body320nan
1.0ms26×body80nan
1.0ms13×body80invalid
1.0msbody160nan

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0498716
1498716

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
41×add-sqr-sqrt
39×*-un-lft-identity
33×add-cube-cbrt
23×add-exp-log
19×pow-unpow
18×sqrt-prod
11×pow1
unpow-prod-down sqr-pow
prod-exp add-cbrt-cube
pow-exp associate-/r*
div-exp associate-/l*
pow-prod-down
pow-pow associate-*r* associate-*l* distribute-lft-out-- add-log-exp difference-of-squares
pow-to-exp div-sub div-inv pow-sub
cbrt-undiv frac-2neg clear-num *-commutative cbrt-unprod associate-/l/ unswap-sqr
Counts
3 → 112
Calls
3 calls:
9.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
3.0ms
(* PI n)
6.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))

series257.0ms

Counts
3 → 9
Calls
3 calls:
222.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
2.0ms
(* PI n)
33.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))

simplify56.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050082183

prune217.0ms

Filtered
80 candidates to 121 candidates (-51.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1147121
Fresh011
Picked101
Done000
Total1158123

Merged error: 0.0b

Counts
123 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
121×add-exp-log
63×prod-exp
36×pow-exp
30×div-exp
21×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
14×pow1 times-frac
13×pow-unpow add-cbrt-cube
12×pow-to-exp
associate-*r* associate-*l*
pow-prod-down associate-/l*
add-log-exp
unpow-prod-down pow-pow cbrt-unprod sqr-pow
cbrt-undiv *-commutative div-inv unswap-sqr
frac-2neg clear-num associate-/r*
Counts
4 → 118
Calls
4 calls:
6.0ms
(pow (* 2.0 (* PI n)) (/ 1.0 2.0))
3.0ms
(* PI n)
3.0ms
(* PI n)
9.0ms
(/ (pow (* 2.0 (* PI n)) (/ 1.0 2.0)) (* (sqrt k) (pow (* 2.0 (* PI n)) (/ k 2.0))))

series163.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (* 2.0 (* PI n)) (/ 1.0 2.0))
2.0ms
(* PI n)
2.0ms
(* PI n)
133.0ms
(/ (pow (* 2.0 (* PI n)) (/ 1.0 2.0)) (* (sqrt k) (pow (* 2.0 (* PI n)) (/ k 2.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049722036
149722036

prune199.0ms

Filtered
71 candidates to 130 candidates (-83.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1273130
Fresh347
Picked011
Done000
Total1308138

Merged error: 0b

Counts
138 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
375×add-exp-log
194×prod-exp
142×div-exp
102×pow-exp
34×pow-to-exp
33×add-sqr-sqrt times-frac
31×rec-exp 1-exp
29×add-cube-cbrt *-un-lft-identity
19×add-cbrt-cube
18×sqrt-prod
pow1 associate-/l*
unpow-prod-down sqr-pow
associate-*r* associate-*l* associate-/r*
cbrt-undiv
cbrt-unprod add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv unswap-sqr
pow-flip associate-*l/ associate-/r/ inv-pow
Counts
4 → 209
Calls
4 calls:
13.0ms
(/ 1 (* (/ (sqrt k) (pow (* 2.0 (* PI n)) (/ 1.0 2.0))) (pow (* 2.0 (* PI n)) (/ k 2.0))))
3.0ms
(* PI n)
3.0ms
(* PI n)
6.0ms
(/ (sqrt k) (pow (* 2.0 (* PI n)) (/ 1.0 2.0)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(/ 1 (* (/ (sqrt k) (pow (* 2.0 (* PI n)) (/ 1.0 2.0))) (pow (* 2.0 (* PI n)) (/ k 2.0))))
2.0ms
(* PI n)
2.0ms
(* PI n)
82.0ms
(/ (sqrt k) (pow (* 2.0 (* PI n)) (/ 1.0 2.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053094094

prune244.0ms

Filtered
85 candidates to 221 candidates (-160.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2210221
Fresh066
Picked011
Done011
Total2218229

Merged error: 0b

Counts
229 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
335×add-exp-log
170×add-sqr-sqrt
167×times-frac
154×prod-exp
146×div-exp
110×pow-exp
76×add-cube-cbrt *-un-lft-identity
61×sqr-pow
60×sqrt-prod
59×unpow-prod-down
58×pow-to-exp
52×associate-*l*
37×unswap-sqr
35×associate-*r*
22×add-cbrt-cube
10×pow1
associate-/l*
associate-/r* cbrt-unprod
cbrt-undiv
add-log-exp
pow-prod-down *-commutative div-inv
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 315
Calls
4 calls:
34.0ms
(* (/ (pow 2.0 (/ 1.0 2.0)) (sqrt k)) (/ (pow (* PI n) (/ 1.0 2.0)) (pow (* 2.0 (* PI n)) (/ k 2.0))))
4.0ms
(* PI n)
3.0ms
(* PI n)
6.0ms
(/ (pow 2.0 (/ 1.0 2.0)) (sqrt k))

series175.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (/ (pow 2.0 (/ 1.0 2.0)) (sqrt k)) (/ (pow (* PI n) (/ 1.0 2.0)) (pow (* 2.0 (* PI n)) (/ k 2.0))))
2.0ms
(* PI n)
2.0ms
(* PI n)
42.0ms
(/ (pow 2.0 (/ 1.0 2.0)) (sqrt k))

simplify93.0ms

Algorithm
egg-herbie
Counts
327 → 327
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
052198512

prune757.0ms

Filtered
170 candidates to 327 candidates (-92.4%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New3270327
Fresh055
Picked011
Done022
Total3278335

Merged error: 0b

Counts
335 → 8

regimes119.0ms

Accuracy

0% (0.4b 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 (1.0ms)

IterNodesCost
01924
11924

end0.0ms

sample2.5s

Algorithm
intervals
Results
713.0ms8000×body80valid
591.0ms973×body1280nan
370.0ms849×body640nan
324.0ms2407×body80overflowed
129.0ms421×body320nan
43.0ms745×body80nan
33.0ms193×body160nan
22.0ms241×body80invalid

Profiling

Loading profile data...