Details

Time bar (total: 9.4s)

sample139.0ms

Algorithm
intervals
Results
84.0ms103×body1280valid
24.0ms52×body640valid
9.0ms75×body80valid
6.0ms17×body320valid
2.0msbody160valid

simplify50.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: 9.6b

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)))) (sin th))
0.2b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite72.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:
48.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
1.0ms
(pow (sin ky) 2.0)
1.0ms
(pow (sin kx) 2.0)
17.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
106.0ms
(pow (sin ky) 2.0)
103.0ms
(pow (sin kx) 2.0)
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04031038
11435967
25002965

prune497.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 7.2b

localize11.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.2b
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

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:
0.0ms
(hypot (sin ky) (sin kx))
3.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
9.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

series502.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(hypot (sin ky) (sin kx))
165.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
222.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify142.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24965644
35001644

prune317.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 7.2b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.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
log1p-expm1-u
expm1-log1p-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:
0.0ms
(log1p (expm1 (/ (sin ky) (hypot (sin ky) (sin kx)))))
3.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
3.0ms
(* (log1p (expm1 (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
0.0ms
(expm1 (/ (sin ky) (hypot (sin ky) (sin kx))))

series796.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(log1p (expm1 (/ (sin ky) (hypot (sin ky) (sin kx)))))
159.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
221.0ms
(* (log1p (expm1 (/ (sin ky) (hypot (sin ky) (sin kx))))) (sin th))
208.0ms
(expm1 (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify116.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0253765
1833670
23899669
35001668

prune336.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 7.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (sin th) (hypot (sin ky) (sin kx)))
0.2b
(* (sin ky) (/ (sin th) (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-*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:
0.0ms
(hypot (sin ky) (sin kx))
3.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
12.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))

series527.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258719
11032641
25002641

prune241.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 7.2b

regimes963.0ms

Accuracy

0% (0.2b remaining)

Error of 8.9b against oracle of 8.7b and baseline of 8.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.3s2755×body1280valid
913.0ms1804×body640valid
319.0ms2362×body80valid
250.0ms727×body320valid
85.0ms352×body160valid