Details

Time bar (total: 9.2s)

sample120.0ms

Algorithm
intervals
Results
66.0ms89×body1280valid
24.0ms62×body640valid
7.0ms72×body80valid
5.0ms20×body320valid
2.0ms13×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
4.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
41×*-un-lft-identity
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
20×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube hypot-def
distribute-lft-out sqr-pow
pow-unpow
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 118
Calls
4 calls:
78.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
32.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series400.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
95.0ms
(pow (sin kx) 2.0)
98.0ms
(pow (sin ky) 2.0)
69.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04031038
11435967
25002965

prune481.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 8.8b

localize12.0ms

Local error

Found 3 expressions with local error:

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

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

series454.0ms

Counts
3 → 9
Calls
3 calls:
104.0ms
(hypot (sin ky) (sin kx))
147.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
203.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify139.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0287725
11045645
24965644
35001644

prune294.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 8.8b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
28×add-sqr-sqrt
22×*-un-lft-identity
21×add-cube-cbrt
20×times-frac add-cbrt-cube
16×associate-*r*
13×prod-exp
12×pow1
cbrt-unprod
div-exp
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* associate-/l* unswap-sqr
associate-*r/ associate-*l/ un-div-inv *-commutative div-inv
hypot-udef pow-flip frac-2neg clear-num inv-pow
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot (sin ky) (sin kx))
35.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
5.0ms
(/ 1 (hypot (sin ky) (sin kx)))
20.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

series583.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(hypot (sin ky) (sin kx))
200.0ms
(* (* (sin ky) (/ 1 (hypot (sin ky) (sin kx)))) (sin th))
132.0ms
(/ 1 (hypot (sin ky) (sin kx)))
146.0ms
(* (sin ky) (/ 1 (hypot (sin ky) (sin kx))))

simplify49.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0389971
11695810
25001779

prune333.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 8.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
0.4b
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 152
Calls
4 calls:
26.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
2.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
2.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
2.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

series826.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
204.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
201.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
207.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify52.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02912447
19932341
250012212

prune621.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 8.8b

regimes754.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample3.7s

Algorithm
intervals
Results
2.2s2822×body1280valid
744.0ms1819×body640valid
217.0ms784×body320valid
190.0ms2229×body80valid
61.0ms346×body160valid