Details

Time bar (total: 9.1s)

sample122.0ms

Algorithm
intervals
Results
68.0ms90×body1280valid
26.0ms68×body640valid
6.0ms23×body320valid
6.0ms68×body80valid
1.0msbody160valid

simplify50.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110
done500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

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

rewrite126.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:
81.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
4.0ms
(pow (sin kx) 2.0)
7.0ms
(pow (sin ky) 2.0)
30.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
101.0ms
(pow (sin kx) 2.0)
102.0ms
(pow (sin ky) 2.0)
81.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify42.0ms

Counts
130 → 130
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04031038
11435967
25002965
done5002965

prune463.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 7.3b

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

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

series534.0ms

Counts
3 → 9
Calls
3 calls:
126.0ms
(hypot (sin ky) (sin kx))
169.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
239.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify136.0ms

Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24965644
35001644
done5001644

prune280.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 7.3b

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac prod-exp
pow1
cbrt-unprod
expm1-log1p-u div-exp associate-*r* pow-prod-down associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv 1-exp
hypot-udef frac-2neg associate-*r/ associate-*l* associate-*l/ clear-num *-commutative div-inv
Counts
3 → 64
Calls
3 calls:
0.0ms
(hypot (sin ky) (sin kx))
8.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
31.0ms
(* (* 1 (/ (sin ky) (hypot (sin ky) (sin kx)))) (sin th))

series537.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(hypot (sin ky) (sin kx))
169.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
243.0ms
(* (* 1 (/ (sin ky) (hypot (sin ky) (sin kx)))) (sin th))

simplify36.0ms

Counts
73 → 73
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0312659
11144556
25001556
done5001556

prune251.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 7.3b

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

rewrite43.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:
29.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))))
3.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
3.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

series944.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
236.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
231.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
227.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify48.0ms

Counts
164 → 164
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02912447
19932341
250012212
done50012212

prune601.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 7.3b

regimes810.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02541
12541
done2541

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.9s2719×body1280valid
760.0ms1892×body640valid
216.0ms760×body320valid
202.0ms2287×body80valid
65.0ms342×body160valid