Details

Time bar (total: 8.3s)

sample113.0ms

Algorithm
intervals
Results
61.0ms89×body1280valid
23.0ms58×body640valid
7.0ms26×body320valid
6.0ms72×body80valid
2.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.7b

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)))) (sin th))
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)))

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

series420.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
99.0ms
(pow (sin kx) 2.0)
103.0ms
(pow (sin ky) 2.0)
72.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04031038
11435967
25002965

prune486.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 7.1b

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

series491.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(hypot (sin ky) (sin kx))
156.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
218.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify138.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24965644
35001644

prune289.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 7.1b

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

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

series523.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(hypot (sin ky) (sin kx))
198.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
211.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

prune296.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 7.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

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

series832.0ms

Counts
4 → 12
Calls
4 calls:
217.0ms
(expm1 (* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th)))
223.0ms
(log1p (expm1 (* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))))
163.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
228.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify132.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0289918
11007820
24572819
35001818

prune317.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 7.1b

regimes543.0ms

Accuracy

0% (0.2b remaining)

Error of 8.5b against oracle of 8.3b and baseline of 8.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.9s2713×body1280valid
786.0ms1864×body640valid
207.0ms2351×body80valid
196.0ms748×body320valid
57.0ms324×body160valid