Details

Time bar (total: 9.0s)

sample104.0ms

Algorithm
intervals
Results
48.0ms72×body1280valid
21.0ms56×body640valid
11.0ms90×body80valid
7.0ms26×body320valid
2.0ms12×body160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.5b

localize15.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.2b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite81.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:
37.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.0ms
(pow (sin ky) 2.0)
4.0ms
(pow (sin kx) 2.0)
34.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series432.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
105.0ms
(pow (sin ky) 2.0)
112.0ms
(pow (sin kx) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03411065
11159981
25001976

prune441.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 11.0b

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)))

rewrite29.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:
0.0ms
(hypot (sin ky) (sin kx))
18.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
8.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series541.0ms

Counts
3 → 9
Calls
3 calls:
122.0ms
(hypot (sin ky) (sin kx))
242.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
177.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify145.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24962644
35001644

prune288.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 11.0b

localize17.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)))

rewrite65.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:
0.0ms
(hypot (sin ky) (sin kx))
8.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
37.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
11.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

series691.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(hypot (sin ky) (sin kx))
150.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
242.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
174.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify76.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06372121
129151881
250011782

prune551.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 11.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
81×add-exp-log
68×times-frac
44×add-sqr-sqrt
38×*-un-lft-identity
37×add-cube-cbrt div-exp
32×add-cbrt-cube
27×prod-exp
26×associate-*l*
15×1-exp
12×cbrt-undiv
10×associate-/r* div-inv
rec-exp
pow1 cbrt-unprod
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
associate-*r* unswap-sqr
frac-2neg clear-num associate-/r/
hypot-udef pow-flip pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 156
Calls
4 calls:
0.0ms
(hypot (sin ky) (sin kx))
10.0ms
(/ (* 1 (hypot (sin ky) (sin kx))) (sin ky))
48.0ms
(* (/ 1 (/ (* 1 (hypot (sin ky) (sin kx))) (sin ky))) (sin th))
14.0ms
(/ 1 (/ (* 1 (hypot (sin ky) (sin kx))) (sin ky)))

series687.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(hypot (sin ky) (sin kx))
148.0ms
(/ (* 1 (hypot (sin ky) (sin kx))) (sin ky))
243.0ms
(* (/ 1 (/ (* 1 (hypot (sin ky) (sin kx))) (sin ky))) (sin th))
176.0ms
(/ 1 (/ (* 1 (hypot (sin ky) (sin kx))) (sin ky)))

simplify59.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05851625
124241340
250011269

prune368.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 11.0b

regimes551.0ms

Accuracy

0% (0.2b remaining)

Error of 9.0b against oracle of 8.8b and baseline of 9.0b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1189
2189

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.9s2665×body1280valid
756.0ms1832×body640valid
385.0ms2388×body80valid
204.0ms747×body320valid
65.0ms368×body160valid