Details

Time bar (total: 10.5s)

sample187.0ms

Algorithm
intervals
Results
122.0ms125×body1280valid
38.0ms67×body640valid
6.0ms16×body320valid
4.0ms37×body80valid
3.0ms11×body160valid

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

localize21.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 kx) 2.0)
0.3b
(pow (sin ky) 2.0)
4.3b
(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 kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series418.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
104.0ms
(pow (sin kx) 2.0)
103.0ms
(pow (sin ky) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03411065
11159981
25001976

prune393.0ms

Filtered
129 candidates to 87 candidates (67.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1209129
Fresh000
Picked101
Done000
Total1219130

Merged error: 0.0b

Counts
130 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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 (sin ky) (sin kx))
10.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series505.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(hypot (sin ky) (sin kx))
226.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
163.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify140.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0287725
11045645
24962644
35001644

prune250.0ms

Filtered
82 candidates to 66 candidates (80.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh718
Picked101
Done000
Total83891

Merged error: 0b

Counts
91 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx)))))
0.2b
(* (expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
0.2b
(/ (sin ky) (hypot (sin ky) (sin kx)))
1.1b
(log1p (/ (sin ky) (hypot (sin ky) (sin kx))))

rewrite15.0ms

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

series807.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx)))))
214.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
169.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
220.0ms
(log1p (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify117.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0248767
1811678
23825677
35001675

prune242.0ms

Filtered
83 candidates to 66 candidates (79.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh077
Picked011
Done000
Total83891

Merged error: 0b

Counts
91 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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 (sin ky) (sin kx))
4.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
14.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
6.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

series658.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(hypot (sin ky) (sin kx))
141.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
227.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
168.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify75.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06372121
129151881
250011782

prune445.0ms

Filtered
203 candidates to 136 candidates (67.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2021203
Fresh156
Picked101
Done011
Total2047211

Merged error: 0b

Counts
211 → 7

regimes215.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
0129
1129

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.7s3722×body1280valid
1.3s1976×body640valid
295.0ms720×body320valid
143.0ms1301×body80valid
76.0ms281×body160valid