Details

Time bar (total: 6.2s)

analyze406.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

sample89.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
20.0ms33×body1280nan
14.0ms31×body640nan
12.0ms87×body80overflowed
4.0ms15×body320nan
1.0msbody160nan
1.0ms21×body80nan
1.0msbody80invalid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0498716
1498716

prune11.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

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.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:
10.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
11.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))
4.0ms
(* PI n)

series50.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050082183

prune246.0ms

Filtered
82 candidates to 121 candidates (-47.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11110121
Fresh101
Picked101
Done000
Total11310123

Merged error: 0.0b

Counts
123 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
270×times-frac
143×add-sqr-sqrt *-un-lft-identity
137×add-cube-cbrt
78×sqrt-prod
72×add-exp-log
40×associate-/r*
32×unpow-prod-down div-exp sqr-pow
19×pow-unpow
18×prod-exp
16×pow1 add-cbrt-cube
15×pow-exp
associate-/l*
div-inv
rec-exp 1-exp div-sub pow-prod-down associate-/r/ pow-sub
pow-to-exp
cbrt-undiv add-log-exp
pow-pow associate-*l* cbrt-unprod distribute-lft-out-- difference-of-squares
frac-2neg clear-num
pow-flip associate-*r* *-commutative inv-pow
Counts
4 → 288
Calls
4 calls:
12.0ms
(pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0))
12.0ms
(/ 1 (/ (sqrt k) (pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0))))
6.0ms
(/ (sqrt k) (pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0)))
5.0ms
(* PI (* 2.0 n))

series134.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0))
50.0ms
(/ 1 (/ (sqrt k) (pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0))))
64.0ms
(/ (sqrt k) (pow (* PI (* 2.0 n)) (/ (- 1.0 k) 2.0)))
4.0ms
(* PI (* 2.0 n))

simplify88.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
056527200

prune512.0ms

Filtered
162 candidates to 300 candidates (-85.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2973300
Fresh369
Picked101
Done000
Total3019310

Merged error: 0b

Counts
310 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
627×add-exp-log
386×div-exp
241×prod-exp
161×add-sqr-sqrt
157×times-frac
143×pow-exp
111×rec-exp 1-exp
102×pow-to-exp
87×*-un-lft-identity
66×add-cube-cbrt
47×sqrt-prod
41×sqr-pow
36×add-cbrt-cube
35×unpow-prod-down associate-*r* unswap-sqr
26×associate-*l*
19×pow-unpow
14×cbrt-undiv
10×pow1
associate-/l*
cbrt-unprod
associate-/r* associate-/r/
div-inv
div-sub pow-sub add-log-exp
distribute-lft-out-- difference-of-squares
frac-times pow-flip frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num
pow-pow *-commutative inv-pow
Counts
4 → 434
Calls
4 calls:
28.0ms
(* (/ 1 (pow PI (/ (- 1.0 k) 2.0))) (/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0))))
17.0ms
(/ 1 (* (/ 1 (pow PI (/ (- 1.0 k) 2.0))) (/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0)))))
6.0ms
(/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0)))
6.0ms
(pow PI (/ (- 1.0 k) 2.0))

series311.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(* (/ 1 (pow PI (/ (- 1.0 k) 2.0))) (/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0))))
94.0ms
(/ 1 (* (/ 1 (pow PI (/ (- 1.0 k) 2.0))) (/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0)))))
61.0ms
(/ (sqrt k) (pow (* 2.0 n) (/ (- 1.0 k) 2.0)))
4.0ms
(pow PI (/ (- 1.0 k) 2.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
446 → 446
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0531510890

prune663.0ms

Filtered
167 candidates to 446 candidates (-167.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4451446
Fresh178
Picked011
Done000
Total4469455

Merged error: 0b

Counts
455 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
87×times-frac
59×*-un-lft-identity
54×add-exp-log
53×add-cube-cbrt
39×sqrt-prod
37×associate-*r*
26×sqr-pow
22×unpow-prod-down
21×prod-exp
19×pow-unpow
16×div-exp unswap-sqr
15×pow-exp
13×add-cbrt-cube
10×pow-to-exp associate-*l*
pow1
associate-/r*
associate-/l*
div-sub pow-sub add-log-exp
cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
cbrt-undiv pow-pow pow-prod-down *-commutative
frac-times frac-2neg associate-*r/ associate-*l/ clear-num associate-/l/
Counts
4 → 193
Calls
4 calls:
7.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
6.0ms
(/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k))
3.0ms
(* PI n)
19.0ms
(* (pow 2.0 (/ (- 1.0 k) 2.0)) (/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
28.0ms
(/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k))
2.0ms
(* PI n)
96.0ms
(* (pow 2.0 (/ (- 1.0 k) 2.0)) (/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k)))

simplify57.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
056524475

prune372.0ms

Filtered
131 candidates to 205 candidates (-56.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh077
Picked011
Done011
Total2059214

Merged error: 0b

Counts
214 → 9

regimes132.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03026
13026

end0.0ms

sample2.5s

Algorithm
intervals
Results
705.0ms8000×body80valid
611.0ms1022×body1280nan
373.0ms856×body640nan
334.0ms2461×body80overflowed
103.0ms348×body320nan
44.0ms743×body80nan
37.0ms216×body160nan
20.0ms226×body80invalid

Profiling

Loading profile data...