Details

Time bar (total: 26.9s)

sample230.0ms

Algorithm
intervals
Results
78.0ms64×body640valid
74.0ms83×body1280valid
9.0ms26×body320valid
9.0ms76×body80valid
2.0msbody160valid

simplify1.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01316
12316
23916
36816
415616
565316
done500016

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.4b

localize42.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 kx) 2.0)
0.2b
(pow (sin ky) 2.0)
2.9b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite236.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:
152.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
11.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
58.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series696.0ms

Counts
4 → 12
Calls
4 calls:
241.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
152.0ms
(pow (sin kx) 2.0)
160.0ms
(pow (sin ky) 2.0)
143.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.2s

Counts
130 → 130
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01881736
14621637
219051529
done50001528

prune842.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 7.3b

localize33.0ms

Local error

Found 3 expressions with local error:

0.0b
(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))

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

series875.0ms

Counts
3 → 9
Calls
3 calls:
190.0ms
(hypot (sin ky) (sin kx))
289.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))
396.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))

simplify1.0s

Counts
82 → 82
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01301126
13011106
21343993
done5001984

prune484.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 7.3b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
104×add-sqr-sqrt
92×*-un-lft-identity
90×add-cube-cbrt
44×associate-*l*
36×add-exp-log
20×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
pow1 cbrt-undiv prod-exp
associate-/l*
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
associate-*r* cbrt-unprod
frac-2neg clear-num associate-/r/
hypot-udef pow-flip pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 191
Calls
4 calls:
0.0ms
(hypot (sin ky) (sin kx))
6.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
53.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
19.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

series1.0s

Counts
4 → 12
Calls
4 calls:
198.0ms
(hypot (sin ky) (sin kx))
201.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
311.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
298.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify3.4s

Counts
203 → 203
Iterations

Useful iterations: done (3.4s)

IterNodesCost
02733401
17333116
244022712
done50002708

prune951.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 7.3b

localize30.0ms

Local error

Found 4 expressions with local error:

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

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

series1.4s

Counts
4 → 12
Calls
4 calls:
353.0ms
(cbrt (/ (hypot (sin ky) (sin kx)) (sin ky)))
333.0ms
(cbrt (/ (hypot (sin ky) (sin kx)) (sin ky)))
333.0ms
(cbrt (/ (hypot (sin ky) (sin kx)) (sin ky)))
373.0ms
(* (cbrt (/ (hypot (sin ky) (sin kx)) (sin ky))) (cbrt (/ (hypot (sin ky) (sin kx)) (sin ky))))

simplify1.9s

Counts
164 → 164
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01703647
13283474
213753298
done50003078

prune1.1s

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 7.3b

regimes828.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01434
11834
done1834

end0.0ms

sample9.1s

Algorithm
intervals
Results
4.7s2689×body1280valid
2.8s1844×body640valid
558.0ms2387×body80valid
517.0ms737×body320valid
114.0ms343×body160valid