Details

Time bar (total: 5.4s)

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

sample75.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
17.0ms30×body1280nan
9.0ms71×body80overflowed
8.0ms17×body640nan
5.0ms19×body320nan
1.0msbody160nan
1.0ms11×body80invalid
1.0ms15×body80nan

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0498716
1498716

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

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
6.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))
9.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
3.0ms
(* PI n)

series52.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050082183

prune233.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1129121
Fresh011
Picked101
Done000
Total11310123

Merged error: 0.0b

Counts
123 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
358×times-frac
150×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
117×add-exp-log
90×sqrt-prod
71×unpow-prod-down sqr-pow
51×div-exp
39×prod-exp
33×pow-exp
29×associate-/l*
20×pow1
19×add-cbrt-cube
13×pow-unpow
11×pow-to-exp
pow-prod-down div-inv
associate-*l* associate-/r* cbrt-unprod
add-log-exp
cbrt-undiv pow-pow
associate-*r* *-commutative
frac-2neg clear-num associate-/l/
Counts
4 → 313
Calls
4 calls:
6.0ms
(pow (* PI (* 2.0 n)) (/ 1.0 2.0))
14.0ms
(/ (/ (pow (* PI (* 2.0 n)) (/ 1.0 2.0)) (pow (* PI (* 2.0 n)) (/ k 2.0))) (sqrt k))
5.0ms
(* PI (* 2.0 n))
5.0ms
(* PI (* 2.0 n))

series158.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
325 → 325
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0501210473

prune803.0ms

Filtered
200 candidates to 325 candidates (-62.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3214325
Fresh549
Picked011
Done000
Total3269335

Merged error: 0b

Counts
335 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* n (sqrt PI))
0.3b
(* (sqrt PI) (* 2.0 (* n (sqrt PI))))
1.0b
(sqrt PI)
1.0b
(sqrt PI)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-sqr-sqrt
15×add-exp-log add-cbrt-cube
13×sqrt-prod
11×add-cube-cbrt *-un-lft-identity
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative unswap-sqr
Counts
4 → 72
Calls
4 calls:
5.0ms
(* n (sqrt PI))
9.0ms
(* (sqrt PI) (* 2.0 (* n (sqrt PI))))
2.0ms
(sqrt PI)
2.0ms
(sqrt PI)

series8.0ms

Counts
4 → 8
Calls
4 calls:
4.0ms
(* n (sqrt PI))
3.0ms
(* (sqrt PI) (* 2.0 (* n (sqrt PI))))
0.0ms
(sqrt PI)
0.0ms
(sqrt PI)

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05276438

prune129.0ms

Filtered
52 candidates to 80 candidates (-53.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh077
Picked011
Done011
Total80989

Merged error: 0b

Counts
89 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
42×sqrt-prod
34×pow1
31×add-sqr-sqrt
21×add-exp-log associate-*l* add-cbrt-cube
20×times-frac
19×add-cube-cbrt *-un-lft-identity
15×associate-*r*
14×swap-sqr
12×pow-prod-down
10×prod-exp cbrt-unprod
sqrt-pow1 pow1/2
pow-prod-up
unpow-prod-down sqrt-div *-commutative div-inv add-log-exp unswap-sqr sqr-pow
pow-sqr
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ rem-square-sqrt
Counts
4 → 124
Calls
4 calls:
5.0ms
(* PI (* 2.0 n))
5.0ms
(* PI (* 2.0 n))
5.0ms
(* PI (* 2.0 n))
16.0ms
(* (sqrt (/ (pow (* PI (* 2.0 n)) (/ 1.0 2.0)) (* (sqrt k) (pow (* PI (* 2.0 n)) (/ k 2.0))))) (sqrt (/ (pow (* PI (* 2.0 n)) (/ 1.0 2.0)) (* (sqrt k) (pow (* PI (* 2.0 n)) (/ k 2.0))))))

series137.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
050072747

prune285.0ms

Filtered
75 candidates to 136 candidates (-81.3%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1360136
Fresh066
Picked011
Done022
Total1369145

Merged error: 0b

Counts
145 → 9

regimes131.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 (0.0ms)

IterNodesCost
01824
11824

end0.0ms

sample2.5s

Algorithm
intervals
Results
690.0ms8000×body80valid
591.0ms975×body1280nan
373.0ms847×body640nan
358.0ms2589×body80overflowed
127.0ms429×body320nan
45.0ms242×body160nan
40.0ms734×body80nan
22.0ms252×body80invalid

Profiling

Loading profile data...