Details

Time bar (total: 32.2s)

sample403.0ms

Algorithm
intervals
Results
141.0ms93×body1280valid
105.0ms56×body640valid
14.0ms71×body80valid
13.0ms20×body320valid
8.0ms16×body160valid

simplify5.2s

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: 12.5b

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

rewrite126.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:
70.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
12.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
34.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series672.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
162.0ms
(pow (sin kx) 2.0)
186.0ms
(pow (sin ky) 2.0)
117.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.0s

Counts
129 → 129
Iterations

Useful iterations: 3 (795.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune613.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.0b

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

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

series709.0ms

Counts
3 → 9
Calls
3 calls:
203.0ms
(hypot (sin ky) (sin kx))
286.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
220.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify2.1s

Counts
82 → 82
Iterations

Useful iterations: 3 (715.0ms)

IterNodesCost
01301126
12841106
2790987
32333984
done5000984

prune463.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 8.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

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

series812.0ms

Counts
3 → 9
Calls
3 calls:
163.0ms
(hypot (sin ky) (sin kx))
321.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))
328.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))

simplify2.1s

Counts
82 → 82
Iterations

Useful iterations: 3 (890.0ms)

IterNodesCost
01211123
12521091
2774976
32468975
done5001975

prune399.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 8.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (hypot (sin ky) (sin kx)))
0.2b
(* (sin ky) (/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))))
0.2b
(/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx)))))
0.5b
(* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
22×pow1
21×sqrt-prod
20×add-exp-log add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity
13×associate-*r*
sqrt-pow1 pow1/2 associate-*l*
swap-sqr
times-frac
prod-exp cbrt-unprod unswap-sqr
pow-prod-up
cbrt-undiv expm1-log1p-u div-exp pow-prod-down log1p-expm1-u add-log-exp
pow-sqr associate-/l*
*-commutative div-inv
pow2 rem-sqrt-square frac-2neg pow-plus sqrt-unprod associate-*r/ clear-num associate-/r* rem-square-sqrt
Counts
4 → 119
Calls
4 calls:
3.0ms
(sqrt (hypot (sin ky) (sin kx)))
62.0ms
(* (sin ky) (/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))))
21.0ms
(/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx)))))
22.0ms
(* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))

series963.0ms

Counts
4 → 12
Calls
4 calls:
229.0ms
(sqrt (hypot (sin ky) (sin kx)))
314.0ms
(* (sin ky) (/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))))
281.0ms
(/ (sin th) (* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx)))))
139.0ms
(* (sqrt (hypot (sin ky) (sin kx))) (sqrt (hypot (sin ky) (sin kx))))

simplify4.4s

Counts
131 → 131
Iterations

Useful iterations: 3 (2.3s)

IterNodesCost
01582377
13351483
210991281
349781245
done50001245

prune533.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 8.0b

regimes878.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01232
11432
done1432

end0.0ms

sample9.5s

Algorithm
intervals
Results
5.1s2778×body1280valid
2.7s1749×body640valid
608.0ms804×body320valid
480.0ms2289×body80valid
141.0ms380×body160valid