Details

Time bar (total: 22.6s)

sample399.0ms

Algorithm
intervals
Results
145.0ms91×body1280valid
90.0ms28×body320valid
61.0ms58×body640valid
14.0ms64×body80valid
6.0ms15×body160valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01316
12316
23916
36816
415216
533316
6104916
7430516
done500116

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.8b

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

rewrite139.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:
69.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
18.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
36.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series719.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
177.0ms
(pow (sin kx) 2.0)
147.0ms
(pow (sin ky) 2.0)
167.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.9s

Counts
129 → 129
Iterations

Useful iterations: 3 (762.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune664.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 7.2b

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

rewrite54.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:
1.0ms
(hypot (sin ky) (sin kx))
39.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
11.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series817.0ms

Counts
3 → 9
Calls
3 calls:
170.0ms
(hypot (sin ky) (sin kx))
354.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
292.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify2.1s

Counts
82 → 82
Iterations

Useful iterations: 3 (766.0ms)

IterNodesCost
01301126
12841106
2790987
32333984
done5000984

prune421.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 7.2b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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))
24.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
9.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

series782.0ms

Counts
3 → 9
Calls
3 calls:
167.0ms
(hypot (sin ky) (sin kx))
324.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
290.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

simplify2.3s

Counts
82 → 82
Iterations

Useful iterations: 3 (886.0ms)

IterNodesCost
01211123
12521091
2774976
32468975
done5001975

prune474.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 7.2b

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

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

series1.4s

Counts
4 → 12
Calls
4 calls:
382.0ms
(* (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))) (cbrt (/ (sin ky) (hypot (sin ky) (sin kx)))))
387.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
310.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))
334.0ms
(cbrt (/ (sin ky) (hypot (sin ky) (sin kx))))

simplify4.3s

Counts
164 → 164
Iterations

Useful iterations: done (4.3s)

IterNodesCost
01713641
12903469
27553314
315503076
440463045
done50002977

prune944.0ms

Pruning

22 alts after pruning (20 fresh and 2 done)

Merged error: 7.2b

regimes18.0ms