Details

Time bar (total: 8.5s)

sample115.0ms

Algorithm
intervals
Results
57.0ms85×body1280valid
27.0ms61×body640valid
7.0ms74×body80valid
6.0ms25×body320valid
2.0ms11×body160valid

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

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))))
0.2b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite77.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:
34.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
32.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
103.0ms
(pow (sin ky) 2.0)
102.0ms
(pow (sin kx) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify38.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03411065
11159981
25001976
done5001976

prune420.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 9.5b

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))) (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))
18.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
10.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series517.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(hypot (sin ky) (sin kx))
229.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
171.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify138.0ms

Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24962644
35001644
done5001644

prune272.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 9.5b

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series537.0ms

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

simplify37.0ms

Counts
82 → 82
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0284728
11150648
25002648
done5002648

prune253.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 9.5b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
84×times-frac
61×add-cube-cbrt *-un-lft-identity
51×sqrt-prod
22×associate-*r* associate-*l*
20×add-exp-log add-cbrt-cube
12×associate-/r*
unswap-sqr
pow1
cbrt-undiv div-exp associate-/l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
frac-2neg clear-num
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 172
Calls
4 calls:
1.0ms
(sqrt (hypot (sin ky) (sin kx)))
9.0ms
(/ (sin th) (sqrt (hypot (sin ky) (sin kx))))
38.0ms
(* (/ (sin th) (sqrt (hypot (sin ky) (sin kx)))) (/ (sin ky) (sqrt (hypot (sin ky) (sin kx)))))
9.0ms
(/ (sin ky) (sqrt (hypot (sin ky) (sin kx))))

series771.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(sqrt (hypot (sin ky) (sin kx)))
209.0ms
(/ (sin th) (sqrt (hypot (sin ky) (sin kx))))
246.0ms
(* (/ (sin th) (sqrt (hypot (sin ky) (sin kx)))) (/ (sin ky) (sqrt (hypot (sin ky) (sin kx)))))
184.0ms
(/ (sin ky) (sqrt (hypot (sin ky) (sin kx))))

simplify64.0ms

Counts
184 → 184
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05522416
123572211
250022115
done50022115

prune475.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 9.5b

regimes675.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213
done1213

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.9s2711×body1280valid
744.0ms1891×body640valid
212.0ms793×body320valid
211.0ms2308×body80valid
56.0ms297×body160valid