Details

Time bar (total: 11.0s)

sample156.0ms

Algorithm
intervals
Results
91.0ms120×body1280valid
34.0ms59×body640valid
10.0ms32×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.6b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
4.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
39×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
22×unpow-prod-down
10×distribute-lft-out
hypot-def
add-exp-log associate-/r* sqr-pow
pow1
pow-unpow add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 117
Calls
4 calls:
11.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series422.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
109.0ms
(pow (sin ky) 2.0)
103.0ms
(pow (sin kx) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03411065
11159981
25001976

prune433.0ms

Filtered
129 candidates to 87 candidates (67.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11910129
Fresh000
Picked101
Done000
Total12010130

Merged error: 0.0b

Counts
130 → 10

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.1b
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
0.2b
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
hypot-udef frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 73
Calls
3 calls:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
7.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
4.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

series985.0ms

Counts
3 → 9
Calls
3 calls:
253.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
349.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
383.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02951114
11091988
25001986

prune329.0ms

Filtered
82 candidates to 66 candidates (80.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh729
Picked101
Done000
Total83992

Merged error: 0b

Counts
92 → 9

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.2b
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
0.2b
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
hypot-udef frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 73
Calls
3 calls:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
4.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
8.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series956.0ms

Counts
3 → 9
Calls
3 calls:
253.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
331.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
371.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02911109
11164984
25001983

prune346.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh088
Picked011
Done000
Total82991

Merged error: 0b

Counts
91 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.1b
(* (/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))) (sin th))
0.2b
(/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))
0.2b
(/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
104×add-sqr-sqrt
92×*-un-lft-identity
90×add-cube-cbrt
44×associate-*l*
36×add-exp-log
20×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
pow1 cbrt-undiv prod-exp
associate-/l*
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
associate-*r* cbrt-unprod
frac-2neg clear-num associate-/r/
hypot-udef pow-flip pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 191
Calls
4 calls:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
13.0ms
(* (/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))) (sin th))
4.0ms
(/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))
6.0ms
(/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky)))

series1.2s

Counts
4 → 12
Calls
4 calls:
248.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
356.0ms
(* (/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))) (sin th))
283.0ms
(/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky))
286.0ms
(/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin ky)))

simplify88.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06933162
131342842
250012742

prune779.0ms

Filtered
203 candidates to 137 candidates (67.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1994203
Fresh437
Picked011
Done011
Total2039212

Merged error: 0b

Counts
212 → 9

regimes273.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01411

end0.0ms

sample4.7s

Algorithm
intervals
Results
3.1s3743×body1280valid
951.0ms1949×body640valid
244.0ms741×body320valid
130.0ms1282×body80valid
85.0ms285×body160valid